Home
last modified time | relevance | path

Searched refs:OHOS_TEMP_FAILURE_RETRY (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/faultloggerd/common/cutil/
Dmusl_cutil.h41 fd = OHOS_TEMP_FAILURE_RETRY(open(path, O_RDONLY)); in ReadStringFromFile()
46 int nRead = OHOS_TEMP_FAILURE_RETRY(read(fd, name, NAME_LEN -1)); in ReadStringFromFile()
94 int fd = OHOS_TEMP_FAILURE_RETRY(open(PROC_SELF_STATUS_PATH, O_RDONLY)); in GetRealPid()
104 nRead = OHOS_TEMP_FAILURE_RETRY(read(fd, &b, sizeof(char))); in GetRealPid()
Ddfx_cutil.c42 fd = OHOS_TEMP_FAILURE_RETRY(open(path, O_RDONLY)); in ReadStringFromFile()
47 ssize_t nRead = OHOS_TEMP_FAILURE_RETRY(read(fd, name, NAME_LEN - 1)); in ReadStringFromFile()
95 int fd = OHOS_TEMP_FAILURE_RETRY(open(PROC_SELF_STATUS_PATH, O_RDONLY)); in GetRealPid()
104 ssize_t nRead = OHOS_TEMP_FAILURE_RETRY(read(fd, &b, sizeof(char))); in GetRealPid()
/base/hiviewdfx/faultloggerd/common/
Ddfx_define.h72 #define OHOS_TEMP_FAILURE_RETRY(exp) \ macro
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_signal_handler.c230 int devNull = OHOS_TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in DFX_SetUpEnvironment()
236 OHOS_TEMP_FAILURE_RETRY(dup2(devNull, STDOUT_FILENO)); in DFX_SetUpEnvironment()
237 OHOS_TEMP_FAILURE_RETRY(dup2(devNull, STDERR_FILENO)); in DFX_SetUpEnvironment()
275 ssize_t realWriteSize = OHOS_TEMP_FAILURE_RETRY(writev(g_pipefd[1], iovs, 1)); in DFX_ExecDump()
280 OHOS_TEMP_FAILURE_RETRY(dup2(g_pipefd[0], STDIN_FILENO)); in DFX_ExecDump()
/base/hiviewdfx/faultloggerd/frameworks/unwinder/
Ddfx_memory_file.cpp53 …OHOS::UniqueFd ufd = OHOS::UniqueFd(OHOS_TEMP_FAILURE_RETRY(open(file.c_str(), O_RDONLY | O_CLOEXE… in Init()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
Dfaultloggerd_socket.cpp83 sockfd = OHOS_TEMP_FAILURE_RETRY(socket(AF_LOCAL, SOCK_STREAM, 0)); in GetServerSocket()
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_daemon.cpp481 int32_t fd = OHOS_TEMP_FAILURE_RETRY(open(path.c_str(), O_RDWR | O_CREAT, FAULTLOG_FILE_PROP)); in CreateFileForRequest()