/external/icu4c/samples/numfmt/ |
capi.c | 46 a = unum_parseDouble(fmt, str, u_strlen(str), NULL, &status);
|
/external/chromium_org/third_party/icu/source/common/ |
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/common/ |
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/chromium_org/third_party/icu/source/test/iotest/ |
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/iotest/ |
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/chromium_org/third_party/icu/source/test/cintltst/ |
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...] |
cnumtst.c | 322 d1=unum_parseDouble(cur_def, result, u_strlen(result), &parsepos, &status); 376 d1=unum_parseDoubleCurrency(cur_def, result, u_strlen(result), &parsepos, temp2, &status); 399 resultlength=u_strlen(temp1); 425 d1=unum_parseDouble(cur_def, temp1, u_strlen(temp1), &parsepos, &status); 457 l1=unum_parse(per_fr, result, u_strlen(result), &parsepos, &status); 474 pattern=unum_open(UNUM_IGNORE,temp1, u_strlen(temp1), NULL, NULL,&status); 524 cur_frpattern=unum_open(UNUM_IGNORE,result, u_strlen(result), "fr_FR",NULL, &status); 562 unum_applyPattern(cur_frpattern, FALSE, result, u_strlen(result),NULL,NULL); 648 unum_setTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, temp, u_strlen(temp), &status); 664 unum_setTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, temp, u_strlen(temp), &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...] |
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); 428 UCollationResult result = ucol_strcoll(col,p,u_strlen(p),q,u_strlen(q)); 468 source[u_strlen(p)] = 0x62; 469 source[u_strlen(p)+1] = 0; 473 target[u_strlen(q)] = 0x61 [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...] |
cbiapts.c | 157 word = ubrk_open(UBRK_WORD, "en_US", text, u_strlen(text), &status); 168 sentence = ubrk_open(UBRK_SENTENCE, "en_US", text, u_strlen(text), &status); 177 line = ubrk_open(UBRK_LINE, "en_US", text, u_strlen(text), &status); 186 character = ubrk_open(UBRK_CHARACTER, "en_US", text, u_strlen(text), &status); 195 bogus = ubrk_open((UBreakIteratorType)5, "en_US", text, u_strlen(text), &status); 314 b = ubrk_open(UBRK_WORD, "fr_FR", text, u_strlen(text), &status); 377 someIterators[0] = ubrk_open(UBRK_WORD, "en_US", text, u_strlen(text), &status); 383 someIterators[1] = ubrk_open(UBRK_WORD, "th_TH", text, u_strlen(text), &status);
|
cdattst.c | 218 d1=udat_parse(def, temp, u_strlen(temp), &parsepos, &status); 236 d1=udat_parse(def, temp, u_strlen(temp), NULL, &status); 250 fr_pat=udat_open(UDAT_IGNORE, UDAT_IGNORE,"fr_FR",NULL,0,temp, u_strlen(temp), &status); 262 udat_applyPattern(def1, FALSE, temp, u_strlen(temp)); 452 } else if ( u_strstr(strDate, *monthPtnPtr) == NULL || dtpatLen != u_strlen(strDate) ) { 459 } else if ( u_strstr(strTime, minutesPatn) == NULL || dtpatLen != u_strlen(strTime) ) { 466 } else if ( u_strstr(strDateTime, strDate) == NULL || u_strstr(strDateTime, strTime) == NULL || dtpatLen != u_strlen(strDateTime) ) { 469 udat_applyPatternRelative(fmtRelDateTime, strDate, u_strlen(strDate), newTimePatn, u_strlen(newTimePatn), &status); 482 udat_applyPatternRelative(fmtRelDateTime, strDate, u_strlen(strDate), strTime, u_strlen(strTime), &status); /* restore original * [all...] |
/external/icu4c/test/cintltst/ |
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...] |
cdattst.c | 223 d1=udat_parse(def, temp, u_strlen(temp), &parsepos, &status); 241 d1=udat_parse(def, temp, u_strlen(temp), NULL, &status); 255 fr_pat=udat_open(UDAT_PATTERN, UDAT_PATTERN,"fr_FR",NULL,0,temp, u_strlen(temp), &status); 267 udat_applyPattern(def1, FALSE, temp, u_strlen(temp)); 460 } else if ( u_strstr(strDate, *monthPtnPtr) == NULL || dtpatLen != u_strlen(strDate) ) { 467 } else if ( u_strstr(strTime, minutesPatn) == NULL || dtpatLen != u_strlen(strTime) ) { 474 } else if ( u_strstr(strDateTime, strDate) == NULL || u_strstr(strDateTime, strTime) == NULL || dtpatLen != u_strlen(strDateTime) ) { 477 udat_applyPatternRelative(fmtRelDateTime, strDate, u_strlen(strDate), newTimePatn, u_strlen(newTimePatn), &status); 490 udat_applyPatternRelative(fmtRelDateTime, strDate, u_strlen(strDate), strTime, u_strlen(strTime), &status); /* restore original * [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...] |
cnumtst.c | 304 d1=unum_parseDouble(cur_def, result, u_strlen(result), &parsepos, &status); 309 log_err("parse of '%s' failed. Parsepos=%d. The error is : %s\n", aescstrdup(result,u_strlen(result)),parsepos, myErrorName(status)); 356 d1=unum_parseDoubleCurrency(cur_def, result, u_strlen(result), &parsepos, temp2, &status); 358 log_err("parseDoubleCurrency '%s' failed. The error is : %s\n", aescstrdup(result, u_strlen(result)), myErrorName(status)); 380 resultlength=u_strlen(temp1); 406 d1=unum_parseDouble(cur_def, temp1, u_strlen(temp1), &parsepos, &status); 438 l1=unum_parse(per_fr, result, u_strlen(result), &parsepos, &status); 455 pattern=unum_open(UNUM_IGNORE,temp1, u_strlen(temp1), NULL, NULL,&status); 505 cur_frpattern=unum_open(UNUM_IGNORE,result, u_strlen(result), "fr_FR",NULL, &status); 543 unum_applyPattern(cur_frpattern, FALSE, result, u_strlen(result),NULL,NULL) [all...] |
/external/chromium_org/third_party/icu/source/io/ |
sscanf.c | 113 inStr.str.fLimit = buffer + u_strlen(buffer);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
sfwdchit.cpp | 46 fLen = len==-1 ? u_strlen(s) : len;
|
/external/icu4c/io/ |
sscanf.c | 113 inStr.str.fLimit = buffer + u_strlen(buffer);
|
/external/icu4c/samples/cal/ |
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/test/intltest/ |
sfwdchit.cpp | 46 fLen = len==-1 ? u_strlen(s) : len;
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
umsg.h | 58 * cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 63 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, d1, str, 7); 68 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7); 92 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, testArgs[i], str); 97 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, testArgs[i], str); 129 * resultLengthOut=u_formatMessage( "fr", pattern, u_strlen(pattern), NULL, resultlength, &status, str , str1); 135 * u_formatMessage( "fr", pattern, u_strlen(pattern), result, resultlength, &status, str , str1);
|