Lines Matching refs:UPRV_LENGTHOF

221     u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat));  in TestRegexCAPI()
273 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
313 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
314 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
345 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
411 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
412 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
414 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
466 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
467 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
469 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
503 u_uastrncpy(text1, "abcccde", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
505 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
555 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
638 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
651 resultSz = uregex_group(re, 0, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
658 resultSz = uregex_group(re, 1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
665 uregex_group(re, 2, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
709 TEST_ASSERT(uregex_group(re, 0, resultString, UPRV_LENGTHOF(resultString), &status) == 3); in TestRegexCAPI()
833 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
834 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
835 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
843 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
851 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
913 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
914 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
915 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
916 u_uastrncpy(replText2, "<<$1>>", UPRV_LENGTHOF(replText2)); in TestRegexCAPI()
926 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
934 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
1018 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestRegexCAPI()
1019 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1026 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1035 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1036 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1071 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1072 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
1087 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1119 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1177 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1189 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1210 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1228 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 3, &status); in TestRegexCAPI()
1247 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 5, &status); in TestRegexCAPI()
1274 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 9, &status); in TestRegexCAPI()
1481 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1482 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1516 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); /* for comparison */ in TestUTextAPI()
1619 u_uastrncpy(text2Chars, str_abcccxd, UPRV_LENGTHOF(text2Chars)); in TestUTextAPI()
1715 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1777 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1836 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1837 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1882 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1883 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1922 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestUTextAPI()
1923 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1930 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1939 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1940 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1963 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
1964 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
2039 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
2290 u_uastrncpy(text, "Hello, World.", UPRV_LENGTHOF(text)); in TestBug10815()
2310 …xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", UPRV_LENGTHOF(text)); in TestBug10815()