Searched refs:PANDA_FAILURE_RETRY (Results 1 - 12 of 12) sorted by relevance
/arkcompiler/runtime_core/static_core/dprof/libdprof/dprof/ipc/ |
H A D | ipc_unix_socket.cpp | 34 os::unique_fd::UniqueFd sock(PANDA_FAILURE_RETRY(::socket(AF_UNIX, SOCK_STREAM, 0))); in CreateUnixServerSocket() 37 if (PANDA_FAILURE_RETRY(::setsockopt(sock.Get(), SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt))) == -1) { in CreateUnixServerSocket() 53 if (PANDA_FAILURE_RETRY(::bind(sock.Get(), sockAddr, sizeof(serverAddr))) == -1) { in CreateUnixServerSocket() 68 os::unique_fd::UniqueFd sock(PANDA_FAILURE_RETRY(::socket(AF_UNIX, SOCK_STREAM, 0))); in CreateUnixClientSocket() 85 if (PANDA_FAILURE_RETRY(::connect(sock.Get(), sockAddr, sizeof(serverAddr))) == -1) { in CreateUnixClientSocket() 99 int n = PANDA_FAILURE_RETRY(::send(fd, p + total, len, 0)); in SendAll() 116 int rc = PANDA_FAILURE_RETRY(::poll(&pfd, 1, timeoutMs)); in WaitDataTimeout() 143 int n = PANDA_FAILURE_RETRY(::recv(fd, buf, len, 0)); in RecvTimeout()
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
H A D | pipe.cpp | 34 if (PANDA_FAILURE_RETRY(pipe(fds.data())) == -1) { in CreatePipe() 61 ssize_t bytesRead = PANDA_FAILURE_RETRY(read(pipeFd.Get(), buf, size)); in ReadFromPipe() 70 ssize_t bytesWritten = PANDA_FAILURE_RETRY(write(pipeFd.Get(), buf, size)); in WriteToPipe() 97 int res = PANDA_FAILURE_RETRY(poll(pollfds.data(), size, -1)); in WaitForEvent() 115 if (PANDA_FAILURE_RETRY(dup2(source.Get(), target.Get())) == -1) { in Dup2()
|
H A D | exec.h | 59 pid_t resPid = PANDA_FAILURE_RETRY(waitpid(pid, &status, 0)); in ExecWithCallback()
|
H A D | exec.cpp | 45 pid_t resPid = PANDA_FAILURE_RETRY(waitpid(pid, &status, 0)); in Wait()
|
H A D | signal.h | 73 LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) != 0, FATAL, COMMON) << "sigwait failed"; in Wait()
|
/arkcompiler/runtime_core/libpandabase/os/ |
H A D | failure_retry.h | 34 #define PANDA_FAILURE_RETRY(exp) (__extension__ TEMP_FAILURE_RETRY(exp)) macro 37 #define PANDA_FAILURE_RETRY(exp) (exp) macro
|
H A D | unique_fd.h | 89 LOG_IF(PANDA_FAILURE_RETRY(::close(fd)) != 0, FATAL, COMMON) << "Incorrect fd: " << fd; in DefaultCloser()
|
/arkcompiler/runtime_core/static_core/libpandabase/os/ |
H A D | failure_retry.h | 34 #define PANDA_FAILURE_RETRY(exp) (__extension__ TEMP_FAILURE_RETRY(exp)) macro 37 #define PANDA_FAILURE_RETRY(exp) (exp) macro
|
H A D | unique_fd.h | 89 LOG_IF(PANDA_FAILURE_RETRY(::close(fd)) != 0, FATAL, COMMON) << "Incorrect fd: " << fd; in DefaultCloser()
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
H A D | exec.cpp | 48 pid_t res_pid = PANDA_FAILURE_RETRY(waitpid(pid, &status, 0)); in Exec()
|
H A D | signal.h | 73 LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) == -1, FATAL, COMMON) << "sigwait failed"; in Wait()
|
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
H A D | thread_communicator.h | 46 LOG_IF(PANDA_FAILURE_RETRY(::close(fd)) != 0, FATAL, PROFILER) << "Cannot close fd: " << fd; in ~ThreadCommunicator()
|
Completed in 4 milliseconds