/external/webrtc/modules/video_coding/ |
D | rtp_vp8_ref_finder_unittest.cc | 48 Frame& Pid(int pid) { in Pid() function in webrtc::__anon77807b460111::Frame 126 Insert(Frame().Pid(0).Tid(0).Tl0(1).AsKeyFrame()); in TEST_F() 127 Insert(Frame().Pid(1).Tid(0).Tl0(2)); in TEST_F() 128 Insert(Frame().Pid(1).Tid(0).Tl0(2)); in TEST_F() 136 Insert(Frame().Pid(0).Tid(0).Tl0(1).AsKeyFrame()); in TEST_F() 137 Insert(Frame().Pid(1).Tid(1).Tl0(1).AsSync()); in TEST_F() 138 Insert(Frame().Pid(1).Tid(1).Tl0(1).AsSync()); in TEST_F() 146 Insert(Frame().Pid(0).Tid(0).Tl0(1).AsKeyFrame()); in TEST_F() 147 Insert(Frame().Pid(1).Tid(0).Tl0(2).AsSync()); in TEST_F() 148 Insert(Frame().Pid(2).Tid(0).Tl0(3)); in TEST_F() [all …]
|
D | rtp_vp9_ref_finder_unittest.cc | 45 Frame& Pid(int pid) { in Pid() function in webrtc::__anon4669f2270111::Frame 231 Insert(Frame().Pid(1).SidAndTid(0, 0).Tl0(0).AsKeyFrame().Gof(&ss)); in TEST_F() 241 Insert(Frame().Pid(1).SidAndTid(0, 0).Tl0(0).AsKeyFrame().Gof(&ss)); in TEST_F() 242 Insert(Frame().Pid(2).SidAndTid(0, 0).Tl0(1)); in TEST_F() 253 Insert(Frame().Pid(1).SidAndTid(0, 0).Tl0(0).AsKeyFrame().Gof(&ss)); in TEST_F() 254 Insert(Frame().Pid(2).SidAndTid(0, 0).Tl0(1)); in TEST_F() 255 Insert(Frame().Pid(2).SidAndTid(1, 0).Tl0(1).NotAsInterPic()); in TEST_F() 256 Insert(Frame().Pid(3).SidAndTid(0, 0).Tl0(2)); in TEST_F() 257 Insert(Frame().Pid(3).SidAndTid(1, 0).Tl0(2)); in TEST_F() 271 Insert(Frame().Pid(2).SidAndTid(0, 0).Tl0(1)); in TEST_F() [all …]
|
/external/ltp/testcases/kernel/fs/doio/ |
D | growfiles.c | 161 int Pid = 0; variable 981 Pid = Opid; in main() 1013 Progname, Pid); in main() 1017 Progname, Pid, STATIC_NUM, STATIC_NUM); in main() 1021 Progname, Pid); in main() 1025 Progname, Pid); in main() 1029 Progname, Pid); in main() 1033 Progname, Pid); in main() 1037 Progname, Pid); in main() 1041 Progname, Pid); in main() [all …]
|
/external/gwp_asan/gwp_asan/tests/ |
D | enable_disable.cpp | 15 pid_t Pid = fork(); in TEST_F() local 16 EXPECT_GE(Pid, 0); in TEST_F() 17 if (Pid == 0) { in TEST_F() 24 waitpid(Pid, nullptr, 0); in TEST_F() 35 Pid = fork(); in TEST_F() 36 EXPECT_GE(Pid, 0); in TEST_F() 75 pid_t Pid = fork(); in TEST_F() local 76 EXPECT_GE(Pid, 0); in TEST_F() 77 if (Pid == 0) { in TEST_F() 83 waitpid(Pid, nullptr, 0); in TEST_F()
|
/external/rust/crates/nix/src/sys/ptrace/ |
D | linux.rs | 5 use crate::unistd::Pid; 187 pid: Pid, in ptrace_peek() argument 212 pub fn getregs(pid: Pid) -> Result<user_regs_struct> { in getregs() 227 pub fn setregs(pid: Pid, regs: user_regs_struct) -> Result<()> { in setregs() argument 243 fn ptrace_get_data<T>(request: Request, pid: Pid) -> Result<T> { in ptrace_get_data() 259 pid: Pid, in ptrace_other() argument 273 pub fn setoptions(pid: Pid, options: Options) -> Result<()> { in setoptions() argument 286 pub fn getevent(pid: Pid) -> Result<c_long> { in getevent() 291 pub fn getsiginfo(pid: Pid) -> Result<siginfo_t> { in getsiginfo() 296 pub fn setsiginfo(pid: Pid, sig: &siginfo_t) -> Result<()> { in setsiginfo() argument [all …]
|
D | bsd.rs | 3 use crate::unistd::Pid; 65 pid: Pid, in ptrace_other() argument 84 ptrace_other(Request::PT_TRACE_ME, Pid::from_raw(0), ptr::null_mut(), 0) in traceme() 92 pub fn attach(pid: Pid) -> Result<()> { in attach() 102 pub fn detach<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in detach() argument 116 pub fn cont<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in cont() argument 131 pub fn kill(pid: Pid) -> Result<()> { in kill() 167 pub fn step<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in step() argument 181 pub fn read(pid: Pid, addr: AddressType) -> Result<c_int> { in read() argument 193 pub fn write(pid: Pid, addr: AddressType, data: c_int) -> Result<()> { in write() argument
|
/external/rust/crates/nix/src/sys/ |
D | wait.rs | 4 use crate::unistd::Pid; 92 Exited(Pid, i32), 97 Signaled(Pid, Signal, bool), 102 Stopped(Pid, Signal), 112 PtraceEvent(Pid, Signal, c_int), 120 PtraceSyscall(Pid), 125 Continued(Pid), 135 pub fn pid(&self) -> Option<Pid> { in pid() argument 212 pub fn from_raw(pid: Pid, status: i32) -> Result<WaitStatus> { in from_raw() argument 220 fn decode_stopped(pid: Pid, status: i32) -> Result<WaitStatus> { in from_raw() [all …]
|
/external/crosvm/base/src/sys/unix/ |
D | mod.rs | 131 pub type Pid = libc::pid_t; typedef 171 pub fn getpid() -> Pid { in getpid() 173 unsafe { syscall(SYS_getpid as c_long) as Pid } in getpid() 178 pub fn getppid() -> Pid { in getppid() 180 unsafe { syscall(SYS_getppid as c_long) as Pid } in getppid() 184 pub fn gettid() -> Pid { in gettid() 186 unsafe { syscall(SYS_gettid as c_long) as Pid } in gettid() 190 pub fn getsid(pid: Option<Pid>) -> Result<Pid> { in getsid() argument 192 syscall!(unsafe { libc::getsid(pid.unwrap_or(0)) } as Pid) in getsid() 196 pub fn setsid() -> Result<Pid> { in setsid() [all …]
|
/external/rust/crates/nix/test/ |
D | test_sched.rs | 2 use nix::unistd::Pid; 7 let initial_affinity = sched_getaffinity(Pid::from_raw(0)).unwrap(); in test_sched_affinity() 21 sched_setaffinity(Pid::from_raw(0), &new_affinity).unwrap(); in test_sched_affinity() 24 let updated_affinity = sched_getaffinity(Pid::from_raw(0)).unwrap(); in test_sched_affinity() 38 sched_setaffinity(Pid::from_raw(0), &initial_affinity).unwrap(); in test_sched_affinity()
|
/external/libchromeos-rs/src/ |
D | linux.rs | 8 pub type Pid = libc::pid_t; typedef 10 pub fn getpid() -> Pid { in getpid() 15 pub fn gettid() -> Pid { in gettid() 17 unsafe { syscall(SYS_gettid) as Pid } in gettid()
|
/external/rust/crates/nix/test/sys/ |
D | test_wait.rs | 49 waitid(Id::Pid(child), WaitPidFlag::WEXITED), in test_waitid_signal() 90 waitid(Id::Pid(child), WaitPidFlag::WEXITED), in test_waitid_exit() 99 let pid = Pid::from_raw(1); in test_waitstatus_from_raw() 137 let status = waitid(Id::Pid(child), WaitPidFlag::WEXITED).unwrap(); in test_waitid_pid() 163 fn ptrace_wait_parent(child: Pid) { in ptrace_wait_parent() argument 195 fn ptrace_waitid_parent(child: Pid) { in ptrace_waitid_parent() argument 201 waitid(Id::Pid(child), WaitPidFlag::WEXITED), in ptrace_waitid_parent() 214 waitid(Id::Pid(child), WaitPidFlag::WEXITED), in ptrace_waitid_parent() 220 waitid(Id::Pid(child), WaitPidFlag::WEXITED), in ptrace_waitid_parent() 230 waitid(Id::Pid(child), WaitPidFlag::WEXITED), in ptrace_waitid_parent()
|
/external/crosvm/swap/src/ |
D | processes.rs | 18 use base::unix::Pid; 35 pids: Vec<Pid>, 43 pub fn freeze_child_processes(monitor_pid: Pid) -> Result<ProcessesGuard> { in freeze_child_processes() 84 fn load_children(monitor_pid: Pid) -> Result<Vec<Pid>> { in load_children() argument 129 fn wait_process_stopped(pid: Pid) -> Result<()> { in wait_process_stopped()
|
/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerUtilDarwin.cpp | 100 pid_t Pid; in ExecuteCommand() local 111 ErrorCode = posix_spawn(&Pid, "/bin/sh", NULL, &SpawnAttributes, in ExecuteCommand() 115 pid_t SavedPid = Pid; in ExecuteCommand() 118 Pid = waitpid(SavedPid, &ProcessStatus, /*options=*/0); in ExecuteCommand() 119 } while (Pid == -1 && errno == EINTR); in ExecuteCommand() 120 if (Pid == -1) { in ExecuteCommand()
|
/external/rust/crates/gdbstub/examples/armv4t/gdb/ |
D | extended_mode.rs | 1 use gdbstub::common::Pid; 23 fn kill(&mut self, pid: Option<Pid>) -> TargetResult<ShouldTerminate, Self> { in kill() 33 fn attach(&mut self, pid: Pid) -> TargetResult<(), Self> { in attach() 38 fn run(&mut self, filename: Option<&[u8]>, args: Args<'_, '_>) -> TargetResult<Pid, Self> { in run() argument 61 Ok(Pid::new(1337).unwrap()) in run() 64 fn query_if_attached(&mut self, pid: Pid) -> TargetResult<AttachKind, Self> { in query_if_attached()
|
/external/libchrome/base/process/ |
D | process_unittest.cc | 48 EXPECT_NE(process.Pid(), kNullProcessId); in TEST_F() 57 EXPECT_NE(process.Pid(), kNullProcessId); in TEST_F() 88 EXPECT_EQ(process1.Pid(), process2.Pid()); in TEST_F() 103 EXPECT_EQ(process1.Pid(), process2.Pid()); in TEST_F() 118 EXPECT_EQ(process1.Pid(), process2.Pid()); in TEST_F()
|
/external/rust/crates/gdbstub/src/protocol/commands/ |
D | _vKill.rs | 3 use crate::common::Pid; 7 pub pid: Pid, 15 [b';', pid @ ..] => Pid::new(decode_hex(pid).ok()?)?, in from_packet()
|
D | _vAttach.rs | 3 use crate::common::Pid; 7 pub pid: Pid, 17 [b';', pid @ ..] => Pid::new(decode_hex(pid).ok()?)?, in from_packet()
|
D | _qAttached.rs | 3 use crate::common::Pid; 7 pub pid: Option<Pid>, 15 [b':', pid @ ..] => Some(Pid::new(decode_hex(pid).ok()?)?), in from_packet()
|
D | _d_upcase.rs | 3 use crate::common::Pid; 7 pub pid: Option<Pid>, 15 [b';', pid @ ..] => Some(Pid::new(decode_hex(pid).ok()?)?), in from_packet()
|
D | _qXfer_exec_file.rs | 3 use crate::common::Pid; 10 pub pid: Option<Pid>, 18 buf => Some(Pid::new(decode_hex(buf).ok()?)?), in from_buf()
|
/external/rust/crates/nix/src/ |
D | sched.rs | 14 use crate::unistd::Pid; 103 ) -> Result<Pid> { in clone() argument 124 Errno::result(res).map(Pid::from_raw) in clone() 162 use crate::unistd::Pid; 262 pub fn sched_setaffinity(pid: Pid, cpuset: &CpuSet) -> Result<()> { in sched_setaffinity() argument 296 pub fn sched_getaffinity(pid: Pid) -> Result<CpuSet> { in sched_getaffinity()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/ |
D | PerfJITEventListener.cpp | 84 pid_t Pid; member in __anondd9fdd860111::PerfJITEventListener 126 uint32_t Pid; member 141 uint32_t Pid; member 180 PerfJITEventListener::PerfJITEventListener() : Pid(::getpid()) { in PerfJITEventListener() 194 FilenameBuf << JitPath << "/jit-" << Pid << ".dump"; in PerfJITEventListener() 221 Header.Pid = Pid; in PerfJITEventListener() 420 rec.Pid = Pid; in NotifyCode()
|
/external/rust/crates/gdbstub/src/target/ext/ |
D | extended_mode.rs | 91 fn run(&mut self, filename: Option<&[u8]>, args: Args<'_, '_>) -> TargetResult<Pid, Self>; in run() argument 98 fn attach(&mut self, pid: Pid) -> TargetResult<(), Self>; in attach() 105 fn query_if_attached(&mut self, pid: Pid) -> TargetResult<AttachKind, Self>; in query_if_attached() 120 fn kill(&mut self, pid: Option<Pid>) -> TargetResult<ShouldTerminate, Self>; in kill()
|
/external/cronet/base/process/ |
D | process_mac.cc | 63 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, Pid()}; in CreationTime() 87 GetTaskCategoryPolicyRole(port_provider, Pid()); in IsProcessBackgrounded() 100 mach_port_t task_port = port_provider->TaskForPid(Pid()); in SetProcessBackgrounded() 105 GetTaskCategoryPolicyRole(port_provider, Pid()); in SetProcessBackgrounded()
|
/external/scudo/standalone/tests/ |
D | wrappers_cpp_test.cpp | 172 pid_t Pid; in TEST() local 173 if ((Pid = fork()) == 0) { in TEST() 186 EXPECT_NE(-1, Pid); in TEST() 188 EXPECT_EQ(Pid, waitpid(Pid, &Status, 0)); in TEST()
|