/external/oprofile/daemon/liblegacy/ |
D | opd_proc.c | 70 struct opd_proc * proc; in opd_new_proc() local 73 proc = xmalloc(sizeof(struct opd_proc)); in opd_new_proc() 74 list_init(&proc->maps); in opd_new_proc() 75 proc->name = NULL; in opd_new_proc() 76 proc->tid = tid; in opd_new_proc() 77 proc->tgid = tgid; in opd_new_proc() 78 proc->dead = 0; in opd_new_proc() 79 proc->accessed = 0; in opd_new_proc() 80 list_add(&proc->next, &opd_procs[proc_hash(tid)]); in opd_new_proc() 81 return proc; in opd_new_proc() [all …]
|
D | opd_parse_proc.c | 43 static int opd_add_ascii_map(struct opd_proc * proc, char const * line, in opd_add_ascii_map() argument 75 image = opd_get_image(cp, image_name, 0, proc->tid, proc->tgid); in opd_add_ascii_map() 79 opd_add_mapping(proc, image, start, offset, end); in opd_add_ascii_map() 92 static void opd_get_ascii_maps(struct opd_proc * proc) in opd_get_ascii_maps() argument 101 snprintf(mapsfile + 6, 6, "%hu", proc->tid); in opd_get_ascii_maps() 117 verbprintf(vmisc, "image name %s for pid %u %u\n", image_name, proc->tid, proc->tgid); in opd_get_ascii_maps() 124 opd_add_ascii_map(proc, line, image_name); in opd_get_ascii_maps() 132 list_for_each(pos, &proc->maps) { in opd_get_ascii_maps() 135 if (pos != proc->maps.next) { in opd_get_ascii_maps() 136 …fprintf(stderr, "swap map for image %s from %s to %s\n", image_name, proc->name, map->image->name); in opd_get_ascii_maps() [all …]
|
D | opd_mapping.c | 55 void opd_kill_maps(struct opd_proc * proc) in opd_kill_maps() argument 59 list_for_each_safe(pos, pos2, &proc->maps) { in opd_kill_maps() 68 void opd_add_mapping(struct opd_proc * proc, struct opd_image * image, in opd_add_mapping() argument 74 proc->tid, start, end, offset, image->name); in opd_add_mapping() 79 if (list_empty(&proc->maps)) { in opd_add_mapping() 80 if (proc->name) in opd_add_mapping() 81 free((char *)proc->name); in opd_add_mapping() 82 proc->name = xstrdup(image->name); in opd_add_mapping() 91 list_add_tail(&map->next, &proc->maps); in opd_add_mapping() 141 struct opd_proc * proc; in opd_handle_mapping() local [all …]
|
D | opd_kernel.c | 411 void opd_add_kernel_map(struct opd_proc * proc, unsigned long eip) in opd_add_kernel_map() argument 417 app_name = proc->name; in opd_add_kernel_map() 419 verbprintf(vmisc, "un-named proc for tid %d\n", proc->tid); in opd_add_kernel_map() 425 image = opd_get_kernel_image(vmlinux, app_name, proc->tid, proc->tgid); in opd_add_kernel_map() 431 opd_add_mapping(proc, image, kernel_start, 0, kernel_end); in opd_add_kernel_map() 454 image = opd_get_kernel_image(module_name, app_name, proc->tid, proc->tgid); in opd_add_kernel_map() 460 opd_add_mapping(proc, image, module->start, 0, module->end); in opd_add_kernel_map()
|
/external/qemu/memcheck/ |
D | memcheck_proc_management.h | 122 procdesc_is_forked(const ProcDesc* proc) in procdesc_is_forked() argument 124 return proc->parent_pid != 0; in procdesc_is_forked() 134 procdesc_is_executing(const ProcDesc* proc) in procdesc_is_executing() argument 136 return (proc->flags & PROC_FLAG_EXECUTING) != 0; in procdesc_is_executing() 146 procdesc_is_exiting(const ProcDesc* proc) in procdesc_is_exiting() argument 148 return (proc->flags & PROC_FLAG_EXITING) != 0; in procdesc_is_exiting() 158 procdesc_is_libc_initialized(const ProcDesc* proc) in procdesc_is_libc_initialized() argument 160 return (proc->flags & PROC_FLAG_LIBC_INITIALIZED) != 0; in procdesc_is_libc_initialized() 171 procdesc_is_image_path_replaced(const ProcDesc* proc) in procdesc_is_image_path_replaced() argument 173 return (proc->flags & PROC_FLAG_IMAGE_PATH_REPLACED) != 0; in procdesc_is_image_path_replaced() [all …]
|
D | memcheck.c | 63 av_invalid_pointer(ProcDesc* proc, target_ulong ptr, int routine) in av_invalid_pointer() argument 71 proc->image_path, proc->pid, ptr, routine == 1 ? "free" : "realloc", in av_invalid_pointer() 90 av_access_violation(ProcDesc* proc, in av_access_violation() argument 111 proc->image_path, proc->pid); in av_access_violation() 114 const MMRangeDesc* rdesc = procdesc_get_range_desc(proc, vaddr); in av_access_violation() 197 ProcDesc* proc = get_current_process(); in memcheck_common_access_validation() local 198 *proc_ptr = proc; in memcheck_common_access_validation() 199 if (proc == NULL) { in memcheck_common_access_validation() 204 desc = procdesc_find_malloc_for_range(proc, addr, data_size); in memcheck_common_access_validation() 264 procdesc_contains_allocs(ProcDesc* proc, target_ulong addr, uint32_t buf_size) { in procdesc_contains_allocs() argument [all …]
|
D | memcheck_proc_management.c | 69 create_new_thread(ProcDesc* proc, uint32_t tid) in create_new_thread() argument 77 new_thread->process = proc; in create_new_thread() 82 QLIST_INSERT_HEAD(&proc->threads, new_thread, proc_entry); in create_new_thread() 249 procdesc_set_image_path(ProcDesc* proc, in procdesc_set_image_path() argument 253 if (image_path == NULL || proc == NULL) { in procdesc_set_image_path() 257 if (proc->image_path != NULL) { in procdesc_set_image_path() 263 if (!strcmp(proc->image_path, image_path)) { in procdesc_set_image_path() 267 qemu_free(proc->image_path); in procdesc_set_image_path() 268 proc->image_path = NULL; in procdesc_set_image_path() 272 proc->image_path = qemu_malloc(strlen(image_path) + 1); in procdesc_set_image_path() [all …]
|
/external/chromium/build/util/ |
D | lastchange.py | 33 proc = subprocess.Popen(['svn', 'info'], 41 if not proc: 45 for line in proc.stdout: 79 proc = subprocess.Popen(command, 83 return proc 97 proc = RunGitCommand(directory, ['rev-parse', 'HEAD']) 98 if proc: 99 output = proc.communicate()[0].strip() 100 if proc.returncode == 0 and output: 117 proc = RunGitCommand(directory, ['config', '--get-regexp', '^svn']) [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
D | extutil.h | 189 #define XEXT_GENERATE_FIND_DISPLAY(proc,extinfo,extname,hooks,nev,data) \ argument 190 XExtDisplayInfo *proc (Display *dpy) \ 199 #define XEXT_FIND_DISPLAY_PROTO(proc) \ argument 200 XExtDisplayInfo *proc(Display *dpy) 202 #define XEXT_GENERATE_CLOSE_DISPLAY(proc,extinfo) \ argument 203 int proc (Display *dpy, XExtCodes *codes) \ 208 #define XEXT_CLOSE_DISPLAY_PROTO(proc) \ argument 209 int proc(Display *dpy, XExtCodes *codes) 211 #define XEXT_GENERATE_ERROR_STRING(proc,extname,nerr,errl) \ argument 212 char *proc (Display *dpy, int code, XExtCodes *codes, char *buf, int n) \ [all …]
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
D | UnixNetworkInterfaceTest.java | 48 Process proc = Runtime.getRuntime().exec(cmd); in test_isUp() local 49 proc.waitFor(); in test_isUp() 53 proc = Runtime.getRuntime().exec(cmd); in test_isUp() 54 proc.waitFor(); in test_isUp() 73 Process proc = Runtime.getRuntime().exec(cmd); in test_supportsMulticast() local 74 proc.waitFor(); in test_supportsMulticast() 80 proc = Runtime.getRuntime().exec(cmd); in test_supportsMulticast() 81 proc.waitFor(); in test_supportsMulticast() 104 Process proc = Runtime.getRuntime().exec(cmd); in test_getHardwareAddress() local 105 proc.waitFor(); in test_getHardwareAddress() [all …]
|
/external/e2fsprogs/debian/ |
D | 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
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_Exec.java | 66 Process proc = (Process) arr[0]; in run() local 68 InputStream in = proc.getInputStream(); in run() 80 proc.waitFor(); in run() 81 int exitCode = proc.exitValue(); in run() 82 proc.destroy(); in run() 117 Process proc = (Process) arr[0]; in getProcessOutput() local 119 InputStream in = proc.getInputStream(); in getProcessOutput() 131 proc.waitFor(); in getProcessOutput() 135 proc.destroy(); in getProcessOutput() 230 final Process proc = in exec() local [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | ProcessTest.java | 37 Process proc = (Process) execArgs[0]; in test_getInputStream() local 39 OutputStream os = proc.getOutputStream(); in test_getInputStream() 47 InputStream is = proc.getInputStream(); in test_getInputStream() 56 proc.waitFor(); in test_getInputStream() 58 proc.destroy(); in test_getInputStream() 76 Process proc = (Process) execArgs[0]; in test_getOutputStream() local 78 OutputStream os = proc.getOutputStream(); in test_getOutputStream() 94 InputStream is = proc.getInputStream(); in test_getOutputStream() 103 proc.waitFor(); in test_getOutputStream() 105 proc.destroy(); in test_getOutputStream()
|
/external/valgrind/main/none/tests/ |
D | procfs-linux.stderr.exp-with-readlinkat | 2 /proc/self/cmdline: 4 /proc/<pid>/cmdline: 6 Result of readlink("/proc/self/exe"): procfs-cmdline-exe 7 Result of readlink("/proc/<pid>/exe"): procfs-cmdline-exe 8 Result of readlinkat("/proc/self/exe"): procfs-cmdline-exe 9 Result of readlinkat("/proc/<pid>/exe"): procfs-cmdline-exe
|
D | procfs-linux.stderr.exp-without-readlinkat | 2 /proc/self/cmdline: 4 /proc/<pid>/cmdline: 6 Result of readlink("/proc/self/exe"): procfs-cmdline-exe 7 Result of readlink("/proc/<pid>/exe"): procfs-cmdline-exe
|
/external/skia/src/core/ |
D | SkBlitRow_D32.cpp | 140 SkBlitRow::Proc32 proc = PlatformProcs32(flags); in Factory32() local 141 if (NULL == proc) { in Factory32() 142 proc = gDefault_Procs32[flags]; in Factory32() 144 SkASSERT(proc); in Factory32() 145 return proc; in Factory32() 149 SkBlitRow::ColorProc proc = PlatformColorProc(); in ColorProcFactory() local 150 if (NULL == proc) { in ColorProcFactory() 151 proc = Color32; in ColorProcFactory() 153 SkASSERT(proc); in ColorProcFactory() 154 return proc; in ColorProcFactory()
|
D | SkProcSpriteBlitter.cpp | 16 SkProcSpriteBlitter(const SkBitmap& source, Proc proc, unsigned srcShift, unsigned dstShift) 17 …: SkSpriteBlitter(source), fProc(proc), fSrcShift(SkToU8(srcShift)), fDstShift(SkToU8(dstShift)) {} 25 Proc proc = fProc; 33 proc(dst, src, width, ctable);
|
/external/chromium/net/base/ |
D | host_resolver_proc.cc | 86 void HostResolverProc::SetPreviousProc(HostResolverProc* proc) { in SetPreviousProc() argument 91 previous_proc_ = (GetLastProc(proc) == this) ? current_previous : proc; in SetPreviousProc() 94 void HostResolverProc::SetLastProc(HostResolverProc* proc) { in SetLastProc() argument 95 GetLastProc(this)->SetPreviousProc(proc); in SetLastProc() 99 HostResolverProc* HostResolverProc::GetLastProc(HostResolverProc* proc) { in GetLastProc() argument 100 if (proc == NULL) in GetLastProc() 102 HostResolverProc* last_proc = proc; in GetLastProc() 109 HostResolverProc* HostResolverProc::SetDefault(HostResolverProc* proc) { in SetDefault() argument 111 default_proc_ = proc; in SetDefault()
|
D | host_resolver_proc.h | 58 void SetPreviousProc(HostResolverProc* proc); 62 void SetLastProc(HostResolverProc* proc); 66 static HostResolverProc* GetLastProc(HostResolverProc* proc); 72 static HostResolverProc* SetDefault(HostResolverProc* proc);
|
/external/grub/stage2/ |
D | smp-imps.c | 133 imps_processor proc[2]; member 309 boot_cpu (imps_processor * proc) in boot_cpu() argument 328 if (proc->apic_ver & 0x10) in boot_cpu() 366 add_processor (imps_processor * proc) in add_processor() argument 368 int apicid = proc->apic_id; in add_processor() 371 apicid, proc->apic_ver)); in add_processor() 372 if (!(proc->flags & IMPS_FLAG_ENABLED)) in add_processor() 377 if (proc->apic_ver > 0xF) in add_processor() 381 if (proc->flags & (IMPS_CPUFLAG_BOOT)) in add_processor() 388 if (boot_cpu (proc)) in add_processor() [all …]
|
/external/compiler-rt/test/Unit/ |
D | trampoline_setup_test.c | 31 nested_func_t proc; variable 43 proc = bar; in main() 47 if ( (*proc)(3) != 43 ) in main() 50 if ( (*proc)(4) != 40 ) in main()
|
/external/clang/test/Parser/ |
D | objc-try-catch-1.m | 3 void * proc(); function 17 return proc(); 23 @throw proc(); 27 return proc(); 37 @throw (4,3,proc()); // expected-warning {{expression result unused}} \ 43 return proc();
|
/external/webkit/Tools/DumpRenderTree/mac/PerlSupport/ |
D | DumpRenderTreeSupport.c | 38 struct extern_proc proc = info.kp_proc; in processIsCrashing() local 41 return proc.p_stat != SZOMB && (proc.p_flag & P_WEXIT) && proc.p_xstat; in processIsCrashing()
|
/external/webkit/Source/WebKit/android/jni/ |
D | JavaSharedClient.cpp | 100 void JavaSharedClient::EnqueueFunctionPtr(void (*proc)(void* payload), in EnqueueFunctionPtr() 106 rec->fProc = proc; in EnqueueFunctionPtr() 117 void (*proc)(void*) = 0; in ServiceFunctionPtrQueue() local 126 proc = rec->fProc; in ServiceFunctionPtrQueue() 134 proc(payload); in ServiceFunctionPtrQueue()
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/ |
D | UnixFileTest.java | 47 Process proc; field in UnixFileTest.ConsoleResulter 54 proc = p; in ConsoleResulter() 77 synchronized (proc) { in run() 78 proc.notifyAll(); in run() 95 Process proc = rt.exec(cmd); in getLinuxSpace() local 97 ConsoleResulter outputResult = new ConsoleResulter(proc, proc in getLinuxSpace() 100 synchronized (proc) { in getLinuxSpace() 102 proc.wait(); in getLinuxSpace() 107 proc.waitFor(); in getLinuxSpace()
|