Lines Matching refs:test_npos
61 test_npos(S s, typename S::size_type pos1, typename S::size_type n1,
5848 test_npos(S("abcdefghij"), 9, 1, S("12345678901234567890"), 10, S("abcdefghi1234567890"));
5849 test_npos(S("abcdefghij"), 9, 1, S("12345678901234567890"), 19, S("abcdefghi0"));
5850 test_npos(S("abcdefghij"), 9, 1, S("12345678901234567890"), 20, S("abcdefghi"));
5851 test_npos(S("abcdefghij"), 9, 1, S("12345678901234567890"), 20, S("abcdefghi"));
5852 test_npos(S("abcdefghij"), 9, 1, S("12345678901234567890"), 21, S("can't happen"));
5853 test_npos(S("abcdefghij"), 9, 2, S(""), 0, S("abcdefghi"));
5854 test_npos(S("abcdefghij"), 9, 2, S(""), 1, S("can't happen"));
5855 test_npos(S("abcdefghij"), 9, 2, S("12345"), 0, S("abcdefghi12345"));
5856 test_npos(S("abcdefghij"), 9, 2, S("12345"), 1, S("abcdefghi2345"));
5857 test_npos(S("abcdefghij"), 9, 2, S("12345"), 2, S("abcdefghi345"));
5858 test_npos(S("abcdefghij"), 9, 2, S("12345"), 4, S("abcdefghi5"));
5859 test_npos(S("abcdefghij"), 9, 2, S("12345"), 5, S("abcdefghi"));
5860 test_npos(S("abcdefghij"), 9, 2, S("12345"), 6, S("can't happen"));