Searched refs:OHOS_TEMP_FAILURE_RETRY (Results 1 – 3 of 3) sorted by relevance
204 int devNull = OHOS_TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in DFX_SetUpEnvironment()210 OHOS_TEMP_FAILURE_RETRY(dup2(devNull, STDOUT_FILENO)); in DFX_SetUpEnvironment()211 OHOS_TEMP_FAILURE_RETRY(dup2(devNull, STDERR_FILENO)); in DFX_SetUpEnvironment()250 ssize_t realWriteSize = OHOS_TEMP_FAILURE_RETRY(writev(g_pipefd[1], iovs, 1)); in DFX_ExecDump()255 OHOS_TEMP_FAILURE_RETRY(dup2(g_pipefd[0], STDIN_FILENO)); in DFX_ExecDump()
85 #define OHOS_TEMP_FAILURE_RETRY(exp) \ macro
83 sockfd = OHOS_TEMP_FAILURE_RETRY(socket(AF_LOCAL, SOCK_STREAM, 0)); in GetServerSocket()