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);
231 TEST_ASSERT(len==(int32_t)strlen("abc*"));
610 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
617 TEST_ASSERT(resultSz == (int32_t)strlen(" interior "));
628 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
637 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
641 resultSz = uregex_group(re, 0, buf, (int32_t)strlen("abc interior def"), &status);
644 TEST_ASSERT(resultSz == (int32_t)strlen("abc interior def"));
645 TEST_ASSERT(buf[strlen("abc interior def")] == (UChar)0xffff);
802 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
810 TEST_ASSERT(resultSz == (int32_t)strlen("No match here."));
816 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status);
819 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
827 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status);
830 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
837 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
842 resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x.")-1, &status);
845 TEST_ASSERT(resultSz == (int32_t)strlen("Replace xaax x1x x...x."));
873 expectedResultSize = strlen(expectedResult);
874 expectedResultSize2 = strlen(expectedResult2);
910 resultSize = uregex_replaceAll(re, replText, -1, buf, strlen("Replace xaax x1x x...x."), &status);
913 strlen("Replace <aa> <1> <...>."));
920 TEST_ASSERT(resultSize == (int32_t)strlen("Replace <aa> <1> <...>."));
1157 spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */
1176 spaceNeeded = strlen("first . second<tag-b> third."); /* "." at NUL positions */
1195 spaceNeeded = strlen("first .tag-a. second<tag-b> third."); /* "." at NUL positions */
1216 spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */
1222 sz = strlen("first <tag-a> second<tag-b>");
1243 spaceNeeded = strlen("first .tag-a. second.tag-b."); /* "." at NUL positions */
2128 uregex_setText(re, textToSplit, strlen("first <tag-a> second<tag-b>"), &status);