/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() 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 …]
|
D | rbbiscan.cpp | 831 int32_t rulesLength = rules.length(); in stripRules() local 833 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 | 1638 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()
|
/external/icu/libicu/cts_headers/unicode/ |
D | utrans.h | 199 int32_t rulesLength, 597 int32_t rulesLength, /* -1 if null-terminated */
|
D | ubrk.h | 268 int32_t rulesLength, 295 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
|
D | ucol.h | 434 int32_t rulesLength,
|
/external/icu/icu4c/source/i18n/unicode/ |
D | utrans.h | 199 int32_t rulesLength, 597 int32_t rulesLength, /* -1 if null-terminated */
|
D | ucol.h | 434 int32_t rulesLength,
|
/external/icu/libandroidicu/include/unicode/ |
D | utrans.h | 199 int32_t rulesLength, 597 int32_t rulesLength, /* -1 if null-terminated */
|
D | ubrk.h | 268 int32_t rulesLength, 295 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
|
D | ucol.h | 434 int32_t rulesLength,
|
/external/icu/icu4c/source/common/unicode/ |
D | ubrk.h | 268 int32_t rulesLength, 295 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiapts.c | 684 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()
|
D | capitst.c | 869 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()
|
D | cmsccoll.c | 4537 uint32_t rulesLength = 0; in TestBeforeRuleWithScriptReordering() local 4563 rulesLength = u_unescape(srules, rules, UPRV_LENGTHOF(rules)); in TestBeforeRuleWithScriptReordering() 4564 myCollation = ucol_openRules(rules, rulesLength, UCOL_ON, UCOL_TERTIARY, &error, &status); in TestBeforeRuleWithScriptReordering()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBIRuleScanner.java | 699 int rulesLength = rules.length(); in stripRules() local 701 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 424 …d, int32_t idLength, UTransDirection dir, const UChar * rules, int32_t rulesLength, UParseError * … in utrans_openU_android() argument 425 return utrans_openU(id, idLength, dir, rules, rulesLength, parseError, pErrorCode); in utrans_openU_android()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RBBIRuleScanner.java | 700 int rulesLength = rules.length(); in stripRules() local 702 for (int idx = 0; idx < rulesLength; idx = rules.offsetByCodePoints(idx, 1)) { in stripRules()
|