Lines Matching refs:byte2

32 void check_utf8dump(bool success_expected, int byte1, int byte2, int byte3, int byte4);
34 void check_utf8dump(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1)
40 CAPTURE(byte2)
46 if (byte2 != -1)
48 json_string += std::string(1, static_cast<char>(byte2));
119 void check_utf8string(bool success_expected, int byte1, int byte2, int byte3, int byte4);
122 void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1)
135 if (byte2 != -1)
137 CAPTURE(byte2)
138 json_string += std::string(1, static_cast<char>(byte2));
248 for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2)
250 check_utf8string(true, byte1, byte2);
251 check_utf8dump(true, byte1, byte2);
269 for (int byte2 = 0x00; byte2 <= 0xFF; ++byte2)
272 if (0x80 <= byte2 && byte2 <= 0xBF)
277 check_utf8string(false, byte1, byte2);
278 check_utf8dump(false, byte1, byte2);
290 for (int byte2 = 0xA0; byte2 <= 0xBF; ++byte2)
294 check_utf8string(true, byte1, byte2, byte3);
295 check_utf8dump(true, byte1, byte2, byte3);
314 for (int byte2 = 0xA0; byte2 <= 0xBF; ++byte2)
316 check_utf8string(false, byte1, byte2);
317 check_utf8dump(false, byte1, byte2);
326 for (int byte2 = 0x00; byte2 <= 0xFF; ++byte2)
329 if (0xA0 <= byte2 && byte2 <= 0xBF)
336 check_utf8string(false, byte1, byte2, byte3);
337 check_utf8dump(false, byte1, byte2, byte3);
347 for (int byte2 = 0xA0; byte2 <= 0xBF; ++byte2)
357 check_utf8string(false, byte1, byte2, byte3);
358 check_utf8dump(false, byte1, byte2, byte3);
371 for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2)
375 check_utf8string(true, byte1, byte2, byte3);
376 check_utf8dump(true, byte1, byte2, byte3);
395 for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2)
397 check_utf8string(false, byte1, byte2);
398 check_utf8dump(false, byte1, byte2);
407 for (int byte2 = 0x00; byte2 <= 0xFF; ++byte2)
410 if (0x80 <= byte2 && byte2 <= 0xBF)
417 check_utf8string(false, byte1, byte2, byte3);
418 check_utf8dump(false, byte1, byte2, byte3);
428 for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2)
438 check_utf8string(false, byte1, byte2, byte3);
439 check_utf8dump(false, byte1, byte2, byte3);
452 for (int byte2 = 0x80; byte2 <= 0x9F; ++byte2)
456 check_utf8string(true, byte1, byte2, byte3);
457 check_utf8dump(true, byte1, byte2, byte3);
476 for (int byte2 = 0x80; byte2 <= 0x9F; ++byte2)
478 check_utf8string(false, byte1, byte2);
479 check_utf8dump(false, byte1, byte2);
488 for (int byte2 = 0x00; byte2 <= 0xFF; ++byte2)
491 if (0x80 <= byte2 && byte2 <= 0x9F)
498 check_utf8string(false, byte1, byte2, byte3);
499 check_utf8dump(false, byte1, byte2, byte3);
509 for (int byte2 = 0x80; byte2 <= 0x9F; ++byte2)
519 check_utf8string(false, byte1, byte2, byte3);
520 check_utf8dump(false, byte1, byte2, byte3);
533 for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2)
537 check_utf8string(true, byte1, byte2, byte3);
538 check_utf8dump(true, byte1, byte2, byte3);
557 for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2)
559 check_utf8string(false, byte1, byte2);
560 check_utf8dump(false, byte1, byte2);
569 for (int byte2 = 0x00; byte2 <= 0xFF; ++byte2)
572 if (0x80 <= byte2 && byte2 <= 0xBF)
579 check_utf8string(false, byte1, byte2, byte3);
580 check_utf8dump(false, byte1, byte2, byte3);
590 for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2)
600 check_utf8string(false, byte1, byte2, byte3);
601 check_utf8dump(false, byte1, byte2, byte3);