Lines Matching refs:UPRV_LENGTHOF
213 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
265 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
305 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
306 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
337 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
403 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
404 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
406 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
458 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
459 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
461 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
495 u_uastrncpy(text1, "abcccde", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
497 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
547 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
630 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
643 resultSz = uregex_group(re, 0, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
650 resultSz = uregex_group(re, 1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
657 uregex_group(re, 2, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
701 TEST_ASSERT(uregex_group(re, 0, resultString, UPRV_LENGTHOF(resultString), &status) == 3) in TestRegexCAPI()
825 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
826 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
827 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
835 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
843 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
905 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
906 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
907 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
908 u_uastrncpy(replText2, "<<$1>>", UPRV_LENGTHOF(replText2)); in TestRegexCAPI()
918 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
926 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
1010 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestRegexCAPI()
1011 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1018 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1027 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1028 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1063 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1064 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
1079 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1111 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1169 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1181 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1202 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1220 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 3, &status); in TestRegexCAPI()
1239 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 5, &status); in TestRegexCAPI()
1266 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 9, &status); in TestRegexCAPI()
1473 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1474 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1508 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); /* for comparison */ in TestUTextAPI()
1611 u_uastrncpy(text2Chars, str_abcccxd, UPRV_LENGTHOF(text2Chars)); in TestUTextAPI()
1707 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1769 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1828 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1829 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1874 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1875 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1914 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestUTextAPI()
1915 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1922 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1931 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1932 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1955 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
1956 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
2031 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
2276 u_uastrncpy(text, "Hello, World.", UPRV_LENGTHOF(text)); in TestBug10815()
2296 …xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", UPRV_LENGTHOF(text)); in TestBug10815()