Lines Matching full:strlen
54 srcString = (UChar *)malloc((strlen(testString)+2)*sizeof(UChar)); \
55 u_uastrncpy(srcString, testString, strlen(testString)+1); \
73 int32_t len = (int32_t)strlen(expected);
261 TEST_ASSERT(len==(int32_t)strlen("abc*"));
640 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
647 TEST_ASSERT(resultSz == (int32_t)strlen(" interior "));
658 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
667 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
671 resultSz = uregex_group(re, 0, buf, (int32_t)strlen("abc interior def"), &status);
674 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
675 TEST_ASSERT(buf[strlen("abc interior def")] == (UChar)0xffff);
832 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
840 TEST_ASSERT(resultSz == (int32_t)strlen("No match here."));
846 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status);
849 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
857 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status);
860 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
867 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
872 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x.")-1, &status);
875 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
903 expectedResultSize = strlen(expectedResult);
904 expectedResultSize2 = strlen(expectedResult2);
940 resultSize = uregex_replaceAll(re, replText, -1, buf, strlen("Replace xaax x1x x...x."), &status);
943 TEST_ASSERT(resultSize == (int32_t)strlen("Replace <aa> <1> <...>."));
950 TEST_ASSERT(resultSize == (int32_t)strlen("Replace <aa> <1> <...>."));
1187 spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */
1206 spaceNeeded = strlen("first . second<tag-b> third."); /* "." at NUL positions */
1225 spaceNeeded = strlen("first .tag-a. second<tag-b> third."); /* "." at NUL positions */
1246 spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */
1252 sz = strlen("first <tag-a> second<tag-b>");
1274 spaceNeeded = strlen("first .tag-a. second.tag-b.."); /* "." at NUL positions */
2159 uregex_setText(re, textToSplit, strlen("first <tag-a> second<tag-b>"), &status);