• Home
  • Raw
  • Download

Lines Matching refs:UPRV_LENGTHOF

212     u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat));  in TestRegexCAPI()
264 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
304 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
305 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
336 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
402 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
403 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
405 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
457 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
458 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
460 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
494 u_uastrncpy(text1, "abcccde", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
496 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI()
546 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
629 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
642 resultSz = uregex_group(re, 0, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
649 resultSz = uregex_group(re, 1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
656 uregex_group(re, 2, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
700 TEST_ASSERT(uregex_group(re, 0, resultString, UPRV_LENGTHOF(resultString), &status) == 3) in TestRegexCAPI()
824 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
825 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
826 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
834 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
842 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
904 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
905 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
906 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
907 u_uastrncpy(replText2, "<<$1>>", UPRV_LENGTHOF(replText2)); in TestRegexCAPI()
917 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
925 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
1009 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestRegexCAPI()
1010 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1017 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1026 bufCap = UPRV_LENGTHOF(buf); in TestRegexCAPI()
1027 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestRegexCAPI()
1062 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1063 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestRegexCAPI()
1078 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1110 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1168 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestRegexCAPI()
1180 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1201 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1219 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 3, &status); in TestRegexCAPI()
1238 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 5, &status); in TestRegexCAPI()
1265 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 9, &status); in TestRegexCAPI()
1472 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1473 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestUTextAPI()
1507 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); /* for comparison */ in TestUTextAPI()
1610 u_uastrncpy(text2Chars, str_abcccxd, UPRV_LENGTHOF(text2Chars)); in TestUTextAPI()
1706 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1768 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1827 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1828 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1873 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1874 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
1913 u_uastrncpy(text, "whatever", UPRV_LENGTHOF(text)); in TestUTextAPI()
1914 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1921 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1930 bufCap = UPRV_LENGTHOF(buf); in TestUTextAPI()
1931 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl)); in TestUTextAPI()
1954 u_uastrncpy(textToSplit, "first : second: third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
1955 u_uastrncpy(text2, "No match here.", UPRV_LENGTHOF(text2)); in TestUTextAPI()
2030 u_uastrncpy(textToSplit, "first <tag-a> second<tag-b> third", UPRV_LENGTHOF(textToSplit)); in TestUTextAPI()
2275 u_uastrncpy(text, "Hello, World.", UPRV_LENGTHOF(text)); in TestBug10815()
2295 …xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", UPRV_LENGTHOF(text)); in TestBug10815()