/external/icu/icu4c/source/common/ |
D | ubrk.cpp | 98 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 …]
|
D | rbbiscan.cpp | 831 int32_t rulesLength = rules.length(); in stripRules() local 834 for (int32_t idx=0; idx<rulesLength; idx = rules.moveIndex32(idx, 1)) { in stripRules()
|
/external/icu/icu4c/source/i18n/ |
D | utrans.cpp | 139 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()
|
D | collationbuilder.cpp | 1639 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()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | utrans.h | 196 int32_t rulesLength, 595 int32_t rulesLength, /* -1 if null-terminated */
|
D | ucol.h | 429 int32_t rulesLength,
|
/external/icu/libandroidicu/include/unicode/ |
D | utrans.h | 196 int32_t rulesLength, 595 int32_t rulesLength, /* -1 if null-terminated */
|
D | ubrk.h | 265 int32_t rulesLength, 292 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
|
D | ucol.h | 429 int32_t rulesLength,
|
/external/icu/icu4c/source/common/unicode/ |
D | ubrk.h | 265 int32_t rulesLength, 292 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiapts.c | 594 int32_t rulesLength = ubrk_getBinaryRules(bi, NULL, 0, &status); /* preflight */ in TestBreakIteratorRules() local 598 uint8_t* binaryRules = (uint8_t*)uprv_malloc(rulesLength); in TestBreakIteratorRules() 600 log_err("FAIL: unable to malloc rules buffer, size %u", rulesLength); in TestBreakIteratorRules() 602 rulesLength = ubrk_getBinaryRules(bi, binaryRules, rulesLength, &status); in TestBreakIteratorRules() 606 … UBreakIterator* bi2 = ubrk_openBinaryRules(binaryRules, rulesLength, uData, -1, &status); in TestBreakIteratorRules()
|
D | capitst.c | 868 int32_t rulesLength=-1; in TestBengaliSortKey() local 884 log_verbose("Rules: %s\n", aescstrdup(rules, rulesLength)); in TestBengaliSortKey() 886 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestBengaliSortKey() 939 int32_t rulesLength; in TestOpenVsOpenRules() local 980 rules = ucol_getRules(c1, &rulesLength); in TestOpenVsOpenRules() 981 if (rulesLength == 0) { in TestOpenVsOpenRules() 988 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &err); in TestOpenVsOpenRules()
|
D | cmsccoll.c | 4535 uint32_t rulesLength = 0; in TestBeforeRuleWithScriptReordering() local 4561 rulesLength = u_unescape(srules, rules, UPRV_LENGTHOF(rules)); in TestBeforeRuleWithScriptReordering() 4562 myCollation = ucol_openRules(rules, rulesLength, UCOL_ON, UCOL_TERTIARY, &error, &status); in TestBeforeRuleWithScriptReordering()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RBBIRuleScanner.java | 700 int rulesLength = rules.length(); in stripRules() local 703 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBIRuleScanner.java | 699 int rulesLength = rules.length(); in stripRules() local 702 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 706 UBreakIterator * ubrk_openBinaryRules_android(const uint8_t * binaryRules, int32_t rulesLength, con… in ubrk_openBinaryRules_android() argument 707 return ubrk_openBinaryRules(binaryRules, rulesLength, text, textLength, status); in ubrk_openBinaryRules_android() 709 UBreakIterator * ubrk_openRules_android(const UChar * rules, int32_t rulesLength, const UChar * tex… in ubrk_openRules_android() argument 710 return ubrk_openRules(rules, rulesLength, text, textLength, parseErr, status); in ubrk_openRules_android() 1228 UCollator * ucol_openRules_android(const UChar * rules, int32_t rulesLength, UColAttributeValue nor… in ucol_openRules_android() argument 1229 return ucol_openRules(rules, rulesLength, normalizationMode, strength, parseError, status); in ucol_openRules_android() 2968 …d, int32_t idLength, UTransDirection dir, const UChar * rules, int32_t rulesLength, UParseError * … in utrans_openU_android() argument 2969 return utrans_openU(id, idLength, dir, rules, rulesLength, parseError, pErrorCode); in utrans_openU_android()
|