Lines Matching refs:text1

396         UChar  text1[50];  in TestRegexCAPI()  local
400 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
413 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
425 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
431 uregex_setText(re, text1, 5, &status); in TestRegexCAPI()
437 uregex_setText(re, text1, 6, &status); in TestRegexCAPI()
450 UChar text1[50]; in TestRegexCAPI() local
455 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
461 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
463 TEST_ASSERT(result == text1); in TestRegexCAPI()
487 UChar text1[50]; in TestRegexCAPI() local
492 u_uastrncpy(text1, "abcccde", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
497 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
503 uregex_setText(re, text1, 6, &status); in TestRegexCAPI()
509 uregex_setText(re, text1, 6, &status); in TestRegexCAPI()
517 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
518 len = u_strlen(text1); in TestRegexCAPI()
542 UChar text1[50]; in TestRegexCAPI() local
544 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
548 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
623 UChar text1[80]; in TestRegexCAPI() local
627 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
634 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
817 UChar text1[80]; in TestRegexCAPI() local
822 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
831 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
847 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
889 UChar text1[80]; /* "Replace xaax x1x x...x." */ in TestRegexCAPI() local
902 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestRegexCAPI()
914 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
930 uregex_setText(re, text1, -1, &status); in TestRegexCAPI()
1548 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI() local
1555 utext_openUTF8(&text1, str_abcccd, -1, &status); in TestUTextAPI()
1568 uregex_setUText(re, &text1, &status); in TestUTextAPI()
1580 uregex_setUText(re, &text1, &status); in TestUTextAPI()
1586 utext_close(&text1); in TestUTextAPI()
1595 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI() local
1607 utext_openUTF8(&text1, str_abcccd, -1, &status); in TestUTextAPI()
1615 uregex_setUText(re, &text1, &status); in TestUTextAPI()
1618 TEST_ASSERT(resultText != &text1); in TestUTextAPI()
1620 utext_setNativeIndex(&text1, 0); in TestUTextAPI()
1621 TEST_ASSERT(testUTextEqual(resultText, &text1)); in TestUTextAPI()
1629 TEST_ASSERT(resultText != &text1); in TestUTextAPI()
1631 utext_setNativeIndex(&text1, 0); in TestUTextAPI()
1632 TEST_ASSERT(testUTextEqual(resultText, &text1)); in TestUTextAPI()
1647 utext_close(&text1); in TestUTextAPI()
1655 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI() local
1662 utext_openUTF8(&text1, str_abcccde, -1, &status); in TestUTextAPI()
1666 uregex_setUText(re, &text1, &status); in TestUTextAPI()
1674 uregex_setUText(re, &text1, &status); in TestUTextAPI()
1688 utext_close(&text1); in TestUTextAPI()
1702 UChar text1[50]; in TestUTextAPI() local
1704 u_uastrncpy(text1, "012rx5rx890rxrx...", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1708 uregex_setText(re, text1, -1, &status); in TestUTextAPI()
1760 UChar text1[80]; in TestUTextAPI() local
1766 … u_uastrncpy(text1, "noise abc interior def, and this is off the end", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1772 uregex_setText(re, text1, -1, &status); in TestUTextAPI()
1814 UChar text1[80]; in TestUTextAPI() local
1825 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1833 uregex_setText(re, text1, -1, &status); in TestUTextAPI()
1847 uregex_setText(re, text1, -1, &status); in TestUTextAPI()
1863 UChar text1[80]; in TestUTextAPI() local
1871 u_uastrncpy(text1, "Replace xaax x1x x...x.", UPRV_LENGTHOF(text1)); in TestUTextAPI()
1879 uregex_setText(re, text1, -1, &status); in TestUTextAPI()