Home
last modified time | relevance | path

Searched refs:allowedFormats (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Ddtptngen.cpp552 ResourceArray allowedFormats = value.getArray(errorCode); in put() local
553 length = allowedFormats.getSize() + 1; // 1 preferred, getSize allowed in put()
559 allowedFormats.getValue(k-1, value); in put()
638 int32_t* allowedFormats; in getAllowedHourFormatsLangCountry() local
639 allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, langCountry.data()); in getAllowedHourFormatsLangCountry()
640 if (allowedFormats == nullptr) { in getAllowedHourFormatsLangCountry()
641allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, const_cast<char *>(country)); in getAllowedHourFormatsLangCountry()
644 return allowedFormats; in getAllowedHourFormatsLangCountry()
670 int32_t* allowedFormats = getAllowedHourFormatsLangCountry(language, country, status); in getAllowedHourFormats() local
690 if (allowedFormats == nullptr) { in getAllowedHourFormats()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Ddtptngen.cpp552 ResourceArray allowedFormats = value.getArray(errorCode); in put() local
553 length = allowedFormats.getSize() + 1; // 1 preferred, getSize allowed in put()
559 allowedFormats.getValue(k-1, value); in put()
638 int32_t* allowedFormats; in getAllowedHourFormatsLangCountry() local
639 allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, langCountry.data()); in getAllowedHourFormatsLangCountry()
640 if (allowedFormats == nullptr) { in getAllowedHourFormatsLangCountry()
641allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, const_cast<char *>(country)); in getAllowedHourFormatsLangCountry()
644 return allowedFormats; in getAllowedHourFormatsLangCountry()
670 int32_t* allowedFormats = getAllowedHourFormatsLangCountry(language, country, status); in getAllowedHourFormats() local
690 if (allowedFormats == nullptr) { in getAllowedHourFormats()
[all …]
/third_party/icu/icu4c/source/i18n/
Ddtptngen.cpp552 ResourceArray allowedFormats = value.getArray(errorCode); in put() local
553 length = allowedFormats.getSize() + 1; // 1 preferred, getSize allowed in put()
559 allowedFormats.getValue(k-1, value); in put()
638 int32_t* allowedFormats; in getAllowedHourFormatsLangCountry() local
639 allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, langCountry.data()); in getAllowedHourFormatsLangCountry()
640 if (allowedFormats == nullptr) { in getAllowedHourFormatsLangCountry()
641allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, const_cast<char *>(country)); in getAllowedHourFormatsLangCountry()
644 return allowedFormats; in getAllowedHourFormatsLangCountry()
670 int32_t* allowedFormats = getAllowedHourFormatsLangCountry(language, country, status); in getAllowedHourFormats() local
690 if (allowedFormats == nullptr) { in getAllowedHourFormats()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddtptngen.cpp527 ResourceArray allowedFormats = value.getArray(errorCode); in put() local
528 length = allowedFormats.getSize(); in put()
534 allowedFormats.getValue(k, value); in put()
610 int32_t *allowedFormats; in getAllowedHourFormats() local
611 allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, langCountry.data()); in getAllowedHourFormats()
612 if (allowedFormats == nullptr) { in getAllowedHourFormats()
613allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, const_cast<char *>(country)); in getAllowedHourFormats()
616 if (allowedFormats != nullptr) { // Lookup is successful in getAllowedHourFormats()
618 fAllowedHourFormats[i] = allowedFormats[i]; in getAllowedHourFormats()
619 if (allowedFormats[i] == ALLOWED_HOUR_FORMAT_UNKNOWN) { in getAllowedHourFormats()