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));
199 for (int byte2 = 0x90; byte2 <= 0xBF; ++byte2)
205 check_utf8string(true, byte1, byte2, byte3, byte4);
206 check_utf8dump(true, byte1, byte2, byte3, byte4);
226 for (int byte2 = 0x90; byte2 <= 0xBF; ++byte2)
228 check_utf8string(false, byte1, byte2);
229 check_utf8dump(false, byte1, byte2);
238 for (int byte2 = 0x90; byte2 <= 0xBF; ++byte2)
242 check_utf8string(false, byte1, byte2, byte3);
243 check_utf8dump(false, byte1, byte2, byte3);
253 for (int byte2 = 0x00; byte2 <= 0xFF; ++byte2)
256 if (0x90 <= byte2 && byte2 <= 0xBF)
265 check_utf8string(false, byte1, byte2, byte3, byte4);
266 check_utf8dump(false, byte1, byte2, byte3, byte4);
277 for (int byte2 = 0x90; byte2 <= 0xBF; ++byte2)
289 check_utf8string(false, byte1, byte2, byte3, byte4);
290 check_utf8dump(false, byte1, byte2, byte3, byte4);
301 for (int byte2 = 0x90; byte2 <= 0xBF; ++byte2)
313 check_utf8string(false, byte1, byte2, byte3, byte4);
314 check_utf8dump(false, byte1, byte2, byte3, byte4);