/external/linux-tools-perf/src/tools/perf/util/ |
run-command.h | 17 pid_t pid; member in struct:child_process
|
target.h | 8 const char *pid; member in struct:perf_target 52 return target->tid || target->pid || target->uid_str;
|
/external/lldb/tools/debugserver/source/ |
RNBContext.cpp | 71 RNBContext::SetProcessID (nub_process_t pid) 80 m_pid = pid; 82 if (pid != INVALID_NUB_PROCESS) 145 nub_process_t pid = ctx.ProcessID(); local 146 DNBLogThreadedIf(LOG_RNB_PROC, "RNBContext::%s (arg=%p, pid=%4.4x): thread starting...", __FUNCTION__, arg, pid); 151 DNBLogThreadedIf(LOG_RNB_PROC, "RNBContext::%s calling DNBProcessWaitForEvent(pid, eEventProcessRunningStateChanged | eEventProcessStoppedStateChanged | eEventStdioAvailable | eEventProfileDataAvailable, true)...", __FUNCTION__); 152 nub_event_t pid_status_event = DNBProcessWaitForEvents (pid, eEventProcessRunningStateChanged | eEventProcessStoppedStateChanged | eEventStdioAvailable | eEventProfileDataAvailable, true, NULL); 153 DNBLogThreadedIf(LOG_RNB_PROC, "RNBContext::%s calling DNBProcessWaitForEvent(pid, eEventProcessRunningStateChanged | eEventProcessStoppedStateChanged | eEventStdioAvailable | eEventProfileDataAvailable, true) => 0x%8.8x", __FUNCTION__, pid_status_event); 157 DNBLogThreadedIf(LOG_RNB_PROC, "RNBContext::%s (pid=%4.4x) got ZERO back from DNBProcessWaitForEvent....", __FUNCTION__, pid) [all...] |
RNBServices.cpp | 60 const pid_t pid = proc_info.kp_proc.p_pid; local 63 pid == our_pid || // Skip this process 64 pid == 0 || // Skip kernel (kernel pid is zero) 75 const int32_t pid_int32 = pid; 85 int return_val = proc_pidpath (pid, proc_path_buf, PATH_MAX); 157 pid_t pid = INVALID_NUB_PROCESS; local 158 if (::SBSProcessIDForDisplayIdentifier ((CFStringRef)displayIdentifier, &pid) == true) 160 CFReleaser<CFNumberRef> pidCFNumber (::CFNumberCreate (alloc, kCFNumberSInt32Type, &pid)); 229 IsSBProcess (nub_process_t pid) [all...] |
/external/ltrace/ |
libltrace.c | 53 struct process *p_proc = pid2proc(it->pid); 55 printf("stop_non_p_processes: %d terminated?\n", it->pid); 65 debug(2, "Sending SIGSTOP to process %u", proc->pid); 66 kill(proc->pid, SIGSTOP); 128 pid_t pid = execute_program(command, argv); local 129 struct process *proc = open_program(command, pid); 137 continue_process(pid); 141 open_pid(opt_p_tmp->pid);
|
/external/ltrace/sysdeps/linux-gnu/ |
events.c | 60 event->proc->pid, event->type); 94 event->proc != NULL ? event->proc->pid : -1); 97 event->proc != NULL ? event->proc->pid : -1) ; 139 pid_t pid; local 158 pid = waitpid(-1, &status, __WALL); 161 if (pid == -1) { 173 event.proc = pid2proc(pid); 191 for (; i < 100 && process_status(pid) != PS_TRACING_STOP; ++i) { 192 debug(2, "waiting for %d to stop", pid); 196 event.e_un.newpid = pid; [all...] |
trace.h | 34 pid_t pid; /* This may be 0 for tasks that exited member in struct:pid_task
|
/external/openssh/ |
loginrec.h | 66 pid_t pid; /* PID of login process */ member in struct:logininfo 89 struct logininfo *login_alloc_entry(pid_t pid, const char *username, 94 int login_init_entry(struct logininfo *li, pid_t pid, const char *username,
|
sandbox-systrace.c | 120 pid_t pid; local 126 pid = waitpid(child_pid, &status, WUNTRACED); 127 } while (pid == -1 && errno == EINTR);
|
ssh-pkcs11-client.c | 48 pid_t pid = -1; variable 164 if ((pid = fork()) == -1) { 167 } else if (pid == 0) {
|
/external/parameter-framework/test/test-platform/ |
main.cpp | 99 pid_t pid = fork(); local 101 if (pid < 0) { 106 } else if (pid == 0) {
|
/external/ppp/pppd/plugins/rp-pppoe/ |
common.c | 124 pid_t pid = getpid(); local 126 hostUniq.length = htons(sizeof(pid)); 127 memcpy(hostUniq.payload, &pid, sizeof(pid)); 128 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); 129 cursor += sizeof(pid) + TAG_HDR_SIZE; 130 plen += sizeof(pid) + TAG_HDR_SIZE;
|
/external/strace/ |
capability.c | 28 int pid; member in struct:user_cap_header_struct 67 tprintf(", %d}", h->pid);
|
/external/toybox/toys/other/ |
pmap.c | 30 pid_t pid = atolx(*optargs); local 39 snprintf(toybuf, sizeof(toybuf), "/proc/%u/cmdline", pid); 41 if (!line) error_msg("No %lu", (long)pid); 42 xprintf("%u: %s\n", (int)pid, line); 47 sprintf(toybuf, "/proc/%u/%smaps", pid, 50 error_msg("No %ld\n", (long)pid);
|
/external/toybox/toys/pending/ |
pgrep.c | 40 static int exec_action(unsigned pid, char *name, int signal) 43 printf("%d", pid); 47 kill(pid, signal); 70 unsigned pid=0, ppid=0, sid=0, latest_pid=0; local 114 pid = strtol(entry->d_name, NULL, 10); 115 if (pid == self) continue; 151 latest_pid = pid; 152 } else exec_action(pid, cmdline, signum);
|
/external/toybox/toys/posix/ |
kill.c | 21 usage: kill [-l [SIGNAL] | -s SIGNAL | -SIGNAL] pid... 33 usage: killall5 [-l [SIGNAL]] [-SIGNAL|-s SIGNAL] [-o PID]... 38 -o PID Omit PID 61 pid_t pid; local 92 int pid, sid; local 106 sid = getsid(pid = getpid()); 117 if (pid == procpid || sid == procsid || procpid == 1) continue; 147 pid = strtol(arg, &tmp, 10); 148 if (*tmp || kill(pid, signum) < 0) error_msg("unknown pid '%s'", arg) [all...] |
/external/valgrind/none/tests/ |
fdleak_cmsg.c | 149 int pid, status; local 153 pid = getpid(); 154 sprintf(filea, "/tmp/data1.%d", pid); 155 sprintf(fileb, "/tmp/data2.%d", pid); 156 sprintf(sock, "/tmp/sock.%d", pid); 158 if ((pid = fork()) == 0) {
|
/external/vboot_reference/futility/ |
misc.c | 184 pid_t pid; local 189 pid = fork(); 191 if (pid < 0) { 198 if (!pid) {
|
/external/vboot_reference/host/lib/ |
host_signature.c | 174 pid_t pid; local 187 if ((pid = fork()) < 0) { 191 else if (pid > 0) { /* Parent. */ 212 if (waitpid(pid, NULL, 0) < 0) {
|
/frameworks/av/media/libmedia/ |
IResourceManagerService.cpp | 74 int pid, 80 data.writeInt32(pid); 88 virtual void removeResource(int pid, int64_t clientId) { 91 data.writeInt32(pid); 131 int pid = data.readInt32(); local 137 addResource(pid, clientId, client, resources); 143 int pid = data.readInt32(); local 145 removeResource(pid, clientId);
|
/frameworks/base/tools/preload/ |
Record.java | 83 final int pid; field in class:Record 129 pid = Integer.parseInt(parts[1]);
|
/frameworks/native/libs/binder/ |
IServiceManager.cpp | 61 pid_t pid = ipcState->getCallingPid(); local 63 if (outPid) *outPid = pid; 65 return checkPermission(permission, pid, uid); 68 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) 79 bool res = pc->checkPermission(permission, pid, uid); 82 ALOGI("Check passed after %d seconds for %s from uid=%d pid=%d", 84 String8(permission).string(), uid, pid); 91 ALOGW("Permission failure: %s from uid=%d pid=%d", 92 String8(permission).string(), uid, pid); 110 ALOGI("Waiting to check permission %s from uid=%d pid=%d" [all...] |
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/ |
omx_rpc_utils.c | 165 * RCM server. The name is based on the pid so that eacj process gets a 176 OMX_S32 pid = 0; local 179 pid = getpid(); 180 /*Using pid as the server name, thus limiting to only 1 server per process. 182 name is 32 so only pid can fit into the name */ 183 sprintf(cServerName, "%ld", pid);
|
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/ |
omx_rpc_utils.c | 165 * RCM server. The name is based on the pid so that eacj process gets a 176 OMX_S32 pid = 0; local 179 pid = getpid(); 180 /*Using pid as the server name, thus limiting to only 1 server per process. 182 name is 32 so only pid can fit into the name */ 183 sprintf(cServerName, "%ld", pid);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MediaSource.java | 79 PathId pid = list.get(i); local 82 obj = pid.path.getObject(); 85 obj = createMediaObject(pid.path); 87 Log.w(TAG, "cannot create media object: " + pid.path, th); 92 consumer.consume(pid.id, (MediaItem) obj);
|