Home
last modified time | relevance | path

Searched refs:TEMP_FAILURE_RETRY (Results 1 – 13 of 13) sorted by relevance

/device/generic/goldfish/libqemu/
Dtest_host_2.c35 #undef TEMP_FAILURE_RETRY
36 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
43 #define TFR TEMP_FAILURE_RETRY
Dtest_host_1.c37 #undef TEMP_FAILURE_RETRY
38 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
45 #define TFR TEMP_FAILURE_RETRY
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp149 int length = TEMP_FAILURE_RETRY( in threadLoop()
230 int fd = TEMP_FAILURE_RETRY( in createFileIfNotExists()
240 if (TEMP_FAILURE_RETRY(write(fd, "1\n", /*count*/2)) == -1) { in createFileIfNotExists()
340 int fd = TEMP_FAILURE_RETRY( in readFile()
351 length = TEMP_FAILURE_RETRY( in readFile()
DEmulatedCameraDevice.cpp331 TEMP_FAILURE_RETRY(write(mThreadControl, &msg, sizeof(msg))); in stopThread()
380 int res = TEMP_FAILURE_RETRY(select(fd_num, fds, NULL, NULL, tvp)); in Select()
391 res = TEMP_FAILURE_RETRY(read(mControlFD, &msg, sizeof(msg))); in Select()
/device/google/dragon/crash_collector/
Dcrash_dispatcher.cc70 if (TEMP_FAILURE_RETRY(dup2(pipe_fds[0], STDIN_FILENO)) != 0) { in main()
90 int rv = TEMP_FAILURE_RETRY(read(STDIN_FILENO, buf, kBufSize)); in main()
Dcoredump_writer.cc39 if (TEMP_FAILURE_RETRY(statvfs(path.c_str(), &stats)) != 0) { in GetFreeDiskSpace()
77 int rv = TEMP_FAILURE_RETRY( in CopyTo()
117 ScopedFd fd_dest(TEMP_FAILURE_RETRY(open(coredump_filename_.c_str(), in WriteCoredump()
374 ScopedFd fd(TEMP_FAILURE_RETRY(open( in WriteAuxv()
389 ScopedFd fd(TEMP_FAILURE_RETRY(open( in WriteMaps()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp592 int ret = TEMP_FAILURE_RETRY(write(mFd, &cmd, sizeof(cmd))); in restoreSensorState()
600 int ret = TEMP_FAILURE_RETRY(write(mFd, &cmd, sizeof(cmd))); in restoreSensorState()
993 ret = TEMP_FAILURE_RETRY(write(mFd, &cmd, sizeof(cmd))); in queueActivate()
1021 ret = TEMP_FAILURE_RETRY(write(mFd, &cmd, sizeof(cmd))); in queueSetDelay()
1054 ret = TEMP_FAILURE_RETRY(write(mFd, &cmd, sizeof(cmd))); in queueBatch()
1080 ret = TEMP_FAILURE_RETRY(write(mFd, &cmd, sizeof(cmd))); in queueFlush()
1102 ret = TEMP_FAILURE_RETRY(write(mFd, cmd, sizeof(*cmd) + length)); in queueDataInternal()
1156 ret = TEMP_FAILURE_RETRY(write(mFd, cmd, sizeof(*cmd) + sizeof(float))); in queueUsbMagBias()
1172 mUinputFd = TEMP_FAILURE_RETRY(open("/dev/uinput", O_WRONLY | O_NONBLOCK)); in initializeUinputNode()
1179 ret = TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_EVBIT, EV_SW)); in initializeUinputNode()
[all …]
/device/google/dragon/health/
Dhealthd-dragon.cpp41 ssize_t count = TEMP_FAILURE_RETRY(read(fd, buf, size)); in read_sysfs()
/device/huawei/angler/power/
Dpower-8994.c73 TEMP_FAILURE_RETRY(nanosleep(&tv, &tv)); in video_encode_hint_function()
/device/lge/bullhead/power/
Dpower-8992.c73 TEMP_FAILURE_RETRY(nanosleep(&tv, &tv)); in video_encode_hint_function()
/device/htc/flounder/health/
Dhealthd-flounder.cpp63 ssize_t count = TEMP_FAILURE_RETRY(read(fd, buf, size)); in read_sysfs()
/device/google/dragon/sensor_hub/
Dsensors.cpp655 TEMP_FAILURE_RETRY(n = poll(mPollFds, numFds, in pollEvents()
/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp722 TEMP_FAILURE_RETRY(n = poll(mPollFds, numFds, nbEvents ? 0 : -1)); in pollEvents()