Lines Matching defs:status

37   int status = fcntl(fd, F_GETFL);
38 if (status == -1) {
43 if (fcntl(fd, F_SETFL, status | flags) == -1) {
73 Status status;
76 .LaunchProcess(launch_info, status)
79 if (status.Fail()) {
80 LLDB_LOG(log, "failed to launch process: {0}", status);
84 return status.ToError();
114 status = process_up->SetupTrace();
115 if (status.Fail())
116 return status.ToError();
141 Status status = process_up->Attach();
142 if (!status.Success())
143 return status.ToError();
168 Status status = EnsureFDFlags(m_terminal_fd, O_NONBLOCK);
169 assert(status.Success());
172 Status status;
174 SIGCHLD, [this](MainLoopBase &) { SigchldHandler(); }, status);
175 assert(m_sigchld_handle && status.Success());
190 void NativeProcessFreeBSD::MonitorExited(lldb::pid_t pid, WaitStatus status) {
193 LLDB_LOG(log, "got exit signal({0}) , pid = {1}", status, pid);
198 SetExitStatus(status, true);
737 auto status = CanTrace();
738 if (status.Fail())
739 return status;
764 auto status = CanTrace();
765 if (status.Fail())
766 return status;
783 int status;
785 llvm::sys::RetryAfterSignal(-1, waitpid, GetID(), &status, WNOHANG);
792 LLDB_LOG(log, "waitpid ({0}, &status, _) failed: {1}", GetID(), error);
796 WaitStatus wait_status = WaitStatus::Decode(status);
802 "waitpid ({0}, &status, _) => pid = {1}, status = {2}, exited = {3}",
803 GetID(), wait_pid, status, exited);
809 MonitorCallback(wait_pid, wait_status.status);
864 Status status = PtraceWrapper(PT_ATTACH, m_pid);
865 if (status.Fail())
866 return status;
875 // Initialize threads and tracing status
877 status = SetupTrace();
878 if (status.Fail())
879 return status;
962 Status status =
964 if (status.Fail())
965 return status;
967 status = PtraceWrapper(PT_SET_EVENT_MASK, GetID(), &events, sizeof(events));
968 if (status.Fail())
969 return status;
1006 int status;
1008 llvm::sys::RetryAfterSignal(-1, ::waitpid, child_pid, &status, 0);
1016 if (WIFEXITED(status)) {