Lines Matching refs:strpbrk
652 check(strpbrk("abcd", "z") == NULL, 1); /* Not found. */ in test_strpbrk()
654 check(strpbrk(one, "c") == one+2, 2); /* Basic test. */ in test_strpbrk()
655 check(strpbrk(one, "d") == one+3, 3); /* End of string. */ in test_strpbrk()
656 check(strpbrk(one, "a") == one, 4); /* Beginning. */ in test_strpbrk()
657 check(strpbrk(one, "") == NULL, 5); /* Empty search list. */ in test_strpbrk()
658 check(strpbrk(one, "cb") == one+1, 6); /* Multiple search. */ in test_strpbrk()
660 check(strpbrk(one, "b") == one+1, 7); /* Finding first. */ in test_strpbrk()
661 check(strpbrk(one, "cb") == one+1, 8); /* With multiple search. */ in test_strpbrk()
662 check(strpbrk(one, "db") == one+1, 9); /* Another variant. */ in test_strpbrk()
664 check(strpbrk(one, "bc") == NULL, 10); /* Empty string. */ in test_strpbrk()
666 check(strpbrk(one, "bcd") == NULL, 11); /* Empty string. */ in test_strpbrk()
668 check(strpbrk(one, "bcde") == NULL, 12); /* Empty string. */ in test_strpbrk()
669 check(strpbrk(one, "") == NULL, 13); /* Both strings empty. */ in test_strpbrk()
671 check(strpbrk(one, "befg") == one+1, 14); /* Finding first. */ in test_strpbrk()
672 check(strpbrk(one, "cbr") == one+1, 15); /* With multiple search. */ in test_strpbrk()
673 check(strpbrk(one, "db") == one+1, 16); /* Another variant. */ in test_strpbrk()
674 check(strpbrk(one, "efgh") == one+6, 17); /* And yet another. */ in test_strpbrk()