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

/external/icu4c/i18n/
H A Ducol_res.cpp278 const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status); local
280 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status);
284 uprv_memcpy(result->defaultReorderCodes, result->reorderCodes, result->defaultReorderCodesLength * sizeof(int32_t));
613 if(source->reorderCodes[i] != target->reorderCodes[i]) {
1051 if (parser->reorderCodesLength == 0 || parser->reorderCodes == NULL) {
1056 if (coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) {
1057 uprv_free(coll->reorderCodes);
1069 uprv_memcpy(coll->defaultReorderCodes, parser->reorderCodes, coll->defaultReorderCodesLength * sizeof(int32_t));
1073 coll->reorderCodes
[all...]
H A Ducol_tok.h140 int32_t* reorderCodes; member in struct:__anon18315
H A Dtblcoll.cpp526 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, argument
531 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status);
H A Ducol.cpp572 int32_t* reorderCodes; local
595 if (coll->reorderCodes) {
640 reorderCodes = (int32_t*)((uint8_t*)defaultReorderCodes + defaultReorderCodesSize);
641 leadBytePermutationTable = (uint8_t*)reorderCodes + reorderCodesSize;
684 if (coll->reorderCodes) {
685 localCollator->reorderCodes =
686 (int32_t*)uprv_memcpy(reorderCodes, coll->reorderCodes, coll->reorderCodesLength * sizeof(int32_t));
746 if(coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) {
747 uprv_free(coll->reorderCodes);
6800 ucol_setReorderCodes(UCollator* coll, const int32_t* reorderCodes, int32_t reorderCodesLength, UErrorCode *status) argument
[all...]
H A Ducol_tok.cpp660 src->reorderCodes = (int32_t*)uprv_malloc(codeCount * sizeof(int32_t));
678 src->reorderCodes[codeIndex] = ucol_findReorderingEntry(conversion);
679 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) {
680 src->reorderCodes[codeIndex] = u_getPropertyValueEnum(UCHAR_SCRIPT, conversion);
682 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) {
2441 if (src->reorderCodes != NULL) {
2442 uprv_free(src->reorderCodes);
H A Ducol_imp.h993 int32_t* reorderCodes; member in struct:UCollator
/external/icu4c/test/intltest/
H A Dalphaindextst.cpp317 int32_t reorderCodes[20]; local
319 if (index->getCollator().getReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status) > 0) {
557 int32_t reorderCodes[] = { USCRIPT_HAN }; local
558 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
586 int32_t reorderCodes[] = { USCRIPT_HAN }; local
587 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
/external/chromium_org/third_party/icu/source/i18n/
H A Ducol_res.cpp276 const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status); local
277 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status);
600 if(source->reorderCodes[i] != target->reorderCodes[i]) {
1036 if (coll->reorderCodes != NULL) {
1037 uprv_free(coll->reorderCodes);
1040 if (parser->reorderCodesLength == 0 || parser->reorderCodes == NULL) {
1045 coll->reorderCodes = (int32_t*) uprv_malloc(coll->reorderCodesLength * sizeof(int32_t));
1046 uprv_memcpy(coll->reorderCodes, parser->reorderCodes, col
[all...]
H A Ducol_tok.h140 int32_t* reorderCodes; member in struct:__anon10989
H A Dtblcoll.cpp597 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, argument
601 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status);
H A Ducol_tok.cpp666 src->reorderCodes = (int32_t*)uprv_malloc(codeCount * sizeof(int32_t));
684 src->reorderCodes[codeIndex] = ucol_findReorderingEntry(conversion);
685 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) {
686 src->reorderCodes[codeIndex] = u_getPropertyValueEnum(UCHAR_SCRIPT, conversion);
688 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) {
2447 if (src->reorderCodes != NULL) {
2448 uprv_free(src->reorderCodes);
H A Ducol.cpp679 if(coll->reorderCodes != NULL) {
680 uprv_free(coll->reorderCodes);
869 result->reorderCodes = NULL;
7162 dest[i] = coll->reorderCodes[i];
7169 const int32_t *reorderCodes,
7176 if (reorderCodesLength < 0 || (reorderCodesLength > 0 && reorderCodes == NULL)) {
7181 uprv_free(coll->reorderCodes);
7182 coll->reorderCodes = NULL;
7189 coll->reorderCodes = (int32_t*) uprv_malloc(reorderCodesLength * sizeof(int32_t));
7190 if (coll->reorderCodes
7168 ucol_setReorderCodes(UCollator *coll, const int32_t *reorderCodes, int32_t reorderCodesLength, UErrorCode *pErrorCode) argument
[all...]
H A Dcoll.cpp846 void Collator::setReorderCodes(const int32_t *reorderCodes, argument
H A Ducol_imp.h1028 int32_t* reorderCodes; member in struct:UCollator
/external/icu4c/test/cintltst/
H A Dcmsccoll.c656 uprv_free(src.reorderCodes);
1004 uprv_free(src.reorderCodes);
1292 uprv_free(src.reorderCodes);
5860 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
5904 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status);
5933 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
5956 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
5985 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes),
6013 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
6120 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
6312 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
6558 int32_t reorderCodes[] = {UCOL_REORDER_CODE_SPACE, UCOL_REORDER_CODE_PUNCTUATION, UCOL_REORDER_CODE_SYMBOL, UCOL_REORDER_CODE_DIGIT, USCRIPT_GREEK,USCRIPT_LATIN, USCRIPT_HEBREW, UCOL_REORDER_CODE_OTHERS}; local
[all...]
H A Dcitertst.c1833 uprv_free(src.reorderCodes);
2039 uprv_free(src.reorderCodes);
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dcoll.h615 * @param reorderCodes An array of reorder codes in the new order.
616 * @param reorderCodesLength The length of reorderCodes.
620 virtual void setReorderCodes(const int32_t* reorderCodes,
H A Dtblcoll.h684 * @param reorderCodes An array of script codes in the new order.
685 * @param reorderCodesLength The length of reorderCodes.
689 virtual void setReorderCodes(const int32_t* reorderCodes,
H A Ducol.h557 * @param reorderCodes An array of script codes in the new order.
558 * @param reorderCodesLength The length of reorderCodes.
565 const int32_t* reorderCodes,
/external/icu4c/i18n/unicode/
H A Dcoll.h654 * @param reorderCodes An array of script codes in the new order. This can be NULL if the
656 * @param reorderCodesLength The length of reorderCodes.
664 virtual void setReorderCodes(const int32_t* reorderCodes,
H A Dtblcoll.h596 * @param reorderCodes An array of script codes in the new order. This can be NULL if the
598 * @param reorderCodesLength The length of reorderCodes.
604 virtual void setReorderCodes(const int32_t* reorderCodes,
H A Ducol.h710 * @param reorderCodes An array of script codes in the new order. This can be NULL if the
712 * @param reorderCodesLength The length of reorderCodes.
723 const int32_t* reorderCodes,
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcmsccoll.c5841 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
5885 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status);
5914 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
5938 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
5967 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
5995 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
6012 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes),
[all...]
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Dparse.c905 int32_t reorderCodes[USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST)];
940 coll, reorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &intStatus);
944 intvector_add(reorderCodeRes, reorderCodes[reorderCodeIndex], status);
/external/icu4c/tools/genrb/
H A Dparse.cpp921 int32_t reorderCodes[USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST)];
958 coll, reorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &intStatus);
962 intvector_add(reorderCodeRes, reorderCodes[reorderCodeIndex], status);

Completed in 1391 milliseconds