/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
thread_lister.c | 55 pid_t pid; local 63 pid = getpid(); 64 rc = callback(parameter, 1, &pid, ap);
|
/external/valgrind/main/none/tests/ |
async-sigs.c | 28 static void do_kill(int pid, int sig) 45 sprintf(pidbuf, "%d", pid); 71 int pid; local 78 pid = fork(); 79 if (pid == -1) { 89 if (pid == 0) { 103 do_kill(pid, caughtsig); // Should be caught. 105 do_kill(pid, caughtsig); // Ditto. 106 do_kill(pid, caughtsig); // Ditto. 111 do_kill(pid, fatalsig); // Should kill it [all...] |
res_search.c | 27 pthread_t pid; local 42 if(0 != pthread_create(&pid, 0, fn, (void*)argv[1])) 48 pthread_join(pid, 0);
|
/system/extras/tests/cpueater/ |
cpueater.c | 16 * Simple cpu eater busy loop. Runs as a daemon. prints the child PID to 30 pid_t pid; local 45 switch(pid = fork()) { 69 printf("%d\n", pid);
|
/external/blktrace/btt/ |
proc.c | 30 __u32 pid; member in union:pn_info::__anon83 65 struct p_info * __find_process_pid(__u32 pid) 72 if (pid < this->u.pid) 74 else if (pid > this->u.pid) 103 static void insert_pid(struct p_info *that, __u32 pid) 113 if (pid < this->u.pid) 115 else if (pid > this->u.pid [all...] |
/bionic/libc/bionic/ |
wait.cpp | 42 pid_t waitpid(pid_t pid, int* status, int options) { 43 return wait4(pid, status, options, NULL); 52 extern "C" pid_t __wait4(pid_t pid, int* status, int options, struct rusage* rusage) { 53 return wait4(pid, status, options, rusage);
|
/external/chromium/chrome/browser/net/ |
url_request_tracking.h | 22 // please call this function to store its PID (NOT its browser-assigned unique 24 // set a PID of zero (the default). 26 // TODO(wez): Get rid of the zero-PID hack & enforce that one is always set. 27 void SetOriginPIDForRequest(int pid, net::URLRequest* request); 30 // SetOriginProcessIDForRequest, or zero if no PID has been set. A PID of zero
|
/external/chromium/chrome/browser/ssl/ |
ssl_host_state.cc | 15 void SSLHostState::HostRanInsecureContent(const std::string& host, int pid) { 17 ran_insecure_content_hosts_.insert(BrokenHostEntry(host, pid)); 21 int pid) const { 23 return !!ran_insecure_content_hosts_.count(BrokenHostEntry(host, pid));
|
/external/chromium_org/base/process/ |
internal_linux.h | 28 // Returns a FilePath to "/proc/pid". 29 base::FilePath GetProcPidDir(pid_t pid); 37 // Reads /proc/<pid>/stat into |buffer|. Returns true if the file can be read 39 bool ReadProcStats(pid_t pid, std::string* buffer); 47 // Fields from /proc/<pid>/stat, 0-based. See man 5 proc. 53 VM_PPID = 3, // PID of the parent. 65 // simply |pid|, and the next two values are strings. 75 int ReadProcStatsAndGetFieldAsInt(pid_t pid, 79 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid,
|
/external/chromium_org/chrome/browser/extensions/api/terminal/ |
terminal_private_api.h | 46 void RespondOnUIThread(pid_t pid); 51 // Send input to the terminal process specified by the pid sent as an argument. 64 void SendInputOnFileThread(pid_t pid, const std::string& input); 68 // Closes terminal process with given pid. 81 void CloseOnFileThread(pid_t pid); 97 void OnResizeOnFileThread(pid_t pid, int width, int height);
|
/external/chromium_org/chrome/browser/ |
process_info_snapshot.h | 18 // |Sample()| method is called. This information can then be probed by PID. 49 base::ProcessId pid; member in struct:ProcessInfoSnapshot::ProcInfoEntry 64 // Get process information for a given PID. 65 // |pid| - self-explanatory. 67 // returns - |true| if okay, |false| on error (including PID not found). 68 bool GetProcInfo(int pid, 80 // |pid| - self-explanatory. 82 // returns - |true| on success, |false| on error (including PID not found). 83 bool GetCommittedKBytesOfPID(int pid, 96 // |pid| - self-explanatory [all...] |
/external/chromium_org/chromeos/process_proxy/ |
process_proxy_registry.cc | 69 pid_t* pid, 83 if (!proxy->Open(command, pid)) 91 base::Unretained(this), *pid))) { 97 DCHECK(proxy_map_.find(*pid) == proxy_map_.end()); 100 // created because we don't know |pid| then. 101 ProcessProxyInfo& info = proxy_map_[*pid]; 104 info.process_id = *pid; 109 bool ProcessProxyRegistry::SendInput(pid_t pid, const std::string& data) { 112 std::map<pid_t, ProcessProxyInfo>::iterator it = proxy_map_.find(pid); 118 bool ProcessProxyRegistry::CloseProcess(pid_t pid) { [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
win32deviceinfo.cc | 33 // Both PID and VID are 4 characters. 41 const char pid[] = "pid_"; local 42 const size_t pid_location = device.id.find(pid); 44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) { 49 std::string id_product = device.id.substr(pid_location + sizeof(pid) -1,
|
/external/qemu/hw/ |
goldfish_nand.h | 22 int pid; member in struct:__anon25438
|
/system/core/libcorkscrew/arch-mips/ |
ptrace-mips.c | 24 void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data) {
|
/system/core/libcutils/ |
iosched_policy.c | 41 int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio) { 43 if (ioprio_set(WHO_PROCESS, pid, ioprio | (clazz << CLASS_SHIFT))) { 50 int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio) { 54 if ((rc = ioprio_get(WHO_PROCESS, pid)) < 0) {
|
/system/extras/tests/bionic/libc/common/ |
test_executable_destructor.c | 61 pid_t pid; local 80 pid = fork(); 81 if (pid < 0) { 86 if (pid == 0) {
|
/bionic/libc/kernel/common/linux/ |
if_pppol2tp.h | 24 __kernel_pid_t pid; member in struct:pppol2tp_addr 32 pid_t pid; member in struct:pppol2tpv3_addr
|
/device/generic/goldfish/opengl/shared/OpenglOsUtils/ |
osProcess.h | 57 int KillProcess(int pid, bool wait); 58 bool isProcessRunning(int pid);
|
/external/chromium_org/content/public/browser/ |
load_from_memory_cache_details.h | 18 int pid, 27 int pid; member in struct:content::LoadFromMemoryCacheDetails
|
/external/linux-tools-perf/scripts/python/bin/ |
failed-syscalls-by-pid-report | 2 # description: system-wide failed syscalls, by pid 10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm
|
syscall-counts-by-pid-report | 2 # description: system-wide syscall counts, by pid 10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
|
/external/linux-tools-perf/util/ |
values.h | 9 u32 *pid, *tid; member in struct:perf_read_values 21 u32 pid, u32 tid,
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
udhcpd-p2p.conf | 62 # The location of the pid file 63 pidfile /var/run/udhcpd-wlan2.pid #default: /var/run/udhcpd.pid
|
/frameworks/base/services/java/com/android/server/am/ |
ProcessMemInfo.java | 21 final int pid; field in class:ProcessMemInfo 31 pid = _pid;
|