/external/valgrind/coregrind/ |
D | m_libcfile.c | 170 if (sr_isError (sr)) in VG_() 198 if (sr_isError(res)) { in VG_() 218 if (sr_isError(res)) { in VG_() 234 if (!sr_isError(res)) { in VG_() 243 return sr_isError(res) ? -1 : 0; in VG_() 246 return sr_isError(res) ? -1 : 0; in VG_() 250 if (!sr_isError(res)) { in VG_() 254 return sr_isError(res) ? -1 : 0; in VG_() 268 return sr_isError(res) ? (-1) : result; in VG_() 272 return sr_isError(res) ? (-1) : sr_Res(res); in VG_() [all …]
|
D | m_libcsignal.c | 196 return sr_isError(res) ? -1 : 0; in VG_() 228 return sr_isError(res) ? -1 : 0; in VG_() 273 return sr_isError(res) ? -1 : 0; in VG_() 309 return sr_isError(res) ? -1 : 0; in VG_() 317 if (sr_isError(res) && sr_Err(res) == VKI_ENOSYS) in VG_() 319 return sr_isError(res) ? -1 : 0; in VG_() 325 return sr_isError(res) ? -1 : 0; in VG_() 359 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 414 vg_assert(!sr_isError(sr)); in VG_() 463 sr_isError(sr) ? "FAIL" : "SUCCESS", in VG_() [all …]
|
D | m_libcproc.c | 286 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 290 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 399 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 414 if (sr_isError(res) && sr_Err(res) == VKI_ENOSYS) in VG_() 416 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 426 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 441 return sr_isError(res) ? -1 : sr_Res(res); in VG_() 453 if (sr_isError(res) && sr_Res(res) == VKI_ENOSYS) { in VG_() 477 if (!sr_isError(res) && sr_Res(res) > 0) { in VG_() 560 if (sr_isError(sres)) in VG_() [all …]
|
D | m_libcprint.c | 329 if (sr_isError(res)) in VG_() 656 if (sr_isError(sr)) in VG_() 669 if (sr_isError(sr)) in VG_()
|
D | m_commandline.c | 70 if ( !sr_isError(fd) ) { in read_dot_valgrindrc()
|
D | m_mallocfree.c | 857 if (sr_isError(sres)) in newSuperblock() 863 if (sr_isError(sres)) { in newSuperblock() 929 vg_assert2(! sr_isError(sres), "superblock client munmap failure\n"); in reclaimSuperblock() 944 vg_assert2(! sr_isError(sres), "superblock valgrind munmap failure\n"); in reclaimSuperblock() 1756 if (sr_isError(sres)) { in VG_() 2475 vg_assert2(! sr_isError(sres), "shrink superblock munmap failure\n"); in VG_()
|
D | m_transtab.c | 1452 if (sr_isError(sres)) { in initialiseSector() 1461 if (sr_isError(sres)) { in initialiseSector() 1476 if (sr_isError(sres)) { in initialiseSector() 2189 if (sr_isError(sres)) { in init_unredir_tt_tc()
|
/external/valgrind/coregrind/m_ume/ |
D | main.c | 78 if (sr_isError(res)) { in VG_() 104 if (sr_isError(res) || sr_Res(res) != bufsz) { in VG_() 123 if (!sr_isError(res) && out_fd) { in VG_() 144 if (sr_isError(res)) in VG_() 161 if (!sr_isError(res)) { in is_hash_bang_file() 177 if (!sr_isError(res)) { in is_binary_file() 249 if (sr_isError(res) && sr_Err(res) == VKI_ENOENT) { in do_exec_shell_followup() 254 } else if (!sr_isError(res) && VKI_S_ISDIR(st.mode)) { in do_exec_shell_followup()
|
D | macho.c | 78 if (sr_isError(res)) { in check_mmap() 88 if (sr_isError(res)) { in check_mmap_float() 136 if (sr_isError(res)) { in open_dylinker() 416 vg_assert(!sr_isError(res)); in handle_lcmain() 422 if (sr_isError(res)) return -1; in handle_lcmain() 519 if (sr_isError(res) || sr_Res(res) != sizeof(mh)) { in load_thin_file() 547 if (sr_isError(res)) { in load_thin_file() 731 if (sr_isError(res) || sr_Res(res) != sizeof(fh)) { in load_fat_file() 748 if (sr_isError(res) || sr_Res(res) != sizeof(arch)) { in load_fat_file() 793 if (sr_isError(res) || sr_Res(res) != sizeof(magic)) { in load_mach_file()
|
D | elf.c | 74 if (sr_isError(res)) { in check_mmap() 101 if (sr_isError(sres) || sr_Res(sres) != sizeof(e->e)) { in readelf() 140 if (sr_isError(sres) || sr_Res(sres) != phsz) { in readelf() 377 if (sr_isError(sres)) { in VG_()
|
D | script.c | 92 if (sr_isError(res)) { in VG_()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-common.c | 92 aspacem_assert(!sr_isError(sres)); in ML_() 261 return sr_isError(res) ? -1 : sr_Res(res); in ML_() 281 return sr_isError(res) ? -1 : sr_Res(res); in ML_() 293 return sr_isError(res) ? -1 : sr_Res(res); in ML_() 310 if (!sr_isError(res)) { in ML_() 318 if (!sr_isError(res)) { in ML_() 388 if (sr_isError(sres)) in VG_() 401 if (sr_isError(sres)) goto protect_failed; in VG_() 411 if (sr_isError(sres)) goto protect_failed; in VG_()
|
D | aspacemgr-linux.c | 2200 if (sr_isError(sres)) in VG_() 2269 if (sr_isError(sres)) in VG_() 2327 if (sr_isError(sres)) in VG_() 2411 if (sr_isError(sres)) { in VG_() 2421 if (sr_isError(sres)) in VG_() 2455 return sr_isError(sres) ? NULL : (void*)sr_Res(sres); in VG_() 2507 if (sr_isError(sres)) in VG_() 2568 if (! sr_isError(res)) { in VG_() 2614 if (sr_isError(sres)) in am_munmap_both_wrk() 2648 if (!sr_isError(r)) in VG_() [all …]
|
/external/valgrind/coregrind/m_gdbserver/ |
D | remote-utils.c | 87 if (!sr_isError(sr) || sr_Err(sr) != VKI_EINTR) in VG_() 129 if (sr_isError (o)) { in open_fifo() 179 if (sr_isError(o)) { in VG_() 232 if (sr_isError(ret) in ensure_write_remote_desc() 234 if (sr_isError(ret)) { in ensure_write_remote_desc() 265 if (sr_isError (m)) { in safe_mknod() 397 if (sr_isError (o)) { in remote_open() 413 if (sr_isError(res)) { in remote_open() 447 if (sr_isError(ret)) in sync_gdb_connection() 565 if (sr_isError(ret) in remote_desc_activity() [all …]
|
D | utils.c | 32 if (sr_isError (sr)) in sr_perror()
|
/external/valgrind/coregrind/m_scheduler/ |
D | ticket-lock-linux.c | 138 if (sr_isError(sres) && sres._val != VKI_EAGAIN) { in acquire_sched_lock() 178 vg_assert(!sr_isError(sres)); in release_sched_lock()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-main.c | 966 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 980 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 995 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 1013 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 1030 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 1044 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 1124 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 1133 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 1151 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() 1169 if (sr_isError(canonical->sres)) { in putSyscallStatusIntoGuestState() [all …]
|
D | priv_types_n_macros.h | 321 #define SUCCESS (status->what == SsComplete && !sr_isError(status->sres)) 322 #define FAILURE (status->what == SsComplete && sr_isError(status->sres)) 330 vg_assert(!sr_isError(st->sres)); in getRES() 337 vg_assert(!sr_isError(st->sres)); in getRESHI() 344 vg_assert(sr_isError(st->sres)); in getERR()
|
D | syswrap-generic.c | 507 if (sr_isError(sres)) in do_mremap() 872 if (sr_isError(f)) { in VG_() 1161 if (!sr_isError(res) && VG_(tdict).track_post_mem_write) { in ML_() 1385 vg_assert(!sr_isError(res)); /* guaranteed by caller */ in ML_() 1408 vg_assert(!sr_isError(res)); /* guaranteed by caller */ in ML_() 1454 vg_assert(!sr_isError(res)); /* guaranteed by caller */ in ML_() 1533 vg_assert(!sr_isError(res)); /* guaranteed by caller */ in ML_() 1617 vg_assert(!sr_isError(res)); /* guaranteed by caller */ in ML_() 1644 vg_assert(!sr_isError(res)); /* guaranteed by caller */ in ML_() 1726 if (sr_isError(res)) in get_sem_count() [all …]
|
D | syswrap-mips32-linux.c | 292 if (sr_isError(res)) in do_clone() 315 if (sr_isError (res)) { in do_clone() 460 if (mreq.rkind == MHint && sr_isError(sres)) { in mips_PRE_sys_mmap() 475 if (!sr_isError(sres)) { in mips_PRE_sys_mmap() 500 if (!sr_isError(sres) && (arg4 & VKI_MAP_FIXED)) in mips_PRE_sys_mmap()
|
D | syswrap-mips64-linux.c | 238 if (sr_isError(res)) in do_clone() 258 if (sr_isError (res)) { in do_clone()
|
/external/valgrind/include/ |
D | pub_tool_basics.h | 188 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() function 210 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() function
|
/external/valgrind/coregrind/m_initimg/ |
D | initimg-linux.c | 97 if (!sr_isError(res)) in load_client() 561 if ((!ok) || sr_isError(res)) { in setup_client_stack() 572 vg_assert(!sr_isError(res)); in setup_client_stack() 895 vg_assert(!sr_isError(sres)); in setup_client_dataseg()
|
D | initimg-darwin.c | 84 if (!sr_isError(res)) in load_client()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | debuginfo.c | 874 vg_assert(sr_isError(statres) || ! VKI_S_ISLNK(statbuf.mode)); in VG_() 878 if (sr_isError(statres)) { in VG_() 987 if (sr_isError(fd)) { in VG_() 1008 if (sr_isError(preadres)) { in VG_() 1327 if (sr_isError(sres)) { in VG_() 1351 if (sr_isError(sres)) { in VG_() 1376 if (sr_isError(sres)) { in VG_()
|