/frameworks/compile/libbcc/runtime/test/Unit/ |
trampoline_setup_test.c | 31 nested_func_t proc; variable 43 proc = bar; 47 if ( (*proc)(3) != 43 ) 50 if ( (*proc)(4) != 40 )
|
/system/core/adb/ |
get_my_path_freebsd.c | 28 char proc[64]; local 30 snprintf(proc, sizeof(proc), "/proc/%d/file", getpid()); 32 int err = readlink(proc, exe, maxLen - 1);
|
get_my_path_linux.c | 24 char proc[64]; local 25 snprintf(proc, sizeof proc, "/proc/%d/exe", getpid()); 26 int err = readlink(proc, exe, maxLen - 1);
|
jdwp_service.c | 126 JdwpProcess* proc = _jdwp_list.next; local 128 for ( ; proc != &_jdwp_list; proc = proc->next ) { 132 if (proc->pid < 0) 135 len = snprintf(p, end-p, "%d\n", proc->pid); 159 jdwp_process_free( JdwpProcess* proc ) 161 if (proc) { 164 proc->prev->next = proc->next 197 JdwpProcess* proc = calloc(1,sizeof(*proc)); local 237 JdwpProcess* proc = _proc; local 392 JdwpProcess* proc = _jdwp_list.next; local 518 JdwpProcess* proc; local [all...] |
/external/qemu/memcheck/ |
memcheck_proc_management.h | 116 * proc - Descriptor for the process to check. 122 procdesc_is_forked(const ProcDesc* proc) 124 return proc->parent_pid != 0; 129 * proc - Descriptor for the process to check. 134 procdesc_is_executing(const ProcDesc* proc) 136 return (proc->flags & PROC_FLAG_EXECUTING) != 0; 141 * proc - Descriptor for the process to check. 146 procdesc_is_exiting(const ProcDesc* proc) 148 return (proc->flags & PROC_FLAG_EXITING) != 0; 153 * proc - Descriptor for the process to check [all...] |
memcheck.c | 57 * proc - Process that caused access violation. 63 av_invalid_pointer(ProcDesc* proc, target_ulong ptr, int routine) 71 proc->image_path, proc->pid, ptr, routine == 1 ? "free" : "realloc", 78 * proc - Process that caused access violation. 90 av_access_violation(ProcDesc* proc, 111 proc->image_path, proc->pid); 114 const MMRangeDesc* rdesc = procdesc_get_range_desc(proc, vaddr); 197 ProcDesc* proc = get_current_process() local 380 ProcDesc* proc = get_process_from_pid(pid); local 402 ProcDesc* proc; local 483 ProcDesc* proc; local 529 ProcDesc* proc; local 579 ProcDesc* proc; local 616 ProcDesc* proc; local [all...] |
/bionic/libc/kernel/arch-arm/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/external/webkit/Tools/DumpRenderTree/mac/PerlSupport/ |
DumpRenderTreeSupport.c | 38 struct extern_proc proc = info.kp_proc; local 41 return proc.p_stat != SZOMB && (proc.p_flag & P_WEXIT) && proc.p_xstat;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/asm/ |
pgtable.h | 16 #include <asm/proc-fns.h>
|
/system/extras/libpagemap/ |
pm_process.c | 28 static int read_maps(pm_process_t *proc); 33 pm_process_t *proc; local 40 proc = calloc(1, sizeof(*proc)); 41 if (!proc) 44 proc->ker = ker; 45 proc->pid = pid; 47 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid); 50 free(proc); 54 proc->pagemap_fd = open(filename, O_RDONLY) [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_proc.c | 70 struct opd_proc * proc; local 73 proc = xmalloc(sizeof(struct opd_proc)); 74 list_init(&proc->maps); 75 proc->name = NULL; 76 proc->tid = tid; 77 proc->tgid = tgid; 78 proc->dead = 0; 79 proc->accessed = 0; 80 list_add(&proc->next, &opd_procs[proc_hash(tid)]); 81 return proc; 87 struct opd_proc * proc; local 192 struct opd_proc * proc; local 241 struct opd_proc * proc; local 288 struct opd_proc * proc; local 319 struct opd_proc * proc; local 349 struct opd_proc * proc = local [all...] |
opd_parse_proc.c | 3 * Parsing of /proc/#pid 30 * @param proc process to add map to 35 * and add the info to the process @proc. Returns %1 43 static int opd_add_ascii_map(struct opd_proc * proc, char const * line, 75 image = opd_get_image(cp, image_name, 0, proc->tid, proc->tgid); 79 opd_add_mapping(proc, image, start, offset, end); 87 * @param proc process to work on 89 * Read the /proc/<pid>/maps file and add all 90 * mapping information found to the process @proc 203 struct opd_proc * proc; local [all...] |
opd_mapping.c | 55 void opd_kill_maps(struct opd_proc * proc) 59 list_for_each_safe(pos, pos2, &proc->maps) { 68 void opd_add_mapping(struct opd_proc * proc, struct opd_image * image, 74 proc->tid, start, end, offset, image->name); 79 if (list_empty(&proc->maps)) { 80 if (proc->name) 81 free((char *)proc->name); 82 proc->name = xstrdup(image->name); 91 list_add_tail(&map->next, &proc->maps); 141 struct opd_proc * proc; local [all...] |
/external/e2fsprogs/debian/ |
initrd.ext3-add-journal | 6 mount -nt proc proc proc 7 rootdev=$(cat proc/sys/kernel/real-root-dev) 8 cmdline=$(cat /proc/cmdline) 9 umount -n proc 26 umount -n /proc > /dev/null 2>&1
|
/system/core/fastboot/ |
util_linux.c | 39 char proc[64]; local 42 sprintf(proc, "/proc/%d/exe", getpid()); 43 int err = readlink(proc, path, PATH_MAX - 1);
|
/system/core/toolbox/ |
top.c | 92 static void free_proc(struct proc_info *proc); 94 static int read_stat(char *filename, struct proc_info *proc); 95 static void read_policy(int pid, struct proc_info *proc); 96 static void add_proc(int proc_num, struct proc_info *proc); 97 static int read_cmdline(char *filename, struct proc_info *proc); 98 static int read_status(char *filename, struct proc_info *proc); 196 struct proc_info *proc; local 199 proc = free_procs; 203 proc = malloc(sizeof(*proc)); 228 struct proc_info *proc; local 413 struct proc_info *old_proc, *proc; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
extutil.h | 189 #define XEXT_GENERATE_FIND_DISPLAY(proc,extinfo,extname,hooks,nev,data) \ 190 XExtDisplayInfo *proc (Display *dpy) \ 199 #define XEXT_FIND_DISPLAY_PROTO(proc) \ 200 XExtDisplayInfo *proc(Display *dpy) 202 #define XEXT_GENERATE_CLOSE_DISPLAY(proc,extinfo) \ 203 int proc (Display *dpy, XExtCodes *codes) \ 208 #define XEXT_CLOSE_DISPLAY_PROTO(proc) \ 209 int proc(Display *dpy, XExtCodes *codes) 211 #define XEXT_GENERATE_ERROR_STRING(proc,extname,nerr,errl) \ 212 char *proc (Display *dpy, int code, XExtCodes *codes, char *buf, int n) [all...] |
/frameworks/base/tools/preload/ |
PrintPsTree.java | 40 for (Proc proc : root.processes.values()) { 41 if (proc.parent == null) { 42 proc.print();
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
extutil.h | 155 #define XEXT_GENERATE_FIND_DISPLAY(proc,extinfo,extname,hooks,nev,data) \ 156 XExtDisplayInfo *proc (Display *dpy) \ 165 #define XEXT_FIND_DISPLAY_PROTO(proc) \ 166 XExtDisplayInfo *proc(Display *dpy) 168 #define XEXT_GENERATE_CLOSE_DISPLAY(proc,extinfo) \ 169 int proc (Display *dpy, XExtCodes *codes) \ 174 #define XEXT_CLOSE_DISPLAY_PROTO(proc) \ 175 int proc(Display *dpy, XExtCodes *codes) 177 #define XEXT_GENERATE_ERROR_STRING(proc,extname,nerr,errl) \ 178 char *proc (Display *dpy, int code, XExtCodes *codes, char *buf, int n) [all...] |