Lines Matching refs:substr
136 REPORTER_ASSERT(r, xyz.substr() == xyz);
137 REPORTER_ASSERT(r, xyz.substr(0, 1) == "x");
138 REPORTER_ASSERT(r, xyz.substr(0, 2) == "xy");
139 REPORTER_ASSERT(r, xyz.substr(0, 3) == "xyz");
140 REPORTER_ASSERT(r, xyz.substr(0, 4) == "xyz");
142 REPORTER_ASSERT(r, xyz.substr(1) == "yz");
143 REPORTER_ASSERT(r, xyz.substr(1, 1) == "y");
144 REPORTER_ASSERT(r, xyz.substr(1, 2) == "yz");
145 REPORTER_ASSERT(r, xyz.substr(1, 3) == "yz");
147 REPORTER_ASSERT(r, xyz.substr(2) == "z");
148 REPORTER_ASSERT(r, xyz.substr(2, 1) == "z");
149 REPORTER_ASSERT(r, xyz.substr(2, 2) == "z");
151 REPORTER_ASSERT(r, xyz.substr(0, 0).empty());
152 REPORTER_ASSERT(r, xyz.substr(1, 0).empty());
153 REPORTER_ASSERT(r, xyz.substr(2, 0).empty());
154 REPORTER_ASSERT(r, xyz.substr(3, 0).empty());
156 REPORTER_ASSERT(r, xyz.substr(3).empty());
157 REPORTER_ASSERT(r, xyz.substr(4).empty());