Home
last modified time | relevance | path

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

12

/external/chromium/third_party/icu/source/i18n/
Ducol_res.cpp276 result->rules = ures_getStringByKey(collElem, "Sequence", &result->rulesLength, &intStatus); in ucol_open_internal()
346 int32_t rulesLength, in ucol_openRules() argument
365 if(rules == NULL || rulesLength < -1) { in ucol_openRules()
370 if(rulesLength == -1) { in ucol_openRules()
371 rulesLength = u_strlen(rules); in ucol_openRules()
397 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, status); in ucol_openRules()
458 if(rulesLength > 0) { in ucol_openRules()
459 newRules = (UChar *)uprv_malloc((rulesLength+1)*U_SIZEOF_UCHAR); in ucol_openRules()
465 uprv_memcpy(newRules, rules, rulesLength*U_SIZEOF_UCHAR); in ucol_openRules()
466 newRules[rulesLength]=0; in ucol_openRules()
[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.cpp1738 void ucol_tok_initTokenList(UColTokenParser *src, const UChar *rules, const uint32_t rulesLength, c… in ucol_tok_initTokenList() argument
1742 uint32_t estimatedSize = (2*rulesLength+UCOL_TOK_EXTRA_RULE_SPACE_SIZE); in ucol_tok_initTokenList()
1756 while(i < rulesLength) { in ucol_tok_initTokenList()
1760 optionNumber = ucol_uprv_tok_readOption(rules+i+1, rules+rulesLength, &setStart); in ucol_tok_initTokenList()
1762 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList()
1774 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList()
1798 nSize = unorm_normalize(rules, rulesLength, UNORM_NFD, 0, src->source, estimatedSize, status); in ucol_tok_initTokenList()
1807 …nSize = unorm_normalize(rules, rulesLength, UNORM_NFD, 0, src->source, nSize+UCOL_TOK_EXTRA_RULE_S… in ucol_tok_initTokenList()
Ducol_tok.h156 void ucol_tok_initTokenList(UColTokenParser *src, const UChar *rules, const uint32_t rulesLength, c…
Ducol_imp.h939 int32_t rulesLength; member
/external/icu4c/i18n/
Ducol_res.cpp276 result->rules = ures_getStringByKey(collElem, "Sequence", &result->rulesLength, &intStatus); in ucol_open_internal()
345 int32_t rulesLength, in ucol_openRules() argument
359 if(rules == NULL || rulesLength < -1) { in ucol_openRules()
364 if(rulesLength == -1) { in ucol_openRules()
365 rulesLength = u_strlen(rules); in ucol_openRules()
391 ucol_tok_initTokenList(&src, rules, rulesLength, UCA, status); in ucol_openRules()
452 if(rulesLength > 0) { in ucol_openRules()
453 newRules = (UChar *)uprv_malloc((rulesLength+1)*U_SIZEOF_UCHAR); in ucol_openRules()
459 uprv_memcpy(newRules, rules, rulesLength*U_SIZEOF_UCHAR); in ucol_openRules()
460 newRules[rulesLength]=0; in ucol_openRules()
[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.cpp1793 void ucol_tok_initTokenList(UColTokenParser *src, const UChar *rules, const uint32_t rulesLength, c… in ucol_tok_initTokenList() argument
1797 uint32_t estimatedSize = (2*rulesLength+UCOL_TOK_EXTRA_RULE_SPACE_SIZE); in ucol_tok_initTokenList()
1811 while(i < rulesLength) { in ucol_tok_initTokenList()
1815 optionNumber = ucol_uprv_tok_readOption(rules+i+1, rules+rulesLength, &setStart); in ucol_tok_initTokenList()
1817 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList()
1829 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList()
1853 nSize = unorm_normalize(rules, rulesLength, UNORM_NFD, 0, src->source, estimatedSize, status); in ucol_tok_initTokenList()
1862 …nSize = unorm_normalize(rules, rulesLength, UNORM_NFD, 0, src->source, nSize+UCOL_TOK_EXTRA_RULE_S… in ucol_tok_initTokenList()
Ducol_tok.h157 void ucol_tok_initTokenList(UColTokenParser *src, const UChar *rules, const uint32_t rulesLength, c…
Ducol_imp.h966 int32_t rulesLength; member
/external/chromium/third_party/icu/public/i18n/unicode/
Dutrans.h192 int32_t rulesLength,
522 int32_t rulesLength, /* -1 if null-terminated */
Ducol.h285 int32_t rulesLength,
/external/icu4c/i18n/unicode/
Dutrans.h193 int32_t rulesLength,
542 int32_t rulesLength, /* -1 if null-terminated */
Ducol.h290 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/chromium/third_party/icu/source/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/WebCore/icu/unicode/
Dubrk.h337 int32_t rulesLength,
Ducol.h298 int32_t rulesLength,
/external/chromium/third_party/icu/public/common/unicode/
Dubrk.h236 int32_t rulesLength,
/external/icu4c/common/unicode/
Dubrk.h237 int32_t rulesLength,
/external/webkit/JavaScriptCore/icu/unicode/
Ducol.h298 int32_t rulesLength,
/external/chromium/third_party/icu/source/test/cintltst/
Dcapitst.c885 int32_t rulesLength; in TestOpenVsOpenRules() local
922 rules = ucol_getRules(c1, &rulesLength); in TestOpenVsOpenRules()
925 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &err); in TestOpenVsOpenRules()
/external/icu4c/test/cintltst/
Dcapitst.c895 int32_t rulesLength; in TestOpenVsOpenRules() local
932 rules = ucol_getRules(c1, &rulesLength); in TestOpenVsOpenRules()
935 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &err); in TestOpenVsOpenRules()

12