/third_party/libuv/include/ |
H A D | uv.h | 1140 int pid; member 1148 UV_EXTERN int uv_kill(int pid, int signum); 1333 UV_EXTERN int uv_os_getpriority(uv_pid_t pid, int* priority); 1334 UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority);
|
/third_party/libuv/include/uv_ndk/ |
H A D | uv.h | 1061 int pid; member 1069 UV_EXTERN int uv_kill(int pid, int signum); 1228 UV_EXTERN int uv_os_getpriority(uv_pid_t pid, int* priority); 1229 UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority);
|
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fuse_lowlevel.c | 455 arg.lk.pid = lock->l_pid; in fuse_reply_lock() 908 flock->l_pid = fl->pid; in convert_fuse_file_lock() 1311 req->ctx.pid = in->pid; in fuse_ll_process()
|
/third_party/node/deps/uv/include/ |
H A D | uv.h | 1075 int pid; member 1083 UV_EXTERN int uv_kill(int pid, int signum); 1242 UV_EXTERN int uv_os_getpriority(uv_pid_t pid, int* priority); 1243 UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority);
|
/third_party/node/deps/uv/src/win/ |
H A D | pipe.c | 1636 DWORD* pid = &handle->pipe.conn.ipc_remote_pid; in uv__pipe_get_ipc_remote_pid() local 1639 * the remote end pid may not yet be set. If so, do it here. in uv__pipe_get_ipc_remote_pid() 1641 if (*pid == 0) in uv__pipe_get_ipc_remote_pid() 1642 *pid = GetCurrentProcessId(); in uv__pipe_get_ipc_remote_pid() 1644 return *pid; in uv__pipe_get_ipc_remote_pid()
|
/third_party/pulseaudio/src/pulse/ |
H A D | context.c | 694 pid_t pid; local 721 if ((pid = fork()) < 0) { 729 } else if (!pid) { 771 r = waitpid(pid, &status, 0);
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | ps.c | 47 USE_PS(NEWTOY(ps, "k(sort)*P(ppid)*aAdeflMno*O*p(pid)*s*t*Tu*U*g*G*wZ#<1a[!ol][+Ae][!oO]", TOYFLAG_BIN|TOYFLAG_LOCALE)) 961 unsigned pid, kcount; in get_threads() local 964 pid = atol(new->name); in get_threads() 977 sprintf(toybuf, "/proc/%u/task", pid); in get_threads() 989 tb->slot[SLOT_pid] = pid; in get_threads() 1371 // Collate old and new into "mix", depends on /proc read in pid sort order in top_common()
|
/third_party/toybox/toys/posix/ |
H A D | ps.c | 47 USE_PS(NEWTOY(ps, "k(sort)*P(ppid)*aAdeflMno*O*p(pid)*s*t*Tu*U*g*G*wZ[!ol][+Ae][!oO]", TOYFLAG_BIN|TOYFLAG_LOCALE)) 69 -p PIDs (--pid) -P Parent PIDs (--ppid) 1004 unsigned pid, kcount; in get_threads() local 1007 pid = atol(new->name); in get_threads() 1020 sprintf(toybuf, "/proc/%u/task", pid); in get_threads() 1032 tb->slot[SLOT_pid] = pid; in get_threads() 1514 // Collate old and new into "mix", depends on /proc read in pid sort order in top_common()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/ |
H A D | mod.rs | 1624 pid: ::pid_t, in lwp_rtprio() 1644 pub fn sched_getaffinity(pid: ::pid_t, cpusetsize: ::size_t, mask: *mut cpu_set_t) -> ::c_int; in sched_getaffinity() 1645 pub fn sched_setaffinity(pid: ::pid_t, cpusetsize: ::size_t, mask: *const cpu_set_t) in sched_setaffinity() 1662 pub fn sys_checkpoint(tpe: ::c_int, fd: ::c_int, pid: ::pid_t, retval: ::c_int) -> ::c_int; in sys_checkpoint()
|
/third_party/rust/crates/nix/src/sys/socket/ |
H A D | mod.rs | 393 pid: libc::getpid(), in new() 401 pub fn pid(&self) -> libc::pid_t { in pid() functions 402 self.0.pid in pid() 443 pub fn pid(&self) -> libc::pid_t { in pid() functions 1041 /// A message of type `SCM_CREDENTIALS`, containing the pid, uid and gid of 1054 /// A message of type `SCM_CREDS`, containing the pid, uid, euid, gid and groups of
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_sixth_test/ |
H A D | ability_manager_service_sixth_test.cpp | 1532 pid_t pid = 1; in HWTEST_F() local 1534 abilityMs->AppRecoverKill(pid, reason); in HWTEST_F() 1536 abilityMs->AppRecoverKill(pid, reason); in HWTEST_F() 1538 abilityMs->AppRecoverKill(pid, reason); in HWTEST_F() 1540 abilityMs->AppRecoverKill(pid, reason); in HWTEST_F()
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2grep.c | 2305 pid_t pid; in pcre2grep_callout() local 2494 pid = fork(); in pcre2grep_callout() 2495 if (pid == 0) in pcre2grep_callout() 2501 else if (pid > 0) in pcre2grep_callout() 2504 (void)waitpid(pid, &result, 0); in pcre2grep_callout()
|
/third_party/python/Lib/test/ |
H A D | test_tempfile.py | 203 pid = None 205 pid = os.fork() 206 if not pid: 219 if pid: 220 support.wait_process(pid, exitcode=0)
|
H A D | test_subprocess.py | 1836 # because it does cleanup based on the pid returned by fork_exec 3068 pid = p.pid 3093 pid = p.pid 3098 os.kill(pid, signal.SIGKILL) 3115 self.assertRaises(OSError, os.waitpid, pid, 0) 3276 support.wait_process(proc.pid, exitcode=0) 3279 with mock.patch('subprocess.os.waitpid', return_value=(proc.pid, status)): 3290 support.wait_process(proc.pid, exitcod [all...] |
/third_party/toybox/toys/pending/ |
H A D | dhcpd.c | 703 {"pidfile" , strinvar , (void*)&gconfig.pidfile , "/var/run/dhcpd.pid"}, //DPID_FILE 1169 pid_t pid; in run_notify() local 1177 pid = vfork(); in run_notify() 1178 if (pid < 0) { in run_notify() 1182 if (!pid) { in run_notify() 1188 waitpid(pid, NULL, 0); in run_notify()
|
/third_party/libbpf/src/ |
H A D | libbpf.c | 10708 uint64_t offset, int pid, size_t ref_ctr_off) 10746 /* pid filter is meaningful only for uprobes */ 10748 pid < 0 ? -1 : pid /* pid */, 10749 pid == -1 ? 0 : -1 /* cpu */, 10860 const char *kfunc_name, size_t offset, int pid) 10889 pid < 0 ? -1 : pid, /* pid */ 10707 perf_event_open_probe(bool uprobe, bool retprobe, const char *name, uint64_t offset, int pid, size_t ref_ctr_off) global() argument 10859 perf_event_kprobe_open_legacy(const char *probe_name, bool retprobe, const char *kfunc_name, size_t offset, int pid) global() argument 11523 perf_event_uprobe_open_legacy(const char *probe_name, bool retprobe, const char *binary_path, size_t offset, int pid) global() argument 11719 bpf_program__attach_uprobe_multi(const struct bpf_program *prog, pid_t pid, const char *path, const char *func_pattern, const struct bpf_uprobe_multi_opts *opts) global() argument 11833 bpf_program__attach_uprobe_opts(const struct bpf_program *prog, pid_t pid, const char *binary_path, size_t func_offset, const struct bpf_uprobe_opts *opts) global() argument 12033 bpf_program__attach_uprobe(const struct bpf_program *prog, bool retprobe, pid_t pid, const char *binary_path, size_t func_offset) global() argument 12044 bpf_program__attach_usdt(const struct bpf_program *prog, pid_t pid, const char *binary_path, const char *usdt_provider, const char *usdt_name, const struct bpf_usdt_opts *opts) global() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_test/ |
H A D | mission_list_manager_test.cpp | 6506 int32_t pid = 1; in HWTEST_F() local 6508 int64_t callerRequestCode = AbilityRuntime::StartupUtil::GenerateFullRequestCode(pid, backFlag, requestCode); in HWTEST_F() 6512 callerAbilityRecord->pid_ = pid; in HWTEST_F() 6540 int32_t pid = 1; in HWTEST_F() local 6542 int64_t callerRequestCode = AbilityRuntime::StartupUtil::GenerateFullRequestCode(pid, backFlag, requestCode); in HWTEST_F() 6545 abilityRecord->pid_ = pid; in HWTEST_F() 6573 int32_t pid = 1; in HWTEST_F() local 6575 int64_t callerRequestCode = AbilityRuntime::StartupUtil::GenerateFullRequestCode(pid, backFlag, requestCode); in HWTEST_F() 6578 callerAbilityRecord->pid_ = pid; in HWTEST_F() 6581 abilityRecord->pid_ = pid; in HWTEST_F() 6610 int32_t pid = 1; HWTEST_F() local [all...] |
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | session.cpp | 819 WLOGFI("Information to be set: pid:%{public}d, windowId:%{public}d, MMI::WindowArea:%{public}s", 997 sptr<IRemoteObject> token, int32_t pid, int32_t uid, const std::string& identityToken) in ConnectInner() 1001 static_cast<uint32_t>(GetSessionState()), isTerminating_, pid); in ConnectInner() 1017 SetCallingPid(pid); in ConnectInner() 1088 int32_t pid, int32_t uid) in Reconnect() 1094 TLOGI(WmsLogTag::WMS_RECOVER, "id:%{public}d, state:%{public}u, pid:%{public}d", in Reconnect() 1095 property->GetPersistentId(), static_cast<uint32_t>(property->GetWindowState()), pid); in Reconnect() 1106 SetCallingPid(pid); in Reconnect() 1952 "bundleName:%{public}s, pid:%{public}d", pointerEvent->GetId(), pointerEvent->DumpPointerAction(), in TransferPointerEvent() 1956 "bundleName:%{public}s, pid in TransferPointerEvent() 993 ConnectInner(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, SystemSessionConfig& systemConfig, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token, int32_t pid, int32_t uid, const std::string& identityToken) ConnectInner() argument 1086 Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token, int32_t pid, int32_t uid) Reconnect() argument [all...] |
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 304 scx->tid = fusecontext->pid; in ntfs_fuse_fill_security_context() 4174 pid_t pid; in load_fuse_module() local 4181 pid = fork(); in load_fuse_module() 4182 if (!pid) { in load_fuse_module() 4185 } else if (pid != -1) in load_fuse_module() 4186 waitpid(pid, NULL, 0); in load_fuse_module()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_session_manager.cpp | 337 TLOGE(WmsLogTag::DMS, "Permission Denied! calling clientName: %{public}s, calling pid: %{public}d", in CheckDisplayMangerAgentTypeAndPermission() 640 TLOGE(WmsLogTag::DMS, "permission denied! calling clientName: %{public}s, calling pid: %{public}d", in NotifyCastWhenScreenConnectChange() 1018 TLOGE(WmsLogTag::DMS, "Permission Denied.calling clientName: %{public}s, calling pid: %{public}d", in GetScreenInfoById() 1034 TLOGE(WmsLogTag::DMS, "Permission Denied! calling clientName: %{public}s, calling pid: %{public}d", in SetScreenActiveMode() 1093 // 冻结的应用记录应用 pid 和注册的 agentType in IsFreezed() 1134 TLOGE(WmsLogTag::DMS, "Permission Denied! calling clientName: %{public}s, calling pid: %{public}d", in SetVirtualPixelRatio() 1170 TLOGE(WmsLogTag::DMS, "Permission Denied! calling clientName: %{public}s, calling pid: %{public}d", in SetVirtualPixelRatioSystem() 1187 TLOGE(WmsLogTag::DMS, "SetResolution permission denied! calling clientName: %{public}s, pid: %{public}d", in SetResolution() 1595 TLOGE(WmsLogTag::DMS, "permission denied! calling clientName: %{public}s, calling pid: %{public}d", in WakeUpBegin() 1614 TLOGE(WmsLogTag::DMS, "permission denied! calling clientName: %{public}s, calling pid in WakeUpEnd() 5579 NotifyUnfreezedAgents(const int32_t& pid, const std::set<int32_t>& unfreezedPidList, const std::set<DisplayManagerAgentType>& pidAgentTypes, const sptr<ScreenSession>& screenSession) NotifyUnfreezedAgents() argument 5626 int32_t pid = iter->first; NotifyUnfreezed() local 5754 SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList) SetVirtualScreenSecurityExemption() argument 5770 oss << "screenId:" << screenId << ", rsID: " << rsId << ", pid: " << pid SetVirtualScreenSecurityExemption() local [all...] |
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_common.h | 373 pid_t pid; member
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
H A D | rga2.h | 655 pid_t pid;
member
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_defs.h | 1348 * @pid: ID of the thread, corresponding to process @tgid, 1595 pid_t pid; member
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_common.h | 347 pid_t pid; member
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/include/ |
H A D | cast_session_impl_class.h | 73 bool ReleaseSessionResources(pid_t pid) override;
|