Lines Matching refs:sv1
28 std::experimental::basic_string_view<CharT> sv1 = sv.substr(pos, n);
30 ((void)sv1);
38 std::experimental::basic_string_view<CharT> sv1 = sv.substr(pos, n);
40 assert ( sv1.size() == rlen );
42 assert ( sv[pos+i] == sv1[i] );
51 string_view_t sv1 ( s );
53 test1(sv1, 0, 0);
54 test1(sv1, 1, 0);
55 test1(sv1, 20, 0);
56 test1(sv1, sv1.size(), 0);
58 test1(sv1, 0, 3);
59 test1(sv1, 2, 3);
60 test1(sv1, 100, 3);
62 test1(sv1, 0, string_view_t::npos);
63 test1(sv1, 2, string_view_t::npos);
64 test1(sv1, sv1.size(), string_view_t::npos);
66 test1(sv1, sv1.size() + 1, 0);
67 test1(sv1, sv1.size() + 1, 1);
68 test1(sv1, sv1.size() + 1, string_view_t::npos);
96 constexpr std::experimental::string_view sv1 { "ABCDE", 5 };
99 constexpr std::experimental::string_view sv2 = sv1.substr ( 0, 3 );
107 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 0 );
112 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 3 );