27 typedef gdb::string_view::size_type csize_type;
28 csize_type npos = gdb::string_view::npos;
31 const gdb::string_view str01(
"Bob Rock, per me");
32 const char str_lit01[] =
"Bob Rock";
33 gdb::string_view str02(
"ovvero Trivi");
34 gdb::string_view str03(str_lit01);
35 gdb::string_view str04;
38 csz01 = str01.find_first_not_of(str01);
40 csz01 = str01.find_first_not_of(str02, 0);
42 csz01 = str01.find_first_not_of(str02, 10);
44 csz01 = str01.find_first_not_of(str02, 12);
46 csz01 = str01.find_first_not_of(str03, 0);
48 csz01 = str01.find_first_not_of(str03, 15);
50 csz01 = str01.find_first_not_of(str03, 16);
52 csz01 = str01.find_first_not_of(str04, 0);
54 csz01 = str01.find_first_not_of(str04, 12);
56 csz01 = str03.find_first_not_of(str01, 0);
58 csz01 = str04.find_first_not_of(str02, 0);
62 csz01 = str01.find_first_not_of(str_lit01, 0, 0);
64 csz01 = str01.find_first_not_of(str_lit01, 0, 8);
66 csz01 = str01.find_first_not_of(str_lit01, 10, 0);
70 csz01 = str01.find_first_not_of(str_lit01);
72 csz01 = str02.find_first_not_of(str_lit01, 2);
76 csz01 = str01.find_first_not_of(
'B');
78 csz01 = str01.find_first_not_of(
'o', 1);
80 csz01 = str02.find_first_not_of(
'z');
82 csz01 = str04.find_first_not_of(
'S');
90 typedef std::string_view::size_type csize_type;
91 csize_type npos = std::string_view::npos;
94 const std::string_view str01(
"Bob Rock, per me");
95 const char str_lit01[] =
"Bob Rock";
96 std::string_view str02(
"ovvero Trivi");
97 std::string_view str03(str_lit01);
98 std::string_view str04;
101#define VERIFY(x) if(!(x)) return false
104 csz01 = str01.find_first_not_of(str01);
106 csz01 = str01.find_first_not_of(str02, 0);
108 csz01 = str01.find_first_not_of(str02, 10);
110 csz01 = str01.find_first_not_of(str02, 12);
112 csz01 = str01.find_first_not_of(str03, 0);
114 csz01 = str01.find_first_not_of(str03, 15);
116 csz01 = str01.find_first_not_of(str03, 16);
118 csz01 = str01.find_first_not_of(str04, 0);
120 csz01 = str01.find_first_not_of(str04, 12);
122 csz01 = str03.find_first_not_of(str01, 0);
124 csz01 = str04.find_first_not_of(str02, 0);
128 csz01 = str01.find_first_not_of(str_lit01, 0, 0);
130 csz01 = str01.find_first_not_of(str_lit01, 0, 8);
132 csz01 = str01.find_first_not_of(str_lit01, 10, 0);
136 csz01 = str01.find_first_not_of(str_lit01);
138 csz01 = str02.find_first_not_of(str_lit01, 2);
142 csz01 = str01.find_first_not_of(
'B');
144 csz01 = str01.find_first_not_of(
'o', 1);
146 csz01 = str02.find_first_not_of(
'z');
148 csz01 = str04.find_first_not_of(
'S');