Home
last modified time | relevance | path

Searched refs:last_error (Results 1 – 25 of 38) sorted by relevance

12

/third_party/elfutils/libasm/
Dasm_error.c79 int last_error = global_error; in asm_errmsg() local
83 if (error == 0 && last_error == 0) in asm_errmsg()
88 last_error = error; in asm_errmsg()
90 if (last_error == ASM_E_LIBELF) in asm_errmsg()
93 return _(msgs[last_error]); in asm_errmsg()
/third_party/elfutils/libelf/
Delf_error.c342 int last_error = global_error; in elf_errmsg() local
346 assert (msgidx[last_error] < sizeof (msgstr)); in elf_errmsg()
347 return last_error != 0 ? _(msgstr + msgidx[last_error]) : NULL; in elf_errmsg()
352 assert (msgidx[error == -1 ? last_error : error] < sizeof (msgstr)); in elf_errmsg()
353 return _(msgstr + msgidx[error == -1 ? last_error : error]); in elf_errmsg()
/third_party/elfutils/libdw/
Ddwarf_error.c121 int last_error = global_error; in dwarf_errmsg() local
124 return last_error != 0 ? _(errmsgs[last_error]) : NULL; in dwarf_errmsg()
128 return _(errmsgs[error == -1 ? last_error : error]); in dwarf_errmsg()
/third_party/node/src/
Djs_native_api_v8.h145 napi_extended_error_info last_error; member
159 env->last_error.error_code = napi_ok; in napi_clear_last_error()
160 env->last_error.engine_error_code = 0; in napi_clear_last_error()
161 env->last_error.engine_reserved = nullptr; in napi_clear_last_error()
162 env->last_error.error_message = nullptr; in napi_clear_last_error()
170 env->last_error.error_code = error_code;
171 env->last_error.engine_error_code = engine_error_code;
172 env->last_error.engine_reserved = engine_reserved;
/third_party/gn/src/base/win/
Dscoped_process_information.cc25 DWORD last_error = ::GetLastError(); in CheckAndDuplicateHandle() local
26 DPLOG(ERROR) << "Failed to duplicate a handle " << last_error; in CheckAndDuplicateHandle()
27 ::SetLastError(last_error); in CheckAndDuplicateHandle()
Dscoped_handle.h63 auto last_error = ::GetLastError(); in Set() local
69 ::SetLastError(last_error); in Set()
/third_party/node/deps/uv/src/win/
Dfs-event.c161 DWORD attr, last_error; in uv_fs_event_start() local
200 last_error = GetLastError(); in uv_fs_event_start()
259 last_error = GetLastError(); in uv_fs_event_start()
264 last_error = GetLastError(); in uv_fs_event_start()
289 last_error = GetLastError(); in uv_fs_event_start()
297 last_error = GetLastError(); in uv_fs_event_start()
326 last_error = GetLastError(); in uv_fs_event_start()
368 return uv_translate_sys_error(last_error); in uv_fs_event_start()
/third_party/libuv/src/win/
Dfs-event.c161 DWORD attr, last_error; in uv_fs_event_start() local
200 last_error = GetLastError(); in uv_fs_event_start()
259 last_error = GetLastError(); in uv_fs_event_start()
264 last_error = GetLastError(); in uv_fs_event_start()
289 last_error = GetLastError(); in uv_fs_event_start()
297 last_error = GetLastError(); in uv_fs_event_start()
326 last_error = GetLastError(); in uv_fs_event_start()
368 return uv_translate_sys_error(last_error); in uv_fs_event_start()
/third_party/gn/src/gn/
Dheader_checker.cc401 Err last_error; in CheckInclude() local
434 last_error = Err(); in CheckInclude()
441 last_error = Err(CreatePersistentRange(source_file, range), in CheckInclude()
446 last_error = Err(CreatePersistentRange(source_file, range), in CheckInclude()
457 last_error = Err(); in CheckInclude()
466 if (!found_dependency || last_error.has_error()) { in CheckInclude()
468 DCHECK(!last_error.has_error()); in CheckInclude()
473 errors->push_back(std::move(last_error)); in CheckInclude()
/third_party/elfutils/libdwfl/
Ddwfl_error.c159 int last_error = global_error; in dwfl_errmsg() local
161 if (error == 0 && last_error == 0) in dwfl_errmsg()
164 error = last_error; in dwfl_errmsg()
/third_party/openssl/crypto/
Dthreads_win.c165 DWORD last_error; in CRYPTO_THREAD_get_local() local
181 last_error = GetLastError(); in CRYPTO_THREAD_get_local()
183 SetLastError(last_error); in CRYPTO_THREAD_get_local()
/third_party/node/deps/openssl/openssl/crypto/
Dthreads_win.c165 DWORD last_error; in CRYPTO_THREAD_get_local() local
181 last_error = GetLastError(); in CRYPTO_THREAD_get_local()
183 SetLastError(last_error); in CRYPTO_THREAD_get_local()
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/
Dgstopenjpegenc.c1108 message->last_error = OPENJPEG_ERROR_NONE; in gst_openjpeg_encode_message_new()
1126 encode_params->last_error = err_code; \
1221 message->last_error = OPENJPEG_ERROR_NONE; in gst_openjpeg_enc_encode_stripe()
1228 if (message->last_error != OPENJPEG_ERROR_NONE) { in gst_openjpeg_enc_encode_stripe()
1298 if (message->last_error == OPENJPEG_ERROR_NONE) { in gst_openjpeg_enc_encode_frame_multiple()
1318 message->last_error); in gst_openjpeg_enc_encode_frame_multiple()
1320 self->last_error = message->last_error; in gst_openjpeg_enc_encode_frame_multiple()
1345 if (message->last_error != OPENJPEG_ERROR_NONE) { in gst_openjpeg_enc_encode_frame_single()
1348 message->last_error); in gst_openjpeg_enc_encode_frame_single()
1350 self->last_error = message->last_error; in gst_openjpeg_enc_encode_frame_single()
[all …]
Dgstopenjpeg.h46 OpenJPEGErrorCode last_error; member
Dgstopenjpegdec.c1240 message->last_error = OPENJPEG_ERROR_NONE; in gst_openjpeg_decode_message_new()
1305 message->frame, message->stripe, message->last_error, in gst_openjpeg_dec_loop()
1311 if (message->last_error != OPENJPEG_ERROR_NONE) in gst_openjpeg_dec_loop()
1339 ("OPEN JPEG decode fail %d", message->last_error)); in gst_openjpeg_dec_loop()
1384 message->last_error = err_code; \
1499 message->last_error = OPENJPEG_ERROR_NONE; in gst_openjpeg_dec_decode_stripe()
1580 if (message->last_error != OPENJPEG_ERROR_NONE) { in gst_openjpeg_dec_decode_frame_single()
1583 message->last_error); in gst_openjpeg_dec_decode_frame_single()
1584 self->last_error = message->last_error; in gst_openjpeg_dec_decode_frame_single()
1665 switch (self->last_error) { in gst_openjpeg_dec_handle_frame()
Dgstopenjpegenc.h68 OpenJPEGErrorCode last_error; member
Dgstopenjpegdec.h88 int last_error; member
/third_party/gn/src/base/files/
Dfile_win.cc230 File::Error File::OSErrorToFileError(DWORD last_error) { in OSErrorToFileError() argument
231 switch (last_error) { in OSErrorToFileError()
264 DCHECK_NE(static_cast<DWORD>(ERROR_SUCCESS), last_error); in OSErrorToFileError()
Dfile.h253 static Error OSErrorToFileError(DWORD last_error);
/third_party/nghttp2/src/
Dh2load_http3_session.cc399 &client_->quic.last_error, in read_stream()
412 &client_->quic.last_error, in write_stream()
439 &client_->quic.last_error, nghttp3_err_infer_quic_app_error_code(rv), in add_write_offset()
450 &client_->quic.last_error, nghttp3_err_infer_quic_app_error_code(rv), in add_ack_offset()
Dh2load_quic.cc480 quic.conn, &ps.path, nullptr, buf.data(), buf.size(), &quic.last_error, in quic_close_connection()
524 ngtcp2_ccerr_set_liberr(&quic.last_error, rv, nullptr, 0); in quic_pkt_timeout()
599 if (!quic.last_error.error_code) { in read_quic()
601 ngtcp2_ccerr_set_tls_alert(&quic.last_error, in read_quic()
605 ngtcp2_ccerr_set_liberr(&quic.last_error, rv, nullptr, 0); in read_quic()
709 ngtcp2_ccerr_set_liberr(&quic.last_error, nwrite, nullptr, 0); in write_quic()
/third_party/curl/lib/vquic/
Dcurl_ngtcp2.c144 ngtcp2_ccerr last_error; member
790 &ctx->last_error, in cb_recv_stream_data()
849 &ctx->last_error, nghttp3_err_infer_quic_app_error_code(rv), NULL, 0); in cb_stream_close()
1052 ngtcp2_ccerr_set_liberr(&ctx->last_error, rv, NULL, 0); in check_and_set_expiry()
1960 if(!ctx->last_error.error_code) { in recv_pkt()
1962 ngtcp2_ccerr_set_tls_alert(&ctx->last_error, in recv_pkt()
1967 ngtcp2_ccerr_set_liberr(&ctx->last_error, rv, NULL, 0); in recv_pkt()
2063 &ctx->last_error, in read_pkt_to_send()
2104 ngtcp2_ccerr_set_liberr(&ctx->last_error, (int)n, NULL, 0); in read_pkt_to_send()
2369 &ctx->last_error, ts); in cf_ngtcp2_close()
[all …]
/third_party/ffmpeg/libavcodec/
Delbg.c378 int i, j, k, last_error, steps = 0, ret = 0; in avpriv_do_elbg() local
406 last_error = elbg->error; in avpriv_do_elbg()
451 } while(((last_error - elbg->error) > DELTA_ERR_MAX*elbg->error) && in avpriv_do_elbg()
/third_party/python/Modules/
Dsignalmodule.c331 int last_error = GetLastError(); in trip_signal() local
333 last_error != WSAEWOULDBLOCK) in trip_signal()
339 (void *)(intptr_t) last_error); in trip_signal()
/third_party/gstreamer/gstplugins_bad/sys/ipcpipeline/
Dgstipcpipelinecomm.c236 int last_error = WSAGetLastError (); in write_to_fd_raw() local
237 if (last_error == WSAEWOULDBLOCK) in write_to_fd_raw()
239 gchar *error_text = g_win32_error_message (last_error); in write_to_fd_raw()
1774 int last_error = WSAGetLastError (); in update_adapter() local
1775 if (last_error == WSAEWOULDBLOCK) { in update_adapter()
1778 errno = last_error; in update_adapter()

12