Home
last modified time | relevance | path

Searched refs:u_strlen (Results 1 – 25 of 224) sorted by relevance

123456789

/external/icu/icu4c/source/test/cintltst/
Dcmsgtst.c125 patternlength=u_strlen(testCasePatterns[i]); in MessageFormatTest()
156 patternlength=u_strlen(testCasePatterns[i]); in MessageFormatTest()
185 int32_t patternLength = u_strlen(testCasePatterns[0]); in MessageFormatTest()
201 patternLength = u_strlen(testCasePatterns[i]); in MessageFormatTest()
292 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &statu… in TestSampleMessageFormat()
298 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d); in TestSampleMessageFormat()
318 u_strlen(pattern), in TestSampleMessageFormat()
329 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23); in TestSampleMessageFormat()
348 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status,… in TestSampleMessageFormat()
354 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 500.00); in TestSampleMessageFormat()
[all …]
Dccurrtst.c140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target)); in currTest()
144 sortklen=ucol_getSortKey(c, source, u_strlen(source), NULL, 0); in currTest()
146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1); in currTest()
148 sortklen=ucol_getSortKey(c, target, u_strlen(target), NULL, 0); in currTest()
150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1); in currTest()
Dcdtdptst.c60 … fullFmt= udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US",NULL,0,pattern, u_strlen(pattern),&status); in TestTwoDigitYearDSTParse()
69 … fmt= udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US", NULL, 0,pattern, u_strlen(pattern), &status); in TestTwoDigitYearDSTParse()
75 d = udat_parse(fmt, s, u_strlen(s), &pos, &status); in TestTwoDigitYearDSTParse()
132 d = udat_parse(f, s, u_strlen(s), &pos, &status); in TestPartialParse994()
168 udat_applyPattern(format, FALSE, pat, u_strlen(pat)); in tryPat994()
170 date = udat_parse(format, str, u_strlen(str), &pos, &status); in tryPat994()
203 … format = udat_open(UDAT_PATTERN, UDAT_PATTERN, NULL, NULL, 0,pattern, u_strlen(pattern), &status); in TestRunTogetherPattern985()
212 date2 = udat_parse(format, now, u_strlen(now), &pos, &status); in TestRunTogetherPattern985()
255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); in TestCzechMonths459()
270 d = udat_parse(fmt, juneStr, u_strlen(juneStr), &pos, &status); in TestCzechMonths459()
[all …]
Dutexttst.c102 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
123 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
145 c = utext_next32From(uta, u_strlen(uString)); in TestAPI()
159 b = utext_moveIndex32(uta, u_strlen(uString)-1); in TestAPI()
162 TEST_ASSERT(i==u_strlen(uString)); in TestAPI()
167 TEST_ASSERT(i==u_strlen(uString)); in TestAPI()
226 TEST_ASSERT(i == u_strlen(uString)); in TestAPI()
232 TEST_ASSERT(i == u_strlen(uString)); in TestAPI()
246 TEST_ASSERT(i == u_strlen(uString2Ptr)); in TestAPI()
Dcapitst.c324 …doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "ab < abc comparison… in TestProperty()
329 …doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "ab < AB comparison … in TestProperty()
334 …doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_GREATER, "black-bird > bla… in TestProperty()
339 …doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "black bird < black-… in TestProperty()
344 …doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_GREATER, "Hello > hello co… in TestProperty()
448 …col1 = ucol_openRules(ruleset1, u_strlen(ruleset1), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL,&sta… in TestRuleBasedColl()
457 …col2 = ucol_openRules(ruleset2, u_strlen(ruleset2), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &s… in TestRuleBasedColl()
483 col4=ucol_openRules(rule2, u_strlen(rule2), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestRuleBasedColl()
501 …col1 = ucol_openRules(ruleset1, u_strlen(ruleset1), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &st… in TestRuleBasedColl()
538 …col1 = ucol_openRules(ruleset1, u_strlen(ruleset1), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &st… in TestRuleBasedColl()
[all …]
Dcdtrgtst.c92 udat_applyPattern(df, TRUE, temp, u_strlen(temp)); in Test4029195()
97 d1=udat_parse(df, todayS, u_strlen(todayS), &parsepos, &status); in Test4029195()
163 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL, NULL, 0, pat, u_strlen(pat), &status); in Test4056591()
180 got = udat_parse(def, s, u_strlen(s), 0, &status); in Test4056591()
214 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); in Test4059917()
227 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); in Test4059917()
288 …formatter = udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US",tzID,-1,pattern, u_strlen(pattern), &statu… in Test4060212()
290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); in Test4060212()
302 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status); in Test4060212()
333 df = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pattern, u_strlen(pattern),&status); in Test4061287()
[all …]
Dcitertst.c98 ucol_setOffset(titer, u_strlen(pattern), &status); in TestBug672()
174 ucol_setOffset(titer, u_strlen(pattern), &status); in TestBug672Normalize()
250 iter=ucol_openElements(en_us, source, u_strlen(source), &status); in TestUnicodeChar()
317 iter=ucol_openElements(th_th, source, u_strlen(source), &status); in TestNormalizedUnicodeChar()
432 iter=ucol_openElements(coll, test1, u_strlen(test1), &status); in TestPrevious()
447 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestPrevious()
459 iter=ucol_openElements(c1, source, u_strlen(source), &status); in TestPrevious()
471 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestPrevious()
480 iter=ucol_openElements(c2, source, u_strlen(source), &status); in TestPrevious()
491 c3 = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH,NULL, &status); in TestPrevious()
[all …]
Didnatest.c81 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI()
88 tSrcLen = u_strlen(src); in testAPI()
146 destLen = func(src,u_strlen(src),dest,destLen+1,options, &parseError, &status); in testAPI()
168 …destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &st… in testAPI()
212 …destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &stat… in testAPI()
615 u_strncat(source,unicodeIn[i], u_strlen(unicodeIn[i])); in TestCompare()
620 srcLen = u_strlen(src); in TestCompare()
625 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); in TestCompare()
629 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE); in TestCompare()
631 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE); in TestCompare()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcmsgtst.c119 patternlength=u_strlen(testCasePatterns[i]); in MessageFormatTest()
150 patternlength=u_strlen(testCasePatterns[i]); in MessageFormatTest()
179 int32_t patternLength = u_strlen(testCasePatterns[0]); in MessageFormatTest()
195 patternLength = u_strlen(testCasePatterns[i]); in MessageFormatTest()
286 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &statu… in TestSampleMessageFormat()
292 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d); in TestSampleMessageFormat()
312 u_strlen(pattern), in TestSampleMessageFormat()
323 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23); in TestSampleMessageFormat()
342 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status,… in TestSampleMessageFormat()
348 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 500.00); in TestSampleMessageFormat()
[all …]
Dccurrtst.c140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target)); in currTest()
144 sortklen=ucol_getSortKey(c, source, u_strlen(source), NULL, 0); in currTest()
146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1); in currTest()
148 sortklen=ucol_getSortKey(c, target, u_strlen(target), NULL, 0); in currTest()
150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1); in currTest()
Dcdtdptst.c60 fullFmt= udat_open(UDAT_IGNORE, UDAT_IGNORE,"en_US",NULL,0,pattern, u_strlen(pattern),&status); in TestTwoDigitYearDSTParse()
69 … fmt= udat_open(UDAT_IGNORE,UDAT_IGNORE,"en_US", NULL, 0,pattern, u_strlen(pattern), &status); in TestTwoDigitYearDSTParse()
75 d = udat_parse(fmt, s, u_strlen(s), &pos, &status); in TestTwoDigitYearDSTParse()
132 d = udat_parse(f, s, u_strlen(s), &pos, &status); in TestPartialParse994()
168 udat_applyPattern(format, FALSE, pat, u_strlen(pat)); in tryPat994()
170 date = udat_parse(format, str, u_strlen(str), &pos, &status); in tryPat994()
203 format = udat_open(UDAT_IGNORE, UDAT_IGNORE, NULL, NULL, 0,pattern, u_strlen(pattern), &status); in TestRunTogetherPattern985()
212 date2 = udat_parse(format, now, u_strlen(now), &pos, &status); in TestRunTogetherPattern985()
255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); in TestCzechMonths459()
270 d = udat_parse(fmt, juneStr, u_strlen(juneStr), &pos, &status); in TestCzechMonths459()
[all …]
Dcapitst.c337 …doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab… in TestProperty()
342 …doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab… in TestProperty()
348 … doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER), in TestProperty()
352 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), in TestProperty()
357 … doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER), in TestProperty()
464 …col1 = ucol_openRules(ruleset1, u_strlen(ruleset1), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL,&sta… in TestRuleBasedColl()
473 …col2 = ucol_openRules(ruleset2, u_strlen(ruleset2), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &s… in TestRuleBasedColl()
499 col4=ucol_openRules(rule2, u_strlen(rule2), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestRuleBasedColl()
517 …col1 = ucol_openRules(ruleset1, u_strlen(ruleset1), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &st… in TestRuleBasedColl()
554 …col1 = ucol_openRules(ruleset1, u_strlen(ruleset1), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &st… in TestRuleBasedColl()
[all …]
Dutexttst.c101 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
122 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
144 c = utext_next32From(uta, u_strlen(uString)); in TestAPI()
158 b = utext_moveIndex32(uta, u_strlen(uString)-1); in TestAPI()
161 TEST_ASSERT(i==u_strlen(uString)); in TestAPI()
166 TEST_ASSERT(i==u_strlen(uString)); in TestAPI()
225 TEST_ASSERT(i == u_strlen(uString)); in TestAPI()
231 TEST_ASSERT(i == u_strlen(uString)); in TestAPI()
245 TEST_ASSERT(i == u_strlen(uString2Ptr)); in TestAPI()
Dcdtrgtst.c92 udat_applyPattern(df, TRUE, temp, u_strlen(temp)); in Test4029195()
97 d1=udat_parse(df, todayS, u_strlen(todayS), &parsepos, &status); in Test4029195()
163 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL, NULL, 0, pat, u_strlen(pat), &status); in Test4056591()
180 got = udat_parse(def, s, u_strlen(s), 0, &status); in Test4056591()
214 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); in Test4059917()
227 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); in Test4059917()
288 …formatter = udat_open(UDAT_IGNORE,UDAT_IGNORE,"en_US",tzID,-1,pattern, u_strlen(pattern), &status); in Test4060212()
290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); in Test4060212()
301 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status); in Test4060212()
332 df = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,NULL,0,pattern, u_strlen(pattern),&status); in Test4061287()
[all …]
Didnatest.c81 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0; in testAPI()
88 tSrcLen = u_strlen(src); in testAPI()
146 destLen = func(src,u_strlen(src),dest,destLen+1,options, &parseError, &status); in testAPI()
168 …destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &st… in testAPI()
212 …destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &stat… in testAPI()
615 u_strncat(source,unicodeIn[i], u_strlen(unicodeIn[i])); in TestCompare()
620 srcLen = u_strlen(src); in TestCompare()
625 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); in TestCompare()
629 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE); in TestCompare()
631 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE); in TestCompare()
[all …]
Dcnumtst.c322 d1=unum_parseDouble(cur_def, result, u_strlen(result), &parsepos, &status); in TestNumberFormat()
376 d1=unum_parseDoubleCurrency(cur_def, result, u_strlen(result), &parsepos, temp2, &status); in TestNumberFormat()
399 resultlength=u_strlen(temp1); in TestNumberFormat()
425 d1=unum_parseDouble(cur_def, temp1, u_strlen(temp1), &parsepos, &status); in TestNumberFormat()
457 l1=unum_parse(per_fr, result, u_strlen(result), &parsepos, &status); in TestNumberFormat()
474 pattern=unum_open(UNUM_IGNORE,temp1, u_strlen(temp1), NULL, NULL,&status); in TestNumberFormat()
524 cur_frpattern=unum_open(UNUM_IGNORE,result, u_strlen(result), "fr_FR",NULL, &status); in TestNumberFormat()
562 unum_applyPattern(cur_frpattern, FALSE, result, u_strlen(result),NULL,NULL); in TestNumberFormat()
648 unum_setTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, temp, u_strlen(temp), &status); in TestNumberFormat()
664 unum_setTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, temp, u_strlen(temp), &status); in TestNumberFormat()
[all …]
Dcitertst.c103 ucol_setOffset(titer, u_strlen(pattern), &status); in TestBug672()
179 ucol_setOffset(titer, u_strlen(pattern), &status); in TestBug672Normalize()
255 iter=ucol_openElements(en_us, source, u_strlen(source), &status); in TestUnicodeChar()
322 iter=ucol_openElements(th_th, source, u_strlen(source), &status); in TestNormalizedUnicodeChar()
437 iter=ucol_openElements(coll, test1, u_strlen(test1), &status); in TestPrevious()
452 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestPrevious()
464 iter=ucol_openElements(c1, source, u_strlen(source), &status); in TestPrevious()
476 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestPrevious()
485 iter=ucol_openElements(c2, source, u_strlen(source), &status); in TestPrevious()
496 c3 = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH,NULL, &status); in TestPrevious()
[all …]
/external/chromium_org/third_party/icu/source/test/iotest/
Dtrnstst.c193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile); in TestTranslitFileOut()
195 if(len != u_strlen(compare)) in TestTranslitFileOut()
197 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len); in TestTranslitFileOut()
201 if(u_strlen(compare) != u_strlen(ubuf)) in TestTranslitFileOut()
203 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len); in TestTranslitFileOut()
290 if(u_strlen(compare) != u_strlen(ubuf)) in TestTranslitStringOut()
292 …_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), u_strlen(ubuf)); in TestTranslitStringOut()
Dfiletst.c474 readSize = u_strlen(buffer); in TestfgetsBuffers()
476 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
519 readSize = u_strlen(buffer); in TestfgetsBuffers()
521 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
552 readSize = u_strlen(buffer); in TestfgetsBuffers()
554 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), 1); in TestfgetsBuffers()
639 if (buffer[u_strlen(buffer)+1] != 0xBEEF) { in TestfgetsLineCount()
690 u_file_write(testUStr[lineIdx], u_strlen(testUStr[lineIdx]), myFile); in TestfgetsNewLineHandling()
709 if (buffer[u_strlen(buffer)+1] != 0xBEEF) { in TestfgetsNewLineHandling()
768 if (buffer[u_strlen(buffer)+1] != 0xBEEF) { in TestLineCount()
[all …]
/external/icu/icu4c/source/test/iotest/
Dtrnstst.c193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile); in TestTranslitFileOut()
195 if(len != u_strlen(compare)) in TestTranslitFileOut()
197 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len); in TestTranslitFileOut()
201 if(u_strlen(compare) != u_strlen(ubuf)) in TestTranslitFileOut()
203 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len); in TestTranslitFileOut()
290 if(u_strlen(compare) != u_strlen(ubuf)) in TestTranslitStringOut()
292 …_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), u_strlen(ubuf)); in TestTranslitStringOut()
Dfiletst.c480 readSize = u_strlen(buffer); in TestfgetsBuffers()
482 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
525 readSize = u_strlen(buffer); in TestfgetsBuffers()
527 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
558 readSize = u_strlen(buffer); in TestfgetsBuffers()
560 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), 1); in TestfgetsBuffers()
645 if (buffer[u_strlen(buffer)+1] != 0xBEEF) { in TestfgetsLineCount()
696 u_file_write(testUStr[lineIdx], u_strlen(testUStr[lineIdx]), myFile); in TestfgetsNewLineHandling()
715 if (buffer[u_strlen(buffer)+1] != 0xBEEF) { in TestfgetsNewLineHandling()
774 if (buffer[u_strlen(buffer)+1] != 0xBEEF) { in TestLineCount()
[all …]
/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp70 rules.append(extrarules, u_strlen(extrarules)); in StringSearchTest()
76 rules.append(extrarules, u_strlen(extrarules)); in StringSearchTest()
873 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
876 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
913 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
915 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
1006 text.setTo(temp, u_strlen(temp)); in TestOverlap()
1009 pattern.setTo(temp, u_strlen(temp)); in TestOverlap()
1050 text.setTo(temp, u_strlen(temp)); in TestCollator()
1053 pattern.setTo(temp, u_strlen(temp)); in TestCollator()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dsrchtest.cpp70 rules.append(extrarules, u_strlen(extrarules)); in StringSearchTest()
76 rules.append(extrarules, u_strlen(extrarules)); in StringSearchTest()
770 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
773 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
810 text.setTo(temp, u_strlen(temp)); in TestBreakIterator()
812 pattern.setTo(temp, u_strlen(temp)); in TestBreakIterator()
903 text.setTo(temp, u_strlen(temp)); in TestOverlap()
906 pattern.setTo(temp, u_strlen(temp)); in TestOverlap()
947 text.setTo(temp, u_strlen(temp)); in TestCollator()
950 pattern.setTo(temp, u_strlen(temp)); in TestCollator()
[all …]
/external/icu/icu4c/source/samples/citer/
Dciter.cpp50 UCharCharacterIterator iter(testText, u_strlen(testText)); in TestUChariter()
76 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter()
83 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter()
117 StringCharacterIterator iter(testText, u_strlen(testText)); in TestStringiter()
140 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter()
/external/icu/icu4c/source/samples/cal/
Dcal.c453 lens[i] = u_strlen(days[i]); in print_month()
458 pad = width - u_strlen(s); in print_month()
502 pad = lens[current] - u_strlen(s); in print_month()
576 lens[i] = u_strlen(days[i]); in print_year()
584 pad = 2 * width + MARGIN_WIDTH - u_strlen(s); in print_year()
601 pad = width - u_strlen(months[i]); in print_year()
605 pad = width - u_strlen(months[i + 1]); in print_year()
673 pad = lens[left_current] - u_strlen(s); in print_year()
721 pad = lens[right_current] - u_strlen(s); in print_year()

123456789