Lines Matching refs:UPRV_LENGTHOF

210     u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat));  in TestRegexCAPI()
262 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
302 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
303 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
334 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
400 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
401 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
403 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
455 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
456 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
458 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
492 u_uastrncpy(text1, "abcccde", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
494 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
544 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
627 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
640 resultSz = uregex_group(re, 0, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
647 resultSz = uregex_group(re, 1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
654 uregex_group(re, 2, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
698 TEST_ASSERT(uregex_group(re, 0, resultString, UPRV_LENGTHOF(resultString), &status) == 3) in TestRegexCAPI()
822 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
823 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
824 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
832 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
840 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
902 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
903 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
904 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
905 u_uastrncpy(replText2, "<<$1>>", UPRV_LENGTHOF(replText2)); in TestRegexCAPI()
915 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
923 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
1007 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestRegexCAPI()
1008 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1015 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1024 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1025 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1060 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1061 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
1076 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1108 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1166 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1178 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1199 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1217 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 3, &status); in TestRegexCAPI()
1236 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 5, &status); in TestRegexCAPI()
1263 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 9, &status); in TestRegexCAPI()
1470 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1471 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1505 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); /* for comparison */ in TestUTextAPI()
1608 u_uastrncpy(text2Chars, str_abcccxd, UPRV_LENGTHOF(text2Chars)); in TestUTextAPI()
1704 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1766 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1825 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1826 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1871 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1872 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1911 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestUTextAPI()
1912 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1919 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1928 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1929 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1952 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
1953 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
2028 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
2273 u_uastrncpy(text, "Hello, World.", UPRV_LENGTHOF(text)); in TestBug10815()
2293 …xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", UPRV_LENGTHOF(text)); in TestBug10815()