Home
last modified time | relevance | path

Searched refs:reorderCodes (Results 1 – 25 of 25) sorted by relevance

/external/icu4c/i18n/
Ducol_res.cpp278 … 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 …]
Ducol_tok.h140 int32_t* reorderCodes; member
Dtblcoll.cpp526 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, in setReorderCodes() argument
531 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status); in setReorderCodes()
Ducol.cpp572 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 …]
Ducol_tok.cpp660 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()
Ducol_imp.h993 int32_t* reorderCodes; member
/external/icu4c/test/intltest/
Dalphaindextst.cpp317 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/
Ducol_res.cpp276 … 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()
Ducol_tok.h140 int32_t* reorderCodes; member
Dtblcoll.cpp597 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, in setReorderCodes() argument
601 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status); in setReorderCodes()
Ducol_tok.cpp666 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()
Ducol.cpp679 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 …]
Dcoll.cpp846 void Collator::setReorderCodes(const int32_t *reorderCodes, in setReorderCodes() argument
Ducol_imp.h1028 int32_t* reorderCodes; member
/external/icu4c/test/cintltst/
Dcmsccoll.c656 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 …]
Dcitertst.c1833 uprv_free(src.reorderCodes); in TestCEValidity()
2039 uprv_free(src.reorderCodes); in TestSortKeyValidity()
/external/icu4c/i18n/unicode/
Dtblcoll.h604 virtual void setReorderCodes(const int32_t* reorderCodes,
Dcoll.h664 virtual void setReorderCodes(const int32_t* reorderCodes,
Ducol.h723 const int32_t* reorderCodes,
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dcoll.h620 virtual void setReorderCodes(const int32_t* reorderCodes,
Dtblcoll.h689 virtual void setReorderCodes(const int32_t* reorderCodes,
Ducol.h565 const int32_t* reorderCodes,
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcmsccoll.c5841 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/
Dparse.c905 … 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/
Dparse.cpp921 … 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()