/third_party/json/tests/src/ |
D | unit-class_parser.cpp | 120 …bool parse_error(std::size_t position, const std::string& /*unused*/, const json::exception& /*unu… in parse_error() function in __anonc8675dd10111::SaxEventLogger 197 …bool parse_error(std::size_t /*position*/, const std::string& /*last_token*/, const json::exceptio… in parse_error() function in __anonc8675dd10111::SaxCountdown 297 CHECK_THROWS_AS(_ = json::parse(json_with_comment), json::parse_error); in comments_helper() 362 …acter U+0009 (HT) must be escaped to \\u0009 or \\t; last read: '\"<U+0009>'", json::parse_error&); 364 …acter U+000A (LF) must be escaped to \\u000A or \\n; last read: '\"<U+000A>'", json::parse_error&); 365 …acter U+000D (CR) must be escaped to \\u000D or \\r; last read: '\"<U+000D>'", json::parse_error&); 367 …acter U+0008 (BS) must be escaped to \\u0008 or \\b; last read: '\"<U+0008>'", json::parse_error&); 369 CHECK_THROWS_AS(parser_helper("\uFF01"), json::parse_error&); 370 CHECK_THROWS_AS(parser_helper("[-4:1,]"), json::parse_error&); 372 …value - invalid string: missing closing quote; last read: '\"'", json::parse_error&); // NOLINT(bu… [all …]
|
D | unit-json_patch.cpp | 670 …ception.parse_error.104] parse error: JSON patch must be an array of objects", json::parse_error&); 678 …on.parse_error.104] parse error: (/0) JSON patch must be an array of objects", json::parse_error&); 680 …ception.parse_error.104] parse error: JSON patch must be an array of objects", json::parse_error&); 689 …exception.parse_error.105] parse error: (/0) operation must have member 'op'", json::parse_error&); 691 …json.exception.parse_error.105] parse error: operation must have member 'op'", json::parse_error&); 700 …on.parse_error.105] parse error: (/0) operation must have string member 'op'", json::parse_error&); 702 …ception.parse_error.105] parse error: operation must have string member 'op'", json::parse_error&); 711 …xception.parse_error.105] parse error: (/0) operation value 'foo' is invalid", json::parse_error&); 713 …son.exception.parse_error.105] parse error: operation value 'foo' is invalid", json::parse_error&); 725 …n.parse_error.105] parse error: (/0) operation 'add' must have member 'path'", json::parse_error&); [all …]
|
D | unit-class_lexer.cpp | 104 …CHECK((std::string(json::lexer::token_type_name(json::lexer::token_type::parse_error)) == "<parse … 139 CHECK((res != json::lexer::token_type::parse_error)); 156 CHECK((res == json::lexer::token_type::parse_error)); 174 CHECK((scan_string("/", false) == json::lexer::token_type::parse_error)); 177 CHECK((scan_string("/!", false) == json::lexer::token_type::parse_error)); 179 CHECK((scan_string("/*", false) == json::lexer::token_type::parse_error)); 181 CHECK((scan_string("/**", false) == json::lexer::token_type::parse_error)); 184 CHECK((scan_string("//", false) == json::lexer::token_type::parse_error)); 186 CHECK((scan_string("/**/", false) == json::lexer::token_type::parse_error)); 188 CHECK((scan_string("/** /", false) == json::lexer::token_type::parse_error)); [all …]
|
D | unit-unicode1.cpp | 89 … surrogate U+DC00..U+DFFF must follow U+D800..U+DBFF; last read: '\"\\uDC00'", json::parse_error&); in skip() 91 …ate U+DC00..U+DFFF must follow U+D800..U+DBFF; last read: '\"\\uD7FF\\uDC00'", json::parse_error&); in skip() 93 …e U+D800..U+DBFF must be followed by U+DC00..U+DFFF; last read: '\"\\uD800]'", json::parse_error&); in skip() 95 …U+D800..U+DBFF must be followed by U+DC00..U+DFFF; last read: '\"\\uD800\\v'", json::parse_error&); in skip() 97 …ring: '\\u' must be followed by 4 hex digits; last read: '\"\\uD800\\u123\"'", json::parse_error&); in skip() 99 …00..U+DBFF must be followed by U+DC00..U+DFFF; last read: '\"\\uD800\\uDBFF'", json::parse_error&); in skip() 101 …00..U+DBFF must be followed by U+DC00..U+DFFF; last read: '\"\\uD800\\uE000'", json::parse_error&); in skip() 116 CHECK_THROWS_AS(json::parse(json_text), json::parse_error&); in skip() 135 CHECK_THROWS_AS(json::parse(json_text), json::parse_error&); in skip() 148 CHECK_THROWS_AS(json::parse(json_text), json::parse_error&); in skip() [all …]
|
D | unit-regression1.cpp | 724 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 738 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 747 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 756 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 767 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 779 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 790 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 805 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 822 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); 835 …ile parsing value - unexpected end of input; expected '[', '{', or a literal", json::parse_error&); [all …]
|
D | unit-json_pointer.cpp | 26 …e error at byte 1: JSON pointer must be empty or begin with '/' - was: 'foo'", json::parse_error&); 29 …rror.108] parse error: escape character '~' must be followed with '0' or '1'", json::parse_error&); 32 …rror.108] parse error: escape character '~' must be followed with '0' or '1'", json::parse_error&); 278 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa… 280 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa… 282 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa… 284 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa… 293 …"[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_err… 295 …"[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_err… 298 …"[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_err… [all …]
|
D | unit-cbor.cpp | 90 …bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*u… in parse_error() function in __anon7d8620350111::SaxCountdown 973 …r at byte 2: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); 979 …r at byte 3: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); 1649 …or at byte 1: syntax error while parsing CBOR value: unexpected end of input", json::parse_error&); 1656 …r at byte 2: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); 1657 …r at byte 2: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); 1658 …r at byte 3: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); 1659 …r at byte 2: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); 1660 …r at byte 3: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); 1661 …r at byte 4: syntax error while parsing CBOR number: unexpected end of input", json::parse_error&); [all …]
|
D | unit-bjdata.cpp | 92 …bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*u… in parse_error() function in __anonf6f65b750111::SaxCountdown 1144 …at byte 2: syntax error while parsing BJData number: unexpected end of input", json::parse_error&); 1152 …at byte 3: syntax error while parsing BJData number: unexpected end of input", json::parse_error&); 1281 …tax error while parsing BJData high-precision number: invalid number text: 1A", json::parse_error); 1283 …tax error while parsing BJData high-precision number: invalid number text: 1.", json::parse_error); 1285 …length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x02", json::parse_error); 2124 …tax error while parsing BJData value: expected end of input; last byte: 0x5A", json::parse_error&); 2542 … at byte 1: syntax error while parsing BJData value: unexpected end of input", json::parse_error&); 2551 …r at byte 2: syntax error while parsing BJData char: unexpected end of input", json::parse_error&); 2568 … at byte 2: syntax error while parsing BJData value: unexpected end of input", json::parse_error&); [all …]
|
D | unit-deserialization.cpp | 122 …bool parse_error(std::size_t position, const std::string& /*last_token*/, const json::exception& /… in parse_error() function 323 …29: syntax error while parsing array - unexpected end of input; expected ']'", json::parse_error&); 346 …29: syntax error while parsing array - unexpected end of input; expected ']'", json::parse_error&); 370 …29: syntax error while parsing array - unexpected end of input; expected ']'", json::parse_error&); 378 …29: syntax error while parsing array - unexpected end of input; expected ']'", json::parse_error&); 383 …29: syntax error while parsing array - unexpected end of input; expected ']'", json::parse_error&); 474 CHECK_THROWS_AS(_ = json::parse(v), json::parse_error&); 563 CHECK_THROWS_AS(_ = json::parse(std::begin(v), std::end(v)), json::parse_error&); 602 CHECK_THROWS_AS(_ = json::parse(std::begin(v), std::end(v)), json::parse_error&); 619 CHECK_THROWS_AS(_ = json::parse(std::begin(v), std::end(v)), json::parse_error&); [all …]
|
/third_party/json/include/nlohmann/detail/input/ |
D | lexer.hpp | 54 parse_error, ///< indicating a parse error enumerator 92 case token_type::parse_error: in token_type_name() 271 return token_type::parse_error; in scan_string() 327 return token_type::parse_error; in scan_string() 341 return token_type::parse_error; in scan_string() 361 return token_type::parse_error; in scan_string() 367 return token_type::parse_error; in scan_string() 375 return token_type::parse_error; in scan_string() 416 return token_type::parse_error; in scan_string() 426 return token_type::parse_error; in scan_string() [all …]
|
D | parser.hpp | 103 sdp.parse_error(m_lexer.get_position(), in parse() 105 parse_error::create(101, m_lexer.get_position(), in parse() 131 sdp.parse_error(m_lexer.get_position(), in parse() 133 …parse_error::create(101, m_lexer.get_position(), exception_message(token_type::end_of_input, "valu… in parse() 169 return sax->parse_error(m_lexer.get_position(), in sax_parse() 171 …parse_error::create(101, m_lexer.get_position(), exception_message(token_type::end_of_input, "valu… in sax_parse() 215 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 217 …parse_error::create(101, m_lexer.get_position(), exception_message(token_type::value_string, "obje… in sax_parse_internal() 227 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 229 …parse_error::create(101, m_lexer.get_position(), exception_message(token_type::name_separator, "ob… in sax_parse_internal() [all …]
|
D | binary_reader.hpp | 151 … return sax->parse_error(chars_read, get_token_string(), parse_error::create(110, chars_read, in sax_parse() 228 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_string() 250 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_binary() 334 return sax->parse_error(element_type_parse_position, cr_str, in parse_bson_element_internal() 335 …parse_error::create(114, element_type_parse_position, concat("Unsupported BSON record type 0x", cr… in parse_bson_element_internal() 736 … return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in parse_cbor_internal() 894 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in parse_cbor_internal() 990 return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, in get_cbor_string() 1090 return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, in get_cbor_binary() 1561 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in parse_msgpack_internal() [all …]
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | img2webp.c | 164 int parse_error = 0; in main() local 170 anim_config.kmin = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 173 anim_config.kmax = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 176 loop_count = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 179 parse_error = 1; in main() 202 ok = !parse_error; in main() 220 int parse_error = 0; in main() local 226 config.quality = ExUtilGetFloat(argv[++c], &parse_error); in main() 228 config.method = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 230 duration = ExUtilGetInt(argv[++c], 0, &parse_error); in main() [all …]
|
D | cwebp.c | 693 int parse_error = 0; in main() local 717 picture.width = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 718 picture.height = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 727 config.method = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 730 config.quality = ExUtilGetFloat(argv[++c], &parse_error); in main() 733 lossless_preset = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 736 config.alpha_quality = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 738 config.alpha_compression = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 747 background_color = ExUtilGetInt(argv[++c], 16, &parse_error); in main() 766 config.near_lossless = ExUtilGetInt(argv[++c], 0, &parse_error); in main() [all …]
|
D | dwebp.c | 204 int parse_error = 0; in main() local 252 parse_error = 1; in main() 255 use_external_memory = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 256 parse_error |= (use_external_memory > 2 || use_external_memory < 0); in main() 257 if (parse_error) { in main() 268 ExUtilGetInt(argv[++c], 0, &parse_error); in main() 271 config.options.crop_left = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 272 config.options.crop_top = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 273 config.options.crop_width = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 274 config.options.crop_height = ExUtilGetInt(argv[++c], 0, &parse_error); in main() [all …]
|
D | anim_diff.c | 225 int parse_error = 0; in main() local 231 parse_error = 1; in main() 235 min_psnr = ExUtilGetFloat(argv[++c], &parse_error); in main() 237 parse_error = 1; in main() 243 max_diff = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 245 parse_error = 1; in main() 267 parse_error = 1; in main() 270 if (parse_error) { in main()
|
/third_party/json/docs/mkdocs/docs/home/ |
D | exceptions.md | 11 json::exception <|-- json::parse_error 24 class json::parse_error { 114 The following code shows how a `parse_error` exception can be caught. 117 --8<-- "examples/parse_error.cpp" 123 --8<-- "examples/parse_error.output" 127 ### json.exception.parse_error.101 136 …[json.exception.parse_error.101] parse error at 2: unexpected end of input; expected string literal 142 …[json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value… 148 …[json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value… 154 …[json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value… [all …]
|
/third_party/json/docs/mkdocs/docs/api/basic_json/ |
D | parse_error.md | 1 # <small>nlohmann::basic_json::</small>parse_error 4 class parse_error : public exception; 16 basic_json::exception <|-- basic_json::parse_error 29 class basic_json::parse_error #FFFF00 { 52 The following code shows how a `parse_error` exception can be caught. 55 --8<-- "examples/parse_error.cpp" 61 --8<-- "examples/parse_error.output"
|
D | other_error.md | 13 basic_json::exception <|-- basic_json::parse_error 26 class basic_json::parse_error { 60 - [`parse_error`](parse_error.md) for exceptions indicating a parse error
|
D | invalid_iterator.md | 13 basic_json::exception <|-- basic_json::parse_error 26 class basic_json::parse_error { 60 - [`parse_error`](parse_error.md) for exceptions indicating a parse error
|
D | type_error.md | 14 basic_json::exception <|-- basic_json::parse_error 27 class basic_json::parse_error { 61 - [`parse_error`](parse_error.md) for exceptions indicating a parse error
|
D | out_of_range.md | 14 basic_json::exception <|-- basic_json::parse_error 27 class basic_json::parse_error { 61 - [`parse_error`](parse_error.md) for exceptions indicating a parse error
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
D | options.hh | 206 GError *parse_error = nullptr; in parse() local 207 if (!g_option_context_parse (context, argc, argv, &parse_error)) in parse() 209 if (parse_error) in parse() 212 fail (true, "%s", parse_error->message); in parse() 213 g_error_free (parse_error); in parse()
|
/third_party/json/docs/examples/ |
D | json_pointer.output | 1 [json.exception.parse_error.107] parse error at byte 1: JSON pointer must be empty or begin with '/… 2 [json.exception.parse_error.108] parse error: escape character '~' must be followed with '0' or '1' 3 [json.exception.parse_error.108] parse error: escape character '~' must be followed with '0' or '1'
|
D | json_pointer.cpp | 23 catch (json::parse_error& e) in main() 33 catch (json::parse_error& e) in main() 43 catch (json::parse_error& e) in main()
|