Home
last modified time | relevance | path

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

/external/icu4c/common/
Duloc_tag.c563 char keyBuf[MAX_LDML_KEY_LEN]; in _ldmlKeyToBCP47() local
575 if (keyLen >= sizeof(keyBuf)) { in _ldmlKeyToBCP47()
581 uprv_memcpy(keyBuf, key, keyLen); in _ldmlKeyToBCP47()
582 keyBuf[keyLen] = 0; in _ldmlKeyToBCP47()
586 keyBuf[i] = uprv_tolower(keyBuf[i]); in _ldmlKeyToBCP47()
597 uBcpKey = ures_getStringByKey(rb, keyBuf, &bcpKeyLen, &tmpStatus); in _ldmlKeyToBCP47()
702 char keyBuf[MAX_LDML_KEY_LEN]; in _ldmlTypeToBCP47() local
715 if (keyLen >= sizeof(keyBuf)) { in _ldmlTypeToBCP47()
720 uprv_memcpy(keyBuf, key, keyLen); in _ldmlTypeToBCP47()
721 keyBuf[keyLen] = 0; in _ldmlTypeToBCP47()
[all …]
/external/icu4c/i18n/
Dzonemeta.cpp609 char keyBuf[ZID_KEY_MAX + 1]; in getZoneIdByMetazone() local
617 keyLen = mzid.extract(0, mzid.length(), keyBuf, ZID_KEY_MAX, US_INV); in getZoneIdByMetazone()
621 ures_getByKey(rb, keyBuf, rb, &status); in getZoneIdByMetazone()
626 region.extract(0, region.length(), keyBuf, ZID_KEY_MAX, US_INV); in getZoneIdByMetazone()
627 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()