Home
last modified time | relevance | path

Searched refs:rulesLength (Results 1 – 25 of 33) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dubrk.cpp98 int32_t rulesLength, in ubrk_openRules() argument
109 UnicodeString ruleString(rules, rulesLength); in ubrk_openRules()
124 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength, in ubrk_openBinaryRules() argument
131 if (rulesLength < 0) { in ubrk_openBinaryRules()
135 …LocalPointer<RuleBasedBreakIterator> lpRBBI(new RuleBasedBreakIterator(binaryRules, rulesLength, *… in ubrk_openBinaryRules()
339 uint32_t rulesLength; in ubrk_getBinaryRules() local
340 const uint8_t * returnedRules = rbbi->getBinaryRules(rulesLength); in ubrk_getBinaryRules()
341 if (rulesLength > INT32_MAX) { in ubrk_getBinaryRules()
347 if ((int32_t)rulesLength > rulesCapacity) { in ubrk_getBinaryRules()
350 uprv_memcpy(binaryRules, returnedRules, rulesLength); in ubrk_getBinaryRules()
[all …]
Drbbiscan.cpp831 int32_t rulesLength = rules.length(); in stripRules() local
834 for (int32_t idx=0; idx<rulesLength; idx = rules.moveIndex32(idx, 1)) { in stripRules()
/third_party/node/deps/icu-small/source/common/
Dubrk.cpp98 int32_t rulesLength, in ubrk_openRules() argument
109 UnicodeString ruleString(rules, rulesLength); in ubrk_openRules()
124 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength, in ubrk_openBinaryRules() argument
131 if (rulesLength < 0) { in ubrk_openBinaryRules()
135 …LocalPointer<RuleBasedBreakIterator> lpRBBI(new RuleBasedBreakIterator(binaryRules, rulesLength, *… in ubrk_openBinaryRules()
351 uint32_t rulesLength; in ubrk_getBinaryRules() local
352 const uint8_t * returnedRules = rbbi->getBinaryRules(rulesLength); in ubrk_getBinaryRules()
353 if (rulesLength > INT32_MAX) { in ubrk_getBinaryRules()
359 if ((int32_t)rulesLength > rulesCapacity) { in ubrk_getBinaryRules()
362 uprv_memcpy(binaryRules, returnedRules, rulesLength); in ubrk_getBinaryRules()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dubrk.cpp98 int32_t rulesLength, in ubrk_openRules() argument
109 UnicodeString ruleString(rules, rulesLength); in ubrk_openRules()
124 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength, in ubrk_openBinaryRules() argument
131 if (rulesLength < 0) { in ubrk_openBinaryRules()
135 …LocalPointer<RuleBasedBreakIterator> lpRBBI(new RuleBasedBreakIterator(binaryRules, rulesLength, *… in ubrk_openBinaryRules()
351 uint32_t rulesLength; in ubrk_getBinaryRules() local
352 const uint8_t * returnedRules = rbbi->getBinaryRules(rulesLength); in ubrk_getBinaryRules()
353 if (rulesLength > INT32_MAX) { in ubrk_getBinaryRules()
359 if ((int32_t)rulesLength > rulesCapacity) { in ubrk_getBinaryRules()
362 uprv_memcpy(binaryRules, returnedRules, rulesLength); in ubrk_getBinaryRules()
[all …]
/third_party/icu/icu4c/source/common/
Dubrk.cpp98 int32_t rulesLength, in ubrk_openRules() argument
109 UnicodeString ruleString(rules, rulesLength); in ubrk_openRules()
124 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength, in ubrk_openBinaryRules() argument
131 if (rulesLength < 0) { in ubrk_openBinaryRules()
135 …LocalPointer<RuleBasedBreakIterator> lpRBBI(new RuleBasedBreakIterator(binaryRules, rulesLength, *… in ubrk_openBinaryRules()
351 uint32_t rulesLength; in ubrk_getBinaryRules() local
352 const uint8_t * returnedRules = rbbi->getBinaryRules(rulesLength); in ubrk_getBinaryRules()
353 if (rulesLength > INT32_MAX) { in ubrk_getBinaryRules()
359 if ((int32_t)rulesLength > rulesCapacity) { in ubrk_getBinaryRules()
362 uprv_memcpy(binaryRules, returnedRules, rulesLength); in ubrk_getBinaryRules()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dutrans.cpp139 int32_t rulesLength, in utrans_openU() argument
168 UnicodeString ruleStr(rulesLength < 0, in utrans_openU()
170 rulesLength); // r-o alias in utrans_openU()
186 int32_t rulesLength, /* -1 if null-terminated */ in utrans_open() argument
191 rules, rulesLength, in utrans_open()
Dcollationbuilder.cpp1639 ucol_openRules(const UChar *rules, int32_t rulesLength, in ucol_openRules() argument
1643 if(rules == NULL && rulesLength != 0) { in ucol_openRules()
1652 UnicodeString r((UBool)(rulesLength < 0), rules, rulesLength); in ucol_openRules()
/third_party/icu/icu4c/source/i18n/
Dutrans.cpp139 int32_t rulesLength, in utrans_openU() argument
168 UnicodeString ruleStr(rulesLength < 0, in utrans_openU()
170 rulesLength); // r-o alias in utrans_openU()
186 int32_t rulesLength, /* -1 if null-terminated */ in utrans_open() argument
191 rules, rulesLength, in utrans_open()
Dcollationbuilder.cpp1638 ucol_openRules(const UChar *rules, int32_t rulesLength, in ucol_openRules() argument
1642 if(rules == NULL && rulesLength != 0) { in ucol_openRules()
1651 UnicodeString r((UBool)(rulesLength < 0), rules, rulesLength); in ucol_openRules()
/third_party/skia/third_party/externals/icu/source/i18n/
Dutrans.cpp139 int32_t rulesLength, in utrans_openU() argument
168 UnicodeString ruleStr(rulesLength < 0, in utrans_openU()
170 rulesLength); // r-o alias in utrans_openU()
186 int32_t rulesLength, /* -1 if null-terminated */ in utrans_open() argument
191 rules, rulesLength, in utrans_open()
Dcollationbuilder.cpp1638 ucol_openRules(const UChar *rules, int32_t rulesLength, in ucol_openRules() argument
1642 if(rules == NULL && rulesLength != 0) { in ucol_openRules()
1651 UnicodeString r((UBool)(rulesLength < 0), rules, rulesLength); in ucol_openRules()
/third_party/node/deps/icu-small/source/i18n/
Dutrans.cpp139 int32_t rulesLength, in utrans_openU() argument
168 UnicodeString ruleStr(rulesLength < 0, in utrans_openU()
170 rulesLength); // r-o alias in utrans_openU()
186 int32_t rulesLength, /* -1 if null-terminated */ in utrans_open() argument
191 rules, rulesLength, in utrans_open()
Dcollationbuilder.cpp1638 ucol_openRules(const UChar *rules, int32_t rulesLength, in ucol_openRules() argument
1642 if(rules == NULL && rulesLength != 0) { in ucol_openRules()
1651 UnicodeString r((UBool)(rulesLength < 0), rules, rulesLength); in ucol_openRules()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dutrans.h196 int32_t rulesLength,
595 int32_t rulesLength, /* -1 if null-terminated */
/third_party/node/deps/icu-small/source/i18n/unicode/
Dutrans.h199 int32_t rulesLength,
597 int32_t rulesLength, /* -1 if null-terminated */
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dubrk.h265 int32_t rulesLength,
292 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
/third_party/icu/icu4c/source/i18n/unicode/
Dutrans.h199 int32_t rulesLength,
597 int32_t rulesLength, /* -1 if null-terminated */
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dutrans.h199 int32_t rulesLength,
597 int32_t rulesLength, /* -1 if null-terminated */
/third_party/node/deps/icu-small/source/common/unicode/
Dubrk.h268 int32_t rulesLength,
295 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dubrk.h268 int32_t rulesLength,
295 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
/third_party/icu/icu4c/source/common/unicode/
Dubrk.h268 int32_t rulesLength,
295 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
/third_party/icu/icu4c/source/test/cintltst/
Dcbiapts.c684 int32_t rulesLength = ubrk_getBinaryRules(bi, NULL, 0, &status); /* preflight */ in TestBreakIteratorRules() local
688 uint8_t* binaryRules = (uint8_t*)uprv_malloc(rulesLength); in TestBreakIteratorRules()
690 log_err("FAIL: unable to malloc rules buffer, size %u", rulesLength); in TestBreakIteratorRules()
692 rulesLength = ubrk_getBinaryRules(bi, binaryRules, rulesLength, &status); in TestBreakIteratorRules()
696 … UBreakIterator* bi2 = ubrk_openBinaryRules(binaryRules, rulesLength, uData, -1, &status); in TestBreakIteratorRules()
Dcapitst.c869 int32_t rulesLength=-1; in TestBengaliSortKey() local
885 log_verbose("Rules: %s\n", aescstrdup(rules, rulesLength)); in TestBengaliSortKey()
887 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestBengaliSortKey()
940 int32_t rulesLength; in TestOpenVsOpenRules() local
981 rules = ucol_getRules(c1, &rulesLength); in TestOpenVsOpenRules()
982 if (rulesLength == 0) { in TestOpenVsOpenRules()
989 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &err); in TestOpenVsOpenRules()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleScanner.java699 int rulesLength = rules.length(); in stripRules() local
701 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRBBIRuleScanner.java700 int rulesLength = rules.length(); in stripRules() local
703 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()

12