Lines Matching full:abcd
209 StringPiece abcd(abcdefg_chars, 4);
210 if(abcd.empty() || abcd.data()!=abcdefg_chars || abcd.length()!=4 || abcd.size()!=4) {
220 StringPiece sp(abcd, -1);
222 errln("StringPiece(abcd, -1) failed");
224 sp=StringPiece(abcd, 5);
226 errln("StringPiece(abcd, 5) failed");
228 sp=StringPiece(abcd, 2);
230 errln("StringPiece(abcd, -1) failed");
233 sp=StringPiece(abcd, -1, 8);
235 errln("StringPiece(abcd, -1, 8) failed");
237 sp=StringPiece(abcd, 5, 8);
239 errln("StringPiece(abcd, 5, 8) failed");
241 sp=StringPiece(abcd, 2, 8);
243 errln("StringPiece(abcd, -1) failed");
245 sp=StringPiece(abcd, 2, -1);
247 errln("StringPiece(abcd, 5, -1) failed");
255 sp=abcd.substr(-1);
257 errln("abcd.substr(-1) failed");
259 sp=abcd.substr(5);
261 errln("abcd.substr(5) failed");
263 sp=abcd.substr(2);
265 errln("abcd.substr(-1) failed");
268 sp=abcd.substr(-1, 8);
270 errln("abcd.substr(-1, 8) failed");
272 sp=abcd.substr(5, 8);
274 errln("abcd.substr(5, 8) failed");
276 sp=abcd.substr(2, 8);
278 errln("abcd.substr(-1) failed");
280 sp=abcd.substr(2, -1);
282 errln("abcd.substr(5, -1) failed");
285 sp=abcd;
288 errln("abcd.clear() failed");
291 sp=abcd;
294 errln("abcd.remove_prefix(-1) failed");
296 sp=abcd;
299 errln("abcd.remove_prefix(2) failed");
301 sp=abcd;
304 errln("abcd.remove_prefix(5) failed");
307 sp=abcd;
310 errln("abcd.remove_suffix(-1) failed");
312 sp=abcd;
315 errln("abcd.remove_suffix(2) failed");
317 sp=abcd;
320 errln("abcd.remove_suffix(5) failed");
329 StringPiece abcd("abcdefg", 4);
337 if(abc==abcd) {
338 errln("abc==abcd");
340 abcd.remove_suffix(1);
341 if(abc!=abcd) {
342 errln("abc!=abcd.remove_suffix(1)");