Home
last modified time | relevance | path

Searched refs:sortkey (Results 1 – 11 of 11) sorted by relevance

/external/icu4c/i18n/
Dtblcoll.cpp432 CollationKey& sortkey, in getCollationKey() argument
435 return getCollationKey(source.getBuffer(), source.length(), sortkey, status); in getCollationKey()
440 CollationKey& sortkey, in getCollationKey() argument
445 return sortkey.setToBogus(); in getCollationKey()
449 return sortkey.reset(); in getCollationKey()
457 sortkey.adopt(result, resultLen); in getCollationKey()
458 return sortkey; in getCollationKey()
DAndroid.mk36 sortkey.cpp strmatch.cpp strrepl.cpp \
DMakefile.org71 coleitr.o coll.o tblcoll.o sortkey.o bocsu.o ucoleitr.o \
DMakefile.in71 coleitr.o coll.o tblcoll.o sortkey.o bocsu.o ucoleitr.o \
/external/icu4c/tools/dumpce/
Ddumpce.cpp165 uint8_t sortkey[64]; in serialize() local
166 uint8_t *psortkey = sortkey; in serialize()
172 iter->iteratordata_.endp - codepoint, sortkey, 64); in serialize()
177 -1, sortkey, 64); in serialize()
824 uint8_t sortkey[32]; in outputScriptElem() local
826 ucol_getSortKey(COLLATOR_, element.ch, element.count, sortkey, 32); in outputScriptElem()
828 while (sortkey[i] != 0) { in outputScriptElem()
829 if (sortkey[i] == 1) { in outputScriptElem()
833 fprintf(OUTPUT_, "%02x", sortkey[i]); in outputScriptElem()
/external/icu4c/test/cintltst/
Dcitertst.c1744 uint8_t *sortkey, int sklen) in printSortKeyError() argument
1755 log_err("0x%02x ", sortkey[count]); in printSortKeyError()
1787 uint8_t sortkey[128]; in checkSortKeyValidity() local
1791 sklen = ucol_getSortKey(coll, codepoints, length, sortkey, 128); in checkSortKeyValidity()
1792 while (sortkey[count] != 0) { in checkSortKeyValidity()
1793 if (sortkey[count] == 2 || (sortkey[count] == 3 && count01 > 0 && index != 4)) { in checkSortKeyValidity()
1794 printSortKeyError(codepoints, length, sortkey, sklen); in checkSortKeyValidity()
1797 if (sortkey[count] == 1) { in checkSortKeyValidity()
1804 printSortKeyError(codepoints, length, sortkey, sklen); in checkSortKeyValidity()
Dcapitst.c45 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *bu… in ucol_sortKeyToString() argument
51 const uint8_t *currentSk = sortkey; in ucol_sortKeyToString()
1343 uint8_t sortkey[512], lower[512], upper[512]; in TestBounds() local
1472 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512); in TestBounds()
1473 lowerSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_LOWER, 1, lower, 512, &status); in TestBounds()
1474 … upperSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_UPPER_LONG, 1, upper, 512, &status); in TestBounds()
1477 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512); in TestBounds()
1478 if(strcmp((const char *)lower, (const char *)sortkey) > 0) { in TestBounds()
1481 if(strcmp((const char *)upper, (const char *)sortkey) <= 0) { in TestBounds()
Dcmsccoll.c332 uint8_t sortkey[256];
366 sortkeysize = ucol_getSortKey(coll, m, sizem, sortkey, 256);
368 fprintf(stderr, "%s\n", ucol_sortKeyToString(coll, sortkey, buffer, &len));
4709 unsigned char sortkey[256]; in TestJ5223() local
4729 sortkey[sortkey_length-1] = 0xAA; in TestJ5223()
4732 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, sortkey, in TestJ5223()
4736 if (sortkey[sortkey_length-1] == 0xAA) { in TestJ5223()
4741 sortkey[sortkey_length-1] = 0xAA; in TestJ5223()
4744 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, sortkey, in TestJ5223()
4748 if (sortkey[sortkey_length-1] == 0xAA) { in TestJ5223()
Dcallcoll.c142 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer,… in sortKeyToString() argument
148 const uint8_t *currentSk = sortkey; in sortKeyToString()
/external/icu4c/test/hdrtst/
Dcxxfiles.txt43 sortkey.h
/external/icu4c/test/intltest/
Dapicoll.cpp1678 uint8_t sortkey[512], lower[512], upper[512]; in TestBounds() local
1783 skSize = coll->getSortKey(buffer, buffSize, sortkey, 512); in TestBounds()
1784 lowerSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_LOWER, 1, lower, 512, &status); in TestBounds()
1785 upperSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_UPPER_LONG, 1, upper, 512, &status); in TestBounds()
1788 skSize = coll->getSortKey(buffer, buffSize, sortkey, 512); in TestBounds()
1789 if(strcmp((const char *)lower, (const char *)sortkey) > 0) { in TestBounds()
1792 if(strcmp((const char *)upper, (const char *)sortkey) <= 0) { in TestBounds()