Home
last modified time | relevance | path

Searched refs:reorderTable (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcollationsettings.cpp29 reorderTable(NULL), in CollationSettings()
34 U_ASSERT(other.reorderTable == NULL); in CollationSettings()
36 U_ASSERT(other.reorderTable != NULL); in CollationSettings()
38 aliasReordering(other.reorderCodes, length, other.reorderTable); in CollationSettings()
40 setReordering(other.reorderCodes, length, other.reorderTable); in CollationSettings()
81 reorderTable = NULL; in resetReordering()
95 reorderTable = table; in aliasReordering()
109 ownedTable = const_cast<uint8_t *>(reorderTable); in setReordering()
119 reorderTable = ownedTable = bytes + capacity * 4; in setReordering()
Dcollationcompare.cpp98 const uint8_t *reorderTable = settings.reorderTable; in compareUpToQuaternary() local
99 if (reorderTable != NULL) { in compareUpToQuaternary()
100 leftPrimary = Collation::reorder(reorderTable, leftPrimary); in compareUpToQuaternary()
101 rightPrimary = Collation::reorder(reorderTable, rightPrimary); in compareUpToQuaternary()
349 const uint8_t *reorderTable = settings.reorderTable; in compareUpToQuaternary() local
350 if (reorderTable != NULL) { in compareUpToQuaternary()
351 leftQuaternary = Collation::reorder(reorderTable, leftQuaternary); in compareUpToQuaternary()
352 rightQuaternary = Collation::reorder(reorderTable, rightQuaternary); in compareUpToQuaternary()
Dcollationkeys.cpp249 const uint8_t *reorderTable = settings.reorderTable; in writeSortKeyUpToQuaternary() local
288 if(reorderTable != NULL) { p1 = reorderTable[p1]; } in writeSortKeyUpToQuaternary()
308 if(reorderTable != NULL) { p1 = reorderTable[p1]; } in writeSortKeyUpToQuaternary()
Dcollationsettings.h105 reorderTable(NULL), in CollationSettings()
198 const uint8_t *reorderTable; member
Dcollationdatareader.cpp124 const uint8_t *reorderTable = NULL; in read() local
133 reorderTable = inBytes + offset; in read()
398 if(reorderCodesLength == 0 || reorderTable != NULL) { in read()
399 settings->aliasReordering(reorderCodes, reorderCodesLength, reorderTable); in read()
Dcollation.h489 static inline uint32_t reorder(const uint8_t reorderTable[256], uint32_t primary) { in reorder()
490 return ((uint32_t)reorderTable[primary >> 24] << 24) | (primary & 0xffffff); in reorder()
Dcollationtailoring.cpp42 U_ASSERT(baseSettings->reorderTable == NULL); in CollationTailoring()
Dcollationdatawriter.cpp217 if(settings.reorderTable != NULL) { in write()
303 copyData(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET, settings.reorderTable, dest); in write()
Dcollationfastlatin.cpp51 const uint8_t *reorderTable = settings.reorderTable; in getOptions() local
52 if(reorderTable != NULL) { in getOptions()
58 uint32_t lastByte = reorderTable[scripts[i] & 0xff]; in getOptions()
Drulebasedcollator.cpp663 defaultSettings.reorderTable); in setReorderCodes()
676 uint8_t reorderTable[256]; in setReorderCodes() local
677 data->makeReorderTable(reorderCodes, length, reorderTable, errorCode); in setReorderCodes()
679 if(!ownedSettings->setReordering(reorderCodes, length, reorderTable)) { in setReorderCodes()