/external/icu4c/i18n/ |
D | ucol_res.cpp | 278 … const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status); in ucol_open_internal() local 280 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status); in ucol_open_internal() 284 …uprv_memcpy(result->defaultReorderCodes, result->reorderCodes, result->defaultReorderCodesLength *… in ucol_open_internal() 613 if(source->reorderCodes[i] != target->reorderCodes[i]) { in ucol_equals() 1051 if (parser->reorderCodesLength == 0 || parser->reorderCodes == NULL) { in ucol_setReorderCodesFromParser() 1056 if (coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) { in ucol_setReorderCodesFromParser() 1057 uprv_free(coll->reorderCodes); in ucol_setReorderCodesFromParser() 1069 …uprv_memcpy(coll->defaultReorderCodes, parser->reorderCodes, coll->defaultReorderCodesLength * siz… in ucol_setReorderCodesFromParser() 1073 coll->reorderCodes = (int32_t*) uprv_malloc(coll->reorderCodesLength * sizeof(int32_t)); in ucol_setReorderCodesFromParser() 1074 if (coll->reorderCodes == NULL) { in ucol_setReorderCodesFromParser() [all …]
|
D | ucol_tok.h | 140 int32_t* reorderCodes; member
|
D | tblcoll.cpp | 526 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, in setReorderCodes() argument 531 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status); in setReorderCodes()
|
D | ucol.cpp | 572 int32_t* reorderCodes; in ucol_safeClone() local 595 if (coll->reorderCodes) { in ucol_safeClone() 640 reorderCodes = (int32_t*)((uint8_t*)defaultReorderCodes + defaultReorderCodesSize); in ucol_safeClone() 641 leadBytePermutationTable = (uint8_t*)reorderCodes + reorderCodesSize; in ucol_safeClone() 684 if (coll->reorderCodes) { in ucol_safeClone() 685 localCollator->reorderCodes = in ucol_safeClone() 686 …(int32_t*)uprv_memcpy(reorderCodes, coll->reorderCodes, coll->reorderCodesLength * sizeof(int32_t)… in ucol_safeClone() 746 if(coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) { in ucol_close() 747 uprv_free(coll->reorderCodes); in ucol_close() 945 result->reorderCodes = NULL; in ucol_initCollator() [all …]
|
D | ucol_tok.cpp | 660 src->reorderCodes = (int32_t*)uprv_malloc(codeCount * sizeof(int32_t)); in ucol_tok_parseScriptReorder() 678 src->reorderCodes[codeIndex] = ucol_findReorderingEntry(conversion); in ucol_tok_parseScriptReorder() 679 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) { in ucol_tok_parseScriptReorder() 680 src->reorderCodes[codeIndex] = u_getPropertyValueEnum(UCHAR_SCRIPT, conversion); in ucol_tok_parseScriptReorder() 682 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) { in ucol_tok_parseScriptReorder() 2441 if (src->reorderCodes != NULL) { in ucol_tok_closeTokenList() 2442 uprv_free(src->reorderCodes); in ucol_tok_closeTokenList()
|
D | ucol_imp.h | 993 int32_t* reorderCodes; member
|
/external/icu4c/test/intltest/ |
D | alphaindextst.cpp | 317 int32_t reorderCodes[20]; in APITest() local 319 if (index->getCollator().getReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status) > 0) { in APITest() 557 int32_t reorderCodes[] = { USCRIPT_HAN }; in TestHaniFirst() local 558 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status); in TestHaniFirst() 586 int32_t reorderCodes[] = { USCRIPT_HAN }; in TestPinyinFirst() local 587 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status); in TestPinyinFirst()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | ucol_res.cpp | 276 … const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status); in ucol_open_internal() local 277 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status); in ucol_open_internal() 600 if(source->reorderCodes[i] != target->reorderCodes[i]) { in ucol_equals() 1036 if (coll->reorderCodes != NULL) { in ucol_setReorderCodesFromParser() 1037 uprv_free(coll->reorderCodes); in ucol_setReorderCodesFromParser() 1040 if (parser->reorderCodesLength == 0 || parser->reorderCodes == NULL) { in ucol_setReorderCodesFromParser() 1045 coll->reorderCodes = (int32_t*) uprv_malloc(coll->reorderCodesLength * sizeof(int32_t)); in ucol_setReorderCodesFromParser() 1046 … uprv_memcpy(coll->reorderCodes, parser->reorderCodes, coll->reorderCodesLength * sizeof(int32_t)); in ucol_setReorderCodesFromParser() 1155 uint32_t reorderCodesCode = coll->reorderCodes[codeIndex]; in ucol_buildPermutationTable()
|
D | ucol_tok.h | 140 int32_t* reorderCodes; member
|
D | tblcoll.cpp | 597 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, in setReorderCodes() argument 601 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status); in setReorderCodes()
|
D | ucol_tok.cpp | 666 src->reorderCodes = (int32_t*)uprv_malloc(codeCount * sizeof(int32_t)); in ucol_tok_parseScriptReorder() 684 src->reorderCodes[codeIndex] = ucol_findReorderingEntry(conversion); in ucol_tok_parseScriptReorder() 685 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) { in ucol_tok_parseScriptReorder() 686 src->reorderCodes[codeIndex] = u_getPropertyValueEnum(UCHAR_SCRIPT, conversion); in ucol_tok_parseScriptReorder() 688 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) { in ucol_tok_parseScriptReorder() 2447 if (src->reorderCodes != NULL) { in ucol_tok_closeTokenList() 2448 uprv_free(src->reorderCodes); in ucol_tok_closeTokenList()
|
D | ucol.cpp | 679 if(coll->reorderCodes != NULL) { in ucol_close() 680 uprv_free(coll->reorderCodes); in ucol_close() 869 result->reorderCodes = NULL; in ucol_initCollator() 7162 dest[i] = coll->reorderCodes[i]; in ucol_getReorderCodes() 7169 const int32_t *reorderCodes, in ucol_setReorderCodes() argument 7176 if (reorderCodesLength < 0 || (reorderCodesLength > 0 && reorderCodes == NULL)) { in ucol_setReorderCodes() 7181 uprv_free(coll->reorderCodes); in ucol_setReorderCodes() 7182 coll->reorderCodes = NULL; in ucol_setReorderCodes() 7189 coll->reorderCodes = (int32_t*) uprv_malloc(reorderCodesLength * sizeof(int32_t)); in ucol_setReorderCodes() 7190 if (coll->reorderCodes == NULL) { in ucol_setReorderCodes() [all …]
|
D | coll.cpp | 846 void Collator::setReorderCodes(const int32_t *reorderCodes, in setReorderCodes() argument
|
D | ucol_imp.h | 1028 int32_t* reorderCodes; member
|
/external/icu4c/test/cintltst/ |
D | cmsccoll.c | 656 uprv_free(src.reorderCodes); in testCollator() 1004 uprv_free(src.reorderCodes); in testAgainstUCA() 1292 uprv_free(src.reorderCodes); in testCEs() 5860 int32_t reorderCodes[1] = {USCRIPT_GREEK}; in TestBeforeRuleWithScriptReordering() local 5904 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status); in TestBeforeRuleWithScriptReordering() 5933 int32_t reorderCodes[1] = {USCRIPT_GREEK}; in TestNonLeadBytesDuringCollationReordering() local 5956 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); in TestNonLeadBytesDuringCollationReordering() 5985 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); in TestNonLeadBytesDuringCollationReordering() 6013 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; in TestReorderingAPI() local 6034 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); in TestReorderingAPI() [all …]
|
D | citertst.c | 1833 uprv_free(src.reorderCodes); in TestCEValidity() 2039 uprv_free(src.reorderCodes); in TestSortKeyValidity()
|
/external/icu4c/i18n/unicode/ |
D | tblcoll.h | 604 virtual void setReorderCodes(const int32_t* reorderCodes,
|
D | coll.h | 664 virtual void setReorderCodes(const int32_t* reorderCodes,
|
D | ucol.h | 723 const int32_t* reorderCodes,
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
D | coll.h | 620 virtual void setReorderCodes(const int32_t* reorderCodes,
|
D | tblcoll.h | 689 virtual void setReorderCodes(const int32_t* reorderCodes,
|
D | ucol.h | 565 const int32_t* reorderCodes,
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cmsccoll.c | 5841 int32_t reorderCodes[1] = {USCRIPT_GREEK}; in TestBeforeRuleWithScriptReordering() local 5885 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status); in TestBeforeRuleWithScriptReordering() 5914 int32_t reorderCodes[1] = {USCRIPT_GREEK}; in TestNonLeadBytesDuringCollationReordering() local 5938 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); in TestNonLeadBytesDuringCollationReordering() 5967 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); in TestNonLeadBytesDuringCollationReordering() 5995 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; in TestReorderingAPI() local 6012 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); in TestReorderingAPI() 6024 if (retrievedReorderCodesLength != LEN(reorderCodes)) { in TestReorderingAPI() 6025 …er codes length was %d but should have been %d\n", retrievedReorderCodesLength, LEN(reorderCodes)); in TestReorderingAPI()
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
D | parse.c | 905 … int32_t reorderCodes[USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST)]; in addCollation() 940 …coll, reorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &int… in addCollation() 944 … intvector_add(reorderCodeRes, reorderCodes[reorderCodeIndex], status); in addCollation()
|
/external/icu4c/tools/genrb/ |
D | parse.cpp | 921 … int32_t reorderCodes[USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST)]; in addCollation() 958 …coll, reorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &int… in addCollation() 962 … intvector_add(reorderCodeRes, reorderCodes[reorderCodeIndex], status); in addCollation()
|