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

1 2 3 4 5 6

  /external/icu4c/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 474 readSize = u_strlen(buffer);
476 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
519 readSize = u_strlen(buffer);
521 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions);
552 readSize = u_strlen(buffer);
554 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), 1);
639 if (buffer[u_strlen(buffer)+1] != 0xBEEF) {
690 u_file_write(testUStr[lineIdx], u_strlen(testUStr[lineIdx]), myFile);
709 if (buffer[u_strlen(buffer)+1] != 0xBEEF) {
768 if (buffer[u_strlen(buffer)+1] != 0xBEEF)
    [all...]
  /external/icu4c/test/cintltst/
utexttst.c 101 TEST_ASSERT(len == u_strlen(uString));
122 TEST_ASSERT(len == u_strlen(uString));
144 c = utext_next32From(uta, u_strlen(uString));
158 b = utext_moveIndex32(uta, u_strlen(uString)-1);
161 TEST_ASSERT(i==u_strlen(uString));
166 TEST_ASSERT(i==u_strlen(uString));
225 TEST_ASSERT(i == u_strlen(uString));
231 TEST_ASSERT(i == u_strlen(uString));
245 TEST_ASSERT(i == u_strlen(uString2Ptr));
cdtdptst.c 60 fullFmt= udat_open(UDAT_IGNORE, UDAT_IGNORE,"en_US",NULL,0,pattern, u_strlen(pattern),&status);
69 fmt= udat_open(UDAT_IGNORE,UDAT_IGNORE,"en_US", NULL, 0,pattern, u_strlen(pattern), &status);
75 d = udat_parse(fmt, s, u_strlen(s), &pos, &status);
132 d = udat_parse(f, s, u_strlen(s), &pos, &status);
168 udat_applyPattern(format, FALSE, pat, u_strlen(pat));
170 date = udat_parse(format, str, u_strlen(str), &pos, &status);
203 format = udat_open(UDAT_IGNORE, UDAT_IGNORE, NULL, NULL, 0,pattern, u_strlen(pattern), &status);
212 date2 = udat_parse(format, now, u_strlen(now), &pos, &status);
255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status);
270 d = udat_parse(fmt, juneStr, u_strlen(juneStr), &pos, &status)
    [all...]
cmsgtst.c 119 patternlength=u_strlen(testCasePatterns[i]);
150 patternlength=u_strlen(testCasePatterns[i]);
179 int32_t patternLength = u_strlen(testCasePatterns[0]);
195 patternLength = u_strlen(testCasePatterns[i]);
286 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
292 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
312 u_strlen(pattern),
323 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23);
342 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, str, 500.00);
348 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 500.00)
    [all...]
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);
capitst.c 347 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab < abc comparison failed");
352 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS), "ab < AB comparison failed");
358 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER),
362 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_LESS),
367 doAssert((ucol_strcoll(col, source, u_strlen(source), target, u_strlen(target)) == UCOL_GREATER)
    [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_IGNORE,UDAT_IGNORE,NULL, NULL, 0, pat, u_strlen(pat), &status);
180 got = udat_parse(def, s, u_strlen(s), 0, &status);
214 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status);
227 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status);
288 formatter = udat_open(UDAT_IGNORE,UDAT_IGNORE,"en_US",tzID,-1,pattern, u_strlen(pattern), &status);
290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status);
301 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);
332 df = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,NULL,0,pattern, u_strlen(pattern),&status)
    [all...]
cnumtst.c 325 d1=unum_parseDouble(cur_def, result, u_strlen(result), &parsepos, &status);
379 d1=unum_parseDoubleCurrency(cur_def, result, u_strlen(result), &parsepos, temp2, &status);
402 resultlength=u_strlen(temp1);
428 d1=unum_parseDouble(cur_def, temp1, u_strlen(temp1), &parsepos, &status);
460 l1=unum_parse(per_fr, result, u_strlen(result), &parsepos, &status);
477 pattern=unum_open(UNUM_IGNORE,temp1, u_strlen(temp1), NULL, NULL,&status);
527 cur_frpattern=unum_open(UNUM_IGNORE,result, u_strlen(result), "fr_FR",NULL, &status);
565 unum_applyPattern(cur_frpattern, FALSE, result, u_strlen(result),NULL,NULL);
651 unum_setTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, temp, u_strlen(temp), &status);
667 unum_setTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, temp, u_strlen(temp), &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...]
citertst.c 103 ucol_setOffset(titer, u_strlen(pattern), &status);
179 ucol_setOffset(titer, u_strlen(pattern), &status);
255 iter=ucol_openElements(en_us, source, u_strlen(source), &status);
322 iter=ucol_openElements(th_th, source, u_strlen(source), &status);
437 iter=ucol_openElements(coll, test1, u_strlen(test1), &status);
452 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
464 iter=ucol_openElements(c1, source, u_strlen(source), &status);
476 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
485 iter=ucol_openElements(c2, source, u_strlen(source), &status);
496 c3 = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH,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...]
custrtst.c 104 /*Tests for u_strcat(),u_strcmp(), u_strlen(), u_strcpy(),u_strncat(),u_strncmp(),u_strncpy, u_uastrcpy(),u_austrcpy(), u_uastrncpy(); */
115 log_verbose("Testing u_strlen()\n");
116 if( u_strlen(dataTable[0][0])!= u_strlen(dataTable[0][3]) || u_strlen(dataTable[0][0]) == u_strlen(dataTable[0][2]))
117 log_err("There is an error in u_strlen()");
205 k=u_strlen(dataTable[i][j]);
216 k=u_strlen(dataTable[i][j]);
228 k=u_strlen(dataTable[i][j])
    [all...]
  /external/icu4c/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/icu4c/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/icu4c/common/
ucat.c 71 *len = u_strlen(s);
ures_cnv.c 43 length=u_strlen(myPath);
uchriter.cpp 27 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0),
35 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, position),
45 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, textBegin, textEnd, position),
  /external/icu4c/i18n/
currunit.cpp 25 if (_isoCode && u_strlen(_isoCode)==3) {
  /external/icu4c/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/icu4c/samples/date/
uprint.c 41 sourceLen = u_strlen(s);
  /external/icu4c/samples/numfmt/
capi.c 46 a = unum_parseDouble(fmt, str, u_strlen(str), NULL, &status);
  /external/icu4c/io/
sscanf.c 113 inStr.str.fLimit = buffer + u_strlen(buffer);

Completed in 680 milliseconds

1 2 3 4 5 6