/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()
|
D | VintfFm.cpp | 78 int saved_errno = errno; in write() local 80 *error = "Can't write to " + path + ": " + strerror(saved_errno); in write() 82 return saved_errno == 0 ? UNKNOWN_ERROR : -saved_errno; in write() 88 int saved_errno = errno; in deleteFile() local 90 *error = "Can't unlink " + path + ": " + strerror(saved_errno); in deleteFile() 92 return saved_errno == 0 ? UNKNOWN_ERROR : -saved_errno; in deleteFile()
|
/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()
|
D | ashmem-dev.cpp | 217 int saved_errno = errno; in __ashmem_open_locked() local 223 ashmem_device_path.c_str(), strerror(saved_errno), strerror(errno)); in __ashmem_open_locked()
|
/system/extras/multinetwork/ |
D | httpurl.cpp | 212 const int saved_errno = errno; in doHttpQuery() local 213 std::cerr << "Failed to recv; errno=" << saved_errno in doHttpQuery() 214 << " [" << 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 | 729 int saved_errno = errno; in SetStdioToDevNull() local 731 errno = saved_errno; in SetStdioToDevNull()
|
/system/apex/apexd/ |
D | apexd_loop.cpp | 193 int saved_errno = errno; in ConfigureLoopDevice() local 199 return Error(saved_errno) << "Failed to open " << target; in ConfigureLoopDevice()
|
D | apexservice_test.cpp | 382 int saved_errno = errno; in Prepare() local 383 ASSERT_EQ(saved_errno, EEXIST) << trg << ":" << strerror(saved_errno); in Prepare() 3057 int saved_errno = errno; in SetUp() local 3058 ASSERT_EQ(saved_errno, EEXIST) in SetUp() 3059 << kTempPrebuiltDir << ":" << strerror(saved_errno); in SetUp()
|
/system/bpf/libbpf_android/ |
D | Loader.cpp | 542 int saved_errno; in createMaps() local 546 saved_errno = errno; in createMaps() 573 saved_errno = errno; in createMaps() 577 if (fd < 0) return -saved_errno; in createMaps()
|
/system/extras/partition_tools/ |
D | lpadd.cc | 75 int saved_errno = errno; in GetTemporaryDir() local 78 << strerror(saved_errno) << std::endl; in GetTemporaryDir()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 263 int saved_errno = errno; in MkdirAndChown() 265 errno = saved_errno; in MkdirAndChown()
|
/system/bt/btif/src/ |
D | btif_sock_l2cap.cc | 813 int saved_errno = errno; in flush_incoming_que_on_wr_signal_l() local 825 return saved_errno == EWOULDBLOCK || saved_errno == EAGAIN; in flush_incoming_que_on_wr_signal_l()
|
/system/iorap/src/perfetto/ |
D | rx_producer.cc | 572 int saved_errno = errno; in CleanUpAfterFailedWrite() local 574 errno = saved_errno; in CleanUpAfterFailedWrite()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 139 auto saved_errno = errno; in fs_mgr_is_dsu_running() local 141 errno = saved_errno; in fs_mgr_is_dsu_running()
|
D | fs_mgr.cpp | 2270 auto saved_errno = errno; in fs_mgr_create_canonical_mount_point() local 2285 errno = saved_errno; in fs_mgr_create_canonical_mount_point()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 90 int saved_errno = errno; \ 95 errno = saved_errno; \
|