Searched refs:langLength (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/third_party/icu/source/common/ |
D | loclikely.cpp | 153 int32_t langLength, in createTagStringWithAlternates() argument 170 langLength >= ULOC_LANG_CAPACITY || in createTagStringWithAlternates() 187 if (langLength > 0) { in createTagStringWithAlternates() 190 langLength, in createTagStringWithAlternates() 401 int32_t langLength, in createTagString() argument 414 langLength, in createTagString() 459 int32_t* langLength, in parseTagString() argument 472 langLength == NULL || in parseTagString() 480 subtagLength = ulocimp_getLanguage(position, lang, *langLength, &position); in parseTagString() 481 u_terminateChars(lang, *langLength, subtagLength, err); in parseTagString() [all …]
|
/external/icu/icu4c/source/common/ |
D | loclikely.cpp | 153 int32_t langLength, in createTagStringWithAlternates() argument 170 langLength >= ULOC_LANG_CAPACITY || in createTagStringWithAlternates() 187 if (langLength > 0) { in createTagStringWithAlternates() 190 langLength, in createTagStringWithAlternates() 406 int32_t langLength, in createTagString() argument 419 langLength, in createTagString() 464 int32_t* langLength, in parseTagString() argument 477 langLength == NULL || in parseTagString() 485 subtagLength = ulocimp_getLanguage(position, lang, *langLength, &position); in parseTagString() 486 u_terminateChars(lang, *langLength, subtagLength, err); in parseTagString() [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringImpl.cpp | 675 size_t langLength = strlen(lang); in localeIdMatchesLang() local 676 RELEASE_ASSERT(langLength >= 2 && langLength <= 3); in localeIdMatchesLang() 677 strncpy(localeIdPrefix, lang, langLength); in localeIdMatchesLang() 679 localeIdPrefix[langLength] = delimeter[i]; in localeIdMatchesLang() 681 if (localeId.impl() && localeId.impl()->startsWith(localeIdPrefix, langLength + 1, false)) in localeIdMatchesLang()
|