Lines Matching refs:sv1
26 std::experimental::basic_string_view<CharT> sv1 = sv.substr(pos, n);
28 assert ( sv1.size() == rlen );
30 assert ( sv[pos+i] == sv1[i] );
40 string_view_t sv1 ( s );
42 test1(sv1, 0, 0);
43 test1(sv1, 1, 0);
44 test1(sv1, 20, 0);
45 test1(sv1, sv1.size(), 0);
47 test1(sv1, 0, 3);
48 test1(sv1, 2, 3);
49 test1(sv1, 100, 3);
51 test1(sv1, 0, string_view_t::npos);
52 test1(sv1, 2, string_view_t::npos);
53 test1(sv1, sv1.size(), string_view_t::npos);
55 test1(sv1, sv1.size() + 1, 0);
56 test1(sv1, sv1.size() + 1, 1);
57 test1(sv1, sv1.size() + 1, string_view_t::npos);
85 constexpr std::experimental::string_view sv1 { "ABCDE", 5 };
88 constexpr std::experimental::string_view sv2 = sv1.substr ( 0, 3 );
96 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 0 );
101 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 3 );