Searched refs:reorderTable (Results 1 – 10 of 10) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | collationsettings.cpp | 29 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()
|
D | collationcompare.cpp | 98 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()
|
D | collationkeys.cpp | 249 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()
|
D | collationsettings.h | 105 reorderTable(NULL), in CollationSettings() 198 const uint8_t *reorderTable; member
|
D | collationdatareader.cpp | 124 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()
|
D | collation.h | 489 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()
|
D | collationtailoring.cpp | 42 U_ASSERT(baseSettings->reorderTable == NULL); in CollationTailoring()
|
D | collationdatawriter.cpp | 217 if(settings.reorderTable != NULL) { in write() 303 copyData(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET, settings.reorderTable, dest); in write()
|
D | collationfastlatin.cpp | 51 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()
|
D | rulebasedcollator.cpp | 663 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()
|