| /netbsd-src/external/bsd/kyua-cli/dist/utils/process/ |
| H A D | child.cpp | 59 namespace process { namespace 68 std::unique_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 D | child_test.cpp | 60 namespace process = utils::process; 275 std::unique_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::unique_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::unique_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 D | status.cpp | 38 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 D | exceptions.cpp | 35 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()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| H A D | kfd_process.c | 275 struct kfd_process *process; in kfd_create_process() local 294 process = find_process(thread); in kfd_create_process() 295 if (process) { in kfd_create_process() 298 process = create_process(thread); in kfd_create_process() 299 if (IS_ERR(process)) in kfd_create_process() 302 ret = kfd_process_init_cwsr_apu(process, filep); in kfd_create_process() 304 process = ERR_PTR(ret); in kfd_create_process() 311 process->kobj = kfd_alloc_struct(process->kobj); in kfd_create_process() 312 if (!process->kobj) { in kfd_create_process() 316 ret = kobject_init_and_add(process->kobj, &procfs_type, in kfd_create_process() [all …]
|
| H A D | kfd_doorbell.c | 134 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_doorbell_mmap() argument 147 address = kfd_get_process_doorbells(dev, process); in kfd_doorbell_mmap() 234 struct kfd_process *process, in kfd_get_doorbell_dw_offset_in_bar() argument 244 process->doorbell_index in kfd_get_doorbell_dw_offset_in_bar() 260 struct kfd_process *process) in kfd_get_process_doorbells() argument 263 process->doorbell_index * kfd_doorbell_process_slice(dev); in kfd_get_process_doorbells() 266 int kfd_alloc_process_doorbells(struct kfd_process *process) in kfd_alloc_process_doorbells() argument 271 process->doorbell_index = r; in kfd_alloc_process_doorbells() 276 void kfd_free_process_doorbells(struct kfd_process *process) in kfd_free_process_doorbells() argument 278 if (process->doorbell_index) in kfd_free_process_doorbells() [all …]
|
| /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/ |
| H A D | Contents | 12 dtruss process syscall info. DTrace truss 15 execsnoop snoop process execution as it occurs 18 iotop display top disk I/O events by process 20 procsystime analyse process system call times 22 rwtop display top read/write bytes by process 31 cpuwalk.d measure which CPUs a process runs on 43 iofile.d I/O wait time by filename and process 44 iofileb.d I/O bytes by filename and process 64 dnlcps.d DNLC stats by process 70 pridist.d process priority distribution [all …]
|
| H A D | Index | 12 dtruss process syscall info. DTrace truss 15 execsnoop snoop process execution as it occurs 18 iotop display top disk I/O events by process 20 procsystime analyse process system call times 22 rwtop display top read/write bytes by process 31 cpuwalk.d measure which CPUs a process runs on 43 iofile.d I/O wait time by filename and process 44 iofileb.d I/O bytes by filename and process 64 dnlcps.d DNLC stats by process 70 pridist.d process priority distribution [all …]
|
| H A D | oneliners.txt | 10 # Files opened by process name, 13 # Files created using creat() by process name, 16 # Syscall count by process name, 22 # Syscall count by process ID, 25 # Read bytes by process name, 28 # Write bytes by process name, 31 # Read size distribution by process name, 34 # Write size distribution by process name, 37 # Disk size by process ID, 43 # Pages paged in by process name, [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/ |
| H A D | sanity_test.cpp | 47 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 …]
|
| /netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
| H A D | process_test.cpp | 61 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 …]
|
| /netbsd-src/external/bsd/atf/dist/tools/ |
| H A D | process_test.cpp | 61 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 …]
|
| /netbsd-src/external/bsd/atf/dist/atf-c++/ |
| H A D | build.cpp | 49 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_cast<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 D | build_test.cpp | 84 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 D | build.hpp | 37 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&);
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pmu/ |
| H A D | nouveau_nvkm_subdev_pmu_gt215.c | 36 u32 process, u32 message, u32 data0, u32 data1) in gt215_pmu_send() argument 60 pmu->recv.process = process; in gt215_pmu_send() 71 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send() 84 (pmu->recv.process == 0)); in gt215_pmu_send() 99 u32 process, message, data0, data1; in gt215_pmu_recv() local 114 process = nvkm_rd32(device, 0x10a1c4); in gt215_pmu_recv() 124 if (pmu->recv.process) { in gt215_pmu_recv() 125 if (process == pmu->recv.process && in gt215_pmu_recv() 130 pmu->recv.process = 0; in gt215_pmu_recv() 141 (char)((process & 0x000000ff) >> 0), in gt215_pmu_recv() [all …]
|
| /netbsd-src/external/mit/libuv/dist/docs/src/ |
| H A D | process.rst | 7 Process handles will spawn a new process and allow the user to control it and 20 Options for spawning the process (passed to :c:func:`uv_spawn`. 40 will indicate the exit status and the signal that caused the process to 51 * Set the child process' user id. 55 * Set the child process' group id. 65 * Spawn the child process in a detached state - this will make it a process 67 * the parent exits. Note that the child process will still keep the 68 * parent's event loop alive unless the parent process calls uv_unref() on 69 * the child's process handle. 93 Container for each stdio handle or fd passed to a child process. [all …]
|
| /netbsd-src/bin/csh/ |
| H A D | proc.h | 45 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 extern struct process proclist; /* list head of all processes */ 96 extern struct process *pholdjob; /* one level stack of current jobs */ 98 extern struct process *pcurrjob; /* current job */ 99 extern struct process *pcurrent; /* current job in table */ 100 extern struct process *pprevious; /* previous job in table */
|
| H A D | proc.c | 59 struct process proclist; 62 struct process *pholdjob; 64 struct process *pcurrjob; 65 struct process *pcurrent; 66 struct process *pprevious; 71 static void pflush(struct process *); 72 static void pclrcurr(struct process *); 74 static int pprint(struct process *, int); 75 static void ptprint(struct process *); 78 static struct process *pgetcurr(struct process *); [all …]
|
| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | process.c | 85 uv_process_t* process; in uv__wait_children() local 100 process = QUEUE_DATA(q, uv_process_t, queue); in uv__wait_children() 104 if ((process->flags & UV_HANDLE_REAP) == 0) in uv__wait_children() 107 process->flags &= ~UV_HANDLE_REAP; in uv__wait_children() 113 pid = waitpid(process->pid, &status, options); in uv__wait_children() 129 assert(pid == process->pid); in uv__wait_children() 130 process->status = status; in uv__wait_children() 131 QUEUE_REMOVE(&process->queue); in uv__wait_children() 132 QUEUE_INSERT_TAIL(&pending, &process->queue); in uv__wait_children() 138 process = QUEUE_DATA(q, uv_process_t, queue); in uv__wait_children() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/analyzer/ |
| H A D | SATestUtils.py | 92 def get_memory(process: ps.Process) -> int: 96 descendants = list(process.children(recursive=True)) 97 descendants.append(process) 107 with ps.Popen(*popenargs, **kwargs) as process: 109 while (process.is_running() and 110 process.status() != ps.STATUS_ZOMBIE): 112 peak_mem = max(peak_mem, get_memory(process)) 115 if process.is_running(): 116 process.kill() 118 if process.returncode != 0: [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format-vs/ClangFormat/ |
| H A D | ClangFormatPackage.cs | 373 System.Diagnostics.Process process = new System.Diagnostics.Process(); in RunClangFormat() 374 process.StartInfo.UseShellExecute = false; in RunClangFormat() 375 process.StartInfo.FileName = vsixPath + "\\clang-format.exe"; in RunClangFormat() 383 process.StartInfo.Arguments = " -offset " + offset + in RunClangFormat() 389 process.StartInfo.Arguments += " -sort-includes "; in RunClangFormat() 394 process.StartInfo.Arguments += " -assume-filename \"" + assumeFilename + "\""; in RunClangFormat() 395 process.StartInfo.CreateNoWindow = true; in RunClangFormat() 396 process.StartInfo.RedirectStandardInput = true; in RunClangFormat() 397 process.StartInfo.RedirectStandardOutput = true; in RunClangFormat() 398 process.StartInfo.RedirectStandardError = true; in RunClangFormat() [all …]
|
| /netbsd-src/external/mit/libuv/dist/test/ |
| H A D | test-spawn.c | 43 static uv_process_t process; variable 63 static void exit_cb(uv_process_t* process, in exit_cb() argument 70 uv_close((uv_handle_t*) process, close_cb); in exit_cb() 74 static void fail_cb(uv_process_t* process, in fail_cb() argument 81 static void kill_cb(uv_process_t* process, in kill_cb() argument 103 uv_close((uv_handle_t*) process, close_cb); in kill_cb() 110 err = uv_kill(process->pid, 0); in kill_cb() 114 static void detach_failure_cb(uv_process_t* process, in detach_failure_cb() argument 174 uv_process_kill(&process, SIGTERM); in timer_cb() 190 r = uv_spawn(uv_default_loop(), &process, &options); in TEST_IMPL() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/ |
| H A D | extract_symbols.py | 33 process = subprocess.Popen(['dumpbin','/symbols',lib], bufsize=1, 36 process.stdin.close() 37 for line in process.stdout: 42 process.wait() 46 process = subprocess.Popen(['nm','-P','-Xany','-C','-p',lib], bufsize=1, 50 process = subprocess.Popen(['nm','-P',lib], bufsize=1, 53 process.stdin.close() 54 for line in process.stdout: 59 process.wait() 62 process = subprocess.Popen(['llvm-readobj','-symbols',lib], bufsize=1, [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/po/ |
| H A D | sv.po | 42 msgid "This program is running as process number %d." 43 msgstr "Detta program kör som process nummer %d." 48 msgid "This program is running as process number %1." 49 msgstr "Detta program kör som process nummer %1." 61 msgid "This program is running as process number $pid." 62 msgstr "Detta program kör som process nummer $pid." 66 msgid "This program is running as process number %(pid)d." 67 msgstr "Detta program kör som process nummer %(pid)d." 71 msgid "This program is running as process number ~D." 72 msgstr "Detta program kör som process nummer ~D." [all …]
|