Lines Matching defs:byte1

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)
39 CAPTURE(byte1)
44 json_string += std::string(1, static_cast<char>(byte1));
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)
132 CAPTURE(byte1)
133 json_string += std::string(1, static_cast<char>(byte1));
195 for (int byte1 = 0x80; byte1 <= 0xC1; ++byte1)
197 check_utf8string(false, byte1);
198 check_utf8dump(false, byte1);
201 for (int byte1 = 0xF5; byte1 <= 0xFF; ++byte1)
203 check_utf8string(false, byte1);
204 check_utf8dump(false, byte1);
212 for (int byte1 = 0x00; byte1 <= 0x7F; ++byte1)
215 if (0x00 <= byte1 && byte1 <= 0x1F)
217 check_utf8string(false, byte1);
222 if (byte1 == 0x22)
224 check_utf8string(false, byte1);
229 if (byte1 == 0x5C)
231 check_utf8string(false, byte1);
236 check_utf8string(true, byte1);
237 check_utf8dump(true, byte1);
246 for (int byte1 = 0xC2; byte1 <= 0xDF; ++byte1)
250 check_utf8string(true, byte1, byte2);
251 check_utf8dump(true, byte1, byte2);
258 for (int byte1 = 0xC2; byte1 <= 0xDF; ++byte1)
260 check_utf8string(false, byte1);
261 check_utf8dump(false, byte1);
267 for (int byte1 = 0xC2; byte1 <= 0xDF; ++byte1)
277 check_utf8string(false, byte1, byte2);
278 check_utf8dump(false, byte1, byte2);
288 for (int byte1 = 0xE0; byte1 <= 0xE0; ++byte1)
294 check_utf8string(true, byte1, byte2, byte3);
295 check_utf8dump(true, byte1, byte2, byte3);
303 for (int byte1 = 0xE0; byte1 <= 0xE0; ++byte1)
305 check_utf8string(false, byte1);
306 check_utf8dump(false, byte1);
312 for (int byte1 = 0xE0; byte1 <= 0xE0; ++byte1)
316 check_utf8string(false, byte1, byte2);
317 check_utf8dump(false, byte1, byte2);
324 for (int byte1 = 0xE0; byte1 <= 0xE0; ++byte1)
336 check_utf8string(false, byte1, byte2, byte3);
337 check_utf8dump(false, byte1, byte2, byte3);
345 for (int byte1 = 0xE0; byte1 <= 0xE0; ++byte1)
357 check_utf8string(false, byte1, byte2, byte3);
358 check_utf8dump(false, byte1, byte2, byte3);
369 for (int byte1 = 0xE1; byte1 <= 0xEC; ++byte1)
375 check_utf8string(true, byte1, byte2, byte3);
376 check_utf8dump(true, byte1, byte2, byte3);
384 for (int byte1 = 0xE1; byte1 <= 0xEC; ++byte1)
386 check_utf8string(false, byte1);
387 check_utf8dump(false, byte1);
393 for (int byte1 = 0xE1; byte1 <= 0xEC; ++byte1)
397 check_utf8string(false, byte1, byte2);
398 check_utf8dump(false, byte1, byte2);
405 for (int byte1 = 0xE1; byte1 <= 0xEC; ++byte1)
417 check_utf8string(false, byte1, byte2, byte3);
418 check_utf8dump(false, byte1, byte2, byte3);
426 for (int byte1 = 0xE1; byte1 <= 0xEC; ++byte1)
438 check_utf8string(false, byte1, byte2, byte3);
439 check_utf8dump(false, byte1, byte2, byte3);
450 for (int byte1 = 0xED; byte1 <= 0xED; ++byte1)
456 check_utf8string(true, byte1, byte2, byte3);
457 check_utf8dump(true, byte1, byte2, byte3);
465 for (int byte1 = 0xED; byte1 <= 0xED; ++byte1)
467 check_utf8string(false, byte1);
468 check_utf8dump(false, byte1);
474 for (int byte1 = 0xED; byte1 <= 0xED; ++byte1)
478 check_utf8string(false, byte1, byte2);
479 check_utf8dump(false, byte1, byte2);
486 for (int byte1 = 0xED; byte1 <= 0xED; ++byte1)
498 check_utf8string(false, byte1, byte2, byte3);
499 check_utf8dump(false, byte1, byte2, byte3);
507 for (int byte1 = 0xED; byte1 <= 0xED; ++byte1)
519 check_utf8string(false, byte1, byte2, byte3);
520 check_utf8dump(false, byte1, byte2, byte3);
531 for (int byte1 = 0xEE; byte1 <= 0xEF; ++byte1)
537 check_utf8string(true, byte1, byte2, byte3);
538 check_utf8dump(true, byte1, byte2, byte3);
546 for (int byte1 = 0xEE; byte1 <= 0xEF; ++byte1)
548 check_utf8string(false, byte1);
549 check_utf8dump(false, byte1);
555 for (int byte1 = 0xEE; byte1 <= 0xEF; ++byte1)
559 check_utf8string(false, byte1, byte2);
560 check_utf8dump(false, byte1, byte2);
567 for (int byte1 = 0xEE; byte1 <= 0xEF; ++byte1)
579 check_utf8string(false, byte1, byte2, byte3);
580 check_utf8dump(false, byte1, byte2, byte3);
588 for (int byte1 = 0xEE; byte1 <= 0xEF; ++byte1)
600 check_utf8string(false, byte1, byte2, byte3);
601 check_utf8dump(false, byte1, byte2, byte3);