Home
last modified time | relevance | path

Searched refs:error_data (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/lite/python/
Dconvert_phase.py135 error_data: converter_error_data_pb2.ConverterErrorData):
136 self.errors.append(error_data)
158 error_data = converter_error_data_pb2.ConverterErrorData()
159 error_data.error_message = message
160 error_data.error_code = error_code
161 self.append_error(error_data)
186 def report_error(error_data: converter_error_data_pb2.ConverterErrorData):
189 error_data.component = component.value
190 if not error_data.subcomponent:
191 error_data.subcomponent = subcomponent.name
[all …]
Dmetrics_nonportable.py96 self, error_data: converter_error_data_pb2.ConverterErrorData):
98 error_data.error_code)
100 error_data.component,
101 error_data.subcomponent,
102 error_data.operator.name,
104 ).set(error_data.error_message)
Dmetrics_interface.py44 def set_converter_error(self, error_data): argument
Dmetrics_portable.py54 def set_converter_error(self, error_data): argument
/external/python/google-auth-library-python/google/oauth2/
Dutils.py159 error_data = json.loads(response_body)
161 error_components.append("Error code {}".format(error_data["error"]))
162 if "error_description" in error_data:
163 error_components.append(": {}".format(error_data["error_description"]))
164 if "error_uri" in error_data:
165 error_components.append(" - {}".format(error_data["error_uri"]))
/external/tensorflow/tensorflow/compiler/mlir/lite/metrics/
Dtypes_util.cc40 void Extract(tflite::metrics::ConverterErrorData* error_data) { in Extract() argument
42 auto mutable_location = error_data->mutable_location(); in Extract()
46 LocationExtractor(loc.getFallbackLocation()).Extract(error_data); in Extract()
74 LocationExtractor(loc.getCallee()).Extract(error_data); in Extract()
75 LocationExtractor(loc.getCaller()).Extract(error_data); in Extract()
86 return LocationExtractor(locations[1]).Extract(error_data); in Extract()
97 [&](Location l) { LocationExtractor(l).Extract(error_data); }, in Extract()
/external/tensorflow/tensorflow/lite/python/metrics/
Dmetrics_nonportable.py95 self, error_data: converter_error_data_pb2.ConverterErrorData):
97 error_data.error_code)
99 error_data.component,
100 error_data.subcomponent,
101 error_data.operator.name,
103 ).set(error_data.error_message)
Dmetrics_interface.py43 def set_converter_error(self, error_data): argument
Dmetrics_portable.py53 def set_converter_error(self, error_data): argument
/external/selinux/libselinux/src/
Dregex.c546 void regex_format_error(struct regex_error_data const *error_data, char *buffer, in regex_format_error() argument
569 if (!error_data->error_code) { in regex_format_error()
579 if (!error_data->error_buffer) { in regex_format_error()
590 if (error_data->error_offset > 0) { in regex_format_error()
593 error_data->error_offset); in regex_format_error()
596 error_data->error_offset); in regex_format_error()
606 rc = pcre2_get_error_message(error_data->error_code, in regex_format_error()
613 error_data->error_buffer); in regex_format_error()
617 if ((size_t)rc < strlen(error_data->error_buffer)) in regex_format_error()
Dlabel_file.h350 struct regex_error_data error_data; in compile_regex() local
407 rc = regex_prepare_data(&spec->regex, anchored_regex, &error_data); in compile_regex()
411 regex_format_error(&error_data, in compile_regex()
Dregex.h164 void regex_format_error(struct regex_error_data const *error_data, char *buffer,
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dclosure.h77 } error_data; member
101 closure->error_data.error = GRPC_ERROR_NONE;
184 closure->error_data.error = error;
200 if (c->error_data.error == GRPC_ERROR_NONE) {
201 c->error_data.error = GRPC_ERROR_REF(forced_failure);
Dcombiner.cc157 cl->error_data.error = error; in combiner_exec()
234 grpc_error_handle cl_err = cl->error_data.error; in grpc_combiner_continue_exec_ctx()
250 grpc_error_handle error = c->error_data.error; in grpc_combiner_continue_exec_ctx()
316 closure->error_data.scratch = reinterpret_cast<uintptr_t>(lock); in combiner_finally_exec()
330 reinterpret_cast<grpc_core::Combiner*>(cl->error_data.scratch), cl, in enqueue_finally()
Dcall_combiner.cc144 closure->error_data.error = error; in Start()
182 grpc_error_std_string(closure->error_data.error).c_str()); in Stop()
184 ScheduleClosure(closure, closure->error_data.error); in Stop()
Dexec_ctx.cc155 grpc_error_handle error = c->error_data.error; in Flush()
222 exec_ctx_sched(c, c->error_data.error); in RunList()
/external/grpc-grpc/src/core/lib/iomgr/
Dclosure.h90 } error_data; member
201 closure->error_data.error = error;
217 if (c->error_data.error == GRPC_ERROR_NONE) {
218 c->error_data.error = GRPC_ERROR_REF(forced_failure);
336 c->scheduler->vtable->sched(c, c->error_data.error);
Dcall_combiner.cc94 closure->error_data.error = error; in grpc_call_combiner_start()
133 closure, grpc_error_string(closure->error_data.error)); in grpc_call_combiner_stop()
135 GRPC_CLOSURE_SCHED(closure, closure->error_data.error); in grpc_call_combiner_stop()
Dcombiner.cc185 cl->error_data.error = error; in combiner_exec()
256 grpc_error* cl_err = cl->error_data.error; in grpc_combiner_continue_exec_ctx()
272 grpc_error* error = c->error_data.error; in grpc_combiner_continue_exec_ctx()
Dexec_ctx.cc132 grpc_error* error = c->error_data.error; in Flush()
/external/tensorflow/tensorflow/python/lite/
Dtoco_python_api_wrapper.cc102 for (const auto& error_data : collected_errors) { in PYBIND11_MODULE() local
103 serialized_message_list[i++] = pybind11::bytes(error_data); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_to_tfl_flatbuffer.cc256 for (const auto& error_data : collector->CollectedErrors()) { in ConvertTFExecutorToTFLOrFlatbuffer() local
257 if (error_data.subcomponent() == "FreezeGlobalTensorsPass") { in ConvertTFExecutorToTFLOrFlatbuffer()
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc453 for (const auto& error_data : collector->CollectedErrors()) { in RetrieveCollectedErrors() local
454 collected_errors.push_back(error_data.SerializeAsString()); in RetrieveCollectedErrors()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc1236 if (closure->error_data.error == GRPC_ERROR_NONE) { in grpc_chttp2_complete_closure_step()
1237 closure->error_data.error = GRPC_ERROR_CREATE_FROM_STATIC_STRING( in grpc_chttp2_complete_closure_step()
1239 closure->error_data.error = grpc_error_set_str( in grpc_chttp2_complete_closure_step()
1240 closure->error_data.error, GRPC_ERROR_STR_TARGET_ADDRESS, in grpc_chttp2_complete_closure_step()
1243 closure->error_data.error = in grpc_chttp2_complete_closure_step()
1244 grpc_error_add_child(closure->error_data.error, error); in grpc_chttp2_complete_closure_step()
1252 closure->error_data.error); in grpc_chttp2_complete_closure_step()
1255 closure->error_data.error); in grpc_chttp2_complete_closure_step()
1404 on_complete->error_data.error = GRPC_ERROR_NONE; in perform_stream_op_locked()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc1237 if (closure->error_data.error == GRPC_ERROR_NONE) { in grpc_chttp2_complete_closure_step()
1238 closure->error_data.error = GRPC_ERROR_CREATE_FROM_STATIC_STRING( in grpc_chttp2_complete_closure_step()
1240 closure->error_data.error = grpc_error_set_str( in grpc_chttp2_complete_closure_step()
1241 closure->error_data.error, GRPC_ERROR_STR_TARGET_ADDRESS, in grpc_chttp2_complete_closure_step()
1244 closure->error_data.error = in grpc_chttp2_complete_closure_step()
1245 grpc_error_add_child(closure->error_data.error, error); in grpc_chttp2_complete_closure_step()
1250 GRPC_CLOSURE_RUN(closure, closure->error_data.error); in grpc_chttp2_complete_closure_step()
1253 closure->error_data.error); in grpc_chttp2_complete_closure_step()
1402 on_complete->error_data.error = GRPC_ERROR_NONE; in perform_stream_op_locked()

12