Home
last modified time | relevance | path

Searched refs:keyBuf (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/common/
Duloc_tag.c626 char keyBuf[MAX_LDML_KEY_LEN]; in _ldmlKeyToBCP47() local
638 if (keyLen >= sizeof(keyBuf)) { in _ldmlKeyToBCP47()
644 uprv_memcpy(keyBuf, key, keyLen); in _ldmlKeyToBCP47()
645 keyBuf[keyLen] = 0; in _ldmlKeyToBCP47()
649 keyBuf[i] = uprv_tolower(keyBuf[i]); in _ldmlKeyToBCP47()
660 uBcpKey = ures_getStringByKey(rb, keyBuf, &bcpKeyLen, &tmpStatus); in _ldmlKeyToBCP47()
765 char keyBuf[MAX_LDML_KEY_LEN]; in _ldmlTypeToBCP47() local
778 if (keyLen >= sizeof(keyBuf)) { in _ldmlTypeToBCP47()
783 uprv_memcpy(keyBuf, key, keyLen); in _ldmlTypeToBCP47()
784 keyBuf[keyLen] = 0; in _ldmlTypeToBCP47()
[all …]
/external/icu4c/i18n/
Dzonemeta.cpp718 char keyBuf[ZID_KEY_MAX + 1]; in getZoneIdByMetazone() local
726 keyLen = mzid.extract(0, mzid.length(), keyBuf, ZID_KEY_MAX + 1, US_INV); in getZoneIdByMetazone()
727 keyBuf[keyLen] = 0; in getZoneIdByMetazone()
731 ures_getByKey(rb, keyBuf, rb, &status); in getZoneIdByMetazone()
736 keyLen = region.extract(0, region.length(), keyBuf, ZID_KEY_MAX + 1, US_INV); in getZoneIdByMetazone()
737 keyBuf[keyLen] = 0; in getZoneIdByMetazone()
738 tzid = ures_getStringByKey(rb, keyBuf, &tzidLen, &status); in getZoneIdByMetazone()
/external/icu4c/test/intltest/
Dregcoll.cpp1084 static int32_t calcKeyIncremental(UCollator *coll, const UChar* text, int32_t len, uint8_t *keyBuf,… in calcKeyIncremental() argument
1093 … int32_t keyPartLen = ucol_nextSortKeyPart(coll, &uiter, state, &keyBuf[keyLen], count, &status); in calcKeyIncremental()