/external/valgrind/coregrind/ |
D | m_libcfile.c | 185 return sr_Res (sr); in VG_() 214 ret = (Int)(Word)sr_Res(res); in VG_() 234 ret = (Int)(Word)sr_Res(res); in VG_() 247 fd[0] = (Int)sr_Res(res); in VG_() 263 fd[0] = (Int)sr_Res(res); in VG_() 274 fd[0] = (Int)sr_Res(res); in VG_() 296 return sr_isError(res) ? (-1) : sr_Res(res); in VG_() 301 return sr_isError(res) ? (-1) : sr_Res(res); in VG_() 305 return sr_isError(res) ? (-1) : ((ULong)sr_ResHI(res) << 32 | sr_Res(res)); in VG_() 309 return sr_isError(res) ? (-1) : sr_Res(res); in VG_() [all …]
|
D | m_libcproc.c | 354 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 358 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 533 return sr_Res(res); in VG_() 606 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 623 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 633 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 648 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 660 if (sr_isError(res) && sr_Res(res) == VKI_ENOSYS) { in VG_() 684 if (!sr_isError(res) && sr_Res(res) > 0) { in VG_() 686 pid[sr_Res(res)] = '\0'; in VG_() [all …]
|
D | m_commandline.c | 71 Int res = VG_(fstat)( sr_Res(fd), &stat_buf ); in read_dot_valgrindrc() 77 n = VG_(read)(sr_Res(fd), f_clo, stat_buf.size); in read_dot_valgrindrc() 88 VG_(close)(sr_Res(fd)); in read_dot_valgrindrc()
|
D | m_libcsignal.c | 422 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 527 sr_isError(sr) ? sr_Err(sr) : sr_Res(sr)); in VG_() 550 return sr_isError(res) ? -1 : sr_Res(res); in VG_()
|
D | m_libcprint.c | 334 fp->fd = sr_Res(res); in VG_() 659 VG_(sprintf)(buf, "Success(0x%lx)", sr_Res(sr)); in VG_() 672 VG_(sprintf)(buf, "Success(0x%lx:0x%lx)", sr_ResHI(sr), sr_Res(sr)); in VG_()
|
D | m_transtab.c | 1457 sec->tc = (ULong*)(Addr)sr_Res(sres); in initialiseSector() 1466 sec->tt = (TTEntry*)(Addr)sr_Res(sres); in initialiseSector() 1481 sec->htt = (TTEno*)(Addr)sr_Res(sres); in initialiseSector() 2194 unredir_tc = (ULong *)(Addr)sr_Res(sres); in init_unredir_tt_tc()
|
D | m_mallocfree.c | 859 sb = (Superblock*)(Addr)sr_Res(sres); in newSuperblock() 868 sb = (Superblock*)(Addr)sr_Res(sres); in newSuperblock() 1761 array = (Superblock**)(Addr)sr_Res(sres); in VG_()
|
D | m_main.c | 1050 tmp_log_fd = sr_Res(sres); in main_process_cmd_line_options() 1109 tmp_xml_fd = sr_Res(sres); in main_process_cmd_line_options() 1448 Int n, fdno = sr_Res(fd); in print_preamble()
|
/external/valgrind/coregrind/m_ume/ |
D | main.c | 81 fd = sr_Res(res); in VG_() 104 if (sr_isError(res) || sr_Res(res) != bufsz) { in VG_() 108 bufsz = sr_Res(res); in VG_() 147 vg_assert2(sr_Res(res) >= 0 && sr_Res(res) < EXE_HANDLER_COUNT, in VG_() 150 ret = (*exe_handlers[sr_Res(res)].load_fn)(fd, exe, info); in VG_() 163 Int fd = sr_Res(res); in is_hash_bang_file() 179 Int fd = sr_Res(res); in is_binary_file()
|
D | macho.c | 139 fd = sr_Res(res); in open_dylinker() 421 *out_stack_start = (vki_uint8_t*)sr_Res(res); in handle_lcmain() 523 if (sr_isError(res) || sr_Res(res) != sizeof(mh)) { in load_thin_file() 735 if (sr_isError(res) || sr_Res(res) != sizeof(fh)) { in load_fat_file() 752 if (sr_isError(res) || sr_Res(res) != sizeof(arch)) { in load_fat_file() 797 if (sr_isError(res) || sr_Res(res) != sizeof(magic)) { in load_mach_file()
|
D | elf.c | 106 if (sr_isError(sres) || sr_Res(sres) != sizeof(e->e)) { in readelf() 145 if (sr_isError(sres) || sr_Res(sres) != phsz) { in readelf() 409 intfd = sr_Res(sres); in VG_()
|
D | script.c | 89 len = sr_Res(res); in VG_()
|
/external/valgrind/include/ |
D | pub_tool_basics.h | 223 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() function 262 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() function 289 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() function 339 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() function
|
/external/valgrind/coregrind/m_gdbserver/ |
D | remote-utils.c | 133 fd = sr_Res(o); in open_fifo() 186 fd = sr_Res(o); in VG_() 233 || (sr_Res(ret) > 0 && poll_cond(write_remote_desc_ok.revents))) { in ensure_write_remote_desc() 404 shared_mem_fd = sr_Res(o); in remote_open() 421 addr_shared = sr_Res (res); in remote_open() 569 || (sr_Res(ret) && poll_cond(remote_desc_pollfdread_activity.revents))) { in remote_desc_activity() 579 retval = sr_Res(ret); in remote_desc_activity() 959 if (sr_isError(ret) || sr_Res(ret) != 1) { in readchar() 963 dlog(0, "readchar: poll got %d, expecting 1\n", (int)sr_Res(ret)); in readchar()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-common.c | 93 return sr_Res(sres); in ML_() 278 return sr_isError(res) ? -1 : sr_Res(res); in ML_() 303 return sr_isError(res) ? -1 : sr_Res(res); in ML_() 315 return sr_isError(res) ? -1 : sr_Res(res); in ML_() 444 stack = (VgStack*)(Addr)sr_Res(sres); in VG_()
|
D | aspacemgr-linux.c | 2384 if (sr_Res(sres) != start) { in VG_() 2388 (void)ML_(am_do_munmap_NO_NOTIFY)( sr_Res(sres), length ); in VG_() 2453 if (sr_Res(sres) != start) { in VG_() 2457 (void)ML_(am_do_munmap_NO_NOTIFY)( sr_Res(sres), length ); in VG_() 2511 if (sr_Res(sres) != advised) { in VG_() 2515 (void)ML_(am_do_munmap_NO_NOTIFY)( sr_Res(sres), length ); in VG_() 2608 if (sr_Res(sres) != advised) { in VG_() 2612 (void)ML_(am_do_munmap_NO_NOTIFY)( sr_Res(sres), length ); in VG_() 2620 seg.start = sr_Res(sres); in VG_() 2636 return sr_isError(sres) ? NULL : (void*)sr_Res(sres); in VG_() [all …]
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-generic.c | 902 while ((ret = VG_(getdents64)(sr_Res(f), &d, sizeof(d))) != 0) { in VG_() 910 if (fno != sr_Res(f)) in VG_() 920 VG_(lseek)(sr_Res(f), d.d_off, VKI_SEEK_SET); in VG_() 924 VG_(close)(sr_Res(f)); in VG_() 940 while ((ret = VG_(getdents64)(sr_Res(f), (struct vki_dirent64 *) buf, in VG_() 950 if (fno != sr_Res(f)) in VG_() 965 VG_(close)(sr_Res(f)); in VG_() 1472 if (!ML_(fd_allowed)(sr_Res(res), "socket", tid, True)) { in ML_() 1473 VG_(close)(sr_Res(res)); in ML_() 1477 ML_(record_fd_open_nameless)(tid, sr_Res(res)); in ML_() [all …]
|
D | syswrap-main.c | 1143 gst->guest_EAX = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1157 gst->guest_RAX = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1173 gst->guest_GPR3 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1191 gst->guest_GPR3 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1207 gst->guest_R0 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1221 gst->guest_X0 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1298 gst->guest_r2 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1308 gst->guest_r2 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1326 gst->guest_r2 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() 1345 gst->guest_r0 = sr_Res(canonical->sres); in putSyscallStatusIntoGuestState() [all …]
|
D | syswrap-mips32-linux.c | 479 (Addr)sr_Res(sres), /* addr kernel actually assigned */ in mips_PRE_sys_mmap() 487 di_handle = VG_(di_notify_mmap)( (Addr)sr_Res(sres), in mips_PRE_sys_mmap() 491 (Addr)sr_Res(sres), /* addr kernel actually assigned */ in mips_PRE_sys_mmap() 501 vg_assert(sr_Res(sres) == arg1); in mips_PRE_sys_mmap()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | image.c | 619 if (VG_(fstat)(sr_Res(fd), &stat_buf) != 0) { in ML_() 620 VG_(close)(sr_Res(fd)); in ML_() 628 VG_(close)(sr_Res(fd)); in ML_() 634 img->source.fd = sr_Res(fd); in ML_()
|
D | debuginfo.c | 1003 actual_fd = sr_Res(fd); in VG_() 1020 if (sr_Res(preadres) == 0) in VG_() 1022 vg_assert(sr_Res(preadres) > 0 && sr_Res(preadres) <= sizeof(buf1k) ); in VG_() 1026 if (!ML_(is_elf_object_file)( buf1k, (SizeT)sr_Res(preadres), False )) in VG_() 1029 if (!ML_(is_macho_object_file)( buf1k, (SizeT)sr_Res(preadres) )) in VG_() 1369 fd_pdbimage = sr_Res(sres); in VG_() 1386 void* pdbimage = (void*)sr_Res(sres); in VG_()
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-solaris.c | 137 return sr_Res(VG_(do_syscall0)(SYS_getuid)); in get_uid() 142 return sr_Res(VG_(do_syscall0)(SYS_getgid)); in get_gid() 163 return sr_Res(sres); in get_zoneid() 902 core_fd = sr_Res(sres); in VG_()
|
/external/valgrind/coregrind/m_initimg/ |
D | initimg-linux.c | 98 VG_(cl_exec_fd) = sr_Res(res); in load_client() 902 vg_assert(sr_Res(sres) == anon_start); in setup_client_dataseg()
|
D | initimg-darwin.c | 85 VG_(cl_exec_fd) = sr_Res(res); in load_client()
|
D | initimg-solaris.c | 105 VG_(cl_exec_fd) = sr_Res(res); in load_client()
|