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

1 2 3 4 5

  /external/icu/icu4c/source/test/iotest/
trnstst.c 196 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile);
198 if(len != u_strlen(compare))
200 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len);
204 if(u_strlen(compare) != u_strlen(ubuf))
206 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len);
293 if(u_strlen(compare) != u_strlen(ubuf))
295 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), u_strlen(ubuf))
    [all...]
filetst.c 483 readSize = u_strlen(buffer);
485 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
528 readSize = u_strlen(buffer);
530 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
561 readSize = u_strlen(buffer);
563 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), 1);
648 if (buffer[u_strlen(buffer)+1] != 0xBEEF) {
699 u_file_write(testUStr[lineIdx], u_strlen(testUStr[lineIdx]), myFile);
718 if (buffer[u_strlen(buffer)+1] != 0xBEEF) {
777 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 104 TEST_ASSERT(len == u_strlen(uString));
125 TEST_ASSERT(len == u_strlen(uString));
147 c = utext_next32From(uta, u_strlen(uString));
161 b = utext_moveIndex32(uta, u_strlen(uString)-1);
164 TEST_ASSERT(i==u_strlen(uString));
169 TEST_ASSERT(i==u_strlen(uString));
228 TEST_ASSERT(i == u_strlen(uString));
234 TEST_ASSERT(i == u_strlen(uString));
248 TEST_ASSERT(i == u_strlen(uString2Ptr));
cmsgtst.c 126 patternlength=u_strlen(testCasePatterns[i]);
157 patternlength=u_strlen(testCasePatterns[i]);
186 int32_t patternLength = u_strlen(testCasePatterns[0]);
202 patternLength = u_strlen(testCasePatterns[i]);
293 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
299 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
319 u_strlen(pattern),
330 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23);
349 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, str, 500.00);
355 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 500.00)
    [all...]
cdtdptst.c 64 fullFmt= udat_open(UDAT_PATTERN, UDAT_PATTERN,"en_US",NULL,0,pattern, u_strlen(pattern),&status);
73 fmt= udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US", NULL, 0,pattern, u_strlen(pattern), &status);
79 d = udat_parse(fmt, s, u_strlen(s), &pos, &status);
136 d = udat_parse(f, s, u_strlen(s), &pos, &status);
172 udat_applyPattern(format, FALSE, pat, u_strlen(pat));
174 date = udat_parse(format, str, u_strlen(str), &pos, &status);
207 format = udat_open(UDAT_PATTERN, UDAT_PATTERN, NULL, NULL, 0,pattern, u_strlen(pattern), &status);
216 date2 = udat_parse(format, now, u_strlen(now), &pos, &status);
259 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status);
274 d = udat_parse(fmt, juneStr, u_strlen(juneStr), &pos, &status)
    [all...]
capitst.c 325 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "ab < abc comparison failed");
330 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "ab < AB comparison failed");
335 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_GREATER, "black-bird > blackbird comparison failed");
340 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_LESS, "black bird < black-bird comparison failed");
345 doStrcoll(col, source, u_strlen(source), target, u_strlen(target), UCOL_GREATER, "Hello > hello comparison failed")
    [all...]
citertst.c 100 ucol_setOffset(titer, u_strlen(pattern), &status);
176 ucol_setOffset(titer, u_strlen(pattern), &status);
252 iter=ucol_openElements(en_us, source, u_strlen(source), &status);
319 iter=ucol_openElements(th_th, source, u_strlen(source), &status);
434 iter=ucol_openElements(coll, test1, u_strlen(test1), &status);
449 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
461 iter=ucol_openElements(c1, source, u_strlen(source), &status);
473 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
482 iter=ucol_openElements(c2, source, u_strlen(source), &status);
493 c3 = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH,NULL, &status)
    [all...]
cdtrgtst.c 94 udat_applyPattern(df, TRUE, temp, u_strlen(temp));
99 d1=udat_parse(df, todayS, u_strlen(todayS), &parsepos, &status);
165 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL, NULL, 0, pat, u_strlen(pat), &status);
182 got = udat_parse(def, s, u_strlen(s), 0, &status);
216 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status);
229 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status);
290 formatter = udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US",tzID,-1,pattern, u_strlen(pattern), &status);
292 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status);
304 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);
335 df = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pattern, u_strlen(pattern),&status)
    [all...]
cnmdptst.c 81 fmt= unum_open(UNUM_IGNORE,upat, u_strlen(upat), "en_US",NULL, &status);
134 fmt =unum_open(UNUM_IGNORE,pat, u_strlen(pat), "en_US",NULL, &status);
163 fmt =unum_open(UNUM_IGNORE,pat, u_strlen(pat), "en_US",NULL, &status);
258 fmt=unum_open(UNUM_IGNORE,upat, u_strlen(upat), "en_US",NULL, &status);
263 lneed= u_strlen(upat) + 1;
288 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status);
289 if (ppos== u_strlen(str)) {
318 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status);
319 if (ppos== u_strlen(str)) {
354 fmt = unum_open(UNUM_IGNORE,pattern, u_strlen(pattern), "en_US",NULL, &status)
    [all...]
idnatest.c 81 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0;
88 tSrcLen = u_strlen(src);
146 destLen = func(src,u_strlen(src),dest,destLen+1,options, &parseError, &status);
168 destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status);
212 destLen = func(src,u_strlen(src),dest,destLen+1,options | UIDNA_USE_STD3_RULES, &parseError, &status);
615 u_strncat(source,unicodeIn[i], u_strlen(unicodeIn[i]));
620 srcLen = u_strlen(src);
625 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE);
629 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE);
631 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE)
    [all...]
cbiditransformtst.c 176 srcLen = u_strlen(src);
186 ubidi_writeReverse(expected, u_strlen(expected), temp, STR_CAPACITY,
203 uint32_t i = 0, j, length = u_strlen(str);
217 uint32_t i = 0, j, length = u_strlen(expected), index;
custrtst.c 101 /*Tests for u_strcat(),u_strcmp(), u_strlen(), u_strcpy(),u_strncat(),u_strncmp(),u_strncpy, u_uastrcpy(),u_austrcpy(), u_uastrncpy(); */
112 log_verbose("Testing u_strlen()\n");
113 if( u_strlen(dataTable[0][0])!= u_strlen(dataTable[0][3]) || u_strlen(dataTable[0][0]) == u_strlen(dataTable[0][2]))
114 log_err("There is an error in u_strlen()");
202 k=u_strlen(dataTable[i][j]);
213 k=u_strlen(dataTable[i][j]);
225 k=u_strlen(dataTable[i][j])
    [all...]
  /external/icu/icu4c/source/i18n/
currunit.cpp 25 if (_isoCode && u_strlen(_isoCode)==3) {
  /external/icu/icu4c/source/samples/citer/
citer.cpp 56 UCharCharacterIterator iter(testText, u_strlen(testText));
82 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
89 if (c == CharacterIterator::DONE && i != u_strlen(testText)) {
123 StringCharacterIterator iter(testText, u_strlen(testText));
146 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
  /external/icu/icu4c/source/common/
ures_cnv.c 45 length=u_strlen(myPath);
ucat.c 73 *len = u_strlen(s);
uchriter.cpp 30 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0),
38 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, position),
48 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, textBegin, textEnd, position),
  /external/icu/icu4c/source/samples/cal/
uprint.c 44 sourceLen = u_strlen(s);
cal.c 457 lens[i] = u_strlen(days[i]);
462 pad = width - u_strlen(s);
506 pad = lens[current] - u_strlen(s);
580 lens[i] = u_strlen(days[i]);
588 pad = 2 * width + MARGIN_WIDTH - u_strlen(s);
605 pad = width - u_strlen(months[i]);
609 pad = width - u_strlen(months[i + 1]);
677 pad = lens[left_current] - u_strlen(s);
725 pad = lens[right_current] - u_strlen(s);
  /external/icu/icu4c/source/samples/date/
uprint.c 45 sourceLen = u_strlen(s);
  /external/icu/icu4c/source/test/intltest/
srchtest.cpp 73 rules.append(extrarules, u_strlen(extrarules));
79 rules.append(extrarules, u_strlen(extrarules));
876 text.setTo(temp, u_strlen(temp));
879 pattern.setTo(temp, u_strlen(temp));
916 text.setTo(temp, u_strlen(temp));
918 pattern.setTo(temp, u_strlen(temp));
    [all...]
sfwdchit.cpp 48 fLen = len==-1 ? u_strlen(s) : len;
  /external/icu/icu4c/source/samples/numfmt/
capi.c 50 a = unum_parseDouble(fmt, str, u_strlen(str), NULL, &status);
  /external/icu/icu4c/source/io/
sscanf.c 115 inStr.str.fLimit = buffer + u_strlen(buffer);

Completed in 546 milliseconds

1 2 3 4 5