Lines Matching full:abcd
274 StringPiece abcd(abcdefg_chars, 4);
275 if(abcd.empty() || abcd.data()!=abcdefg_chars || abcd.length()!=4 || abcd.size()!=4) {
287 StringPiece sp(abcd, -1);
289 errln("StringPiece(abcd, -1) failed");
291 sp=StringPiece(abcd, 5);
293 errln("StringPiece(abcd, 5) failed");
295 sp=StringPiece(abcd, 2);
297 errln("StringPiece(abcd, -1) failed");
300 sp=StringPiece(abcd, -1, 8);
302 errln("StringPiece(abcd, -1, 8) failed");
304 sp=StringPiece(abcd, 5, 8);
306 errln("StringPiece(abcd, 5, 8) failed");
308 sp=StringPiece(abcd, 2, 8);
310 errln("StringPiece(abcd, -1) failed");
312 sp=StringPiece(abcd, 2, -1);
314 errln("StringPiece(abcd, 5, -1) failed");
322 sp=abcd.substr(-1);
324 errln("abcd.substr(-1) failed");
326 sp=abcd.substr(5);
328 errln("abcd.substr(5) failed");
330 sp=abcd.substr(2);
332 errln("abcd.substr(-1) failed");
335 sp=abcd.substr(-1, 8);
337 errln("abcd.substr(-1, 8) failed");
339 sp=abcd.substr(5, 8);
341 errln("abcd.substr(5, 8) failed");
343 sp=abcd.substr(2, 8);
345 errln("abcd.substr(-1) failed");
347 sp=abcd.substr(2, -1);
349 errln("abcd.substr(5, -1) failed");
352 sp=abcd;
355 errln("abcd.clear() failed");
358 sp=abcd;
361 errln("abcd.remove_prefix(-1) failed");
363 sp=abcd;
366 errln("abcd.remove_prefix(2) failed");
368 sp=abcd;
371 errln("abcd.remove_prefix(5) failed");
374 sp=abcd;
377 errln("abcd.remove_suffix(-1) failed");
379 sp=abcd;
382 errln("abcd.remove_suffix(2) failed");
384 sp=abcd;
387 errln("abcd.remove_suffix(5) failed");