/system/libvintf/ |
D | FileSystem.cpp | 31 int saved_errno = errno; in fetch() local 33 *error = "Cannot read " + path + ": " + strerror(saved_errno); in fetch() 35 return saved_errno == 0 ? UNKNOWN_ERROR : -saved_errno; in fetch() 44 int saved_errno = errno; in listFiles() local 46 *error = "Cannot open " + path + ": " + strerror(saved_errno); in listFiles() 48 return saved_errno == 0 ? UNKNOWN_ERROR : -saved_errno; in listFiles() 57 int saved_errno = errno; in listFiles() local 58 if (saved_errno != 0) { in listFiles() 60 *error = "Failed while reading directory " + path + ": " + strerror(saved_errno); in listFiles() 63 return -saved_errno; in listFiles()
|
/system/core/libcutils/ |
D | native_handle.cpp | 88 int saved_errno = errno; in native_handle_close() local 93 errno = saved_errno; in native_handle_close()
|
D | properties.cpp | 61 int saved_errno = errno; in property_get_int() local 69 errno = saved_errno; in property_get_int()
|
D | str_parms.cpp | 215 int saved_errno = errno; in str_parms_add_str() local 250 errno = saved_errno; in str_parms_add_str()
|
/system/apex/apexd/ |
D | apexd_prepostinstall.cpp | 124 int saved_errno = errno; in StageFnInstall() local 125 if (saved_errno != EEXIST) { in StageFnInstall() 127 << strerror(saved_errno); in StageFnInstall()
|
D | apexd_loop.cpp | 156 int saved_errno = errno; in createLoopDevice() local 160 return Error(saved_errno) << "Failed to open " << target; in createLoopDevice()
|
D | apexservice_test.cpp | 379 int saved_errno = errno; in Prepare() local 380 ASSERT_EQ(saved_errno, EEXIST) << trg << ":" << strerror(saved_errno); in Prepare()
|
/system/extras/multinetwork/ |
D | httpurl.cpp | 201 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/libbase/ |
D | utf8.cpp | 138 const int saved_errno = errno; in UTF8ToWide() local 143 errno = saved_errno; in UTF8ToWide()
|
D | file.cpp | 263 int saved_errno = errno; in CleanUpAfterFailedWrite() local 265 errno = saved_errno; in CleanUpAfterFailedWrite()
|
/system/extras/simpleperf/ |
D | workload.cpp | 143 int saved_errno = errno; in ChildProcessFn() local 147 errno = saved_errno; in ChildProcessFn()
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 704 int saved_errno = errno; in Open() local 707 return FiemapStatus::FromErrno(saved_errno); in Open() 720 int saved_errno = errno; in Open() local 723 return FiemapStatus::FromErrno(saved_errno); in Open() 728 int saved_errno = errno; in Open() local 731 return FiemapStatus::FromErrno(saved_errno); in Open()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 264 int saved_errno; in ifc_act_on_address() local 341 saved_errno = errno; in ifc_act_on_address() 343 return -saved_errno; in ifc_act_on_address() 348 saved_errno = errno; in ifc_act_on_address() 351 return -saved_errno; in ifc_act_on_address()
|
/system/core/init/ |
D | persistent_properties.cpp | 191 int saved_errno = errno; in WritePersistentPropertyFile() local 193 return Error(saved_errno) << "Unable to rename persistent property file"; in WritePersistentPropertyFile()
|
D | util.cpp | 707 int saved_errno = errno; in SetStdioToDevNull() local 709 errno = saved_errno; in SetStdioToDevNull()
|
/system/core/adb/ |
D | adb_utils.cpp | 148 const int saved_errno = errno; in mkdirs() local 154 errno = saved_errno; in mkdirs()
|
D | sysdeps_win32.cpp | 225 const int saved_errno = errno; in operator ()() local 227 errno = saved_errno; in operator ()() 2492 const int saved_errno = errno; in _console_write_utf8() local 2546 errno = saved_errno; in _console_write_utf8() 2558 const int saved_errno = errno; in _console_vfprintf() local 2568 errno = saved_errno; in _console_vfprintf()
|
D | adb.cpp | 936 int saved_errno = errno; in launch_server() 939 fprintf(stderr, "could not read ok from ADB Server, errno = %d\n", saved_errno); in launch_server()
|
/system/core/adb/client/ |
D | usb_linux.cpp | 375 int saved_errno = errno; in usb_bulk_read() local 384 if (saved_errno == EINTR) { in usb_bulk_read() 388 errno = saved_errno; in usb_bulk_read()
|
/system/core/adb/daemon/ |
D | shell_service.cpp | 525 int saved_errno = errno; in OpenPtyChildFd() local 527 WriteFdExactly(*error_sfd, strerror(saved_errno)); in OpenPtyChildFd() 533 int saved_errno = errno; in OpenPtyChildFd() local 535 WriteFdExactly(*error_sfd, strerror(saved_errno)); in OpenPtyChildFd()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 221 int saved_errno = errno; in MkdirAndChown() local 223 errno = saved_errno; in MkdirAndChown()
|
/system/extras/partition_tools/ |
D | lpadd.cc | 75 int saved_errno = errno; in GetTemporaryDir() local 78 << strerror(saved_errno) << std::endl; in GetTemporaryDir()
|
/system/iorap/src/perfetto/ |
D | rx_producer.cc | 549 int saved_errno = errno; in CleanUpAfterFailedWrite() local 551 errno = saved_errno; in CleanUpAfterFailedWrite()
|
/system/bt/btif/src/ |
D | btif_sock_l2cap.cc | 976 int saved_errno = errno; in flush_incoming_que_on_wr_signal_l() local 988 return saved_errno == EWOULDBLOCK || saved_errno == EAGAIN; in flush_incoming_que_on_wr_signal_l()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 84 int saved_errno = errno; \ 89 errno = saved_errno; \
|