Home
last modified time | relevance | path

Searched refs:keyBuffer (Results 1 – 10 of 10) sorted by relevance

/external/chromium/third_party/icu/source/i18n/
Dcolldata.cpp463 static char *getKey(UCollator *collator, char *keyBuffer, int32_t *charBufferLength);
517 char keyBuffer[KEY_BUFFER_SIZE]; in get() local
519 char *key = getKey(collator, keyBuffer, &keyLength); in get()
559 if (key != keyBuffer) { in get()
584 char *CollDataCache::getKey(UCollator *collator, char *keyBuffer, int32_t *keyBufferLength) in getKey() argument
587 … int32_t len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); in getKey()
591 keyBuffer = NEW_ARRAY(char, *keyBufferLength); in getKey()
594 len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); in getKey()
597 keyBuffer[len] = '\0'; in getKey()
599 return keyBuffer; in getKey()
[all …]
Ducol_res.cpp186 char keyBuffer[256]; in ucol_open_internal() local
188 if(!uloc_getKeywordValue(loc, "collation", keyBuffer, 256, status) || in ucol_open_internal()
189 !uprv_strcmp(keyBuffer,"default")) { /* Treat 'zz@collation=default' as 'zz'. */ in ucol_open_internal()
197 u_UCharsToChars(defaultKey, keyBuffer, defaultKeyLen); in ucol_open_internal()
198 keyBuffer[defaultKeyLen] = 0; in ucol_open_internal()
205 collElem = ures_getByKeyWithFallback(collations, keyBuffer, collations, status); in ucol_open_internal()
Ducol_sit.cpp441 char keyBuffer[256]; in ucol_prepareShortStringOpen() local
443 if(!uloc_getKeywordValue(buffer, "collation", keyBuffer, 256, status)) { in ucol_prepareShortStringOpen()
449 u_UCharsToChars(defaultKey, keyBuffer, defaultKeyLen); in ucol_prepareShortStringOpen()
450 keyBuffer[defaultKeyLen] = 0; in ucol_prepareShortStringOpen()
457 collElem = ures_getByKeyWithFallback(collations, keyBuffer, collElem, status); in ucol_prepareShortStringOpen()
Dzstrfmt.cpp230 const UChar *keyBuffer; in put() local
235 keyBuffer = foldedKey.getBuffer(); in put()
238 keyBuffer = key.getBuffer(); in put()
245 node = addChildNode(node, keyBuffer[index], status); in put()
/external/icu4c/i18n/
Dcolldata.cpp463 static char *getKey(UCollator *collator, char *keyBuffer, int32_t *charBufferLength);
515 char keyBuffer[KEY_BUFFER_SIZE]; in get() local
517 char *key = getKey(collator, keyBuffer, &keyLength); in get()
557 if (key != keyBuffer) { in get()
582 char *CollDataCache::getKey(UCollator *collator, char *keyBuffer, int32_t *keyBufferLength) in getKey() argument
585 … int32_t len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); in getKey()
589 keyBuffer = NEW_ARRAY(char, *keyBufferLength); in getKey()
592 len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); in getKey()
595 keyBuffer[len] = '\0'; in getKey()
597 return keyBuffer; in getKey()
[all …]
Ducol_res.cpp186 char keyBuffer[256]; in ucol_open_internal() local
188 if(!uloc_getKeywordValue(loc, "collation", keyBuffer, 256, status) || in ucol_open_internal()
189 !uprv_strcmp(keyBuffer,"default")) { /* Treat 'zz@collation=default' as 'zz'. */ in ucol_open_internal()
197 u_UCharsToChars(defaultKey, keyBuffer, defaultKeyLen); in ucol_open_internal()
198 keyBuffer[defaultKeyLen] = 0; in ucol_open_internal()
205 collElem = ures_getByKeyWithFallback(collations, keyBuffer, collations, status); in ucol_open_internal()
Ducol_sit.cpp440 char keyBuffer[256]; in ucol_prepareShortStringOpen() local
442 if(!uloc_getKeywordValue(buffer, "collation", keyBuffer, 256, status)) { in ucol_prepareShortStringOpen()
448 u_UCharsToChars(defaultKey, keyBuffer, defaultKeyLen); in ucol_prepareShortStringOpen()
449 keyBuffer[defaultKeyLen] = 0; in ucol_prepareShortStringOpen()
456 collElem = ures_getByKeyWithFallback(collations, keyBuffer, collElem, status); in ucol_prepareShortStringOpen()
Dzstrfmt.cpp271 const UChar *keyBuffer; in putImpl() local
276 keyBuffer = foldedKey.getBuffer(); in putImpl()
279 keyBuffer = key.getBuffer(); in putImpl()
286 node = addChildNode(node, keyBuffer[index], status); in putImpl()
/external/chromium/third_party/icu/public/i18n/unicode/
Dcolldata.h423 char keyBuffer[KEY_BUFFER_SIZE]; variable
/external/icu4c/i18n/unicode/
Dcolldata.h438 char keyBuffer[KEY_BUFFER_SIZE]; variable