Home
last modified time | relevance | path

Searched refs:saved_errno (Results 1 – 14 of 14) sorted by relevance

/system/core/crash_reporter/
Dcrash_collector.cc248 int saved_errno = errno; in GetSymlinkTarget() local
250 << saved_errno; in GetSymlinkTarget()
281 int saved_errno = errno; in GetExecutableBaseNameFromPid() local
284 << " " << saved_errno; in GetExecutableBaseNameFromPid()
/system/core/base/
Dutf8.cpp136 const int saved_errno = errno; in UTF8ToWide() local
141 errno = saved_errno; in UTF8ToWide()
Dfile.cpp77 int saved_errno = errno; in CleanUpAfterFailedWrite() local
79 errno = saved_errno; in CleanUpAfterFailedWrite()
/system/extras/multinetwork/
Dhttpurl.cpp201 const int saved_errno = errno; in doHttpQuery() local
202 std::cerr << "Failed to recv; errno=" << saved_errno in doHttpQuery()
203 << " [" << strerror(saved_errno) << "]" in doHttpQuery()
/system/extras/simpleperf/
Dworkload.cpp107 int saved_errno = errno; in ChildProcessFn() local
111 errno = saved_errno; in ChildProcessFn()
/system/core/adb/
Dadb_utils.cpp189 const int saved_errno = errno; in mkdirs() local
195 errno = saved_errno; in mkdirs()
Dshell_service.cpp431 int saved_errno = errno; in OpenPtyChildFd() local
433 WriteFdExactly(error_sfd->fd(), strerror(saved_errno)); in OpenPtyChildFd()
439 int saved_errno = errno; in OpenPtyChildFd() local
441 WriteFdExactly(error_sfd->fd(), strerror(saved_errno)); in OpenPtyChildFd()
Dusb_linux.cpp366 int saved_errno = errno; in usb_bulk_read() local
375 if (saved_errno == EINTR) { in usb_bulk_read()
379 errno = saved_errno; in usb_bulk_read()
Dsysdeps_win32.cpp296 const int saved_errno = errno; in operator ()() local
298 errno = saved_errno; in operator ()()
2491 const int saved_errno = errno; in _console_write_utf8() local
2544 errno = saved_errno; in _console_write_utf8()
2557 const int saved_errno = errno; in _console_vfprintf() local
2567 errno = saved_errno; in _console_vfprintf()
Dadb.cpp876 int saved_errno = errno; in launch_server()
879 fprintf(stderr, "could not read ok from ADB Server, errno = %d\n", saved_errno); in launch_server()
/system/core/libnetutils/
Difc_utils.c264 int saved_errno; in ifc_act_on_address() local
346 saved_errno = errno; in ifc_act_on_address()
348 return -saved_errno; in ifc_act_on_address()
352 saved_errno = errno; in ifc_act_on_address()
355 return -saved_errno; in ifc_act_on_address()
/system/core/libcutils/
Dstr_parms.c222 int saved_errno = errno; in str_parms_add_str() local
257 errno = saved_errno; in str_parms_add_str()
/system/bt/btif/src/
Dbtif_sock_l2cap.c1003 int saved_errno = errno; in flush_incoming_que_on_wr_signal_l() local
1016 return saved_errno == EWOULDBLOCK || saved_errno == EAGAIN; in flush_incoming_que_on_wr_signal_l()
/system/core/debuggerd/
Ddebuggerd.cpp344 int saved_errno = errno; in is32bit() local
347 ALOGW("Failed to open /proc/%d/exe %s", tid, strerror(saved_errno)); in is32bit()