Home
last modified time | relevance | path

Searched refs:pid (Results 1251 - 1275 of 1736) sorted by relevance

1...<<51525354555657585960>>...70

/third_party/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_filesystem_test.c576 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main() local
578 while (waitpid(pid, &error, __WALL) == EOF && in main()
594 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main() local
596 while (waitpid(pid, &error, __WALL) == EOF && in main()
611 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, in main() local
613 while (waitpid(pid, &error, __WALL) == EOF && in main()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dinstrument_pass.cpp707 uint32_t pid = TakeNextId(); in GetStreamWriteFunctionId() local
708 param_vec.push_back(pid); in GetStreamWriteFunctionId()
711 GetUintId(), pid, {})); in GetStreamWriteFunctionId()
814 uint32_t pid = TakeNextId(); in GetDirectReadFunctionId() local
815 param_vec.push_back(pid); in GetDirectReadFunctionId()
817 get_module()->context(), SpvOpFunctionParameter, GetUintId(), pid, {})); in GetDirectReadFunctionId()
H A Dinst_buff_addr_check_pass.cpp213 uint32_t pid = TakeNextId(); in AddParam() local
214 param_vec->push_back(pid); in AddParam()
216 get_module()->context(), SpvOpFunctionParameter, type_id, pid, {})); in AddParam()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dinstrument_pass.cpp707 uint32_t pid = TakeNextId(); in GetStreamWriteFunctionId() local
708 param_vec.push_back(pid); in GetStreamWriteFunctionId()
711 GetUintId(), pid, {})); in GetStreamWriteFunctionId()
814 uint32_t pid = TakeNextId(); in GetDirectReadFunctionId() local
815 param_vec.push_back(pid); in GetDirectReadFunctionId()
817 get_module()->context(), SpvOpFunctionParameter, GetUintId(), pid, {})); in GetDirectReadFunctionId()
H A Dinst_buff_addr_check_pass.cpp213 uint32_t pid = TakeNextId(); in AddParam() local
214 param_vec->push_back(pid); in AddParam()
216 get_module()->context(), SpvOpFunctionParameter, type_id, pid, {})); in AddParam()
/third_party/python/Lib/test/support/
H A D__init__.py900 self.procfile = '/proc/{pid}/statm'.format(pid=os.getpid())
1320 pid, status = os.waitpid(-1, os.WNOHANG)
1324 if pid == 0:
1327 print_warning(f"reap_children() reaped child process {pid}")
2074 def wait_process(pid, *, exitcode, timeout=None):
2076 Wait until process pid completes and check that the process exit code is
2094 pid2, status = os.waitpid(pid, os.WNOHANG)
2102 os.kill(pid, signal.SIGKILL)
2103 os.waitpid(pid,
[all...]
/third_party/backends/backend/pixma/
H A Dpixma_mp750.c476 switch (s->cfg->pid) in calc_component_shifting()
507 if (s->cfg->pid == MP750_PID) in workaround_first_command()
950 #define DEVICE(name, model, pid, dpi, cap) { \
953 0x04a9, pid, /* vid pid */ \
/third_party/libbpf/src/
H A Dlibbpf.h46 LIBBPF_ERRNO__WRNGPID, /* Wrong pid in netlink message */
559 * 1) use only path/func_pattern/pid arguments
561 * 2) use path/pid with allowed combinations of
569 * @param pid Process ID to attach the uprobe to, 0 for self (own process),
579 pid_t pid,
664 * @param pid Process ID to attach the uprobe to, 0 for self (own process),
673 pid_t pid, const char *binary_path,
682 * @param pid Process ID to attach the uprobe to, 0 for self (own process),
691 bpf_program__attach_uprobe_opts(const struct bpf_program *prog, pid_t pid,
711 * @param pid Proces
[all...]
/third_party/node/lib/internal/
H A Dchild_process.js419 this.pid = this._handle.pid;
444 stream.socket = createSocket(this.pid !== 0 ?
447 if (i > 0 && this.pid !== 0) {
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl14.c612 pid_t pid; in dochild() local
624 * not, the parent pid will be returned in l_pid and the type of in dochild()
670 "Test case %d, GETLK: pid = %d, " in dochild()
678 "Test case %d, GETLK: pid = %d, " in dochild()
741 pid = FORK_OR_VFORK(); in dochild()
742 switch (pid) { in dochild()
766 waitpid(pid, &status, 0); in dochild()
/third_party/libwebsockets/lib/roles/cgi/
H A Dcgi-server.c911 pid_t pid; in lws_cgi_kill() local
917 pid = wsi->http.cgi->lsp->child_pid; in lws_cgi_kill()
923 if (pid != -1) { in lws_cgi_kill()
929 (unsigned int)pid); in lws_cgi_kill()
/third_party/pulseaudio/src/daemon/
H A Dmain.c88 #include <pulsecore/pid.h>
763 pid_t pid; local
770 if (pa_pid_file_check_running(&pid, "pulseaudio") < 0)
773 pa_log_info("Daemon running as PID %u", pid);
/third_party/python/Lib/http/
H A Dserver.py1171 pid = os.fork()
1172 if pid != 0:
1174 pid, sts = os.waitpid(pid, 0)
/third_party/python/Lib/
H A Dos.py853 pid = fork()
854 if not pid:
866 return pid # Caller is responsible for waiting!
868 wpid, sts = waitpid(pid, 0)
878 If mode == P_NOWAIT return the pid of the process.
888 If mode == P_NOWAIT return the pid of the process.
900 If mode == P_NOWAIT return the pid of the process.
910 If mode == P_NOWAIT return the pid of the process.
927 If mode == P_NOWAIT return the pid of the process.
937 If mode == P_NOWAIT return the pid o
[all...]
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dvalidation_test.cc52 FakeStmt(ProgramID pid, Source src) : Base(pid, src) {} in FakeStmt() argument
58 FakeExpr(ProgramID pid, Source src) : Base(pid, src) {} in FakeExpr() argument
/third_party/cups-filters/filter/foomatic-rip/
H A Dpostscript.c35 void get_renderer_handle(const dstr_t *prepend, FILE **fd, pid_t *pid);
1197 void get_renderer_handle(const dstr_t *prepend, FILE **fd, pid_t *pid) in get_renderer_handle() argument
1218 *pid = kid3; in get_renderer_handle()
/third_party/musl/porting/linux/user/src/hook/
H A Dmusl_preinit.c158 static bool get_proc_name(pid_t pid, char *buf, unsigned int buf_len) in get_proc_name() argument
160 if (pid <= 0) { in get_proc_name()
164 (void)snprintf(target_file, sizeof(target_file), "/proc/%d/cmdline", pid); in get_proc_name()
/third_party/musl/src/hook/linux/
H A Dmusl_preinit.c173 static bool get_proc_name(pid_t pid, char *buf, unsigned int buf_len) in get_proc_name() argument
175 if (pid <= 0) { in get_proc_name()
179 (void)snprintf(target_file, sizeof(target_file), "/proc/%d/cmdline", pid); in get_proc_name()
/third_party/nghttp2/src/
H A Dshrpx_worker_process.cc411 auto pid = getpid(); in send_ready_event() local
414 while ((nwrite = write(ready_ipc_fd, &pid, sizeof(pid))) == -1 && in send_ready_event()
/third_party/ltp/testcases/kernel/mem/lib/
H A Dmem.c127 pid_t pid; in oom() local
132 switch (pid = SAFE_FORK()) { in oom()
141 tst_res(TINFO, "expected victim is %d.", pid); in oom()
/third_party/musl/Benchmark/musl/
H A Dlibc_pthread.cpp705 pid_t pid = getpid(); in Bm_function_Tgkill() local
706 pid_t pgid = getpgid(pid); in Bm_function_Tgkill()
708 if (tgkill(pgid, pid, SIGCONT) == -1) { in Bm_function_Tgkill()
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
H A Dsocket_test.cpp499 pid_t pid = fork(); in HWTEST_F() local
500 EXPECT_NE(-1, pid); in HWTEST_F()
501 if (pid == 0) { in HWTEST_F()
/third_party/python/Lib/test/
H A Dtest_socketserver.py64 pid = os.fork()
65 if pid == 0:
73 test.support.wait_process(pid, exitcode=72)
/third_party/rust/crates/rustix/src/backend/linux_raw/
H A Dconv.rs520 fn from(pid: Pid) -> Self { in from()
521 pass_usize(pid.as_raw_nonzero().get() as usize) in from()
526 pub(super) fn negative_pid<'a, Num: ArgNumber>(pid: Pid) -> ArgReg<'a, Num> {
527 pass_usize(pid.as_raw_nonzero().get().wrapping_neg() as usize)
/third_party/libuv/src/unix/
H A Dcore.c1558 int uv_os_getpriority(uv_pid_t pid, int* priority) { in uv_os_getpriority() argument
1565 r = getpriority(PRIO_PROCESS, (int) pid); in uv_os_getpriority()
1575 int uv_os_setpriority(uv_pid_t pid, int priority) { in uv_os_setpriority() argument
1579 if (setpriority(PRIO_PROCESS, (int) pid, priority) != 0) in uv_os_setpriority()
1596 pid_t pid = gettid(); in uv_thread_getpriority() local
1609 r = getpriority(PRIO_PROCESS, pid); in uv_thread_getpriority()
1629 pid_t pid = gettid(); in set_nice_for_calling_thread()
1631 r = setpriority(PRIO_PROCESS, pid, nice); in set_nice_for_calling_thread()

Completed in 35 milliseconds

1...<<51525354555657585960>>...70