Home
last modified time | relevance | path

Searched refs:error_value (Results 1 – 25 of 27) sorted by relevance

12

/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c157 print_unhandled_exception (jerry_value_t error_value) /**< error value */ in print_unhandled_exception() argument
159 assert (jerry_value_is_error (error_value)); in print_unhandled_exception()
161 error_value = jerry_get_value_from_error (error_value, false); in print_unhandled_exception()
162 jerry_value_t err_str_val = jerry_value_to_string (error_value); in print_unhandled_exception()
166 jerry_release_value (error_value); in print_unhandled_exception()
181 && jerry_get_error_type (error_value) == JERRY_ERROR_SYNTAX) in print_unhandled_exception()
/third_party/jerryscript/jerry-core/jcontext/
Djcontext.c91 JERRY_CONTEXT (error_value) = error; in jcontext_raise_exception()
118 return JERRY_CONTEXT (error_value); in jcontext_take_exception()
Djcontext.h165 ecma_value_t error_value; /**< currently thrown error value */ member
/third_party/grpc/src/core/lib/gpr/
Dlog.cc96 static gpr_atm parse_log_severity(const char* str, gpr_atm error_value) { in parse_log_severity() argument
106 return error_value; in parse_log_severity()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-reference.c364 ecma_value_t error_value = ecma_raise_standard_error_with_format (ECMA_ERROR_REFERENCE, in ecma_op_resolve_reference_value() local
368 ecma_value_t error_value = ecma_raise_reference_error (NULL); in ecma_op_resolve_reference_value() local
370 return error_value; in ecma_op_resolve_reference_value()
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dsysinfo.cc456 const double error_value = -1; in GetCPUCyclesPerSecond() local
457 double bogo_clock = error_value; in GetCPUCyclesPerSecond()
462 return error_value; in GetCPUCyclesPerSecond()
490 if (bogo_clock < 0.0) bogo_clock = error_value; in GetCPUCyclesPerSecond()
496 return error_value; in GetCPUCyclesPerSecond()
500 return error_value; in GetCPUCyclesPerSecond()
/third_party/jerryscript/jerry-main/
Dmain-unix.c95 print_unhandled_exception (jerry_value_t error_value) /**< error value */ in print_unhandled_exception() argument
97 assert (!jerry_value_is_error (error_value)); in print_unhandled_exception()
101 if (jerry_value_is_object (error_value)) in print_unhandled_exception()
104 jerry_value_t backtrace_val = jerry_get_property (error_value, stack_str); in print_unhandled_exception()
149 jerry_value_t err_str_val = jerry_value_to_string (error_value); in print_unhandled_exception()
165 && jerry_get_error_type (error_value) == JERRY_ERROR_SYNTAX) in print_unhandled_exception()
Dmain-unix-snapshot.c174 print_unhandled_exception (jerry_value_t error_value) /**< error value */ in print_unhandled_exception() argument
176 assert (!jerry_value_is_error (error_value)); in print_unhandled_exception()
178 jerry_value_t err_str_val = jerry_value_to_string (error_value); in print_unhandled_exception()
/third_party/benchmark/src/
Dsysinfo.cc552 const double error_value = -1; in GetCPUCyclesPerSecond() local
553 double bogo_clock = error_value; in GetCPUCyclesPerSecond()
558 return error_value; in GetCPUCyclesPerSecond()
586 if (bogo_clock < 0.0) bogo_clock = error_value; in GetCPUCyclesPerSecond()
592 return error_value; in GetCPUCyclesPerSecond()
596 return error_value; in GetCPUCyclesPerSecond()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhttp2_settings.h56 uint32_t error_value; member
Dframe_settings.cc208 t->last_new_stream_id, sp->error_value, in grpc_chttp2_settings_parser_parse()
/third_party/jerryscript/tests/unit-core/
Dtest-api-promise.c118 …jerry_value_t error_value = jerry_create_error (JERRY_ERROR_TYPE, (const jerry_char_t *) "resolve_… in test_promise_resolve_fail() local
119 jerry_value_t error_obj = jerry_get_value_from_error (error_value, true); in test_promise_resolve_fail()
/third_party/python/Modules/_io/
Diobase.c260 PyObject *error_type, *error_value, *error_traceback; in iobase_finalize() local
265 PyErr_Fetch(&error_type, &error_value, &error_traceback); in iobase_finalize()
306 PyErr_Restore(error_type, error_value, error_traceback); in iobase_finalize()
/third_party/python/Objects/
Dobject.c375 PyObject *error_type, *error_value, *error_traceback; in _PyObject_Dump() local
376 PyErr_Fetch(&error_type, &error_value, &error_traceback); in _PyObject_Dump()
381 PyErr_Restore(error_type, error_value, error_traceback); in _PyObject_Dump()
1997 PyObject *error_type, *error_value, *error_traceback; in Py_ReprLeave() local
1999 PyErr_Fetch(&error_type, &error_value, &error_traceback); in Py_ReprLeave()
2020 PyErr_Restore(error_type, error_value, error_traceback); in Py_ReprLeave()
Dgenobject.c48 PyObject *error_type, *error_value, *error_traceback; in _PyGen_Finalize() local
60 PyErr_Fetch(&error_type, &error_value, &error_traceback); in _PyGen_Finalize()
70 PyErr_Restore(error_type, error_value, error_traceback); in _PyGen_Finalize()
76 PyErr_Fetch(&error_type, &error_value, &error_traceback); in _PyGen_Finalize()
100 PyErr_Restore(error_type, error_value, error_traceback); in _PyGen_Finalize()
Dframeobject.c1141 PyObject *error_type, *error_value, *error_traceback; in PyFrame_LocalsToFast() local
1154 PyErr_Fetch(&error_type, &error_value, &error_traceback); in PyFrame_LocalsToFast()
1173 PyErr_Restore(error_type, error_value, error_traceback); in PyFrame_LocalsToFast()
Dtypeobject.c6984 PyObject *error_type, *error_value, *error_traceback; in slot_tp_finalize() local
6987 PyErr_Fetch(&error_type, &error_value, &error_traceback); in slot_tp_finalize()
7001 PyErr_Restore(error_type, error_value, error_traceback); in slot_tp_finalize()
/third_party/python/Python/
Dsysmodule.c3292 PyObject *error_type, *error_value, *error_traceback; in sys_write() local
3297 _PyErr_Fetch(tstate, &error_type, &error_value, &error_traceback); in sys_write()
3309 _PyErr_Restore(tstate, error_type, error_value, error_traceback); in sys_write()
3336 PyObject *error_type, *error_value, *error_traceback; in sys_format() local
3340 _PyErr_Fetch(tstate, &error_type, &error_value, &error_traceback); in sys_format()
3352 _PyErr_Restore(tstate, error_type, error_value, error_traceback); in sys_format()
/third_party/python/Modules/
D_asynciomodule.c1420 PyObject *error_type, *error_value, *error_traceback; in FutureObj_finalize() local
1432 PyErr_Fetch(&error_type, &error_value, &error_traceback); in FutureObj_finalize()
1474 PyErr_Restore(error_type, error_value, error_traceback); in FutureObj_finalize()
2434 PyObject *error_type, *error_value, *error_traceback; in TaskObj_finalize() local
2441 PyErr_Fetch(&error_type, &error_value, &error_traceback); in TaskObj_finalize()
2484 PyErr_Restore(error_type, error_value, error_traceback); in TaskObj_finalize()
D_testcapimodule.c3564 PyObject *error_type, *error_value, *error_traceback; in slot_tp_del() local
3571 PyErr_Fetch(&error_type, &error_value, &error_traceback); in slot_tp_del()
3585 PyErr_Restore(error_type, error_value, error_traceback); in slot_tp_del()
6391 PyObject *error_type, *error_value, *error_traceback, *m; in heapctypesubclasswithfinalizer_finalize() local
6395 PyErr_Fetch(&error_type, &error_value, &error_traceback); in heapctypesubclasswithfinalizer_finalize()
6432 PyErr_Restore(error_type, error_value, error_traceback); in heapctypesubclasswithfinalizer_finalize()
Dsocketmodule.c5038 PyObject *error_type, *error_value, *error_traceback; local
5041 PyErr_Fetch(&error_type, &error_value, &error_traceback);
5065 PyErr_Restore(error_type, error_value, error_traceback);
/third_party/jerryscript/jerry-core/vm/
Dvm.c127 ecma_value_t error_value = ecma_raise_standard_error_with_format (ECMA_ERROR_TYPE, in vm_op_get_value() local
132 ecma_value_t error_value = ecma_raise_type_error (NULL); in vm_op_get_value()
134 return error_value; in vm_op_get_value()
4136 ecma_value_t current_error_value = JERRY_CONTEXT (error_value); in vm_loop()
4148 JERRY_CONTEXT (error_value) = current_error_value; in vm_loop()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c2754 ecma_value_t error_value = ecma_raise_standard_error_with_format (ECMA_ERROR_SYNTAX, in parser_parse_script() local
2765 return error_value; in parser_parse_script()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c595 result = JERRY_CONTEXT (error_value); in jerry_debugger_send_eval()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers.c1333 JERRY_CONTEXT (error_value) = referenced_value; in ecma_raise_error_from_error_reference()

12