Home
last modified time | relevance | path

Searched refs:parse_error (Results 1 – 25 of 63) sorted by relevance

123

/external/python/cffi/testing/cffi1/
Dtest_parse_c_type.py132 def parse_error(input, expected_msg, expected_location): function
265 parse_error("short short int", "'short' after another 'short' or 'long'", 6)
266 parse_error("long long long", "'long long long' is too long", 10)
267 parse_error("short long", "'long' after 'short'", 6)
268 parse_error("signed unsigned int", "multiple 'signed' or 'unsigned'", 7)
269 parse_error("unsigned signed int", "multiple 'signed' or 'unsigned'", 9)
270 parse_error("long char", "invalid combination of types", 5)
271 parse_error("short char", "invalid combination of types", 6)
272 parse_error("signed void", "invalid combination of types", 7)
273 parse_error("unsigned struct", "invalid combination of types", 9)
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_bootstrap.cc112 grpc_error_handle parse_error = ParseXdsServerList(&it->second); in XdsBootstrap() local
113 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap()
121 grpc_error_handle parse_error = ParseNode(&it->second); in XdsBootstrap() local
122 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap()
142 grpc_error_handle parse_error = ParseCertificateProviders(&it->second); in XdsBootstrap() local
143 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in XdsBootstrap()
159 grpc_error_handle parse_error = ParseXdsServer(&child, i); in ParseXdsServerList() local
160 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in ParseXdsServerList()
189 grpc_error_handle parse_error = in ParseXdsServer() local
191 if (parse_error != GRPC_ERROR_NONE) error_list.push_back(parse_error); in ParseXdsServer()
[all …]
/external/perfetto/src/protozero/
Dproto_decoder_unittest.cc314 bool parse_error = false; in TEST() local
317 kFieldId, &parse_error); in TEST()
325 ASSERT_FALSE(parse_error); in TEST()
333 bool parse_error = false; in TEST() local
335 for (auto packed_it = decoder.field_int32(&parse_error); packed_it; in TEST()
341 ASSERT_FALSE(parse_error); in TEST()
349 bool parse_error = false; in TEST() local
350 auto packed_it = decoder.field_int32(&parse_error); in TEST()
352 ASSERT_FALSE(parse_error); in TEST()
370 bool parse_error = false; in TEST() local
[all …]
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_tokenizer.cc180 bool parse_error = false; in TokenizeFtraceCompactSchedSwitch() local
181 auto timestamp_it = compact.switch_timestamp(&parse_error); in TokenizeFtraceCompactSchedSwitch()
182 auto pstate_it = compact.switch_prev_state(&parse_error); in TokenizeFtraceCompactSchedSwitch()
183 auto npid_it = compact.switch_next_pid(&parse_error); in TokenizeFtraceCompactSchedSwitch()
184 auto nprio_it = compact.switch_next_prio(&parse_error); in TokenizeFtraceCompactSchedSwitch()
185 auto comm_it = compact.switch_next_comm_index(&parse_error); in TokenizeFtraceCompactSchedSwitch()
212 if (parse_error || !sizes_match) in TokenizeFtraceCompactSchedSwitch()
227 bool parse_error = false; in TokenizeFtraceCompactSchedWaking() local
228 auto timestamp_it = compact.waking_timestamp(&parse_error); in TokenizeFtraceCompactSchedWaking()
229 auto pid_it = compact.waking_pid(&parse_error); in TokenizeFtraceCompactSchedWaking()
[all …]
/external/vboot_reference/futility/
Dcmd_dump_kernel_config.c37 int parse_error = 0; in do_dump_kernel_config() local
42 !parse_error) { in do_dump_kernel_config()
47 parse_error = 1; in do_dump_kernel_config()
58 parse_error = 1; in do_dump_kernel_config()
66 parse_error = 1; in do_dump_kernel_config()
70 if (parse_error) { in do_dump_kernel_config()
Dcmd_vbutil_keyblock.c236 int parse_error = 0; in do_vbutil_keyblock() local
245 parse_error = 1; in do_vbutil_keyblock()
274 parse_error = 1; in do_vbutil_keyblock()
288 parse_error = 1; in do_vbutil_keyblock()
299 parse_error = 1; in do_vbutil_keyblock()
305 parse_error = 1; in do_vbutil_keyblock()
312 parse_error = 1; in do_vbutil_keyblock()
315 if (parse_error) { in do_vbutil_keyblock()
Dcmd_vbutil_kernel.c233 int parse_error = 0; in do_vbutil_kernel() local
263 !parse_error) { in do_vbutil_kernel()
268 parse_error = 1; in do_vbutil_kernel()
282 parse_error = 1; in do_vbutil_kernel()
303 parse_error = 1; in do_vbutil_kernel()
315 parse_error = 1; in do_vbutil_kernel()
339 parse_error = 1; in do_vbutil_kernel()
360 parse_error = 1; in do_vbutil_kernel()
368 parse_error = 1; in do_vbutil_kernel()
376 parse_error = 1; in do_vbutil_kernel()
[all …]
Dcmd_vbutil_key.c170 int parse_error = 0; in do_vbutil_key() local
181 parse_error = 1; in do_vbutil_key()
192 parse_error = 1; in do_vbutil_key()
200 parse_error = 1; in do_vbutil_key()
220 if (parse_error) { in do_vbutil_key()
Dcmd_vbutil_firmware.c314 int parse_error = 0; in do_vbutil_firmware() local
323 parse_error = 1; in do_vbutil_firmware()
356 parse_error = 1; in do_vbutil_firmware()
364 parse_error = 1; in do_vbutil_firmware()
370 if (parse_error) { in do_vbutil_firmware()
/external/python/cffi/c/
Dparse_c_type.c199 static int parse_error(token_t *tok, const char *msg) in parse_error() function
213 parse_error(tok, "internal type complexity limit reached"); in write_ds()
361 return parse_error(tok, "expected ')'"); in parse_sequel()
366 return parse_error(tok, "expected '('"); in parse_sequel()
396 return parse_error(tok, "invalid number"); in parse_sequel()
398 return parse_error(tok, "number too large"); in parse_sequel()
415 return parse_error(tok, in parse_sequel()
422 return parse_error(tok, "disagreement about" in parse_sequel()
428 return parse_error(tok, "expected a positive integer constant"); in parse_sequel()
440 return parse_error(tok, "expected ']'"); in parse_sequel()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dheap_graph_module.cc104 bool parse_error = false; in ForEachVarInt() local
109 field_no, &parse_error); in ForEachVarInt()
118 return parse_error; in ForEachVarInt()
176 bool parse_error = ForEachVarInt< in ParseHeapGraph() local
181 if (!parse_error) { in ParseHeapGraph()
183 parse_error = ForEachVarInt< in ParseHeapGraph()
197 if (parse_error) { in ParseHeapGraph()
217 bool parse_error = ForEachVarInt< in ParseHeapGraph() local
222 if (parse_error) { in ParseHeapGraph()
267 bool parse_error = in ParseHeapGraph() local
[all …]
/external/rust/crates/tinytemplate/src/
Dcompiler.rs108 return Err(self.parse_error( in compile()
134 return Err(self.parse_error( in compile()
175 return Err(self.parse_error( in compile()
198 Err(self.parse_error(text, format!("Invalid keyword name '{}'", text))) in parse_path()
204 fn parse_error(&self, location: &str, msg: String) -> Error { in parse_error() method
215 Err(self.parse_error(text, format!("Unexpected text '{}'", text))) in expect_empty()
237 Err(self.parse_error( in close_branch()
259 Err(self.parse_error( in close_for()
351 Err(self.parse_error( in consume_tag()
360 Err(self.parse_error( in consume_tag()
[all …]
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc66 static grpc_error* parse_error(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
805 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_incidx()
819 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_incidx_v()
872 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_notidx()
886 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_notidx_v()
939 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_nvridx()
953 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_nvridx_v()
1002 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_max_tbl_size()
1010 return parse_error( in parse_max_tbl_size()
1027 return parse_error( in parse_max_tbl_size_x()
[all …]
/external/harfbuzz_ng/util/
Doptions.hh206 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()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc72 static grpc_error_handle parse_error(grpc_chttp2_hpack_parser* p,
858 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_incidx()
870 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_incidx_v()
923 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_notidx()
935 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_notidx_v()
988 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_nvridx()
1000 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_lithdr_nvridx_v()
1053 if (err != GRPC_ERROR_NONE) return parse_error(p, cur, end, err); in finish_max_tbl_size()
1062 return parse_error( in parse_max_tbl_size()
1080 return parse_error( in parse_max_tbl_size_x()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_info.c90 parse_error, enumerator
101 return info->x509 != NULL ? parse_ok : parse_error; in parse_x509()
111 return info->x509 != NULL ? parse_ok : parse_error; in parse_x509_aux()
121 return info->crl != NULL ? parse_ok : parse_error; in parse_crl()
132 return parse_error; in parse_key()
135 return info->x_pkey->dec_pkey != NULL ? parse_ok : parse_error; in parse_key()
/external/boringssl/src/crypto/pem/
Dpem_info.c88 parse_error, enumerator
99 return info->x509 != NULL ? parse_ok : parse_error; in parse_x509()
109 return info->x509 != NULL ? parse_ok : parse_error; in parse_x509_aux()
119 return info->crl != NULL ? parse_ok : parse_error; in parse_crl()
130 return parse_error; in parse_key()
133 return info->x_pkey->dec_pkey != NULL ? parse_ok : parse_error; in parse_key()
/external/mesa3d/src/intel/tools/
Daub_read.c63 parse_error(struct aub_read *read, const uint32_t *p, const char *fmt, ...) in parse_error() function
91 parse_error(read, p, in handle_trace_header()
122 parse_error(read, p, "can't find device information: pci_id=0x%x\n", aub_pci_id); in handle_memtrace_version()
164 parse_error(read, p, "command write to unknown ring %d\n", type); in handle_trace_block()
309 parse_error(read, data, "unknown opcode %d\n", OPCODE(h)); in aub_read_command()
348 parse_error(read, p, in aub_read_command()
/external/libchrome/base/i18n/
Dbreak_iterator.cc41 UParseError parse_error; in Init() local
64 &parse_error, in Init()
68 << parse_error.line << ", offset " << parse_error.offset; in Init()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dservice_config.cc97 grpc_error_handle parse_error = GRPC_ERROR_NONE; in ParseJsonMethodConfig() local
98 std::string path = ParseJsonMethodName(name, &parse_error); in ParseJsonMethodConfig()
99 if (parse_error != GRPC_ERROR_NONE) { in ParseJsonMethodConfig()
100 error_list.push_back(parse_error); in ParseJsonMethodConfig()
Dresolver_result_parsing.cc100 grpc_error_handle parse_error = GRPC_ERROR_NONE; in ParseGlobalParams() local
102 it->second, &parse_error); in ParseGlobalParams()
105 lb_errors.push_back(parse_error); in ParseGlobalParams()
/external/protobuf/conformance/
Dconformance_python.py131 response.parse_error = str(e)
142 response.parse_error = str(e)
149 response.parse_error = str(e)
Dconformance_ruby.rb51 response.parse_error = err.message.encode('utf-8')
66 response.parse_error = err.message.encode('utf-8')
/external/vboot_reference/utility/
Dbmpblk_font.c122 int parse_error = 0; in main() local
143 parse_error = 1; in main()
150 if (parse_error || numimages < 1) in main()
/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dparse_example.cc160 auto parse_error = [&] { in FastParseSerializedExample() local
166 return parse_error(); in FastParseSerializedExample()
198 if (!feature.ParseInt64List(&slice)) return parse_error(); in FastParseSerializedExample()
207 if (!feature.ParseFloatList(&slice)) return parse_error(); in FastParseSerializedExample()
217 if (!feature.ParseBytesList(&slice)) return parse_error(); in FastParseSerializedExample()
251 return parse_error(); in FastParseSerializedExample()
263 return parse_error(); in FastParseSerializedExample()
275 return parse_error(); in FastParseSerializedExample()
306 return parse_error(); in FastParseSerializedExample()
315 return parse_error(); in FastParseSerializedExample()
[all …]

123