Home | History | Annotate | Download | only in cintltst

Lines Matching full:strlen

55     srcString = (UChar *)malloc((strlen(testString)+2)*sizeof(UChar)); \
56 u_uastrncpy(srcString, testString, strlen(testString)+1); \
74 int32_t len = (int32_t)strlen(expected);
264 TEST_ASSERT(len==(int32_t)strlen("abc*"));
643 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
650 TEST_ASSERT(resultSz == (int32_t)strlen(" interior "));
661 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
670 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
674 resultSz = uregex_group(re, 0, buf, (int32_t)strlen("abc interior def"), &status);
677 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
678 TEST_ASSERT(buf[strlen("abc interior def")] == (UChar)0xffff);
835 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
843 TEST_ASSERT(resultSz == (int32_t)strlen("No match here."));
849 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status);
852 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
860 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status);
863 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
870 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
875 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x.")-1, &status);
878 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
906 expectedResultSize = strlen(expectedResult);
907 expectedResultSize2 = strlen(expectedResult2);
943 resultSize = uregex_replaceAll(re, replText, -1, buf, strlen("Replace xaax x1x x...x."), &status);
946 TEST_ASSERT(resultSize == (int32_t)strlen("Replace <aa> <1> <...>."));
953 TEST_ASSERT(resultSize == (int32_t)strlen("Replace <aa> <1> <...>."));
1190 spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */
1209 spaceNeeded = strlen("first . second<tag-b> third."); /* "." at NUL positions */
1228 spaceNeeded = strlen("first .tag-a. second<tag-b> third."); /* "." at NUL positions */
1249 spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */
1255 sz = strlen("first <tag-a> second<tag-b>");
1277 spaceNeeded = strlen("first .tag-a. second.tag-b.."); /* "." at NUL positions */
2142 uregex_setText(re, textToSplit, strlen("first <tag-a> second<tag-b>"), &status);