Home
last modified time | relevance | path

Searched refs:varTop (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java756 long varTop = data.getLastPrimaryForGroup(group); in setMaxVariable() local
757 assert(varTop != 0); in setMaxVariable()
759 ownedSettings.variableTop = varTop; in setMaxVariable()
802 public int setVariableTop(String varTop) { in setVariableTop() argument
804 if (varTop == null || varTop.length() == 0) { in setVariableTop()
810 UTF16CollationIterator ci = new UTF16CollationIterator(data, numeric, varTop, 0); in setVariableTop()
814 FCDUTF16CollationIterator ci = new FCDUTF16CollationIterator(data, numeric, varTop, 0); in setVariableTop()
840 public void setVariableTop(int varTop) { in setVariableTop() argument
842 internalSetVariableTop(varTop & 0xffffffffL); in setVariableTop()
845 private void internalSetVariableTop(long varTop) { in internalSetVariableTop() argument
[all …]
DStringSearch.java438 int varTop; in reset() local
460 varTop = collator_.getVariableTop(); in reset()
461 if (variableTop_ != varTop) { in reset()
462 variableTop_ = varTop; in reset()
DCollator.java1363 public abstract int setVariableTop(String varTop); in setVariableTop() argument
1388 public abstract void setVariableTop(int varTop); in setVariableTop() argument
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedCollator.java734 long varTop = data.getLastPrimaryForGroup(group); in setMaxVariable() local
735 assert(varTop != 0); in setMaxVariable()
737 ownedSettings.variableTop = varTop; in setMaxVariable()
780 public int setVariableTop(String varTop) { in setVariableTop() argument
782 if (varTop == null || varTop.length() == 0) { in setVariableTop()
788 UTF16CollationIterator ci = new UTF16CollationIterator(data, numeric, varTop, 0); in setVariableTop()
792 FCDUTF16CollationIterator ci = new FCDUTF16CollationIterator(data, numeric, varTop, 0); in setVariableTop()
819 public void setVariableTop(int varTop) { in setVariableTop() argument
821 internalSetVariableTop(varTop & 0xffffffffL); in setVariableTop()
824 private void internalSetVariableTop(long varTop) { in internalSetVariableTop() argument
[all …]
DStringSearch.java423 int varTop; in reset() local
445 varTop = collator_.getVariableTop(); in reset()
446 if (variableTop_ != varTop) { in reset()
447 variableTop_ = varTop; in reset()
DCollator.java1310 public abstract int setVariableTop(String varTop); in setVariableTop() argument
1335 public abstract void setVariableTop(int varTop); in setVariableTop() argument
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp543 uint32_t varTop = data->getLastPrimaryForGroup(group); in setMaxVariable() local
544 U_ASSERT(varTop != 0); in setMaxVariable()
547 ownedSettings->variableTop = varTop; in setMaxVariable()
568 RuleBasedCollator::setVariableTop(const UChar *varTop, int32_t len, UErrorCode &errorCode) { in setVariableTop() argument
570 if(varTop == NULL && len !=0) { in setVariableTop()
574 if(len < 0) { len = u_strlen(varTop); } in setVariableTop()
582 UTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
586 FCDUTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
599 RuleBasedCollator::setVariableTop(const UnicodeString &varTop, UErrorCode &errorCode) { in setVariableTop() argument
600 return setVariableTop(varTop.getBuffer(), varTop.length(), errorCode); in setVariableTop()
[all …]
Ducol.cpp317 ucol_setVariableTop(UCollator *coll, const UChar *varTop, int32_t len, UErrorCode *status) { in ucol_setVariableTop() argument
321 return Collator::fromUCollator(coll)->setVariableTop(varTop, len, *status); in ucol_setVariableTop()
332 ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status) { in ucol_restoreVariableTop() argument
336 Collator::fromUCollator(coll)->setVariableTop(varTop, *status); in ucol_restoreVariableTop()
Dusearch.cpp3398 uint32_t varTop; in usearch_reset() local
3423 varTop = ucol_getVariableTop(strsrch->collator, &status); in usearch_reset()
3424 if (strsrch->variableTop != varTop) { in usearch_reset()
3425 strsrch->variableTop = varTop; in usearch_reset()
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h564 virtual uint32_t setVariableTop(const char16_t *varTop, int32_t len, UErrorCode &status);
581 virtual uint32_t setVariableTop(const UnicodeString &varTop, UErrorCode &status);
594 virtual void setVariableTop(uint32_t varTop, UErrorCode &status);
Dcoll.h923 virtual uint32_t setVariableTop(const char16_t *varTop, int32_t len, UErrorCode &status) = 0;
940 virtual uint32_t setVariableTop(const UnicodeString &varTop, UErrorCode &status) = 0;
953 virtual void setVariableTop(uint32_t varTop, UErrorCode &status) = 0;
Ducol.h1272 const UChar *varTop, int32_t len,
1305 ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status);
/external/icu/libandroidicu/include/unicode/
Ducol.h1272 const UChar *varTop, int32_t len,
1305 ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status);
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp2036 virtual uint32_t setVariableTop(const UChar *varTop, int32_t len,
2038 virtual uint32_t setVariableTop(const UnicodeString &varTop,
2040 virtual void setVariableTop(uint32_t varTop, UErrorCode &status);
2198 uint32_t TestCollator::setVariableTop(const UChar *varTop, int32_t len, in setVariableTop() argument
2202 if (U_SUCCESS(status) && (varTop == 0 || len < -1)) { in setVariableTop()
2208 uint32_t TestCollator::setVariableTop(const UnicodeString &varTop, in setVariableTop() argument
2212 if (U_SUCCESS(status) && varTop.length() == 0) { in setVariableTop()
2218 void TestCollator::setVariableTop(uint32_t varTop, UErrorCode &status) in setVariableTop() argument
2221 if (U_SUCCESS(status) && varTop == 0) { in setVariableTop()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMiscTest.java1755 int varTop = coll.setVariableTop(tokens[i]); in TestVariableTop() local
1759 if (varTop != coll.getVariableTop()) { in TestVariableTop()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationMiscTest.java1758 int varTop = coll.setVariableTop(tokens[i]); in TestVariableTop() local
1762 if (varTop != coll.getVariableTop()) { in TestVariableTop()