/external/icu/icu4c/source/i18n/ |
D | collationsettings.cpp | 26 CollationSettings::CollationSettings(const CollationSettings &other) in CollationSettings() function in CollationSettings 48 CollationSettings::~CollationSettings() { in ~CollationSettings() 55 CollationSettings::operator==(const CollationSettings &other) const { in operator ==() 66 CollationSettings::hashCode() const { in hashCode() 77 CollationSettings::resetReordering() { in resetReordering() 86 CollationSettings::aliasReordering(const int32_t *codes, int32_t length, const uint8_t *table) { in aliasReordering() 102 CollationSettings::setReordering(const int32_t *codes, int32_t length, const uint8_t table[256]) { in setReordering() 131 CollationSettings::setStrength(int32_t value, int32_t defaultOptions, UErrorCode &errorCode) { in setStrength() 152 CollationSettings::setFlag(int32_t bit, UColAttributeValue value, in setFlag() 172 CollationSettings::setCaseFirst(UColAttributeValue value, in setCaseFirst() [all …]
|
D | collationsettings.h | 30 struct U_I18N_API CollationSettings : public SharedObject { struct 101 CollationSettings() in CollationSettings() argument 109 CollationSettings(const CollationSettings &other); 110 virtual ~CollationSettings(); 112 UBool operator==(const CollationSettings &other) const; 114 inline UBool operator!=(const CollationSettings &other) const {
|
D | collationcompare.cpp | 28 const CollationSettings &settings, in compareUpToQuaternary() 34 if((options & CollationSettings::ALTERNATE_MASK) == 0) { in compareUpToQuaternary() 112 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUpToQuaternary() 113 if((options & CollationSettings::BACKWARD_SECONDARY) == 0) { in compareUpToQuaternary() 186 if((options & CollationSettings::CASE_LEVEL) != 0) { in compareUpToQuaternary() 187 int32_t strength = CollationSettings::getStrength(options); in compareUpToQuaternary() 242 if((options & CollationSettings::UPPER_FIRST) == 0) { in compareUpToQuaternary() 251 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUpToQuaternary() 253 uint32_t tertiaryMask = CollationSettings::getTertiaryMask(options); in compareUpToQuaternary() 278 if(CollationSettings::sortsTertiaryUpperCaseFirst(options)) { in compareUpToQuaternary() [all …]
|
D | collationdatawriter.h | 22 struct CollationSettings; 30 static int32_t writeBase(const CollationData &data, const CollationSettings &settings, 35 static int32_t writeTailoring(const CollationTailoring &t, const CollationSettings &settings, 43 const CollationData &data, const CollationSettings &settings,
|
D | collationfastlatin.cpp | 26 CollationFastLatin::getOptions(const CollationData *data, const CollationSettings &settings, in getOptions() 34 if((settings.options & CollationSettings::ALTERNATE_MASK) == 0) { in getOptions() 81 if((settings.options & CollationSettings::NUMERIC) != 0) { in getOptions() 124 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings::NUMERIC) != 0) { in compareUTF16() 155 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings::NUMERIC) != 0) { in compareUTF16() 198 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF16() 260 if((options & CollationSettings::BACKWARD_SECONDARY) != 0) { in compareUTF16() 273 if((options & CollationSettings::CASE_LEVEL) != 0) { in compareUTF16() 274 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF16() 312 if((options & CollationSettings::UPPER_FIRST) == 0) { in compareUTF16() [all …]
|
D | collationkeys.cpp | 226 const CollationSettings &settings, in writeSortKeyUpToQuaternary() 234 uint32_t levels = levelMasks[CollationSettings::getStrength(options)]; in writeSortKeyUpToQuaternary() 235 if((options & CollationSettings::CASE_LEVEL) != 0) { in writeSortKeyUpToQuaternary() 243 if((options & CollationSettings::ALTERNATE_MASK) == 0) { in writeSortKeyUpToQuaternary() 251 uint32_t tertiaryMask = CollationSettings::getTertiaryMask(options); in writeSortKeyUpToQuaternary() 355 } else if((options & CollationSettings::BACKWARD_SECONDARY) == 0) { in writeSortKeyUpToQuaternary() 406 if((CollationSettings::getStrength(options) == UCOL_PRIMARY) ? in writeSortKeyUpToQuaternary() 417 if((options & CollationSettings::UPPER_FIRST) == 0) { in writeSortKeyUpToQuaternary() 486 } else if((options & CollationSettings::UPPER_FIRST) == 0) { in writeSortKeyUpToQuaternary() 557 (options & CollationSettings::ALTERNATE_MASK) == 0 && in writeSortKeyUpToQuaternary() [all …]
|
D | collationcompare.h | 24 struct CollationSettings; 29 const CollationSettings &settings,
|
D | collationroot.h | 22 struct CollationSettings; 32 static const CollationSettings *getSettings(UErrorCode &errorCode);
|
D | collationtailoring.h | 47 CollationTailoring(const CollationSettings *baseSettings); 63 const CollationSettings *settings; // reference-counted
|
D | collationruleparser.h | 33 struct CollationSettings; 126 CollationSettings &outSettings, 182 CollationSettings *settings;
|
D | collationruleparser.cpp | 72 CollationSettings &outSettings, in parse() 111 settings->setFlag(CollationSettings::BACKWARD_SECONDARY, in parse() 503 settings->setFlag(CollationSettings::BACKWARD_SECONDARY, in parseSetting() 542 value = CollationSettings::MAX_VAR_SPACE; in parseSetting() 544 value = CollationSettings::MAX_VAR_PUNCT; in parseSetting() 546 value = CollationSettings::MAX_VAR_SYMBOL; in parseSetting() 548 value = CollationSettings::MAX_VAR_CURRENCY; in parseSetting() 575 settings->setFlag(CollationSettings::CASE_LEVEL, value, 0, errorCode); in parseSetting() 582 settings->setFlag(CollationSettings::CHECK_FCD, value, 0, errorCode); in parseSetting() 589 settings->setFlag(CollationSettings::NUMERIC, value, 0, errorCode); in parseSetting()
|
D | collationtailoring.cpp | 33 CollationTailoring::CollationTailoring(const CollationSettings *baseSettings) in CollationTailoring() 44 settings = new CollationSettings(); in CollationTailoring()
|
D | rulebasedcollator.cpp | 391 const CollationSettings & 402 option = CollationSettings::BACKWARD_SECONDARY; in getAttribute() 409 option = CollationSettings::CASE_LEVEL; in getAttribute() 412 option = CollationSettings::CHECK_FCD; in getAttribute() 420 option = CollationSettings::NUMERIC; in getAttribute() 438 const CollationSettings &defaultSettings = getDefaultSettings(); in setAttribute() 445 CollationSettings *ownedSettings = SharedObject::copyOnWrite(settings); in setAttribute() 453 ownedSettings->setFlag(CollationSettings::BACKWARD_SECONDARY, value, in setAttribute() 463 ownedSettings->setFlag(CollationSettings::CASE_LEVEL, value, in setAttribute() 467 ownedSettings->setFlag(CollationSettings::CHECK_FCD, value, in setAttribute() [all …]
|
D | collationkeys.h | 28 struct CollationSettings; 110 const CollationSettings &settings,
|
D | collationfastlatin.h | 22 struct CollationSettings; 208 static int32_t getOptions(const CollationData *data, const CollationSettings &settings,
|
D | collationdatawriter.cpp | 76 CollationDataWriter::writeBase(const CollationData &data, const CollationSettings &settings, in writeBase() 87 CollationDataWriter::writeTailoring(const CollationTailoring &t, const CollationSettings &settings, in writeTailoring() 98 const CollationData &data, const CollationSettings &settings, in write()
|
D | collationroot.cpp | 82 const CollationSettings *
|
D | collationdatareader.cpp | 369 const CollationSettings &ts = *tailoring.settings; in read() 384 CollationSettings *settings = SharedObject::copyOnWrite(tailoring.settings); in read()
|
D | collationdatabuilder.h | 236 const CollationSettings *baseSettings;
|
D | collationbuilder.cpp | 250 CollationSettings &ownedSettings = *SharedObject::copyOnWrite(tailoring->settings); in parseAndBuild()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tblcoll.h | 75 struct CollationSettings; 820 const CollationSettings &getDefaultSettings() const; 845 void setFastLatinOptions(CollationSettings &ownedSettings) const; 848 const CollationSettings *settings; // reference-counted
|