Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/minix3/external/bsd/kyua-cli/dist/utils/process/
H A Dchild.cpp59 namespace process { namespace
68 std::auto_ptr< process::ifdstream > _output;
74 impl(const pid_t pid, process::ifdstream* output) : in impl()
84 namespace process = utils::process;
101 if (process::detail::syscall_dup2(old_fd, new_fd) == -1) { in safe_dup()
103 throw process::system_error(F("dup2(%s, %s) failed") % old_fd % new_fd, in safe_dup()
119 const int fd = process::detail::syscall_open( in open_for_append()
124 throw process::system_error(F("Failed to create %s because open(2) " in open_for_append()
142 static process::status
147 if (process::detail::syscall_waitpid(pid, &stat_loc, 0) == -1) { in safe_wait()
[all …]
H A Dstatus.cpp38 namespace process = utils::process;
52 process::status::status(const int dead_pid_, int stat_loc) : in status()
69 process::status::status(const optional< int >& exited_, in status()
83 process::status
84 process::status::fake_exited(const int exitstatus_) in fake_exited()
96 process::status
97 process::status::fake_signaled(const int termsig_, const bool coredump_) in fake_signaled()
112 process::status::dead_pid(void) const in dead_pid()
122 process::status::exited(void) const in exited()
134 process::status::exitstatus(void) const in exitstatus()
[all …]
H A Dchild_test.cpp60 namespace process = utils::process;
275 std::auto_ptr< process::child > child = process::child::fork_files( in do_inherit_test()
278 const process::status status = child->wait(); in do_inherit_test()
306 std::auto_ptr< process::child > child = process::child::fork_capture(hook); in child__fork_capture__ok()
322 process::status status = child->wait(); in child__fork_capture__ok()
348 process::detail::syscall_pipe = pipe_fail< 23 >; in ATF_TEST_CASE_BODY()
350 process::child::fork_capture(child_simple_function< 1, 'A' >); in ATF_TEST_CASE_BODY()
352 } catch (const process::system_error& e) { in ATF_TEST_CASE_BODY()
365 std::auto_ptr< process::child > child = process::child::fork_capture( in ATF_TEST_CASE_BODY()
373 const process::status status = child->wait(); in ATF_TEST_CASE_BODY()
[all …]
H A Dexceptions.cpp35 namespace process = utils::process;
41 process::error::error(const std::string& message) : in error()
48 process::error::~error(void) throw() in ~error()
57 process::system_error::system_error(const std::string& message_, in system_error()
66 process::system_error::~system_error(void) throw() in ~system_error()
73 process::system_error::original_errno(void) const throw() in original_errno()
82 process::timeout_error::timeout_error(const std::string& message_) : in timeout_error()
89 process::timeout_error::~timeout_error(void) throw() in ~timeout_error()
H A Dfdstream.cpp35 namespace process { namespace
54 namespace process = utils::process;
62 process::ifdstream::ifdstream(const int fd) : in ifdstream()
73 process::ifdstream::~ifdstream(void) in ~ifdstream()
H A Dexceptions_test.cpp38 namespace process = utils::process;
44 const process::error e("Some text"); in ATF_TEST_CASE_BODY()
52 const process::system_error e("Call failed", ENOENT); in ATF_TEST_CASE_BODY()
/minix3/external/bsd/bind/dist/unit/atf-src/atf-c++/
H A Dbuild.hpp37 namespace process { namespace
47 process::argv_array c_o(const std::string&, const std::string&,
48 const process::argv_array&);
49 process::argv_array cpp(const std::string&, const std::string&,
50 const process::argv_array&);
51 process::argv_array cxx_o(const std::string&, const std::string&,
52 const process::argv_array&);
H A Dbuild.cpp49 atf::process::argv_array
58 return atf::process::argv_array(aux); in cargv_to_argv()
62 atf::process::argv_array
66 atf::process::argv_array argv((const char* const*)l); in cargv_to_argv_and_free()
79 atf::process::argv_array
81 const atf::process::argv_array& optargs) in c_o()
93 atf::process::argv_array
95 const atf::process::argv_array& optargs) in cpp()
107 atf::process::argv_array
109 const atf::process::argv_array& optargs) in cxx_o()
H A Dbuild_test.cpp84 equal_argvs(const atf::process::argv_array& aa, const char* const* array) in equal_argvs()
88 atf::process::argv_array::size_type i = 0; in equal_argvs()
104 check_equal_argvs(const atf::process::argv_array& aa, const char* const* array) in check_equal_argvs()
128 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
135 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
142 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
149 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
173 atf::process::argv_array argv = in ATF_TEST_CASE_BODY()
175 atf::process::argv_array(test->optargs)); in ATF_TEST_CASE_BODY()
195 atf::process::argv_array argv = in ATF_TEST_CASE_BODY()
[all …]
H A Dcheck.hpp46 namespace process { namespace
76 friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
120 const atf::process::argv_array&);
122 const atf::process::argv_array&);
124 const atf::process::argv_array&);
125 std::auto_ptr< check_result > exec(const atf::process::argv_array&);
/minix3/external/bsd/atf/dist/atf-c++/
H A Dbuild.hpp37 namespace process { namespace
47 process::argv_array c_o(const std::string&, const std::string&,
48 const process::argv_array&);
49 process::argv_array cpp(const std::string&, const std::string&,
50 const process::argv_array&);
51 process::argv_array cxx_o(const std::string&, const std::string&,
52 const process::argv_array&);
H A Dbuild.cpp49 atf::process::argv_array
58 return atf::process::argv_array(aux); in cargv_to_argv()
62 atf::process::argv_array
66 atf::process::argv_array argv((const char* const*)l); in cargv_to_argv_and_free()
79 atf::process::argv_array
81 const atf::process::argv_array& optargs) in c_o()
93 atf::process::argv_array
95 const atf::process::argv_array& optargs) in cpp()
107 atf::process::argv_array
109 const atf::process::argv_array& optargs) in cxx_o()
H A Dbuild_test.cpp84 equal_argvs(const atf::process::argv_array& aa, const char* const* array) in equal_argvs()
88 atf::process::argv_array::size_type i = 0; in equal_argvs()
104 check_equal_argvs(const atf::process::argv_array& aa, const char* const* array) in check_equal_argvs()
128 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
135 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
142 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
149 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array)); in ATF_TEST_CASE_BODY()
173 atf::process::argv_array argv = in ATF_TEST_CASE_BODY()
175 atf::process::argv_array(test->optargs)); in ATF_TEST_CASE_BODY()
195 atf::process::argv_array argv = in ATF_TEST_CASE_BODY()
[all …]
H A Dcheck.hpp44 namespace process { namespace
78 friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
122 const atf::process::argv_array&);
124 const atf::process::argv_array&);
126 const atf::process::argv_array&);
127 std::auto_ptr< check_result > exec(const atf::process::argv_array&);
/minix3/external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/
H A DClangFormatPackage.cs135 System.Diagnostics.Process process = new System.Diagnostics.Process(); in RunClangFormat()
136 process.StartInfo.UseShellExecute = false; in RunClangFormat()
137 process.StartInfo.FileName = vsixPath + "\\clang-format.exe"; in RunClangFormat()
141 process.StartInfo.Arguments = " -offset " + offset + in RunClangFormat()
145 process.StartInfo.CreateNoWindow = true; in RunClangFormat()
146 process.StartInfo.RedirectStandardInput = true; in RunClangFormat()
147 process.StartInfo.RedirectStandardOutput = true; in RunClangFormat()
148 process.StartInfo.RedirectStandardError = true; in RunClangFormat()
150 process.StartInfo.WorkingDirectory = path; in RunClangFormat()
158 process.Start(); in RunClangFormat()
[all …]
/minix3/bin/csh/
H A Dproc.h45 struct process { struct
46 struct process *p_next; /* next in global "proclist" */ argument
47 struct process *p_friends; /* next in job list (or self) */ argument
93 struct process proclist; /* list head of all processes */
96 struct process *pholdjob; /* one level stack of current jobs */
98 struct process *pcurrjob; /* current job */
99 struct process *pcurrent; /* current job in table */
100 struct process *pprevious; /* previous job in table */
H A Dproc.c60 static void pflush(struct process *);
61 static void pclrcurr(struct process *);
63 static int pprint(struct process *, int);
64 static void ptprint(struct process *);
67 static struct process *pgetcurr(struct process *);
82 struct process *fp, *pp; in pchild()
196 struct process *pp; in pnote()
222 struct process *fp, *pp; in pwait()
251 pjwait(struct process *pp) in pjwait()
253 struct process *fp; in pjwait()
[all …]
/minix3/external/bsd/kyua-cli/dist/utils/
H A Dsanity_test.cpp47 namespace process = utils::process;
65 static process::status
68 const process::status status = process::child::fork_files( in run_test()
77 verify_success(const process::status& status) in verify_success()
87 verify_failed(const process::status& status, const char* type, in verify_failed()
126 const process::status status = run_test(do_inv_test< true, false >); in ATF_TEST_CASE_BODY()
134 const process::status status = run_test(do_inv_test< false, false >); in ATF_TEST_CASE_BODY()
142 const process::status status = run_test(do_inv_test< false, true >); in ATF_TEST_CASE_BODY()
164 const process::status status = run_test(do_pre_test< true, false >); in ATF_TEST_CASE_BODY()
172 const process::status status = run_test(do_pre_test< false, false >); in ATF_TEST_CASE_BODY()
[all …]
/minix3/external/bsd/bind/dist/unit/atf-src/atf-c++/detail/
H A Dprocess_test.cpp61 atf::process::status
64 using atf::process::exec; in exec_process_helpers()
71 atf::process::argv_array(argv), in exec_process_helpers()
72 atf::process::stream_inherit(), in exec_process_helpers()
73 atf::process::stream_inherit()); in exec_process_helpers()
90 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
97 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
105 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
124 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
132 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
[all …]
/minix3/external/bsd/atf/dist/tools/
H A Dprocess_test.cpp61 tools::process::status
64 using tools::process::exec; in exec_process_helpers()
74 tools::process::argv_array(argv), in exec_process_helpers()
75 tools::process::stream_inherit(), in exec_process_helpers()
76 tools::process::stream_inherit()); in exec_process_helpers()
93 tools::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
100 tools::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
108 tools::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
127 tools::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
135 tools::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
[all …]
/minix3/external/bsd/atf/dist/atf-c++/detail/
H A Dprocess_test.cpp61 atf::process::status
64 using atf::process::exec; in exec_process_helpers()
71 atf::process::argv_array(argv), in exec_process_helpers()
72 atf::process::stream_inherit(), in exec_process_helpers()
73 atf::process::stream_inherit()); in exec_process_helpers()
90 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
97 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
105 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY()
124 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
132 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
[all …]
/minix3/external/bsd/kyua-cli/dist/utils/signals/
H A Dinterrupts_test.cpp46 namespace process = utils::process;
161 std::auto_ptr< process::child > child1(process::child::fork_capture( in ATF_TEST_CASE_BODY()
163 std::auto_ptr< process::child > child2(process::child::fork_capture( in ATF_TEST_CASE_BODY()
174 const process::status status1 = child1->wait(); in ATF_TEST_CASE_BODY()
177 const process::status status2 = child2->wait(); in ATF_TEST_CASE_BODY()
H A Dmisc_test.cpp46 namespace process = utils::process;
91 std::auto_ptr< process::child > child = process::child::fork_files( in ATF_TEST_CASE_BODY()
93 process::status status = child->wait(); in ATF_TEST_CASE_BODY()
/minix3/external/bsd/kyua-cli/lib/utils/
H A DMakefile49 SRCS+= process/child.cpp \
50 process/exceptions.cpp \
51 process/fdstream.cpp \
52 process/status.cpp \
53 process/system.cpp \
54 process/systembuf.cpp
84 SUBDIR= cmdline config format fs logging process signals sqlite text
/minix3/sbin/init/
H A DNOTES19 a user logging out (that is, by a controlling process
22 the impression that when the controlling process terminates,
29 Orphaned process groups bear indirectly on this issue. A
30 session leader's process group is considered to be orphaned;
35 'Historically, the implementation-dependent process that
37 waiting on them is called "init" and has a process ID of 1.'
40 was responsible for sending SIGHUP to the foreground process
41 group of a tty whose controlling process has exited, using
43 do this when the controlling process calls _exit(). The
45 process groups that become orphaned. This is like old BSD
[all …]

12345678910>>...21