Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Ducol_res.cpp300 result->rules = ures_getStringByKey(collElem, "Sequence", &result->rulesLength, &intStatus); in ucol_open_internal()
372 int32_t rulesLength, in ucol_openRulesForImport() argument
388 if(rules == NULL || rulesLength < -1) { in ucol_openRulesForImport()
393 if(rulesLength == -1) { in ucol_openRulesForImport()
394 rulesLength = u_strlen(rules); in ucol_openRulesForImport()
420 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, importFunc, context, status); in ucol_openRulesForImport()
487 if(rulesLength > 0) { in ucol_openRulesForImport()
488 newRules = (UChar *)uprv_malloc((rulesLength+1)*U_SIZEOF_UCHAR); in ucol_openRulesForImport()
494 uprv_memcpy(newRules, rules, rulesLength*U_SIZEOF_UCHAR); in ucol_openRulesForImport()
495 newRules[rulesLength]=0; in ucol_openRulesForImport()
[all …]
Dutrans.cpp136 int32_t rulesLength, in utrans_openU() argument
165 UnicodeString ruleStr(rulesLength < 0, in utrans_openU()
167 rulesLength); // r-o alias in utrans_openU()
183 int32_t rulesLength, /* -1 if null-terminated */ in utrans_open() argument
188 rules, rulesLength, in utrans_open()
Ducol_tok.cpp2161 uint32_t rulesLength, in ucol_tok_initTokenList() argument
2169 uint32_t estimatedSize = (2*rulesLength+UCOL_TOK_EXTRA_RULE_SPACE_SIZE); in ucol_tok_initTokenList()
2186 while(i < rulesLength) { in ucol_tok_initTokenList()
2192 optionNumber = ucol_uprv_tok_readOption(rules+i+1, rules+rulesLength, &setStart); in ucol_tok_initTokenList()
2196 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList()
2208 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList()
2273 uint32_t newRulesLength = rulesLength + importRulesLength - (optionEndOffset - i); in ucol_tok_initTokenList()
2291 (rulesLength-optionEndOffset)*sizeof(UChar)); in ucol_tok_initTokenList()
2305 rulesLength = newRulesLength; in ucol_tok_initTokenList()
2324 nSize = unorm_normalize(rules, rulesLength, UNORM_NFD, 0, src->source, estimatedSize, status); in ucol_tok_initTokenList()
[all …]
Ducol_tok.h175 const uint32_t rulesLength,
Ducol_imp.h1011 int32_t rulesLength; member
1117 int32_t rulesLength,
Ducol.cpp462 result->rulesLength = 0; in ucol_initFromBinary()
565 rulesSize = (int32_t)(coll->rulesLength + 1)*sizeof(UChar); in ucol_safeClone()
653 localCollator->rulesLength = coll->rulesLength; in ucol_safeClone()
913 result->rulesLength = 0; in ucol_initCollator()
/external/icu4c/i18n/unicode/
Dutrans.h193 int32_t rulesLength,
542 int32_t rulesLength, /* -1 if null-terminated */
Ducol.h355 int32_t rulesLength,
/external/icu4c/common/
Dubrk.cpp95 int32_t rulesLength, in ubrk_openRules() argument
106 UnicodeString ruleString(rules, rulesLength); in ubrk_openRules()
Drbbiscan.cpp767 int rulesLength = rules.length(); in stripRules() local
768 for (int idx = 0; idx < rulesLength; ) { in stripRules()
771 while (idx < rulesLength in stripRules()
/external/webkit/Source/WebCore/icu/unicode/
Dubrk.h337 int32_t rulesLength,
Ducol.h298 int32_t rulesLength,
/external/icu4c/common/unicode/
Dubrk.h237 int32_t rulesLength,
/external/icu4c/test/cintltst/
Dcapitst.c894 int32_t rulesLength=-1; in TestBengaliSortKey() local
910 log_verbose("Rules: %s\n", aescstrdup(rules, rulesLength)); in TestBengaliSortKey()
912 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestBengaliSortKey()
965 int32_t rulesLength; in TestOpenVsOpenRules() local
1002 rules = ucol_getRules(c1, &rulesLength); in TestOpenVsOpenRules()
1005 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &err); in TestOpenVsOpenRules()
Dcmsccoll.c5840 uint32_t rulesLength = 0; in TestBeforeRuleWithScriptReordering() local
5864 rulesLength = u_unescape(srules, rules, LEN(rules)); in TestBeforeRuleWithScriptReordering()
5865 myCollation = ucol_openRules(rules, rulesLength, UCOL_ON, UCOL_TERTIARY, &error, &status); in TestBeforeRuleWithScriptReordering()
/external/webkit/Source/JavaScriptCore/icu/unicode/
Ducol.h298 int32_t rulesLength,