/external/valgrind/memcheck/tests/x86-solaris/ |
context_fpu.c | 45 pid_t pid; local 64 pid = getpid(); 79 "pushl %[pid]\n" 95 : [scall] "i" (SYS_kill), [pid] "a" (pid), [sig] "i" (SIGUSR1),
|
context_sse.c | 33 pid_t pid; local 63 pid = getpid(); 78 "pushl %[pid]\n" 94 : [scall] "i" (SYS_kill), [pid] "a" (pid), [sig] "i" (SIGUSR1),
|
/external/valgrind/none/tests/ |
async-sigs.c | 37 static void do_kill(int pid, int sig) 54 sprintf(pidbuf, "%d", pid); 80 int pid; local 87 pid = fork(); 88 if (pid == -1) { 98 if (pid == 0) { 112 do_kill(pid, caughtsig); // Should be caught. 114 do_kill(pid, caughtsig); // Ditto. 115 do_kill(pid, caughtsig); // Ditto. 120 do_kill(pid, fatalsig); // Should kill it [all...] |
fdleak_ipv4.c | 74 int pid, status; local 78 if ((pid = fork()) == 0) {
|
pth_atfork1.c | 99 pid_t pid; local 101 pid = fork (); 102 if (pid == 0) 107 else if (pid == (pid_t) -1) 110 if (waitpid (pid, &status, 0) != pid)
|
/external/webrtc/webrtc/base/ |
posix.cc | 47 pid_t pid = fork(); local 48 if (pid < 0) { 51 } else if (!pid) { 71 pid = fork(); 75 if (pid < 0) { 78 } else if (!pid) { 96 pid_t child = waitpid(pid, &status, 0); 101 if (child != pid) {
|
/external/wpa_supplicant_8/src/utils/ |
browser-android.c | 70 pid_t pid; local 88 pid = fork(); 89 if (pid < 0) { 96 if (pid == 0) {
|
browser-system.c | 70 pid_t pid; local 88 pid = fork(); 89 if (pid < 0) { 96 if (pid == 0) {
|
browser-wpadebug.c | 71 pid_t pid; local 89 pid = fork(); 90 if (pid < 0) { 97 if (pid == 0) {
|
/frameworks/base/graphics/java/android/graphics/ |
LeakyTypefaceStorage.java | 77 final int pid = parcel.readInt(); local 79 if (pid != Process.myPid()) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
ProcessMemInfo.java | 21 final int pid; field in class:ProcessMemInfo 32 pid = _pid;
|
/frameworks/native/libs/binder/ |
PermissionCache.cpp | 62 // note, we don't need to store the pid, which is not actually used in 84 pid_t pid = ipcState->getCallingPid(); local 86 if (outPid) *outPid = pid; 88 return PermissionCache::checkPermission(permission, pid, uid); 92 const String16& permission, pid_t pid, uid_t uid) { 93 if ((uid == 0) || (pid == getpid())) { 102 granted = android::checkPermission(permission, pid, uid);
|
/frameworks/native/services/inputflinger/host/ |
InputFlinger.cpp | 51 const int pid = ipc->getCallingPid(); local 54 && !PermissionCache::checkPermission(sDumpPermission, pid, uid)) { 56 "can't dump SurfaceFlinger from pid=%d, uid=%d\n", pid, uid);
|
/frameworks/native/services/vr/hardware_composer/ |
vr_composer.cpp | 12 const pid_t pid = ipc->getCallingPid(); local 15 String16("android.permission.RESTRICTED_VR_ACCESS"), pid, uid); 17 ALOGE("permission denied to pid=%d uid=%u", pid, uid);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
BinderUtilTest.java | 59 final int pid = Binder.getCallingPid(); local 63 // Verify that setUid() can be used to fake the Binder uid without affecting the pid. 65 assertEquals(pid, Binder.getCallingPid()); 69 // pid. 71 assertEquals(pid, Binder.getCallingPid()); 81 final int pid = Binder.getCallingPid(); local 85 // Verify that setUid() can be used to fake the Binder uid without affecting the pid. 87 assertEquals(pid, Binder.getCallingPid()); 92 assertEquals(pid, Binder.getCallingPid());
|
/frameworks/rs/ |
rsCppUtils.cpp | 61 pid_t pid = fork(); local 63 switch (pid) { 75 // PID. 87 pid_t w = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0));
|
/hardware/intel/common/libva/va/drm/ |
va_drm_auth.c | 53 int i, auth, pid, uid; local 59 if (drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs) != 0) 61 is_authenticated = auth && (pid == client_pid || is_local_tid(pid));
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
sockev.h | 35 __u32 pid; member in struct:sknlsockevmsg
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
sockev.h | 22 __u32 pid; /* (struct task_struct*)->pid */ member in struct:sknlsockevmsg
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
sockev.h | 35 __u32 pid; member in struct:sknlsockevmsg
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
sockev.h | 22 __u32 pid; /* (struct task_struct*)->pid */ member in struct:sknlsockevmsg
|
/libcore/ojluni/src/main/java/java/lang/ |
UNIXProcess.java | 56 private final int pid; field in class:UNIXProcess 65 private native int waitForProcessExit(int pid); 79 * @return the pid of the subprocess 133 pid = forkAndExec(prog, 172 int exitcode = waitForProcessExit(pid); 220 private static native void destroyProcess(int pid); 222 // There is a risk that pid will be recycled, causing us to 230 destroyProcess(pid); 239 StringBuilder sb = new StringBuilder("Process[pid="); 240 sb.append(pid); [all...] |
/packages/services/Car/procfs-inspector/client/src/com/android/car/procfsinspector/ |
ProcessInfo.java | 34 public final int pid; field in class:ProcessInfo 37 public ProcessInfo(int pid, int uid) { 38 this.pid = pid; 43 this.pid = in.readInt(); 54 dest.writeInt(pid); 62 return processInfo.pid == pid && processInfo.uid == uid; 70 return Objects.hash(pid, uid); 75 return String.format("pid = %d, uid = %d", pid, uid) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/dvb/ |
net.h | 30 __u16 pid; member in struct:dvb_net_if 45 __u16 pid; member in struct:__dvb_net_if_old
|
/system/core/init/ |
subcontext.h | 51 pid_t pid() const { return pid_; } function in class:android::init::Subcontext 65 bool SubcontextChildReap(pid_t pid);
|