HomeSort by relevance Sort by last modified time
    Searched refs:CollationSettings (Results 1 - 25 of 48) sorted by null

1 2

  /external/icu/icu4c/source/i18n/
collationcompare.h 24 struct CollationSettings;
29 const CollationSettings &settings,
collationroot.h 23 struct CollationSettings;
34 static const CollationSettings *getSettings(UErrorCode &errorCode);
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,
collationsettings.cpp 6 * collationsettings.cpp
20 #include "collationsettings.h"
28 CollationSettings::CollationSettings(const CollationSettings &other)
43 CollationSettings::~CollationSettings() {
50 CollationSettings::operator==(const CollationSettings &other) const {
61 CollationSettings::hashCode() const
    [all...]
collationsettings.h 6 * collationsettings.h
32 struct U_I18N_API CollationSettings : public SharedObject {
103 CollationSettings()
113 CollationSettings(const CollationSettings &other);
114 virtual ~CollationSettings();
116 UBool operator==(const CollationSettings &other) const;
118 inline UBool operator!=(const CollationSettings &other) const {
130 void copyReorderingFrom(const CollationSettings &other, UErrorCode &errorCode);
collationcompare.cpp 21 #include "collationsettings.h"
28 const CollationSettings &settings,
34 if((options & CollationSettings::ALTERNATE_MASK) == 0) {
110 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) {
111 if((options & CollationSettings::BACKWARD_SECONDARY) == 0) {
183 if((options & CollationSettings::CASE_LEVEL) != 0) {
184 int32_t strength = CollationSettings::getStrength(options);
239 if((options & CollationSettings::UPPER_FIRST) == 0) {
248 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; }
250 uint32_t tertiaryMask = CollationSettings::getTertiaryMask(options)
    [all...]
collationtailoring.h 22 #include "collationsettings.h"
47 CollationTailoring(const CollationSettings *baseSettings);
63 const CollationSettings *settings; // reference-counted
collationfastlatin.cpp 19 #include "collationsettings.h"
25 CollationFastLatin::getOptions(const CollationData *data, const CollationSettings &settings,
33 if((settings.options & CollationSettings::ALTERNATE_MASK) == 0) {
97 if(digitsAreReordered || (settings.options & CollationSettings::NUMERIC) != 0) {
118 options &= 0xffff; // needed for CollationSettings::getStrength() to work
139 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings::NUMERIC) != 0) {
170 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings::NUMERIC) != 0) {
213 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) {
275 if((options & CollationSettings::BACKWARD_SECONDARY) != 0) {
288 if((options & CollationSettings::CASE_LEVEL) != 0)
    [all...]
collationtailoring.cpp 23 #include "collationsettings.h"
33 CollationTailoring::CollationTailoring(const CollationSettings *baseSettings)
45 settings = new CollationSettings();
collationruleparser.h 33 struct CollationSettings;
127 CollationSettings &outSettings,
182 CollationSettings *settings;
collationkeys.h 28 struct CollationSettings;
110 const CollationSettings &settings,
collationkeys.cpp 20 #include "collationsettings.h"
226 const CollationSettings &settings,
234 uint32_t levels = levelMasks[CollationSettings::getStrength(options)];
235 if((options & CollationSettings::CASE_LEVEL) != 0) {
243 if((options & CollationSettings::ALTERNATE_MASK) == 0) {
250 uint32_t tertiaryMask = CollationSettings::getTertiaryMask(options);
356 ((options & CollationSettings::BACKWARD_SECONDARY) == 0 ||
361 } else if((options & CollationSettings::BACKWARD_SECONDARY) == 0) {
424 if((CollationSettings::getStrength(options) == UCOL_PRIMARY) ?
435 if((options & CollationSettings::UPPER_FIRST) == 0)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
RuleBasedCollator.java 32 import android.icu.impl.coll.CollationSettings;
348 private final CollationSettings getOwnedSettings() {
352 private final CollationSettings getDefaultSettings() {
413 CollationSettings ownedSettings = getOwnedSettings();
414 ownedSettings.setCaseFirst(upperfirst ? CollationSettings.CASE_FIRST_AND_UPPER_MASK : 0);
434 CollationSettings ownedSettings = getOwnedSettings();
435 ownedSettings.setCaseFirst(lowerfirst ? CollationSettings.CASE_FIRST : 0);
450 CollationSettings defaultSettings = getDefaultSettings();
452 CollationSettings ownedSettings = getOwnedSettings();
466 CollationSettings defaultSettings = getDefaultSettings()
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
RuleBasedCollator.java 31 import com.ibm.icu.impl.coll.CollationSettings;
357 private final CollationSettings getOwnedSettings() {
361 private final CollationSettings getDefaultSettings() {
421 CollationSettings ownedSettings = getOwnedSettings();
422 ownedSettings.setCaseFirst(upperfirst ? CollationSettings.CASE_FIRST_AND_UPPER_MASK : 0);
443 CollationSettings ownedSettings = getOwnedSettings();
444 ownedSettings.setCaseFirst(lowerfirst ? CollationSettings.CASE_FIRST : 0);
460 CollationSettings defaultSettings = getDefaultSettings();
462 CollationSettings ownedSettings = getOwnedSettings();
477 CollationSettings defaultSettings = getDefaultSettings()
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationCompare.java 22 CollationSettings settings) {
25 if ((options & CollationSettings.ALTERNATE_MASK) == 0) {
100 if (CollationSettings.getStrength(options) >= Collator.SECONDARY) {
101 if ((options & CollationSettings.BACKWARD_SECONDARY) == 0) {
177 if ((options & CollationSettings.CASE_LEVEL) != 0) {
178 int strength = CollationSettings.getStrength(options);
233 if ((options & CollationSettings.UPPER_FIRST) == 0) {
244 if (CollationSettings.getStrength(options) <= Collator.SECONDARY) {
248 int tertiaryMask = CollationSettings.getTertiaryMask(options);
271 if (CollationSettings.sortsTertiaryUpperCaseFirst(options))
    [all...]
CollationTailoring.java 35 CollationTailoring(SharedObject.Reference<CollationSettings> baseSettings) {
42 settings = new SharedObject.Reference<CollationSettings>(new CollationSettings());
100 public SharedObject.Reference<CollationSettings> settings; // reference-counted
CollationSettings.java 7 * CollationSettings.java, ported from collationsettings.h/.cpp
24 public final class CollationSettings extends SharedObject {
93 CollationSettings() {}
96 public CollationSettings clone() {
97 CollationSettings newSettings = (CollationSettings)super.clone();
108 CollationSettings o = (CollationSettings)other;
262 public void copyReorderingFrom(CollationSettings other)
    [all...]
CollationFastLatin.java 204 public static int getOptions(CollationData data, CollationSettings settings,
213 if((settings.options & CollationSettings.ALTERNATE_MASK) == 0) {
277 if(digitsAreReordered || (settings.options & CollationSettings.NUMERIC) != 0) {
293 options &= 0xffff; // needed for CollationSettings.getStrength() to work
314 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings.NUMERIC) != 0) {
350 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings.NUMERIC) != 0) {
398 if(CollationSettings.getStrength(options) >= Collator.SECONDARY) {
468 if((options & CollationSettings.BACKWARD_SECONDARY) != 0) {
481 if((options & CollationSettings.CASE_LEVEL) != 0) {
482 boolean strengthIsPrimary = CollationSettings.getStrength(options) == Collator.PRIMARY
    [all...]
CollationKeys.java 333 CollationSettings settings, SortKeyByteSink sink, int minLevel, LevelCallback callback,
338 int levels = levelMasks[CollationSettings.getStrength(options)];
339 if ((options & CollationSettings.CASE_LEVEL) != 0) {
349 if ((options & CollationSettings.ALTERNATE_MASK) == 0) {
356 int tertiaryMask = CollationSettings.getTertiaryMask(options);
468 ((options & CollationSettings.BACKWARD_SECONDARY) == 0 ||
473 } else if ((options & CollationSettings.BACKWARD_SECONDARY) == 0) {
532 if ((CollationSettings.getStrength(options) == Collator.PRIMARY) ? p == 0
543 if ((options & CollationSettings.UPPER_FIRST) == 0) {
620 } else if ((options & CollationSettings.UPPER_FIRST) == 0)
    [all...]
CollationRoot.java 40 static final CollationSettings getSettings() {
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationCompare.java 18 CollationSettings settings) {
21 if ((options & CollationSettings.ALTERNATE_MASK) == 0) {
96 if (CollationSettings.getStrength(options) >= Collator.SECONDARY) {
97 if ((options & CollationSettings.BACKWARD_SECONDARY) == 0) {
173 if ((options & CollationSettings.CASE_LEVEL) != 0) {
174 int strength = CollationSettings.getStrength(options);
229 if ((options & CollationSettings.UPPER_FIRST) == 0) {
240 if (CollationSettings.getStrength(options) <= Collator.SECONDARY) {
244 int tertiaryMask = CollationSettings.getTertiaryMask(options);
267 if (CollationSettings.sortsTertiaryUpperCaseFirst(options))
    [all...]
CollationTailoring.java 33 CollationTailoring(SharedObject.Reference<CollationSettings> baseSettings) {
40 settings = new SharedObject.Reference<CollationSettings>(new CollationSettings());
98 public SharedObject.Reference<CollationSettings> settings; // reference-counted
CollationSettings.java 6 * CollationSettings.java, ported from collationsettings.h/.cpp
22 public final class CollationSettings extends SharedObject {
91 CollationSettings() {}
94 public CollationSettings clone() {
95 CollationSettings newSettings = (CollationSettings)super.clone();
106 CollationSettings o = (CollationSettings)other;
260 public void copyReorderingFrom(CollationSettings other)
    [all...]
CollationFastLatin.java 200 public static int getOptions(CollationData data, CollationSettings settings,
209 if((settings.options & CollationSettings.ALTERNATE_MASK) == 0) {
273 if(digitsAreReordered || (settings.options & CollationSettings.NUMERIC) != 0) {
289 options &= 0xffff; // needed for CollationSettings.getStrength() to work
310 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings.NUMERIC) != 0) {
346 if(c <= 0x39 && c >= 0x30 && (options & CollationSettings.NUMERIC) != 0) {
394 if(CollationSettings.getStrength(options) >= Collator.SECONDARY) {
464 if((options & CollationSettings.BACKWARD_SECONDARY) != 0) {
477 if((options & CollationSettings.CASE_LEVEL) != 0) {
478 boolean strengthIsPrimary = CollationSettings.getStrength(options) == Collator.PRIMARY
    [all...]
CollationKeys.java 329 CollationSettings settings, SortKeyByteSink sink, int minLevel, LevelCallback callback,
334 int levels = levelMasks[CollationSettings.getStrength(options)];
335 if ((options & CollationSettings.CASE_LEVEL) != 0) {
345 if ((options & CollationSettings.ALTERNATE_MASK) == 0) {
352 int tertiaryMask = CollationSettings.getTertiaryMask(options);
464 ((options & CollationSettings.BACKWARD_SECONDARY) == 0 ||
469 } else if ((options & CollationSettings.BACKWARD_SECONDARY) == 0) {
528 if ((CollationSettings.getStrength(options) == Collator.PRIMARY) ? p == 0
539 if ((options & CollationSettings.UPPER_FIRST) == 0) {
616 } else if ((options & CollationSettings.UPPER_FIRST) == 0)
    [all...]

Completed in 2909 milliseconds

1 2