Home
last modified time | relevance | path

Searched refs:sr_isError (Results 1 – 25 of 45) sorted by relevance

12

/external/valgrind/coregrind/
Dm_libcfile.c170 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 …]
Dm_libcsignal.c196 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 …]
Dm_libcproc.c286 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 …]
Dm_libcprint.c329 if (sr_isError(res)) in VG_()
656 if (sr_isError(sr)) in VG_()
669 if (sr_isError(sr)) in VG_()
Dm_commandline.c70 if ( !sr_isError(fd) ) { in read_dot_valgrindrc()
Dm_mallocfree.c857 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_()
Dm_transtab.c1452 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/
Dmain.c78 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()
Dmacho.c78 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()
Delf.c74 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_()
Dscript.c92 if (sr_isError(res)) { in VG_()
/external/valgrind/coregrind/m_aspacemgr/
Daspacemgr-common.c92 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_()
Daspacemgr-linux.c2200 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/
Dremote-utils.c87 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 …]
Dutils.c32 if (sr_isError (sr)) in sr_perror()
/external/valgrind/coregrind/m_scheduler/
Dticket-lock-linux.c138 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/
Dsyswrap-main.c966 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 …]
Dpriv_types_n_macros.h321 #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()
Dsyswrap-generic.c507 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 …]
Dsyswrap-mips32-linux.c292 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()
Dsyswrap-mips64-linux.c238 if (sr_isError(res)) in do_clone()
258 if (sr_isError (res)) { in do_clone()
/external/valgrind/include/
Dpub_tool_basics.h188 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/
Dinitimg-linux.c97 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()
Dinitimg-darwin.c84 if (!sr_isError(res)) in load_client()
/external/valgrind/coregrind/m_debuginfo/
Ddebuginfo.c874 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_()

12