Searched defs:pid (Results 301 - 325 of 517) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/sandbox/linux/tests/
H A Dunit_tests.cc153 pid_t pid; local
154 ASSERT_LE(0, (pid = fork()));
155 if (!pid) {
212 int waitpid_returned = HANDLE_EINTR(waitpid(pid, &status, 0));
213 ASSERT_EQ(pid, waitpid_returned) << TestFailedMessage(msg);
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dlinuxthreads.cc378 pid_t pid; local
380 /* Some kernels hide threads by preceding the pid with a '.' */
389 pid = local_atoi(ptr);
392 if (pid && pid != clone_pid) {
408 if (pids[i] == pid) {
422 pids[num_threads++] = pid;
424 if (sys_ptrace(PTRACE_ATTACH, pid, (void *)0,
437 while (sys_waitpid(pid, (int *)0, __WALL) < 0) {
439 sys_ptrace_detach(pid);
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dlinuxthreads.cc378 pid_t pid; local
380 /* Some kernels hide threads by preceding the pid with a '.' */
389 pid = local_atoi(ptr);
392 if (pid && pid != clone_pid) {
408 if (pids[i] == pid) {
422 pids[num_threads++] = pid;
424 if (sys_ptrace(PTRACE_ATTACH, pid, (void *)0,
437 while (sys_waitpid(pid, (int *)0, __WALL) < 0) {
439 sys_ptrace_detach(pid);
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_libcdep.cc200 int pid; member in struct:__sanitizer::CovHeader
205 static void CovWritePacked(int pid, const char *module, const void *blob, argument
209 CovHeader header = {pid, module_name_length, blob_size};
244 // If packed = false: <name>.<pid>.<sancov> (name = module name).
245 // If packed = true and name == 0: <pid>.<sancov>.<packed>.
H A Dsanitizer_stoptheworld_linux_libcdep.cc76 explicit ThreadSuspender(pid_t pid) argument
77 : pid_(pid) {
78 CHECK_GE(pid, 0);
/external/deqp/framework/delibs/deutil/
H A DdeProcess.c55 pid_t pid; member in struct:deProcess_s
157 process->pid = 0;
217 pid_t pid = 0; local
246 pid = fork();
248 if (pid < 0)
260 if (pid == 0)
331 waitpid(pid, &result, 0);
343 process->pid = pid;
374 if (waitpid(process->pid,
[all...]
/external/dhcpcd/
H A Dconfigure.c70 pid_t pid; local
79 switch (pid = vfork()) {
94 return pid;
200 snprintf(env[2], e, "pid=%d", getpid());
346 pid_t pid; local
374 pid = exec_script(argv, env);
375 if (pid == -1)
377 else if (pid != 0) {
379 while (waitpid(pid, &status, 0) == -1) {
/external/e2fsprogs/lib/uuid/
H A Dgen_uuid.c490 pid_t pid; local
510 if ((pid = fork()) == 0) {
516 (void) waitpid(pid, 0, 0);
/external/fio/os/
H A Dos-windows.h95 int kill(pid_t pid, int sig);
170 static inline int fio_setaffinity(int pid, os_cpu_mask_t cpumask) argument
175 h = OpenThread(THREAD_QUERY_INFORMATION | THREAD_SET_INFORMATION, TRUE, pid);
179 log_err("fio_setaffinity failed: failed to set thread affinity (pid %d, mask %.16llx)\n", pid, cpumask);
183 log_err("fio_setaffinity failed: failed to get handle for pid %d\n", pid);
189 static inline void fio_getaffinity(int pid, os_cpu_mask_t *mask) argument
193 HANDLE h = OpenProcess(PROCESS_QUERY_INFORMATION, TRUE, pid);
199 log_err("fio_getaffinity failed: failed to get handle for pid
[all...]
/external/iproute2/misc/
H A Dnstat.c399 pid_t pid; local
402 } else if ((pid = fork()) != 0) {
403 if (pid>0)
H A Drtacct.c393 pid_t pid; local
396 } else if ((pid = fork()) != 0) {
397 if (pid>0)
/external/iputils/ninfod/
H A Dni_ifaddrs.c170 pid_t pid = getpid(); local
189 if (nh->nlmsg_pid != pid || nh->nlmsg_seq != seq)
322 pid_t pid = getpid(); local
400 if (nlh->nlmsg_pid != pid || nlh->nlmsg_seq != nlm->seq)
H A Dninfod.c459 pid_t pid; local
464 if (fscanf(fp, "%d", &pid) != 1) {
465 DEBUG(LOG_ERR, "pid file '%s' exists, but read failed.\n",
468 DEBUG(LOG_ERR, "pid file '%s' exists : %d\n",
469 opt_p, pid);
/external/kernel-headers/original/uapi/asm-generic/
H A Dfcntl.h141 __kernel_pid_t pid; member in struct:f_owner_ex
/external/kernel-headers/original/uapi/linux/
H A Dcapability.h42 int pid; member in struct:__user_cap_header_struct
150 * Transfer any capability in your permitted set to any pid,
151 * remove any capability in your permitted set from any pid
/external/kernel-headers/original/uapi/linux/dvb/
H A Ddmx.h100 __u16 pid; member in struct:dmx_sct_filter_params
113 __u16 pid; member in struct:dmx_pes_filter_params
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dnetcap.c59 int pid, ppid; local
69 pid = strtol(ent->d_name, NULL, 10);
74 snprintf(buf, 32, "/proc/%d/stat", pid);
93 if (pid == 2 || ppid == 2)
98 capng_setpid(pid);
111 snprintf(buf, 32, "/proc/%d/status", pid);
144 snprintf(buf, 32, "/proc/%d/fd", pid);
195 node.pid = pid;
220 "ppid", "pid", "acc
[all...]
/external/libedit/src/
H A Dvi.c1005 pid_t pid; local
1036 pid = fork();
1037 switch (pid) {
1046 while (waitpid(pid, &status, 0) != pid)
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dcode-reading.c260 thread = machine__findnew_thread(machine, sample.pid, sample.pid);
400 pid_t pid; local
404 pid = getpid();
437 threads = thread_map__new_by_tid(pid);
450 thread = machine__findnew_thread(machine, pid, pid);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Devent.c40 .pid = -1,
48 static pid_t perf_event__get_comm_tgid(pid_t pid, char *comm, size_t len) argument
56 snprintf(filename, sizeof(filename), "/proc/%d/status", pid);
95 union perf_event *event, pid_t pid,
108 tgid = perf_event__get_comm_tgid(pid, event->comm.comm,
113 event->comm.pid = tgid;
123 event->comm.tid = pid;
131 snprintf(filename, sizeof(filename), "/proc/%d/task", pid);
141 pid = strtol(dirent.d_name, &end, 10);
146 (void) perf_event__get_comm_tgid(pid, even
94 perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, int full, perf_event__handler_t process, struct machine *machine) argument
169 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine) argument
302 __event__synthesize_thread(union perf_event *comm_event, union perf_event *mmap_event, pid_t pid, int full, perf_event__handler_t process, struct perf_tool *tool, struct machine *machine) argument
398 pid_t pid = strtol(dirent.d_name, &end, 10); local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c249 int pid; local
263 pid = raw_field_value(event, "common_pid", data);
290 PyTuple_SetItem(t, n++, PyInt_FromLong(pid));
296 pydict_set_item_string_decref(dict, "common_pid", PyInt_FromLong(pid));
689 "event_name, cpu, secs, nsecs, pid, comm):\n"
691 "(event_name, cpu, secs, nsecs, pid, comm),\n");
/external/lldb/source/Plugins/Platform/FreeBSD/
H A DPlatformFreeBSD.cpp428 PlatformFreeBSD::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) argument
433 success = Platform::GetProcessInfo (pid, process_info);
437 success = m_remote_platform_sp->GetProcessInfo (pid, process_info);
/external/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformRemoteiOS.cpp778 PlatformRemoteiOS::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) argument
/external/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp291 PlatformRemoteGDBServer::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) argument
293 return m_gdb_client.GetProcessInfo (pid, process_info);
301 lldb::pid_t pid = LLDB_INVALID_PROCESS_ID; local
335 pid = m_gdb_client.GetCurrentProcessID ();
336 if (pid != LLDB_INVALID_PROCESS_ID)
337 launch_info.SetProcessID (pid);
/external/lldb/source/Plugins/Process/POSIX/
H A DProcessMessage.h113 static ProcessMessage Crash(lldb::pid_t pid, CrashReason reason, argument
115 ProcessMessage message(pid, eCrashMessage, signo, fault_addr);

Completed in 497 milliseconds

<<11121314151617181920>>