/external/icu/icu4c/source/i18n/ |
H A D | collationsettings.cpp | 30 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), 38 aliasReordering(other.reorderCodes, length, other.reorderTable); 40 setReordering(other.reorderCodes, length, other.reorderTable); 50 uprv_free(const_cast<int32_t *>(reorderCodes)); 60 if(reorderCodes[i] != other.reorderCodes[i]) { return FALSE; } 71 h ^= (reorderCodes[i] << i); 80 // Keep the memory via reorderCodes and its capacity. 92 uprv_free(const_cast<int32_t *>(reorderCodes)); 96 reorderCodes [all...] |
H A D | collationdatareader.cpp | 105 const int32_t *reorderCodes = NULL; local 117 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset); 376 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0 && 399 settings->aliasReordering(reorderCodes, reorderCodesLength, reorderTable); 402 baseData->makeReorderTable(reorderCodes, reorderCodesLength, table, errorCode); 404 if(!settings->setReordering(reorderCodes, reorderCodesLength,table)) {
|
H A D | collationsettings.h | 106 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), 200 const int32_t *reorderCodes; member in struct:CollationSettings 204 * Capacity of reorderCodes. 206 * Otherwise, this object owns the memory via the reorderCodes pointer;
|
H A D | collationruleparser.cpp | 691 UVector32 reorderCodes(errorCode); 705 reorderCodes.addElement(code, errorCode); 709 int32_t length = reorderCodes.size(); 710 if(length == 1 && reorderCodes.elementAti(0) == UCOL_REORDER_CODE_DEFAULT) { 716 baseData->makeReorderTable(reorderCodes.getBuffer(), length, table, errorCode); 718 if(!settings->setReordering(reorderCodes.getBuffer(), length, table)) {
|
H A D | rulebasedcollator.cpp | 637 uprv_memcpy(dest, settings->reorderCodes, length * 4); 642 RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, int32_t length, argument 645 if(length < 0 || (reorderCodes == NULL && length > 0)) { 650 uprv_memcmp(reorderCodes, settings->reorderCodes, length * 4) == 0) { 654 if(length == 1 && reorderCodes[0] == UCOL_REORDER_CODE_DEFAULT) { 661 ownedSettings->aliasReordering(defaultSettings.reorderCodes, 677 data->makeReorderTable(reorderCodes, length, reorderTable, errorCode); 679 if(!ownedSettings->setReordering(reorderCodes, length, reorderTable)) {
|
H A D | ucol.cpp | 383 const int32_t* reorderCodes, 390 Collator::fromUCollator(coll)->setReorderCodes(reorderCodes, reorderCodesLength, *status); 382 ucol_setReorderCodes(UCollator* coll, const int32_t* reorderCodes, int32_t reorderCodesLength, UErrorCode *status) argument
|
H A D | collationdatawriter.cpp | 302 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, settings.reorderCodes, dest);
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ucol_res.cpp | 271 const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status); local 273 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status); 277 uprv_memcpy(result->defaultReorderCodes, result->reorderCodes, result->defaultReorderCodesLength * sizeof(int32_t)); 606 if(source->reorderCodes[i] != target->reorderCodes[i]) { 1044 if (parser->reorderCodesLength == 0 || parser->reorderCodes == NULL) { 1049 if (coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) { 1050 uprv_free(coll->reorderCodes); 1052 coll->reorderCodes = NULL; 1065 uprv_memcpy(coll->defaultReorderCodes, parser->reorderCodes, col [all...] |
H A D | ucol_tok.h | 140 int32_t* reorderCodes; member in struct:__anon12128
|
H A D | tblcoll.cpp | 541 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, argument 546 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status);
|
H A D | ucol.cpp | 571 int32_t* reorderCodes; local 593 if (coll->reorderCodes) { 620 reorderCodes = (int32_t*)((uint8_t*)defaultReorderCodes + defaultReorderCodesSize); 621 leadBytePermutationTable = (uint8_t*)reorderCodes + reorderCodesSize; 664 if (coll->reorderCodes) { 665 localCollator->reorderCodes = 666 (int32_t*)uprv_memcpy(reorderCodes, coll->reorderCodes, coll->reorderCodesLength * sizeof(int32_t)); 726 if(coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) { 727 uprv_free(coll->reorderCodes); 6718 ucol_setReorderCodes(UCollator* coll, const int32_t* reorderCodes, int32_t reorderCodesLength, UErrorCode *status) argument [all...] |
H A D | ucol_tok.cpp | 660 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);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | alphaindextst.cpp | 315 int32_t reorderCodes[20]; local 317 if (index->getCollator().getReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status) > 0) { 561 int32_t reorderCodes[] = { USCRIPT_HAN }; local 562 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status); 590 int32_t reorderCodes[] = { USCRIPT_HAN }; local 591 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | alphaindextst.cpp | 317 int32_t reorderCodes[20]; local 319 if (index->getCollator().getReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status) > 0) { 563 int32_t reorderCodes[] = { USCRIPT_HAN }; local 564 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status); 592 int32_t reorderCodes[] = { USCRIPT_HAN }; local 593 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
|
H A D | collationtest.cpp | 1166 UVector32 reorderCodes(errorCode); 1180 reorderCodes.addElement(code, errorCode); 1183 coll->setReorderCodes(reorderCodes.getBuffer(), reorderCodes.size(), errorCode);
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cmsccoll.c | 4536 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local 4582 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status); 4611 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local 4634 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); 4663 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); 4691 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local 4712 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), 4798 static const int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local 5012 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local 5257 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...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cmsccoll.c | 657 uprv_free(src.reorderCodes); 1011 uprv_free(src.reorderCodes); 1305 uprv_free(src.reorderCodes); 5886 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local 5932 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status); 5961 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local 5984 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status); 6013 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), 6041 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local 6148 static const int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local 6362 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local 6607 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 D | citertst.c | 1842 uprv_free(src.reorderCodes); 2055 uprv_free(src.reorderCodes);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | coll.h | 654 * @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 D | tblcoll.h | 599 * @param reorderCodes An array of script codes in the new order. This can be NULL if the 601 * @param reorderCodesLength The length of reorderCodes. 607 virtual void setReorderCodes(const int32_t* reorderCodes,
|
H A D | ucol.h | 710 * @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/icu/icu4c/source/i18n/unicode/ |
H A D | coll.h | 631 * @param reorderCodes An array of script codes in the new order. This can be NULL if the 633 * @param reorderCodesLength The length of reorderCodes. 641 virtual void setReorderCodes(const int32_t* reorderCodes,
|
H A D | tblcoll.h | 656 * @param reorderCodes An array of script codes in the new order. This can be NULL if the 658 * @param reorderCodesLength The length of reorderCodes. 664 virtual void setReorderCodes(const int32_t* reorderCodes,
|
H A D | ucol.h | 726 * @param reorderCodes An array of script codes in the new order. This can be NULL if the 728 * @param reorderCodesLength The length of reorderCodes. 739 const int32_t* reorderCodes,
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
H A D | parse.cpp | 921 int32_t reorderCodes[USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST)]; 957 coll, reorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &intStatus); 961 intvector_add(reorderCodeRes, reorderCodes[reorderCodeIndex], status);
|