/base/global/i18n/frameworks/intl/test/fuzztest/collator_fuzzer/ |
D | collator_fuzzer.cpp | 30 std::vector<std::string> localeTags(1, input); in DoSomethingInterestingWithMyAPI() local 33 Collator collator(localeTags, options); in DoSomethingInterestingWithMyAPI()
|
/base/global/i18n/frameworks/intl/src/ |
D | plural_rules.cpp | 106 void PluralRules::InitPluralRules(std::vector<std::string> &localeTags, in InitPluralRules() argument 111 localeTags.push_back(LocaleConfig::GetSystemLocale()); in InitPluralRules() 112 for (size_t i = 0; i < localeTags.size(); i++) { in InitPluralRules() 113 std::string curLocale = localeTags[i]; in InitPluralRules() 159 PluralRules::PluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &… in PluralRules() argument 162 InitPluralRules(localeTags, options); in PluralRules()
|
D | collator.cpp | 73 Collator::Collator(std::vector<std::string> &localeTags, std::map<std::string, std::string> &option… in Collator() argument 77 localeTags.push_back(LocaleConfig::GetSystemLocale()); in Collator() 78 for (size_t i = 0; i < localeTags.size(); i++) { in Collator() 79 std::string curLocale = localeTags[i]; in Collator()
|
D | relative_time_format.cpp | 47 RelativeTimeFormat::RelativeTimeFormat(const std::vector<std::string> &localeTags, in RelativeTimeFormat() argument 52 for (size_t i = 0; i < localeTags.size(); i++) { in RelativeTimeFormat() 53 std::string curLocale = localeTags[i]; in RelativeTimeFormat()
|
D | date_time_format.cpp | 36 DateTimeFormat::DateTimeFormat(const std::vector<std::string> &localeTags, std::map<std::string, st… in DateTimeFormat() argument 41 for (size_t i = 0; i < localeTags.size(); i++) { in DateTimeFormat() 42 std::string curLocale = localeTags[i]; in DateTimeFormat() 95 …ique_ptr<DateTimeFormat> DateTimeFormat::CreateInstance(const std::vector<std::string> &localeTags, in CreateInstance() argument 98 …std::unique_ptr<DateTimeFormat> dateTimeFormat = std::make_unique<DateTimeFormat>(localeTags, conf… in CreateInstance()
|
D | number_format.cpp | 58 NumberFormat::NumberFormat(const std::vector<std::string> &localeTags, std::map<std::string, std::s… in NumberFormat() argument 64 for (size_t i = 0; i < localeTags.size(); i++) { in NumberFormat() 65 std::string curLocale = localeTags[i]; in NumberFormat()
|
/base/global/i18n/frameworks/intl/test/fuzztest/relativetimeformat_fuzzer/ |
D | relativetimeformat_fuzzer.cpp | 29 std::vector<std::string> localeTags(1, input); in DoSomethingInterestingWithMyAPI() local 32 RelativeTimeFormat formatter(localeTags, options); in DoSomethingInterestingWithMyAPI()
|
/base/global/i18n/frameworks/intl/test/fuzztest/numberformat_fuzzer/ |
D | numberformat_fuzzer.cpp | 29 std::vector<std::string> localeTags(1, input); in DoSomethingInterestingWithMyAPI() local 32 NumberFormat formatter(localeTags, options); in DoSomethingInterestingWithMyAPI()
|
/base/global/i18n/frameworks/intl/include/ |
D | plural_rules.h | 34 PluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options); 57 …void InitPluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &opt…
|
D | collator.h | 41 Collator(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options);
|
D | date_time_format.h | 38 …DateTimeFormat(const std::vector<std::string> &localeTags, std::map<std::string, std::string> &con… 58 … static std::unique_ptr<DateTimeFormat> CreateInstance(const std::vector<std::string> &localeTags,
|
/base/global/i18n/interfaces/js/kits/include/ |
D | intl_addon.h | 33 void GetLocaleTags(napi_env env, napi_value rawLocaleTag, std::vector<std::string> &localeTags); 107 …itDateTimeFormatContext(napi_env env, napi_callback_info info, std::vector<std::string> localeTags, 109 …InitNumberFormatContext(napi_env env, napi_callback_info info, std::vector<std::string> localeTags, 111 …ool InitCollatorContext(napi_env env, napi_callback_info info, std::vector<std::string> localeTags, 113 …lativeTimeFormatContext(napi_env env, napi_callback_info info, std::vector<std::string> localeTags, 115 … InitPluralRulesContext(napi_env env, napi_callback_info info, std::vector<std::string> localeTags,
|
/base/global/i18n/interfaces/js/kits/src/ |
D | intl_addon.cpp | 358 void GetLocaleTags(napi_env env, napi_value rawLocaleTag, std::vector<std::string> &localeTags) in GetLocaleTags() argument 372 localeTags.push_back(buf.data()); in GetLocaleTags() 385 std::vector<std::string> localeTags; in DateTimeFormatConstructor() local 392 GetLocaleTags(env, argv[0], localeTags); in DateTimeFormatConstructor() 399 GetLocaleTags(env, element, localeTags); in DateTimeFormatConstructor() 415 if (!obj->InitDateTimeFormatContext(env, info, localeTags, map)) { in DateTimeFormatConstructor() 423 …itDateTimeFormatContext(napi_env env, napi_callback_info info, std::vector<std::string> localeTags, in InitDateTimeFormatContext() argument 433 datefmt_ = DateTimeFormat::CreateInstance(localeTags, map); in InitDateTimeFormatContext() 448 std::vector<std::string> localeTags; in RelativeTimeFormatConstructor() local 455 GetLocaleTags(env, argv[0], localeTags); in RelativeTimeFormatConstructor() [all …]
|
D | i18n_addon.cpp | 279 std::vector<std::string> localeTags; in UnitConvert() local 280 localeTags.push_back(localeBuf.data()); in UnitConvert() 291 numberFmt = std::make_unique<NumberFormat>(localeTags, map); in UnitConvert()
|
/base/global/i18n/frameworks/intl/test/unittest/ |
D | intl_test.cpp | 2216 std::vector<std::string> localeTags = { "fake locale tag"}; variable 2220 NumberFormat formatter(localeTags, configs);
|