/external/chromium_org/third_party/libevent/ |
H A D | kqueue.c | 78 pid_t pid; member in struct:kqop 121 kqueueop->pid = getpid(); 446 if (kqop->kq >= 0 && kqop->pid == getpid())
|
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | mutex_os2.c | 164 PID pid; local 166 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount); 181 PID pid; local 184 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount); 192 PID pid; local 195 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount); 203 PID pid; local 205 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/ |
H A D | full_screen_chrome_window_detector.cc | 106 int pid = 0; local 115 CFNumberGetValue(pid_ref, kCFNumberIntType, &pid); 120 return pid; 123 // Returns the window that is full-screen and has the same title and owner pid 126 int pid = GetWindowOwnerPid(id); local 159 if (window_pid != pid) 181 int pid = GetWindowOwnerPid(id); local 183 int path_length = proc_pidpath(pid, buffer, sizeof(buffer));
|
/external/chromium_org/tools/android/file_poller/ |
H A D | file_poller.cc | 113 pid_t pid = fork(); local 114 if (pid < 0) 116 if (pid != 0) {
|
/external/chromium_org/tools/android/ps_ext/ |
H A D | ps_ext.c | 107 const int pid = atoi(de->d_name); local 110 if (pid == getpid()) 118 sprintf(fpath, "/proc/%d/cmdline", pid); 136 sprintf(fpath, "/proc/%d/stat", pid); 161 pid,
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
H A D | cros_browser_backend.py | 94 def pid(self): member in class:CrOSBrowserBackend 146 pid = self.pid 150 util.WaitFor(lambda: pid != self.pid, 10) 187 return bool(self.pid)
|
H A D | desktop_browser_backend.py | 203 def pid(self): member in class:DesktopBrowserBackend 205 return self._proc.pid
|
/external/chromium_org/tools/win/ChromeDebug/ChromeDebug/ |
H A D | ProcessDetail.cs | 20 public ProcessDetail(int pid) { argument 22 this.processId = pid;
|
/external/chromium_org/v8/src/third_party/kernel/tools/perf/util/ |
H A D | jitdump.h | 22 uint32_t pid; /* JIT process id */ member in struct:jitheader 44 uint32_t pid; member in struct:jr_code_load 59 uint32_t pid; member in struct:jr_code_move
|
/external/clang/test/Analysis/ |
H A D | cfref_PR2519.c | 33 int pid = 42; local 35 CFNumberRef _value = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &pid);
|
/external/e2fsprogs/misc/ |
H A D | fsck.h | 58 int pid; member in struct:fsck_instance
|
/external/fio/arch/ |
H A D | arch-ppc.h | 94 pid_t pid; local 96 pid = fork(); 97 if (!pid) 99 else if (pid != -1) { 102 pid = wait(&status); 103 if (pid == -1 || !WIFEXITED(status))
|
/external/fio/os/ |
H A D | os-freebsd.h | 49 static inline int fio_setaffinity(int pid, os_cpu_mask_t cpumask) argument 51 return cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_TID, pid, sizeof(cpumask), &cpumask); 54 static inline int fio_getaffinity(int pid, os_cpu_mask_t *cpumask) argument 56 return cpuset_getaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, pid, sizeof(cpumask), cpumask);
|
/external/ipsec-tools/src/racoon/ |
H A D | session.c | 155 /* write .pid file */ 158 strlcpy(pid_file, _PATH_VARRUN "racoon.pid", MAXPATHLEN); 426 pid_t pid; local 429 pid = wait(&s);
|
/external/libunwind/src/ |
H A D | elfxx.c | 350 elf_w (get_proc_name) (unw_addr_space_t as, pid_t pid, unw_word_t ip, argument 357 ret = tdep_get_elf_image(as, &ei, pid, ip, &segbase, &mapoff, NULL);
|
H A D | os-linux.h | 68 maps_init (struct map_iterator *mi, pid_t pid) argument 73 cp = ltoa (path + 6, pid);
|
/external/libunwind/tests/ |
H A D | test-ptrace.c | 173 int status, pid, pending_sig, optind = 1, state = 1; local 240 pid = wait4 (-1, &status, 0, NULL); 241 if (pid == -1)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | perf-record.c | 8 static int sched__get_first_possible_cpu(pid_t pid, cpu_set_t *maskp) argument 14 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { 112 err = sched__get_first_possible_cpu(evlist->workload.pid, &cpu_mask); 123 if (sched_setaffinity(evlist->workload.pid, cpu_mask_size, &cpu_mask) < 0) { 151 * count just on workload.pid, which will start... 201 if ((pid_t)sample.pid != evlist->workload.pid) { 202 pr_debug("%s with unexpected pid, expected %d, got %d\n", 203 name, evlist->workload.pid, sample.pid); [all...] |
H A D | rdpmc.c | 156 int pid; local 158 pid = fork(); 159 if (pid < 0) 162 if (!pid) { 168 wret = waitpid(pid, &status, 0);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | machine.h | 16 /* Native host kernel uses -1 as pid index in machine */ 22 pid_t pid; member in struct:machine 65 struct machine *machines__add(struct machines *machines, pid_t pid, 68 struct machine *machines__find(struct machines *machines, pid_t pid); 69 struct machine *machines__findnew(struct machines *machines, pid_t pid); 77 int machine__init(struct machine *machine, const char *root_dir, pid_t pid); 102 return machine ? machine->pid == DEFAULT_GUEST_KERNEL_ID : false; 107 return machine ? machine->pid == HOST_KERNEL_ID : false; 110 struct thread *machine__findnew_thread(struct machine *machine, pid_t pid, 162 int machines__create_kernel_maps(struct machines *machines, pid_t pid); [all...] |
H A D | session.h | 86 struct machine *perf_session__find_machine(struct perf_session *self, pid_t pid) argument 88 return machines__find(&self->machines, pid); 92 struct machine *perf_session__findnew_machine(struct perf_session *self, pid_t pid) argument 94 return machines__findnew(&self->machines, pid); 97 struct thread *perf_session__findnew(struct perf_session *self, pid_t pid);
|
H A D | values.c | 9 values->pid = malloc(values->threads_max * sizeof(*values->pid)); 12 if (!values->pid || !values->tid || !values->value) 36 free(values->pid); 47 values->pid = realloc(values->pid, 48 values->threads_max * sizeof(*values->pid)); 53 if (!values->pid || !values->tid || !values->value) 58 u32 pid, u32 tid) 63 if (values->pid[ 57 perf_read_values__findnew_thread(struct perf_read_values *values, u32 pid, u32 tid) argument 118 perf_read_values_add_value(struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value) argument [all...] |
/external/lldb/tools/darwin-debug/ |
H A D | darwin-debug.cpp | 112 pid_t pid = 0; local 158 exit_with_errno (::posix_spawnp (&pid, path, NULL, &attr, (char * const*)argv, (char * const*)envp), "posix_spawn() error: "); 163 return pid;
|
/external/lldb/tools/debugserver/source/ |
H A D | libdebugserver.cpp | 154 nub_process_t pid = ctx.ProcessID(); local 156 if (pid == INVALID_NUB_PROCESS) 158 DNBLogThreadedIf (LOG_RNB_MINIMAL, "#### %s error: pid invalid, exiting...", __FUNCTION__); 161 nub_state_t pid_state = DNBProcessGetState (pid); 185 bool pid_stop_count_changed = ctx.SetProcessStopCount(DNBProcessGetStopCount(pid));
|
/external/llvm/include/llvm/ |
H A D | Pass.h | 90 explicit Pass(PassKind K, char &pid) argument 91 : Resolver(nullptr), PassID(&pid), Kind(K) { } 251 explicit ModulePass(char &pid) : Pass(PT_Module, pid) {} argument 278 explicit ImmutablePass(char &pid) argument 279 : ModulePass(pid) {} 296 explicit FunctionPass(char &pid) : Pass(PT_Function, pid) {} argument 332 explicit BasicBlockPass(char &pid) : Pass(PT_BasicBlock, pid) {} argument [all...] |