/third_party/skia/third_party/externals/icu/source/i18n/ |
D | collationsettings.cpp | 36 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 47 uprv_free(const_cast<int32_t *>(reorderCodes)); in ~CollationSettings() 57 if(reorderCodes[i] != other.reorderCodes[i]) { return FALSE; } in operator ==() 68 h ^= (reorderCodes[i] << i); in hashCode() 97 uprv_free(const_cast<int32_t *>(reorderCodes)); in aliasReordering() 101 reorderCodes = codes; in aliasReordering() 199 ownedCodes = const_cast<int32_t *>(reorderCodes); in setReorderArrays() 210 uprv_free(const_cast<int32_t *>(reorderCodes)); in setReorderArrays() 212 reorderCodes = ownedCodes; in setReorderArrays() 218 reorderTable = reinterpret_cast<const uint8_t *>(reorderCodes + reorderCodesCapacity); in setReorderArrays() [all …]
|
D | collationdatareader.cpp | 106 const int32_t *reorderCodes = NULL; in read() local 120 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset); in read() 128 (reorderCodes[reorderCodesLength - reorderRangesLength - 1] & 0xffff0000) != 0) { in read() 134 reorderRanges = reinterpret_cast<const uint32_t *>(reorderCodes + reorderCodesLength); in read() 423 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0) && in read() 446 settings->aliasReordering(*baseData, reorderCodes, reorderCodesLength, in read()
|
D | collationdatawriter.cpp | 163 const int32_t *reorderCodes = settings.reorderCodes; in write() local 169 data.makeReorderRanges(reorderCodes, reorderCodesLength, codesAndRanges, errorCode); in write() 172 codesAndRanges.insertElementAt(reorderCodes[i], i, errorCode); in write() 175 reorderCodes = codesAndRanges.getBuffer(); in write() 325 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, reorderCodes, dest); in write()
|
D | collationsettings.h | 112 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 249 const int32_t *reorderCodes; member
|
/third_party/node/deps/icu-small/source/i18n/ |
D | collationsettings.cpp | 36 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 47 uprv_free(const_cast<int32_t *>(reorderCodes)); in ~CollationSettings() 57 if(reorderCodes[i] != other.reorderCodes[i]) { return false; } in operator ==() 68 h ^= (reorderCodes[i] << i); in hashCode() 97 uprv_free(const_cast<int32_t *>(reorderCodes)); in aliasReordering() 101 reorderCodes = codes; in aliasReordering() 199 ownedCodes = const_cast<int32_t *>(reorderCodes); in setReorderArrays() 210 uprv_free(const_cast<int32_t *>(reorderCodes)); in setReorderArrays() 212 reorderCodes = ownedCodes; in setReorderArrays() 218 reorderTable = reinterpret_cast<const uint8_t *>(reorderCodes + reorderCodesCapacity); in setReorderArrays() [all …]
|
D | collationdatareader.cpp | 106 const int32_t *reorderCodes = NULL; in read() local 120 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset); in read() 128 (reorderCodes[reorderCodesLength - reorderRangesLength - 1] & 0xffff0000) != 0) { in read() 134 reorderRanges = reinterpret_cast<const uint32_t *>(reorderCodes + reorderCodesLength); in read() 423 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0) && in read() 446 settings->aliasReordering(*baseData, reorderCodes, reorderCodesLength, in read()
|
D | collationdatawriter.cpp | 163 const int32_t *reorderCodes = settings.reorderCodes; in write() local 169 data.makeReorderRanges(reorderCodes, reorderCodesLength, codesAndRanges, errorCode); in write() 172 codesAndRanges.insertElementAt(reorderCodes[i], i, errorCode); in write() 175 reorderCodes = codesAndRanges.getBuffer(); in write() 325 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, reorderCodes, dest); in write()
|
D | collationsettings.h | 112 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 249 const int32_t *reorderCodes; member
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | collationsettings.cpp | 36 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 47 uprv_free(const_cast<int32_t *>(reorderCodes)); in ~CollationSettings() 57 if(reorderCodes[i] != other.reorderCodes[i]) { return FALSE; } in operator ==() 68 h ^= (reorderCodes[i] << i); in hashCode() 97 uprv_free(const_cast<int32_t *>(reorderCodes)); in aliasReordering() 101 reorderCodes = codes; in aliasReordering() 199 ownedCodes = const_cast<int32_t *>(reorderCodes); in setReorderArrays() 210 uprv_free(const_cast<int32_t *>(reorderCodes)); in setReorderArrays() 212 reorderCodes = ownedCodes; in setReorderArrays() 218 reorderTable = reinterpret_cast<const uint8_t *>(reorderCodes + reorderCodesCapacity); in setReorderArrays() [all …]
|
D | collationdatareader.cpp | 106 const int32_t *reorderCodes = NULL; in read() local 120 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset); in read() 128 (reorderCodes[reorderCodesLength - reorderRangesLength - 1] & 0xffff0000) != 0) { in read() 134 reorderRanges = reinterpret_cast<const uint32_t *>(reorderCodes + reorderCodesLength); in read() 423 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0) && in read() 446 settings->aliasReordering(*baseData, reorderCodes, reorderCodesLength, in read()
|
D | collationdatawriter.cpp | 163 const int32_t *reorderCodes = settings.reorderCodes; in write() local 169 data.makeReorderRanges(reorderCodes, reorderCodesLength, codesAndRanges, errorCode); in write() 172 codesAndRanges.insertElementAt(reorderCodes[i], i, errorCode); in write() 175 reorderCodes = codesAndRanges.getBuffer(); in write() 325 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, reorderCodes, dest); in write()
|
D | collationsettings.h | 112 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 249 const int32_t *reorderCodes; member
|
/third_party/icu/icu4c/source/i18n/ |
D | collationsettings.cpp | 36 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 47 uprv_free(const_cast<int32_t *>(reorderCodes)); in ~CollationSettings() 57 if(reorderCodes[i] != other.reorderCodes[i]) { return FALSE; } in operator ==() 68 h ^= (reorderCodes[i] << i); in hashCode() 97 uprv_free(const_cast<int32_t *>(reorderCodes)); in aliasReordering() 101 reorderCodes = codes; in aliasReordering() 199 ownedCodes = const_cast<int32_t *>(reorderCodes); in setReorderArrays() 210 uprv_free(const_cast<int32_t *>(reorderCodes)); in setReorderArrays() 212 reorderCodes = ownedCodes; in setReorderArrays() 218 reorderTable = reinterpret_cast<const uint8_t *>(reorderCodes + reorderCodesCapacity); in setReorderArrays() [all …]
|
D | collationdatareader.cpp | 106 const int32_t *reorderCodes = NULL; in read() local 120 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset); in read() 128 (reorderCodes[reorderCodesLength - reorderRangesLength - 1] & 0xffff0000) != 0) { in read() 134 reorderRanges = reinterpret_cast<const uint32_t *>(reorderCodes + reorderCodesLength); in read() 423 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0) && in read() 446 settings->aliasReordering(*baseData, reorderCodes, reorderCodesLength, in read()
|
D | collationdatawriter.cpp | 163 const int32_t *reorderCodes = settings.reorderCodes; in write() local 169 data.makeReorderRanges(reorderCodes, reorderCodesLength, codesAndRanges, errorCode); in write() 172 codesAndRanges.insertElementAt(reorderCodes[i], i, errorCode); in write() 175 reorderCodes = codesAndRanges.getBuffer(); in write() 325 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, reorderCodes, dest); in write()
|
D | collationsettings.h | 112 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0), in CollationSettings() 249 const int32_t *reorderCodes; member
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
D | CollationSettings.java | 113 if(!Arrays.equals(reorderCodes, o.reorderCodes)) { return false; } in equals() 121 h ^= reorderCodes.length; in hashCode() 122 for(int i = 0; i < reorderCodes.length; ++i) { in hashCode() 123 h ^= (reorderCodes[i] << i); in hashCode() 134 reorderCodes = EMPTY_INT_ARRAY; in resetReordering() 155 reorderCodes = codes; in aliasReordering() 246 reorderCodes = codes; in setReorderArrays() 270 reorderCodes = other.reorderCodes; in copyReorderingFrom() 475 public int[] reorderCodes = EMPTY_INT_ARRAY; field in CollationSettings
|
D | CollationDataReader.java | 149 int[] reorderCodes; in read() local 161 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3); in read() 169 … (reorderCodes[reorderCodesLength - reorderRangesLength - 1] & 0xffff0000) != 0) { in read() 175 reorderCodes = new int[0]; in read() 469 Arrays.equals(reorderCodes, ts.reorderCodes) && in read() 486 settings.aliasReordering(baseData, reorderCodes, reorderCodesLength, reorderTable); in read()
|
D | CollationRuleParser.java | 713 ArrayList<Integer> reorderCodes = new ArrayList<Integer>(); in parseReordering() local 724 reorderCodes.add(code); in parseReordering() 727 if(reorderCodes.isEmpty()) { in parseReordering() 730 int[] codes = new int[reorderCodes.size()]; in parseReordering() 732 for(Integer code : reorderCodes) { codes[j++] = code; } in parseReordering()
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationSettings.java | 111 if(!Arrays.equals(reorderCodes, o.reorderCodes)) { return false; } in equals() 119 h ^= reorderCodes.length; in hashCode() 120 for(int i = 0; i < reorderCodes.length; ++i) { in hashCode() 121 h ^= (reorderCodes[i] << i); in hashCode() 132 reorderCodes = EMPTY_INT_ARRAY; in resetReordering() 153 reorderCodes = codes; in aliasReordering() 244 reorderCodes = codes; in setReorderArrays() 268 reorderCodes = other.reorderCodes; in copyReorderingFrom() 473 public int[] reorderCodes = EMPTY_INT_ARRAY; field in CollationSettings
|
D | CollationDataReader.java | 148 int[] reorderCodes; in read() local 160 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3); in read() 168 … (reorderCodes[reorderCodesLength - reorderRangesLength - 1] & 0xffff0000) != 0) { in read() 174 reorderCodes = new int[0]; in read() 468 Arrays.equals(reorderCodes, ts.reorderCodes) && in read() 485 settings.aliasReordering(baseData, reorderCodes, reorderCodesLength, reorderTable); in read()
|
D | CollationRuleParser.java | 709 ArrayList<Integer> reorderCodes = new ArrayList<Integer>(); in parseReordering() local 720 reorderCodes.add(code); in parseReordering() 723 if(reorderCodes.isEmpty()) { in parseReordering() 726 int[] codes = new int[reorderCodes.size()]; in parseReordering() 728 for(Integer code : reorderCodes) { codes[j++] = code; } in parseReordering()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | alphaindextst.cpp | 330 int32_t reorderCodes[20]; in APITest() local 332 … if (index->getCollator().getReorderCodes(reorderCodes, UPRV_LENGTHOF(reorderCodes), status) > 0) { in APITest() 566 int32_t reorderCodes[] = { USCRIPT_HAN }; in TestHaniFirst() local 567 coll->setReorderCodes(reorderCodes, UPRV_LENGTHOF(reorderCodes), status); in TestHaniFirst() 595 int32_t reorderCodes[] = { USCRIPT_HAN }; in TestPinyinFirst() local 596 coll->setReorderCodes(reorderCodes, UPRV_LENGTHOF(reorderCodes), status); in TestPinyinFirst()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cmsccoll.c | 4538 int32_t reorderCodes[1] = {USCRIPT_GREEK}; in TestBeforeRuleWithScriptReordering() local 4584 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status); in TestBeforeRuleWithScriptReordering() 4613 int32_t reorderCodes[1] = {USCRIPT_GREEK}; in TestNonLeadBytesDuringCollationReordering() local 4636 ucol_setReorderCodes(myCollation, reorderCodes, UPRV_LENGTHOF(reorderCodes), &status); in TestNonLeadBytesDuringCollationReordering() 4665 ucol_setReorderCodes(myCollation, reorderCodes, UPRV_LENGTHOF(reorderCodes), &status); in TestNonLeadBytesDuringCollationReordering() 4693 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; in TestReorderingAPI() local 4715 ucol_setReorderCodes(myCollation, reorderCodes, UPRV_LENGTHOF(reorderCodes), &status); in TestReorderingAPI() 4728 if (retrievedReorderCodesLength != UPRV_LENGTHOF(reorderCodes)) { in TestReorderingAPI() 4729 …ength was %d but should have been %d\n", retrievedReorderCodesLength, UPRV_LENGTHOF(reorderCodes)); in TestReorderingAPI() 4738 if (retrievedReorderCodesLength != UPRV_LENGTHOF(reorderCodes)) { in TestReorderingAPI() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationMiscTest.java | 3129 int[] reorderCodes = {UScript.GREEK}; in TestBeforeRuleWithScriptReordering() local 3156 myCollation.setReorderCodes(reorderCodes); in TestBeforeRuleWithScriptReordering() 3184 int[] reorderCodes = {UScript.GREEK}; in TestNonLeadBytesDuringCollationReordering() local 3192 myCollation.setReorderCodes(reorderCodes); in TestNonLeadBytesDuringCollationReordering() 3210 myCollation.setReorderCodes(reorderCodes); in TestNonLeadBytesDuringCollationReordering() 3231 int[] reorderCodes = {UScript.GREEK, UScript.HAN, ReorderCodes.PUNCTUATION}; in TestReorderingAPI() local 3243 myCollation.setReorderCodes(reorderCodes); in TestReorderingAPI() 3246 if (!Arrays.equals(reorderCodes, retrievedReorderCodes)) { in TestReorderingAPI() 3267 myCollation.setReorderCodes(reorderCodes); in TestReorderingAPI() 3270 if (!Arrays.equals(reorderCodes, retrievedReorderCodes)) { in TestReorderingAPI() [all …]
|