/third_party/json/include/nlohmann/detail/input/ |
D | lexer.hpp | 46 parse_error, ///< indicating a parse error enumerator 84 case token_type::parse_error: in token_type_name() 263 return token_type::parse_error; in scan_string() 319 return token_type::parse_error; in scan_string() 333 return token_type::parse_error; in scan_string() 353 return token_type::parse_error; in scan_string() 359 return token_type::parse_error; in scan_string() 367 return token_type::parse_error; in scan_string() 408 return token_type::parse_error; in scan_string() 418 return token_type::parse_error; in scan_string() [all …]
|
D | parser.hpp | 96 sdp.parse_error(m_lexer.get_position(), in parse() 98 parse_error::create(101, m_lexer.get_position(), in parse() 125 sdp.parse_error(m_lexer.get_position(), in parse() 127 parse_error::create(101, m_lexer.get_position(), in parse() 162 return sax->parse_error(m_lexer.get_position(), in sax_parse() 164 parse_error::create(101, m_lexer.get_position(), in sax_parse() 209 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 211 parse_error::create(101, m_lexer.get_position(), in sax_parse_internal() 222 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 224 parse_error::create(101, m_lexer.get_position(), in sax_parse_internal() [all …]
|
D | binary_reader.hpp | 138 return sax->parse_error(chars_read, get_token_string(), in sax_parse() 139 …parse_error::create(110, chars_read, exception_message(format, "expected end of input; last byte: … in sax_parse() 215 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_string() 236 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_binary() 318 …return sax->parse_error(element_type_parse_position, std::string(cr.data()), parse_error::create(1… in parse_bson_element_internal() 718 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in parse_cbor_internal() 832 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in parse_cbor_internal() 927 …return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_mes… in get_cbor_string() 1026 …return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_mes… in get_cbor_binary() 1493 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in parse_msgpack_internal() [all …]
|
/third_party/json/test/src/ |
D | unit-class_parser.cpp | 139 bool parse_error(std::size_t position, const std::string&, const json::exception&) in parse_error() function in __anon0e843f330111::SaxEventLogger 216 bool parse_error(std::size_t, const std::string&, const json::exception&) override in parse_error() function in __anon0e843f330111::SaxCountdown 316 CHECK_THROWS_AS(_ = json::parse(json_with_comment), json::parse_error); in comments_helper() 381 CHECK_THROWS_AS(parser_helper("\"\t\""), json::parse_error&); 385 CHECK_THROWS_AS(parser_helper("\"\n\""), json::parse_error&); 386 CHECK_THROWS_AS(parser_helper("\"\r\""), json::parse_error&); 392 CHECK_THROWS_AS(parser_helper("\"\b\""), json::parse_error&); 396 CHECK_THROWS_AS(parser_helper("\uFF01"), json::parse_error&); 397 CHECK_THROWS_AS(parser_helper("[-4:1,]"), json::parse_error&); 399 CHECK_THROWS_AS(parser_helper("\"\x00\""), json::parse_error&); [all …]
|
D | unit-class_lexer.cpp | 126 …CHECK((std::string(json::lexer::token_type_name(json::lexer::token_type::parse_error)) == "<parse … 161 CHECK((res != json::lexer::token_type::parse_error)); 178 CHECK((res == json::lexer::token_type::parse_error)); 196 CHECK((scan_string("/", false) == json::lexer::token_type::parse_error)); 199 CHECK((scan_string("/!", false) == json::lexer::token_type::parse_error)); 201 CHECK((scan_string("/*", false) == json::lexer::token_type::parse_error)); 203 CHECK((scan_string("/**", false) == json::lexer::token_type::parse_error)); 206 CHECK((scan_string("//", false) == json::lexer::token_type::parse_error)); 208 CHECK((scan_string("/**/", false) == json::lexer::token_type::parse_error)); 210 CHECK((scan_string("/** /", false) == json::lexer::token_type::parse_error)); [all …]
|
D | unit-regression1.cpp | 744 CHECK_THROWS_AS(_ = json::parse(f), json::parse_error&); 759 CHECK_THROWS_AS(ss >> j, json::parse_error&); 770 CHECK_THROWS_AS(ss >> j, json::parse_error&); 780 CHECK_THROWS_AS(ss >> j, json::parse_error&); 793 CHECK_THROWS_AS(ss >> j, json::parse_error&); 806 CHECK_THROWS_AS(ss >> j, json::parse_error&); 819 CHECK_THROWS_AS(ss >> j, json::parse_error&); 836 CHECK_THROWS_AS(ss >> j, json::parse_error&); 855 CHECK_THROWS_AS(ss >> j, json::parse_error&); 870 CHECK_THROWS_AS(ss >> j, json::parse_error&); [all …]
|
D | unit-json_pointer.cpp | 41 CHECK_THROWS_AS(json::json_pointer("foo"), json::parse_error&); 45 CHECK_THROWS_AS(json::json_pointer("/~~"), json::parse_error&); 49 CHECK_THROWS_AS(json::json_pointer("/~"), json::parse_error&); 306 … "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'"); 309 … "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'"); 312 … "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'"); 315 … "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'"); 325 … "[json.exception.parse_error.109] parse error: array index 'one' is not a number"); 328 … "[json.exception.parse_error.109] parse error: array index 'one' is not a number"); 332 … "[json.exception.parse_error.109] parse error: array index 'one' is not a number"); [all …]
|
/third_party/grpc/src/core/ext/xds/ |
D | xds_bootstrap.cc | 222 grpc_error* parse_error = ParseXdsServerList(&it->second); in XdsBootstrap() local 223 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap() 231 grpc_error* parse_error = ParseNode(&it->second); in XdsBootstrap() local 232 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap() 242 grpc_error* parse_error = ParseCertificateProviders(&it->second); in XdsBootstrap() local 243 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap() 259 grpc_error* parse_error = ParseXdsServer(&child, i); in ParseXdsServerList() local 260 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in ParseXdsServerList() 289 grpc_error* parse_error = ParseChannelCredsArray(&it->second, &server); in ParseXdsServer() local 290 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in ParseXdsServer() [all …]
|
/third_party/boost/libs/log/test/run/ |
D | util_stp_settings_parser.cpp | 155 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 170 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 185 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 200 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 215 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 230 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 245 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 260 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 275 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 290 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE()
|
D | util_stp_formatter_parser.cpp | 243 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 244 BOOST_CHECK_THROW(logging::parse_formatter("MyStr%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 245 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr(%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 246 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr)%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 247 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr(param%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 248 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr(param=%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 249 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr(param)%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 250 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr(param=)%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 251 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr(=value)%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() 252 BOOST_CHECK_THROW(logging::parse_formatter("%MyStr(param,param2)%"), logging::parse_error); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/grpc/src/core/ext/filters/client_channel/xds/ |
D | xds_bootstrap.cc | 132 grpc_error* parse_error = ParseXdsServerList(&it->second); in XdsBootstrap() local 133 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap() 141 grpc_error* parse_error = ParseNode(&it->second); in XdsBootstrap() local 142 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap() 157 grpc_error* parse_error = ParseXdsServer(&child, i); in ParseXdsServerList() local 158 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in ParseXdsServerList() 185 grpc_error* parse_error = ParseChannelCredsArray(&it->second, &server); in ParseXdsServer() local 186 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in ParseXdsServer() 209 grpc_error* parse_error = ParseChannelCreds(&child, i, server); in ParseChannelCredsArray() local 210 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in ParseChannelCredsArray() [all …]
|
/third_party/boost/libs/log/src/setup/ |
D | settings_parser.cpp | 94 … BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Section header is invalid", (m_LineCounter)); 106 … BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Parameter description is invalid", (m_LineCounter)); 114 … BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Parameter value is not specified", (m_LineCounter)); 122 catch (parse_error& e) 140 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Unexpected characters in the end of the line", (m_LineC… 154 BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Section name is empty", (m_LineCounter)); 160 … BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Section name is invalid", (m_LineCounter)); 177 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Parameters are only allowed within sections", (m_LineCo… 182 BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Parameter name is empty", (m_LineCounter)); 186 BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "Parameter name is invalid", (m_LineCounter)); [all …]
|
D | formatter_parser.cpp | 227 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid escape sequence in the formatter string"); 245 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid attribute placeholder in the formatter string"); 251 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid attribute placeholder in the formatter string"); 259 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid attribute placeholder in the formatter string"); 263 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid attribute placeholder in the formatter string"); 292 …BOOST_LOG_THROW_DESCR(parse_error, "Invalid attribute placeholder arguments description in the for… 303 BOOST_LOG_THROW_DESCR(parse_error, "Placeholder argument name is invalid"); 310 BOOST_LOG_THROW_DESCR(parse_error, "Placeholder argument name is invalid"); 314 BOOST_LOG_THROW_DESCR(parse_error, "Placeholder argument name is empty"); 320 BOOST_LOG_THROW_DESCR(parse_error, "Placeholder argument description is not valid"); [all …]
|
D | filter_parser.cpp | 187 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid filter definition: unmatched closing parenthesis"); 203 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid filter definition: unexpected character encountered"); 214 …BOOST_LOG_THROW_DESCR(parse_error, "Invalid filter definition: logical operation without the right… 219 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid filter definition: unterminated parenthesis"); 242 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid attribute placeholder in the filter string"); 248 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid attribute placeholder in the filter string"); 275 … BOOST_LOG_THROW_DESCR(parse_error, "Invalid filter definition: unexpected character"); 289 …BOOST_LOG_THROW_DESCR(parse_error, "Filter parsing error: negation operator applied to nothingness… 329 … BOOST_LOG_THROW_DESCR(parse_error, "Missing operand for a relation in the filter string"); 368 BOOST_LOG_THROW_DESCR(parse_error, "Empty attribute name encountered"); [all …]
|
/third_party/flutter/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 | dwebp.c | 203 int parse_error = 0; in main() local 251 parse_error = 1; in main() 254 use_external_memory = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 255 parse_error |= (use_external_memory > 2 || use_external_memory < 0); in main() 256 if (parse_error) { in main() 267 ExUtilGetInt(argv[++c], 0, &parse_error); in main() 270 config.options.crop_left = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 271 config.options.crop_top = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 272 config.options.crop_width = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 273 config.options.crop_height = ExUtilGetInt(argv[++c], 0, &parse_error); in main() [all …]
|
D | cwebp.c | 686 int parse_error = 0; in main() local 710 picture.width = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 711 picture.height = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 720 config.method = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 723 config.quality = ExUtilGetFloat(argv[++c], &parse_error); in main() 726 lossless_preset = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 729 config.alpha_quality = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 731 config.alpha_compression = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 740 background_color = ExUtilGetInt(argv[++c], 16, &parse_error); in main() 759 config.near_lossless = ExUtilGetInt(argv[++c], 0, &parse_error); in main() [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 | 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 | 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 …]
|
/third_party/boost/boost/property_tree/json_parser/detail/ |
D | parser.hpp | 45 void parse_error(const char* msg) { in parse_error() function in boost::property_tree::json_parser::detail::source 78 parse_error(msg); in expect() 89 parse_error(msg); in need_cur() 253 parse_error("garbage after data"); in finish() 264 parse_error("expected value"); in parse_value() 309 parse_error("expected digits after -"); in parse_number() 336 boost::bind(&parser::parse_error, in parse_string() 383 parse_error("expected key string"); in parse_object() 398 void parse_error(const char* msg) { src.parse_error(msg); } in parse_error() function in boost::property_tree::json_parser::detail::parser 469 parse_error("invalid escape sequence"); in parse_escape() [all …]
|
/third_party/boost/libs/log/src/ |
D | exceptions.cpp | 308 parse_error::parse_error() : in parse_error() function in boost::parse_error 313 parse_error::parse_error(std::string const& descr) : in parse_error() function in boost::parse_error 318 parse_error::~parse_error() throw() in ~parse_error() 322 void parse_error::throw_(const char* file, std::size_t line) in throw_() 324 boost::throw_exception(boost::enable_error_info(parse_error()) in throw_() 330 void parse_error::throw_(const char* file, std::size_t line, const char* descr) in throw_() 332 boost::throw_exception(boost::enable_error_info(parse_error(descr)) in throw_() 338 void parse_error::throw_(const char* file, std::size_t line, std::string const& descr) in throw_() 340 boost::throw_exception(boost::enable_error_info(parse_error(descr)) in throw_() 346 void parse_error::throw_(const char* file, std::size_t line, const char* descr, std::size_t content… in throw_() [all …]
|
/third_party/boost/boost/log/utility/setup/ |
D | filter_parser.hpp | 79 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The equality attribute value relation is not supported"… in on_equality_relation() 87 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The inequality attribute value relation is not supporte… in on_inequality_relation() 95 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The less attribute value relation is not supported", (n… in on_less_relation() 103 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The greater attribute value relation is not supported",… in on_greater_relation() 111 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The less-or-equal attribute value relation is not suppo… in on_less_or_equal_relation() 119 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The greater-or-equal attribute value relation is not su… in on_greater_or_equal_relation() 128 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The custom attribute value relation \"" + boost::log::a… in on_custom_relation() 211 …BOOST_LOG_THROW_DESCR_PARAMS(parse_error, "The custom attribute value relation \"" + boost::log::a… in on_custom_relation()
|
/third_party/json/doc/mkdocs/docs/home/ |
D | exceptions.md | 11 json::exception <|-- json::parse_error 24 class json::parse_error { 72 The following code shows how a `parse_error` exception can be caught. 75 --8<-- "examples/parse_error.cpp" 81 --8<-- "examples/parse_error.output" 85 ### json.exception.parse_error.101 94 …[json.exception.parse_error.101] parse error at 2: unexpected end of input; expected string literal 100 …[json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value… 106 …[json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value… 112 …[json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value… [all …]
|
/third_party/json/include/nlohmann/detail/ |
D | exceptions.hpp | 118 class parse_error : public exception class 130 static parse_error create(int id_, const position_t& pos, const std::string& what_arg) in create() 134 return parse_error(id_, pos.chars_read_total, w.c_str()); in create() 137 static parse_error create(int id_, std::size_t byte_, const std::string& what_arg) in create() 142 return parse_error(id_, byte_, w.c_str()); in create() 157 parse_error(int id_, std::size_t byte_, const char* what_arg) in parse_error() function in nlohmann::detail::parse_error
|