Searched refs:OHOS_TEMP_FAILURE_RETRY (Results 1 – 7 of 7) sorted by relevance
/base/hiviewdfx/faultloggerd/common/cutil/ |
D | musl_cutil.h | 41 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()
|
D | dfx_cutil.c | 42 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/ |
D | dfx_define.h | 72 #define OHOS_TEMP_FAILURE_RETRY(exp) \ macro
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
D | dfx_signal_handler.c | 230 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/ |
D | dfx_memory_file.cpp | 53 …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/ |
D | faultloggerd_socket.cpp | 83 sockfd = OHOS_TEMP_FAILURE_RETRY(socket(AF_LOCAL, SOCK_STREAM, 0)); in GetServerSocket()
|
/base/hiviewdfx/faultloggerd/services/ |
D | fault_logger_daemon.cpp | 481 int32_t fd = OHOS_TEMP_FAILURE_RETRY(open(path.c_str(), O_RDWR | O_CREAT, FAULTLOG_FILE_PROP)); in CreateFileForRequest()
|