v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Intl Class Reference

#include <intl-objects.h>

Collaboration diagram for v8::internal::Intl:

Classes

class  AvailableLocales
 
class  FormatRangeSourceTracker
 
struct  NumberFormatDigitOptions
 
struct  ResolvedLocale
 
struct  SkipResourceCheck
 

Public Types

enum class  BoundFunctionContextSlot { kBoundFunction = Context::MIN_CONTEXT_SLOTS , kLength }
 
enum class  FormatRangeSource { kShared , kStartRange , kEndRange }
 
enum class  CompareStringsOptions { kNone , kTryFastPath }
 
enum class  RoundingPriority { kAuto , kMorePrecision , kLessPrecision }
 
enum class  RoundingType { kFractionDigits , kSignificantDigits , kMorePrecision , kLessPrecision }
 
enum class  RoundingMode {
  kCeil , kFloor , kExpand , kTrunc ,
  kHalfCeil , kHalfFloor , kHalfExpand , kHalfTrunc ,
  kHalfEven
}
 
enum class  TrailingZeroDisplay { kAuto , kStripIfInteger }
 
enum class  MatcherOption { kBestFit , kLookup }
 
enum class  Transition { kNext , kPrevious }
 

Public Member Functions

template<class IsolateT >
Intl::CompareStringsOptions CompareStringsOptionsFor (IsolateT *isolate, DirectHandle< Object > locales, DirectHandle< Object > options)
 

Static Public Member Functions

static DirectHandle< StringSourceString (Isolate *isolate, FormatRangeSource source)
 
static std::set< std::string > BuildLocaleSet (const std::vector< std::string > &locales, const char *path, const char *validate_key)
 
static Maybe< std::string > ToLanguageTag (const icu::Locale &locale)
 
static std::string GetNumberingSystem (const icu::Locale &icu_locale)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSObjectSupportedLocalesOf (Isolate *isolate, const char *method_name, const std::set< std::string > &available_locales, DirectHandle< Object > locales_in, DirectHandle< Object > options_in)
 
static Maybe< std::vector< std::string > > CanonicalizeLocaleList (Isolate *isolate, DirectHandle< Object > locales, bool only_return_one_result=false)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSArrayGetCanonicalLocales (Isolate *isolate, DirectHandle< Object > locales)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSArraySupportedValuesOf (Isolate *isolate, DirectHandle< Object > key)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringStringLocaleConvertCase (Isolate *isolate, DirectHandle< String > s, bool is_upper, DirectHandle< Object > locales)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringConvertToUpper (Isolate *isolate, DirectHandle< String > s)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< StringConvertToLower (Isolate *isolate, DirectHandle< String > s)
 
static V8_WARN_UNUSED_RESULT std::optional< int > StringLocaleCompare (Isolate *isolate, DirectHandle< String > s1, DirectHandle< String > s2, DirectHandle< Object > locales, DirectHandle< Object > options, const char *method_name)
 
template<class IsolateT >
static V8_EXPORT_PRIVATE CompareStringsOptions CompareStringsOptionsFor (IsolateT *isolate, DirectHandle< Object > locales, DirectHandle< Object > options)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT int CompareStrings (Isolate *isolate, const icu::Collator &collator, DirectHandle< String > s1, DirectHandle< String > s2, CompareStringsOptions compare_strings_options=CompareStringsOptions::kNone)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringNumberToLocaleString (Isolate *isolate, Handle< Object > num, DirectHandle< Object > locales, DirectHandle< Object > options, const char *method_name)
 
static V8_WARN_UNUSED_RESULT Maybe< NumberFormatDigitOptionsSetNumberFormatDigitOptions (Isolate *isolate, DirectHandle< JSReceiver > options, int mnfd_default, int mxfd_default, bool notation_is_compact, const char *service)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< StringToString (Isolate *isolate, const icu::UnicodeString &string)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringToString (Isolate *isolate, const icu::UnicodeString &string, int32_t begin, int32_t end)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringFormattedToString (Isolate *isolate, const icu::FormattedValue &formatted)
 
static DirectHandle< StringNumberFieldToType (Isolate *isolate, const NumberFormatSpan &part, const icu::UnicodeString &text, bool is_nan)
 
static void AddElement (Isolate *isolate, DirectHandle< JSArray > array, int index, DirectHandle< String > field_type_string, DirectHandle< String > value)
 
static void AddElement (Isolate *isolate, DirectHandle< JSArray > array, int index, DirectHandle< String > field_type_string, DirectHandle< String > value, DirectHandle< String > additional_property_name, DirectHandle< String > additional_property_value)
 
static Maybe< int > AddNumberElements (Isolate *isolate, const icu::FormattedValue &formatted, DirectHandle< JSArray > result, int start_index, DirectHandle< String > unit)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectLegacyUnwrapReceiver (Isolate *isolate, DirectHandle< JSReceiver > receiver, DirectHandle< JSFunction > constructor, bool has_initialized_slot)
 
static V8_WARN_UNUSED_RESULT Maybe< MatcherOptionGetLocaleMatcher (Isolate *isolate, DirectHandle< JSReceiver > options, const char *method_name)
 
static V8_WARN_UNUSED_RESULT Maybe< boolGetNumberingSystem (Isolate *isolate, DirectHandle< JSReceiver > options, const char *method_name, std::unique_ptr< char[]> *result)
 
static bool IsValidCalendar (const icu::Locale &locale, const std::string &value)
 
static bool IsValidCollation (const icu::Locale &locale, const std::string &value)
 
static bool IsValidNumberingSystem (const std::string &value)
 
static bool IsWellFormedCalendar (const std::string &value)
 
static bool IsWellFormedCurrency (const std::string &value)
 
static Maybe< ResolvedLocaleResolveLocale (Isolate *isolate, const std::set< std::string > &available_locales, const std::vector< std::string > &requested_locales, MatcherOption options, const std::set< std::string > &relevant_extension_keys)
 
static DirectHandle< Managed< icu::UnicodeString > > SetTextToBreakIterator (Isolate *isolate, DirectHandle< String > text, icu::BreakIterator *break_iterator)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringNormalize (Isolate *isolate, DirectHandle< String > string, DirectHandle< Object > form_input)
 
static base::TimezoneCacheCreateTimeZoneCache ()
 
static icu::UnicodeString ToICUUnicodeString (Isolate *isolate, DirectHandle< String > string, int offset=0)
 
static const uint8_t * ToLatin1LowerTable ()
 
static const uint8_t * AsciiCollationWeightsL1 ()
 
static const uint8_t * AsciiCollationWeightsL3 ()
 
static Tagged< StringConvertOneByteToLower (Tagged< String > src, Tagged< String > dst)
 
static const std::set< std::string > & GetAvailableLocales ()
 
static const std::set< std::string > & GetAvailableLocalesForDateFormat ()
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSArrayToJSArray (Isolate *isolate, const char *unicode_key, icu::StringEnumeration *enumeration, const std::function< bool(const char *)> &removes, bool sort)
 
static bool RemoveCollation (const char *collation)
 
static std::set< std::string > SanctionedSimpleUnits ()
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSArrayAvailableCalendars (Isolate *isolate)
 
static V8_WARN_UNUSED_RESULT bool IsValidTimeZoneName (const icu::TimeZone &tz)
 
static V8_WARN_UNUSED_RESULT bool IsValidTimeZoneName (Isolate *isolate, const std::string &id)
 
static V8_WARN_UNUSED_RESULT bool IsValidTimeZoneName (Isolate *isolate, DirectHandle< String > id)
 
static V8_WARN_UNUSED_RESULT std::string TimeZoneIdFromIndex (int32_t index)
 
static int32_t GetTimeZoneIndex (Isolate *isolate, DirectHandle< String > identifier)
 
static DirectHandle< ObjectGetTimeZoneOffsetTransitionNanoseconds (Isolate *isolate, int32_t time_zone_index, DirectHandle< BigInt > nanosecond_epoch, Transition transition)
 
static int64_t GetTimeZoneOffsetNanoseconds (Isolate *isolate, int32_t time_zone_index, DirectHandle< BigInt > nanosecond_epoch)
 
static DirectHandleVector< BigIntGetTimeZonePossibleOffsetNanoseconds (Isolate *isolate, int32_t time_zone_index, DirectHandle< BigInt > nanosecond_epoch)
 
static DirectHandle< StringDefaultTimeZone (Isolate *isolate)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< StringCanonicalizeTimeZoneName (Isolate *isolate, DirectHandle< String > identifier)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiverCoerceOptionsToObject (Isolate *isolate, DirectHandle< Object > options, const char *service)
 

Static Public Attributes

static const int kAsciiCollationWeightsLength = kCollationWeightsLength
 

Detailed Description

Definition at line 76 of file intl-objects.h.

Member Enumeration Documentation

◆ BoundFunctionContextSlot

Enumerator
kBoundFunction 
kLength 

Definition at line 78 of file intl-objects.h.

◆ CompareStringsOptions

Enumerator
kNone 
kTryFastPath 

Definition at line 153 of file intl-objects.h.

◆ FormatRangeSource

Enumerator
kShared 
kStartRange 
kEndRange 

Definition at line 83 of file intl-objects.h.

◆ MatcherOption

Enumerator
kBestFit 
kLookup 

Definition at line 287 of file intl-objects.h.

◆ RoundingMode

Enumerator
kCeil 
kFloor 
kExpand 
kTrunc 
kHalfCeil 
kHalfFloor 
kHalfExpand 
kHalfTrunc 
kHalfEven 

Definition at line 190 of file intl-objects.h.

◆ RoundingPriority

Enumerator
kAuto 
kMorePrecision 
kLessPrecision 

Definition at line 174 of file intl-objects.h.

◆ RoundingType

Enumerator
kFractionDigits 
kSignificantDigits 
kMorePrecision 
kLessPrecision 

Definition at line 180 of file intl-objects.h.

◆ TrailingZeroDisplay

Enumerator
kAuto 
kStripIfInteger 

Definition at line 205 of file intl-objects.h.

◆ Transition

enum class v8::internal::Intl::Transition
strong
Enumerator
kNext 
kPrevious 

Definition at line 426 of file intl-objects.h.

Member Function Documentation

◆ AddElement() [1/2]

void v8::internal::Intl::AddElement ( Isolate * isolate,
DirectHandle< JSArray > array,
int index,
DirectHandle< String > field_type_string,
DirectHandle< String > value )
static

Definition at line 537 of file intl-objects.cc.

Here is the caller graph for this function:

◆ AddElement() [2/2]

void v8::internal::Intl::AddElement ( Isolate * isolate,
DirectHandle< JSArray > array,
int index,
DirectHandle< String > field_type_string,
DirectHandle< String > value,
DirectHandle< String > additional_property_name,
DirectHandle< String > additional_property_value )
static

Definition at line 544 of file intl-objects.cc.

Here is the call graph for this function:

◆ AddNumberElements()

Maybe< int > v8::internal::Intl::AddNumberElements ( Isolate * isolate,
const icu::FormattedValue & formatted,
DirectHandle< JSArray > result,
int start_index,
DirectHandle< String > unit )
static

Definition at line 1993 of file js-number-format.cc.

Here is the caller graph for this function:

◆ AsciiCollationWeightsL1()

const uint8_t * v8::internal::Intl::AsciiCollationWeightsL1 ( )
static

Definition at line 1438 of file intl-objects.cc.

◆ AsciiCollationWeightsL3()

const uint8_t * v8::internal::Intl::AsciiCollationWeightsL3 ( )
static

Definition at line 1443 of file intl-objects.cc.

◆ AvailableCalendars()

MaybeDirectHandle< JSArray > v8::internal::Intl::AvailableCalendars ( Isolate * isolate)
static

Definition at line 544 of file js-locale.cc.

Here is the caller graph for this function:

◆ BuildLocaleSet()

std::set< std::string > v8::internal::Intl::BuildLocaleSet ( const std::vector< std::string > & locales,
const char * path,
const char * validate_key )
static

Definition at line 615 of file intl-objects.cc.

Here is the caller graph for this function:

◆ CanonicalizeLocaleList()

Maybe< std::vector< std::string > > v8::internal::Intl::CanonicalizeLocaleList ( Isolate * isolate,
DirectHandle< Object > locales,
bool only_return_one_result = false )
static

Definition at line 809 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CanonicalizeTimeZoneName()

MaybeHandle< String > v8::internal::Intl::CanonicalizeTimeZoneName ( Isolate * isolate,
DirectHandle< String > identifier )
static

Definition at line 2949 of file intl-objects.cc.

Here is the call graph for this function:

◆ CoerceOptionsToObject()

static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiver > v8::internal::Intl::CoerceOptionsToObject ( Isolate * isolate,
DirectHandle< Object > options,
const char * service )
static

◆ CompareStrings()

int v8::internal::Intl::CompareStrings ( Isolate * isolate,
const icu::Collator & collator,
DirectHandle< String > s1,
DirectHandle< String > s2,
CompareStringsOptions compare_strings_options = CompareStringsOptions::kNone )
static

Definition at line 1451 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CompareStringsOptionsFor() [1/2]

template<class IsolateT >
Intl::CompareStringsOptions v8::internal::Intl::CompareStringsOptionsFor ( IsolateT * isolate,
DirectHandle< Object > locales,
DirectHandle< Object > options )

Definition at line 950 of file intl-objects.cc.

Here is the call graph for this function:

◆ CompareStringsOptionsFor() [2/2]

template<class IsolateT >
static V8_EXPORT_PRIVATE CompareStringsOptions v8::internal::Intl::CompareStringsOptionsFor ( IsolateT * isolate,
DirectHandle< Object > locales,
DirectHandle< Object > options )
static
Here is the caller graph for this function:

◆ ConvertOneByteToLower()

Tagged< String > v8::internal::Intl::ConvertOneByteToLower ( Tagged< String > src,
Tagged< String > dst )
static

Definition at line 311 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConvertToLower()

MaybeHandle< String > v8::internal::Intl::ConvertToLower ( Isolate * isolate,
DirectHandle< String > s )
static

Definition at line 357 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConvertToUpper()

MaybeDirectHandle< String > v8::internal::Intl::ConvertToUpper ( Isolate * isolate,
DirectHandle< String > s )
static

Definition at line 389 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateTimeZoneCache()

base::TimezoneCache * v8::internal::Intl::CreateTimeZoneCache ( )
static

Definition at line 2767 of file intl-objects.cc.

Here is the call graph for this function:

◆ DefaultTimeZone()

DirectHandle< String > v8::internal::Intl::DefaultTimeZone ( Isolate * isolate)
static

Definition at line 3070 of file intl-objects.cc.

Here is the call graph for this function:

◆ FormattedToString()

MaybeDirectHandle< String > v8::internal::Intl::FormattedToString ( Isolate * isolate,
const icu::FormattedValue & formatted )
static

Definition at line 2883 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAvailableLocales()

const std::set< std::string > & v8::internal::Intl::GetAvailableLocales ( )
static

Definition at line 2804 of file intl-objects.cc.

Here is the caller graph for this function:

◆ GetAvailableLocalesForDateFormat()

const std::set< std::string > & v8::internal::Intl::GetAvailableLocalesForDateFormat ( )
static

Definition at line 2819 of file intl-objects.cc.

Here is the caller graph for this function:

◆ GetCanonicalLocales()

MaybeDirectHandle< JSArray > v8::internal::Intl::GetCanonicalLocales ( Isolate * isolate,
DirectHandle< Object > locales )
static

Definition at line 2159 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLocaleMatcher()

Maybe< Intl::MatcherOption > v8::internal::Intl::GetLocaleMatcher ( Isolate * isolate,
DirectHandle< JSReceiver > options,
const char * method_name )
static

Definition at line 2772 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNumberingSystem() [1/2]

std::string v8::internal::Intl::GetNumberingSystem ( const icu::Locale & icu_locale)
static

Definition at line 464 of file intl-objects.cc.

Here is the caller graph for this function:

◆ GetNumberingSystem() [2/2]

Maybe< bool > v8::internal::Intl::GetNumberingSystem ( Isolate * isolate,
DirectHandle< JSReceiver > options,
const char * method_name,
std::unique_ptr< char[]> * result )
static

Definition at line 2781 of file intl-objects.cc.

Here is the call graph for this function:

◆ GetTimeZoneIndex()

int32_t v8::internal::Intl::GetTimeZoneIndex ( Isolate * isolate,
DirectHandle< String > identifier )
static

Definition at line 2998 of file intl-objects.cc.

Here is the call graph for this function:

◆ GetTimeZoneOffsetNanoseconds()

int64_t v8::internal::Intl::GetTimeZoneOffsetNanoseconds ( Isolate * isolate,
int32_t time_zone_index,
DirectHandle< BigInt > nanosecond_epoch )
static

Definition at line 3230 of file intl-objects.cc.

◆ GetTimeZoneOffsetTransitionNanoseconds()

DirectHandle< Object > v8::internal::Intl::GetTimeZoneOffsetTransitionNanoseconds ( Isolate * isolate,
int32_t time_zone_index,
DirectHandle< BigInt > nanosecond_epoch,
Intl::Transition transition )
static

Definition at line 3140 of file intl-objects.cc.

◆ GetTimeZonePossibleOffsetNanoseconds()

DirectHandleVector< BigInt > v8::internal::Intl::GetTimeZonePossibleOffsetNanoseconds ( Isolate * isolate,
int32_t time_zone_index,
DirectHandle< BigInt > nanosecond_epoch )
static

Definition at line 3184 of file intl-objects.cc.

◆ IsValidCalendar()

bool v8::internal::Intl::IsValidCalendar ( const icu::Locale & locale,
const std::string & value )
static

Definition at line 2410 of file intl-objects.cc.

Here is the caller graph for this function:

◆ IsValidCollation()

bool v8::internal::Intl::IsValidCollation ( const icu::Locale & locale,
const std::string & value )
static

Definition at line 2394 of file intl-objects.cc.

Here is the caller graph for this function:

◆ IsValidNumberingSystem()

bool v8::internal::Intl::IsValidNumberingSystem ( const std::string & value)
static

Definition at line 2415 of file intl-objects.cc.

Here is the caller graph for this function:

◆ IsValidTimeZoneName() [1/3]

bool v8::internal::Intl::IsValidTimeZoneName ( const icu::TimeZone & tz)
static

Definition at line 2971 of file intl-objects.cc.

Here is the caller graph for this function:

◆ IsValidTimeZoneName() [2/3]

static V8_WARN_UNUSED_RESULT bool v8::internal::Intl::IsValidTimeZoneName ( Isolate * isolate,
const std::string & id )
static

◆ IsValidTimeZoneName() [3/3]

bool v8::internal::Intl::IsValidTimeZoneName ( Isolate * isolate,
DirectHandle< String > id )
static

Definition at line 2963 of file intl-objects.cc.

Here is the call graph for this function:

◆ IsWellFormedCalendar()

bool v8::internal::Intl::IsWellFormedCalendar ( const std::string & value)
static

Definition at line 2401 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsWellFormedCurrency()

bool v8::internal::Intl::IsWellFormedCurrency ( const std::string & value)
static

Definition at line 2406 of file intl-objects.cc.

Here is the call graph for this function:

◆ LegacyUnwrapReceiver()

MaybeDirectHandle< Object > v8::internal::Intl::LegacyUnwrapReceiver ( Isolate * isolate,
DirectHandle< JSReceiver > receiver,
DirectHandle< JSFunction > constructor,
bool has_initialized_slot )
static

Definition at line 653 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Normalize()

MaybeDirectHandle< String > v8::internal::Intl::Normalize ( Isolate * isolate,
DirectHandle< String > string,
DirectHandle< Object > form_input )
static

Definition at line 2611 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NumberFieldToType()

DirectHandle< String > v8::internal::Intl::NumberFieldToType ( Isolate * isolate,
const NumberFormatSpan & part,
const icu::UnicodeString & text,
bool is_nan )
static

Definition at line 2827 of file intl-objects.cc.

Here is the call graph for this function:

◆ NumberToLocaleString()

MaybeDirectHandle< String > v8::internal::Intl::NumberToLocaleString ( Isolate * isolate,
Handle< Object > num,
DirectHandle< Object > locales,
DirectHandle< Object > options,
const char * method_name )
static

Definition at line 1497 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveCollation()

bool v8::internal::Intl::RemoveCollation ( const char * collation)
static

Definition at line 2916 of file intl-objects.cc.

Here is the caller graph for this function:

◆ ResolveLocale()

Maybe< Intl::ResolvedLocale > v8::internal::Intl::ResolveLocale ( Isolate * isolate,
const std::set< std::string > & available_locales,
const std::vector< std::string > & requested_locales,
MatcherOption options,
const std::set< std::string > & relevant_extension_keys )
static

Definition at line 2570 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SanctionedSimpleUnits()

std::set< std::string > v8::internal::Intl::SanctionedSimpleUnits ( )
static

Definition at line 2921 of file intl-objects.cc.

◆ SetNumberFormatDigitOptions()

Maybe< Intl::NumberFormatDigitOptions > v8::internal::Intl::SetNumberFormatDigitOptions ( Isolate * isolate,
DirectHandle< JSReceiver > options,
int mnfd_default,
int mxfd_default,
bool notation_is_compact,
const char * service )
static

Definition at line 1581 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTextToBreakIterator()

DirectHandle< Managed< icu::UnicodeString > > v8::internal::Intl::SetTextToBreakIterator ( Isolate * isolate,
DirectHandle< String > text,
icu::BreakIterator * break_iterator )
static

Definition at line 2596 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SourceString()

DirectHandle< String > v8::internal::Intl::SourceString ( Isolate * isolate,
FormatRangeSource source )
static

Definition at line 3058 of file intl-objects.cc.

◆ StringLocaleCompare()

std::optional< int > v8::internal::Intl::StringLocaleCompare ( Isolate * isolate,
DirectHandle< String > s1,
DirectHandle< String > s2,
DirectHandle< Object > locales,
DirectHandle< Object > options,
const char * method_name )
static

Definition at line 1000 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StringLocaleConvertCase()

MaybeDirectHandle< String > v8::internal::Intl::StringLocaleConvertCase ( Isolate * isolate,
DirectHandle< String > s,
bool is_upper,
DirectHandle< Object > locales )
static

Definition at line 904 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SupportedLocalesOf()

MaybeDirectHandle< JSObject > v8::internal::Intl::SupportedLocalesOf ( Isolate * isolate,
const char * method_name,
const std::set< std::string > & available_locales,
DirectHandle< Object > locales_in,
DirectHandle< Object > options_in )
static

Definition at line 2349 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SupportedValuesOf()

MaybeDirectHandle< JSArray > v8::internal::Intl::SupportedValuesOf ( Isolate * isolate,
DirectHandle< Object > key )
static

Definition at line 2301 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TimeZoneIdFromIndex()

std::string v8::internal::Intl::TimeZoneIdFromIndex ( int32_t index)
static

Definition at line 2978 of file intl-objects.cc.

Here is the caller graph for this function:

◆ ToICUUnicodeString()

icu::UnicodeString v8::internal::Intl::ToICUUnicodeString ( Isolate * isolate,
DirectHandle< String > string,
int offset = 0 )
static

Definition at line 217 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToJSArray()

MaybeDirectHandle< JSArray > v8::internal::Intl::ToJSArray ( Isolate * isolate,
const char * unicode_key,
icu::StringEnumeration * enumeration,
const std::function< bool(const char *)> & removes,
bool sort )
static

Definition at line 2893 of file intl-objects.cc.

Here is the caller graph for this function:

◆ ToLanguageTag()

Maybe< std::string > v8::internal::Intl::ToLanguageTag ( const icu::Locale & locale)
static

Definition at line 642 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToLatin1LowerTable()

const uint8_t * v8::internal::Intl::ToLatin1LowerTable ( )
static

Definition at line 215 of file intl-objects.cc.

◆ ToString() [1/2]

MaybeHandle< String > v8::internal::Intl::ToString ( Isolate * isolate,
const icu::UnicodeString & string )
static

Definition at line 497 of file intl-objects.cc.

Here is the caller graph for this function:

◆ ToString() [2/2]

MaybeDirectHandle< String > v8::internal::Intl::ToString ( Isolate * isolate,
const icu::UnicodeString & string,
int32_t begin,
int32_t end )
static

Definition at line 503 of file intl-objects.cc.

Here is the call graph for this function:

Member Data Documentation

◆ kAsciiCollationWeightsLength

const int v8::internal::Intl::kAsciiCollationWeightsLength = kCollationWeightsLength
static

Definition at line 389 of file intl-objects.h.


The documentation for this class was generated from the following files: