/system/core/init/ |
util.cpp | 165 TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY | O_NOFOLLOW | O_CLOEXEC))); 205 android::base::unique_fd fd(TEMP_FAILURE_RETRY(
|
persistent_properties.cpp | 174 unique_fd fd(TEMP_FAILURE_RETRY(
|
/system/security/keystore/ |
blob.cpp | 236 TEMP_FAILURE_RETRY(open(tmpFileName, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR)); 260 const int in = TEMP_FAILURE_RETRY(open(filename.c_str(), O_RDONLY));
|
/art/compiler/utils/ |
swap_space.cc | 165 int result = TEMP_FAILURE_RETRY(ftruncate64(fd_, size_ + next_part));
|
/art/oatdump/ |
oatdump_test.h | 206 TEMP_FAILURE_RETRY(read(pipe_fd, &line[line_len], kLineMax - line_len));
|
/bionic/libc/stdio/ |
stdio.cpp | 475 return TEMP_FAILURE_RETRY(read(fp->_file, buf, n)); 480 return TEMP_FAILURE_RETRY(write(fp->_file, buf, n)); 485 return TEMP_FAILURE_RETRY(lseek(fp->_file, offset, whence)); 490 return TEMP_FAILURE_RETRY(lseek64(fp->_file, offset, whence));
|
/bootable/recovery/minui/ |
events.cpp | 170 ssize_t r = TEMP_FAILURE_RETRY(read(fd, ev, sizeof(*ev)));
|
/external/elfutils/libdwfl/ |
find-debuginfo.c | 57 int fd = TEMP_FAILURE_RETRY (open (fname, O_RDONLY));
|
linux-kernel-modules.c | 91 : TEMP_FAILURE_RETRY (open (*fname, O_RDONLY))); 122 fd = TEMP_FAILURE_RETRY (open (zname, O_RDONLY));
|
/external/perf_data_converter/src/ |
builder.cc | 106 TEMP_FAILURE_RETRY(open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0444));
|
/frameworks/base/cmds/incidentd/src/ |
FdBuffer.cpp | 107 TEMP_FAILURE_RETRY(::read(fd, mBuffer.writeBuffer(), mBuffer.currentToWrite()));
|
/system/bt/hci/src/ |
btsnoop.cc | 281 TEMP_FAILURE_RETRY(writev(logfile_fd, iov, 2));
|
/system/core/adb/ |
adb_utils.cpp | 63 if (TEMP_FAILURE_RETRY(dup2(fd, STDIN_FILENO)) == -1) {
|
/system/core/debuggerd/crasher/ |
crasher.cpp | 224 TEMP_FAILURE_RETRY(read(STDIN_FILENO, buf, sizeof(buf)));
|
/system/core/debuggerd/ |
debuggerd_test.cpp | 124 ssize_t rc = TEMP_FAILURE_RETRY(read(intercept_fd->get(), &response, sizeof(response))); 213 TEMP_FAILURE_RETRY(read(crasher_read_pipe.get(), &dummy, 1)); 259 ssize_t rc = TEMP_FAILURE_RETRY(read(fd.get(), &result[offset], read_length)); 872 if (TEMP_FAILURE_RETRY(write(sockfd, &packet, sizeof(packet))) != sizeof(packet)) {
|
/system/core/fastboot/ |
fs.cpp | 97 if (TEMP_FAILURE_RETRY(waitpid(child, &status, 0)) == -1) {
|
/system/core/libsysutils/src/ |
SocketClient.cpp | 211 ssize_t rc = TEMP_FAILURE_RETRY(
|
/system/core/libunwindstack/ |
DexFile.cpp | 103 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(file.c_str(), O_RDONLY | O_CLOEXEC)));
|
/system/core/logd/tests/ |
logd_test.cpp | 403 int result = TEMP_FAILURE_RETRY(read(fd, msg.buf, sizeof(msg))); 706 ASSERT_EQ(0, TEMP_FAILURE_RETRY(waitid(P_PID, pid, &info, WEXITED))); 979 ASSERT_EQ(0, TEMP_FAILURE_RETRY(waitid(P_PID, pid, &info, WEXITED))); [all...] |
/system/netd/server/ |
FwmarkServer.cpp | 115 int messageLength = TEMP_FAILURE_RETRY(recvmsg(client->getSocket(), &message, MSG_CMSG_CLOEXEC));
|
/system/vold/ |
Utils.cpp | 100 if (TEMP_FAILURE_RETRY(unlink(cpath))) { 381 int fd = TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); 387 while ((n = TEMP_FAILURE_RETRY(read(fd, &buf[0], bytes))) > 0) { 569 int fd = TEMP_FAILURE_RETRY(open(c_path, O_RDWR | O_CLOEXEC));
|
/system/vold/bench/ |
benchgen.py | 198 print >>bench, '%s = TEMP_FAILURE_RETRY(open("file%s", %s%s));' \ 210 print >>bench, 'TEMP_FAILURE_RETRY(lseek(%s, %s, %s));' % (handle, e.args[1], e.args[2]) 215 print >>bench, 'TEMP_FAILURE_RETRY(lseek(%s, %s, %s));' % (handle, e.args[1], e.args[3]) 223 print >>bench, 'TEMP_FAILURE_RETRY(read(%s, buf, %d));' % (handle, count) 232 print >>bench, 'TEMP_FAILURE_RETRY(write(%s, buf, %d));' % (handle, count) 240 print >>bench, 'TEMP_FAILURE_RETRY(pread(%s, buf, %d, %s));' % (handle, count, e.args[3]) 248 print >>bench, 'TEMP_FAILURE_RETRY(pwrite(%s, buf, %d, %s));' % (handle, count, e.args[3]) 254 print >>bench, 'TEMP_FAILURE_RETRY(fsync(%s));' % (handle) 260 print >>bench, 'TEMP_FAILURE_RETRY(fdatasync(%s));' % (handle) 269 print >>bench, 'TEMP_FAILURE_RETRY(pread(%s, buf, %s, %s)); // mmap2' % (handle, count, offset [all...] |
/hardware/interfaces/camera/device/3.4/default/ |
ExternalCameraDeviceSession.cpp | [all...] |
/device/google/contexthub/sensorhal/ |
hubconnection.cpp | 513 ret = TEMP_FAILURE_RETRY(::write(mFd, buf, count)); [all...] |
/frameworks/native/cmds/installd/ |
dexopt.cpp | 622 unique_fd fd(TEMP_FAILURE_RETRY(open(profile.c_str(), flags, 0600))); 651 fd.reset(TEMP_FAILURE_RETRY(open(profile.c_str(), flags))); [all...] |