HomeSort by relevance Sort by last modified time
    Searched refs:u_strlen (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/icu/icu4c/source/test/iotest/
trnstst.c 193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile);
195 if(len != u_strlen(compare))
197 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len);
201 if(u_strlen(compare) != u_strlen(ubuf))
203 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len);
290 if(u_strlen(compare) != u_strlen(ubuf))
292 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), u_strlen(ubuf))
    [all...]
filetst.c 480 readSize = u_strlen(buffer);
482 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
525 readSize = u_strlen(buffer);
527 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
558 readSize = u_strlen(buffer);
560 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), 1);
645 if (buffer[u_strlen(buffer)+1] != 0xBEEF) {
696 u_file_write(testUStr[lineIdx], u_strlen(testUStr[lineIdx]), myFile);
715 if (buffer[u_strlen(buffer)+1] != 0xBEEF) {
774 if (buffer[u_strlen(buffer)+1] != 0xBEEF)
    [all...]
  /external/icu/icu4c/source/test/cintltst/
ccurrtst.c 140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target));
144 sortklen=ucol_getSortKey(c, source, u_strlen(source), NULL, 0);
146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1);
148 sortklen=ucol_getSortKey(c, target, u_strlen(target), NULL, 0);
150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1);
utexttst.c 102 TEST_ASSERT(len == u_strlen(uString));
123 TEST_ASSERT(len == u_strlen(uString));
145 c = utext_next32From(uta, u_strlen(uString));
159 b = utext_moveIndex32(uta, u_strlen(uString)-1);
162 TEST_ASSERT(i==u_strlen(uString));
167 TEST_ASSERT(i==u_strlen(uString));
226 TEST_ASSERT(i == u_strlen(uString));
232 TEST_ASSERT(i == u_strlen(uString));
246 TEST_ASSERT(i == u_strlen(uString2Ptr));
cmsgtst.c 124 patternlength=u_strlen(testCasePatterns[i]);
155 patternlength=u_strlen(testCasePatterns[i]);
184 int32_t patternLength = u_strlen(testCasePatterns[0]);
200 patternLength = u_strlen(testCasePatterns[i]);
291 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
297 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
317 u_strlen(pattern),
328 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23);
347 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, str, 500.00);
353 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 500.00)
    [all...]
cdtdptst.c 62 fullFmt= udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US",NULL,0,pattern, u_strlen(pattern),&status);
71 fmt= udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US", NULL, 0,pattern, u_strlen(pattern), &status);
77 d = udat_parse(fmt, s, u_strlen(s), &pos, &status);
134 d = udat_parse(f, s, u_strlen(s), &pos, &status);
170 udat_applyPattern(format, FALSE, pat, u_strlen(pat));
172 date = udat_parse(format, str, u_strlen(str), &pos, &status);
205 format = udat_open(UDAT_PATTERN, UDAT_PATTERN, NULL, NULL, 0,pattern, u_strlen(pattern), &status);
214 date2 = udat_parse(format, now, u_strlen(now), &pos, &status);
257 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status);
272 d = udat_parse(fmt, juneStr, u_strlen(juneStr), &pos, &status)
    [all...]
capitst.c 323 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "ab < abc comparison failed");
328 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "ab < AB comparison failed");
333 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_GREATER, "black-bird > blackbird comparison failed");
338 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "black bird < black-bird comparison failed");
343 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_GREATER, "Hello > hello comparison failed")
    [all...]
citertst.c 98 ucol_setOffset(titer, u_strlen(pattern), &status);
174 ucol_setOffset(titer, u_strlen(pattern), &status);
250 iter=ucol_openElements(en_us, source, u_strlen(source), &status);
317 iter=ucol_openElements(th_th, source, u_strlen(source), &status);
432 iter=ucol_openElements(coll, test1, u_strlen(test1), &status);
447 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
459 iter=ucol_openElements(c1, source, u_strlen(source), &status);
471 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
480 iter=ucol_openElements(c2, source, u_strlen(source), &status);
491 c3 = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH,NULL, &status)
    [all...]
cdtrgtst.c 92 udat_applyPattern(df, TRUE, temp, u_strlen(temp));
97 d1=udat_parse(df, todayS, u_strlen(todayS), &parsepos, &status);
163 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL, NULL, 0, pat, u_strlen(pat), &status);
180 got = udat_parse(def, s, u_strlen(s), 0, &status);
214 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status);
227 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status);
288 formatter = udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US",tzID,-1,pattern, u_strlen(pattern), &status);
290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status);
302 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);
333 df = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pattern, u_strlen(pattern),&status)
    [all...]
cnmdptst.c 78 fmt= unum_open(UNUM_IGNORE,upat, u_strlen(upat), "en_US",NULL, &status);
131 fmt =unum_open(UNUM_IGNORE,pat, u_strlen(pat), "en_US",NULL, &status);
160 fmt =unum_open(UNUM_IGNORE,pat, u_strlen(pat), "en_US",NULL, &status);
255 fmt=unum_open(UNUM_IGNORE,upat, u_strlen(upat), "en_US",NULL, &status);
260 lneed= u_strlen(upat) + 1;
285 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status);
286 if (ppos== u_strlen(str)) {
315 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status);
316 if (ppos== u_strlen(str)) {
351 fmt = unum_open(UNUM_IGNORE,pattern, u_strlen(pattern), "en_US",NULL, &status)
    [all...]
idnatest.c 79 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0;
86 tSrcLen = u_strlen(src);
144 destLen = func(src,u_strlen(src),dest,destLen+1,options, &parseError, &status);
166 destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
210 destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &status);
613 u_strncat(source,unicodeIn[i], u_strlen(unicodeIn[i]));
618 srcLen = u_strlen(src);
623 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE);
627 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE);
629 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE)
    [all...]
custrtst.c 99 /*Tests for u_strcat(),u_strcmp(), u_strlen(), u_strcpy(),u_strncat(),u_strncmp(),u_strncpy, u_uastrcpy(),u_austrcpy(), u_uastrncpy(); */
110 log_verbose("Testing u_strlen()\n");
111 if( u_strlen(dataTable[0][0])!= u_strlen(dataTable[0][3]) || u_strlen(dataTable[0][0]) == u_strlen(dataTable[0][2]))
112 log_err("There is an error in u_strlen()");
200 k=u_strlen(dataTable[i][j]);
211 k=u_strlen(dataTable[i][j]);
223 k=u_strlen(dataTable[i][j])
    [all...]
cmsccoll.c 94 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL,&status);
105 iter = ucol_openElements(coll, t2, u_strlen(t2), &status);
120 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status);
132 iter = ucol_openElements(coll, t2, u_strlen(t2), &status);
347 sizem = u_strlen(m);
668 iter = ucol_openElements(coll, t[u]->NFD, u_strlen(t[u]->NFD), &status);
675 ucol_setText(iter, t[u]->NFC, u_strlen(t[u]->NFC), &status);
678 ucol_setText(iter, t[u]->NFD, u_strlen(t[u]->NFD), &status);
886 myCollation = ucol_openRules(gRules, u_strlen(gRules), UCOL_OFF, UCOL_TERTIARY,NULL, &status);
901 iter=ucol_openElements(myCollation, testCase[i], u_strlen(testCase[i]), &status)
    [all...]
  /external/icu/icu4c/source/i18n/
currunit.cpp 23 if (_isoCode && u_strlen(_isoCode)==3) {
  /external/icu/icu4c/source/samples/citer/
citer.cpp 50 UCharCharacterIterator iter(testText, u_strlen(testText));
76 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
83 if (c == CharacterIterator::DONE && i != u_strlen(testText)) {
117 StringCharacterIterator iter(testText, u_strlen(testText));
140 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
  /external/icu/icu4c/source/common/
ures_cnv.c 43 length=u_strlen(myPath);
ucat.c 71 *len = u_strlen(s);
uchriter.cpp 28 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0),
36 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, position),
46 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, textBegin, textEnd, position),
  /external/icu/icu4c/source/samples/cal/
uprint.c 40 sourceLen = u_strlen(s);
cal.c 453 lens[i] = u_strlen(days[i]);
458 pad = width - u_strlen(s);
502 pad = lens[current] - u_strlen(s);
576 lens[i] = u_strlen(days[i]);
584 pad = 2 * width + MARGIN_WIDTH - u_strlen(s);
601 pad = width - u_strlen(months[i]);
605 pad = width - u_strlen(months[i + 1]);
673 pad = lens[left_current] - u_strlen(s);
721 pad = lens[right_current] - u_strlen(s);
  /external/icu/icu4c/source/samples/date/
uprint.c 41 sourceLen = u_strlen(s);
  /external/icu/icu4c/source/test/intltest/
srchtest.cpp 70 rules.append(extrarules, u_strlen(extrarules));
76 rules.append(extrarules, u_strlen(extrarules));
873 text.setTo(temp, u_strlen(temp));
876 pattern.setTo(temp, u_strlen(temp));
913 text.setTo(temp, u_strlen(temp));
915 pattern.setTo(temp, u_strlen(temp));
1006 text.setTo(temp, u_strlen(temp));
    [all...]
sfwdchit.cpp 46 fLen = len==-1 ? u_strlen(s) : len;
  /external/icu/icu4c/source/samples/numfmt/
capi.c 46 a = unum_parseDouble(fmt, str, u_strlen(str), NULL, &status);
  /external/icu/icu4c/source/io/
sscanf.c 113 inStr.str.fLimit = buffer + u_strlen(buffer);

Completed in 9239 milliseconds

1 2 3 4 5