/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-main.c | 374 if (s1->what == s2->what && sr_EQ( s1->sres, s2->sres )) in eq_SyscallStatus() 380 VG_(printf)(" {%lu %lu %u}\n", s1->sres._wLO, s1->sres._wHI, s1->sres._mode); in eq_SyscallStatus() 381 VG_(printf)(" {%lu %lu %u}\n", s2->sres._wLO, s2->sres._wHI, s2->sres._mode); in eq_SyscallStatus() 394 status.sres = res; in convert_SysRes_to_SyscallStatus() 806 canonical->sres = VG_(mk_SysRes_x86_linux)( gst->guest_EAX ); in getSyscallStatusFromGuestState() 811 canonical->sres = VG_(mk_SysRes_amd64_linux)( gst->guest_RAX ); in getSyscallStatusFromGuestState() 818 canonical->sres = VG_(mk_SysRes_ppc32_linux)( gst->guest_GPR3, cr0so ); in getSyscallStatusFromGuestState() 825 canonical->sres = VG_(mk_SysRes_ppc64_linux)( gst->guest_GPR3, cr0so ); in getSyscallStatusFromGuestState() 830 canonical->sres = VG_(mk_SysRes_arm_linux)( gst->guest_R0 ); in getSyscallStatusFromGuestState() 835 canonical->sres = VG_(mk_SysRes_arm64_linux)( gst->guest_X0 ); in getSyscallStatusFromGuestState() [all …]
|
D | priv_types_n_macros.h | 78 SysRes sres; /* only meaningful for .what == SsComplete */ member 319 #define SUCCESS (status->what == SsComplete && !sr_isError(status->sres)) 320 #define FAILURE (status->what == SsComplete && sr_isError(status->sres)) 328 vg_assert(!sr_isError(st->sres)); in getRES() 329 return sr_Res(st->sres); in getRES() 334 vg_assert(!sr_isError(st->sres)); in getRESHI() 335 return sr_ResHI(st->sres); in getRESHI() 340 vg_assert(sr_isError(st->sres)); in getERR() 341 return sr_Err(st->sres); in getERR() 348 status->sres = VG_(mk_SysRes_Success)(zzz); \ [all …]
|
D | syswrap-mips32-linux.c | 413 SysRes sres; in mips_PRE_sys_mmap() local 469 sres = VG_(am_do_mmap_NO_NOTIFY)(advised, arg2, arg3, in mips_PRE_sys_mmap() 477 if (mreq.rkind == MHint && sr_isError(sres)) { in mips_PRE_sys_mmap() 487 sres = VG_(am_do_mmap_NO_NOTIFY)(advised, arg2, arg3, in mips_PRE_sys_mmap() 492 if (!sr_isError(sres)) { in mips_PRE_sys_mmap() 496 (Addr)sr_Res(sres), /* addr kernel actually assigned */ in mips_PRE_sys_mmap() 504 di_handle = VG_(di_notify_mmap)( (Addr)sr_Res(sres), in mips_PRE_sys_mmap() 508 (Addr)sr_Res(sres), /* addr kernel actually assigned */ in mips_PRE_sys_mmap() 517 if (!sr_isError(sres) && (arg4 & VKI_MAP_FIXED)) in mips_PRE_sys_mmap() 518 vg_assert(sr_Res(sres) == arg1); in mips_PRE_sys_mmap() [all …]
|
D | syswrap-generic.c | 480 SysRes sres = VG_(am_munmap_client)( &d, old_addr+new_len, old_len-new_len ); in do_mremap() local 481 if (sr_isError(sres)) in do_mremap() 482 return sres; in do_mremap() 2075 SysRes sres; in ML_() local 2141 sres = VG_(am_do_mmap_NO_NOTIFY)(advised, arg2, arg3, in ML_() 2149 if (mreq.rkind == MHint && sr_isError(sres)) { in ML_() 2159 sres = VG_(am_do_mmap_NO_NOTIFY)(advised, arg2, arg3, in ML_() 2164 if (!sr_isError(sres)) { in ML_() 2168 (Addr)sr_Res(sres), /* addr kernel actually assigned */ in ML_() 2176 di_handle = VG_(di_notify_mmap)( (Addr)sr_Res(sres), in ML_() [all …]
|
/external/valgrind/main/coregrind/m_scheduler/ |
D | ticket-lock-linux.c | 121 SysRes sres; in acquire_sched_lock() local 138 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex, in acquire_sched_lock() 141 if (sr_isError(sres) && sres._val != VKI_EAGAIN) { in acquire_sched_lock() 142 VG_(printf)("futex_wait() returned error code %ld\n", sres._val); in acquire_sched_lock() 165 SysRes sres; in release_sched_lock() local 178 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex, in release_sched_lock() 181 vg_assert(!sr_isError(sres)); in release_sched_lock()
|
/external/valgrind/main/coregrind/m_ume/ |
D | elf.c | 94 SysRes sres; in readelf() local 101 sres = VG_(pread)(fd, &e->e, sizeof(e->e), 0); in readelf() 102 if (sr_isError(sres) || sr_Res(sres) != sizeof(e->e)) { in readelf() 104 filename, VG_(strerror)(sr_Err(sres))); in readelf() 141 sres = VG_(pread)(fd, e->p, phsz, e->e.e_phoff); in readelf() 142 if (sr_isError(sres) || sr_Res(sres) != phsz) { in readelf() 144 VG_(strerror)(sr_Err(sres))); in readelf() 301 SysRes sres; in VG_() local 379 sres = VG_(open)(buf, VKI_O_RDONLY, 0); in VG_() 380 if (sr_isError(sres)) { in VG_() [all …]
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 2237 SysRes sres; in VG_() local 2264 sres = VG_(am_do_mmap_NO_NOTIFY)( in VG_() 2269 if (sr_isError(sres)) in VG_() 2270 return sres; in VG_() 2272 if (sr_Res(sres) != start) { in VG_() 2276 (void)ML_(am_do_munmap_NO_NOTIFY)( sr_Res(sres), length ); in VG_() 2302 return sres; in VG_() 2311 SysRes sres; in VG_() local 2333 sres = VG_(am_do_mmap_NO_NOTIFY)( in VG_() 2338 if (sr_isError(sres)) in VG_() [all …]
|
D | aspacemgr-common.c | 98 SysRes sres = VG_(do_syscall0)(__NR_getpid); in ML_() local 99 aspacem_assert(!sr_isError(sres)); in ML_() 100 return sr_Res(sres); in ML_() 372 SysRes sres; in VG_() local 381 sres = VG_(am_mmap_anon_float_valgrind)( szB ); in VG_() 382 if (sr_isError(sres)) in VG_() 385 stack = (VgStack*)(AddrH)sr_Res(sres); in VG_() 391 sres = local_do_mprotect_NO_NOTIFY( in VG_() 395 if (sr_isError(sres)) goto protect_failed; in VG_() 401 sres = local_do_mprotect_NO_NOTIFY( in VG_() [all …]
|
/external/valgrind/main/coregrind/ |
D | m_libcproc.c | 545 SysRes sres; in VG_() local 549 sres = VG_(do_syscall2)(__NR_getgroups, size, (Addr)list16); in VG_() 550 if (sr_isError(sres)) in VG_() 552 if (sr_Res(sres) > size) in VG_() 554 for (i = 0; i < sr_Res(sres); i++) in VG_() 556 return sr_Res(sres); in VG_() 562 SysRes sres; in VG_() 563 sres = VG_(do_syscall2)(__NR_getgroups, size, (Addr)list); in VG_() 564 if (sr_isError(sres)) in VG_() 566 return sr_Res(sres); in VG_() [all …]
|
D | m_mallocfree.c | 791 SysRes sres; in newSuperblock() local 818 sres = VG_(am_mmap_anon_float_client) in newSuperblock() 820 if (sr_isError(sres)) in newSuperblock() 822 sb = (Superblock*)(AddrH)sr_Res(sres); in newSuperblock() 829 sres = VG_(am_mmap_anon_float_valgrind)( cszB ); in newSuperblock() 830 if (sr_isError(sres)) { in newSuperblock() 835 sb = (Superblock*)(AddrH)sr_Res(sres); in newSuperblock() 860 SysRes sres; in reclaimSuperblock() local 895 sres = VG_(am_munmap_client)(&need_discard, (Addr) sb, cszB); in reclaimSuperblock() 896 vg_assert2(! sr_isError(sres), "superblock client munmap failure\n"); in reclaimSuperblock() [all …]
|
D | m_transtab.c | 1353 SysRes sres; in initialiseSector() local 1380 sres = VG_(am_mmap_anon_float_valgrind)( 8 * tc_sector_szQ ); in initialiseSector() 1381 if (sr_isError(sres)) { in initialiseSector() 1386 sec->tc = (ULong*)(AddrH)sr_Res(sres); in initialiseSector() 1388 sres = VG_(am_mmap_anon_float_valgrind) in initialiseSector() 1390 if (sr_isError(sres)) { in initialiseSector() 1395 sec->tt = (TTEntry*)(AddrH)sr_Res(sres); in initialiseSector() 2051 SysRes sres = VG_(am_mmap_anon_float_valgrind) in init_unredir_tt_tc() local 2053 if (sr_isError(sres)) { in init_unredir_tt_tc() 2058 unredir_tc = (ULong *)(AddrH)sr_Res(sres); in init_unredir_tt_tc()
|
D | m_main.c | 411 SysRes sres; in main_process_cmd_line_options() local 952 sres = VG_(open)(logfilename, in main_process_cmd_line_options() 955 if (!sr_isError(sres)) { in main_process_cmd_line_options() 956 tmp_log_fd = sr_Res(sres); in main_process_cmd_line_options() 960 logfilename, VG_(strerror)(sr_Err(sres))); in main_process_cmd_line_options() 1011 sres = VG_(open)(xmlfilename, in main_process_cmd_line_options() 1014 if (!sr_isError(sres)) { in main_process_cmd_line_options() 1015 tmp_xml_fd = sr_Res(sres); in main_process_cmd_line_options() 1022 xmlfilename, VG_(strerror)(sr_Err(sres))); in main_process_cmd_line_options()
|
/external/valgrind/main/exp-bbv/ |
D | bbv_main.c | 108 SysRes sres; in dumpPcFile() local 113 sres = VG_(open)(pc_out_file, VKI_O_CREAT|VKI_O_TRUNC|VKI_O_WRONLY, in dumpPcFile() 115 if (sr_isError(sres)) { in dumpPcFile() 119 pctrace_fd = sr_Res(sres); in dumpPcFile() 139 SysRes sres; in open_tracefile() local 152 sres = VG_(open)(temp_string, VKI_O_CREAT|VKI_O_TRUNC|VKI_O_WRONLY, in open_tracefile() 155 if (sr_isError(sres)) { in open_tracefile() 160 return sr_Res(sres); in open_tracefile()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_sim.c | 27 u8 sres[3][EAP_SIM_SRES_LEN]; member 141 os_memset(data->sres, 0, 3 * EAP_SIM_SRES_LEN); in eap_sim_clear_keys() 213 if (hexstr2bin(pos, data->sres[i], EAP_SIM_SRES_LEN) < 0) in eap_sim_ext_sim_result() 216 data->sres[i], EAP_SIM_SRES_LEN); in eap_sim_ext_sim_result() 254 data->sres[0], data->kc[0]) || in eap_sim_gsm_auth() 256 data->sres[1], data->kc[1]) || in eap_sim_gsm_auth() 259 data->sres[2], data->kc[2]))) { in eap_sim_gsm_auth() 292 data->sres[i], data->kc[i])) { in eap_sim_gsm_auth() 301 data->sres[i], EAP_SIM_SRES_LEN); in eap_sim_gsm_auth() 325 os_memcpy(data->sres[i], "\xd1\xd2\xd3\xd4", in eap_sim_gsm_auth() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 75 u8 sres[4]; member 350 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) { in read_gsm_triplets() 653 u8 _rand[16], sres[4], kc[8]; in sim_req_auth() local 657 gsm_milenage(m->opc, m->ki, _rand, sres, kc); in sim_req_auth() 661 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4); in sim_req_auth() 679 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->sres, 4); in sim_req_auth() 720 u8 _rand[16], sres[4], kc[8]; in gsm_auth_req() local 724 gsm_milenage(m->opc, m->ki, _rand, sres, kc); in gsm_auth_req() 728 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4); in gsm_auth_req()
|
/external/wpa_supplicant_8/src/crypto/ |
D | milenage.c | 235 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres, u8 *kc) in gsm_milenage() argument 247 os_memcpy(sres, res, 4); in gsm_milenage() 250 sres[i] = res[i] ^ res[i + 4]; in gsm_milenage()
|
D | milenage.h | 17 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres,
|
/external/wpa_supplicant_8/src/utils/ |
D | pcsc_funcs.h | 20 unsigned char *sres, unsigned char *kc);
|
/external/valgrind/main/coregrind/m_coredump/ |
D | coredump-elf.c | 552 SysRes sres; in make_elf_coredump() local 566 sres = VG_(open)(buf, oflags, VKI_S_IRUSR|VKI_S_IWUSR); in make_elf_coredump() 567 if (!sr_isError(sres)) { in make_elf_coredump() 568 core_fd = sr_Res(sres); in make_elf_coredump() 572 if (sr_isError(sres) && sr_Err(sres) != VKI_EEXIST) in make_elf_coredump()
|
/external/clang/test/CodeGen/ |
D | aarch64-neon-scalar-x-indexed-elem.c | 261 float64_t sarg1, sarg2, sres; in test_vmulx_lane_f64_0() local 279 float64_t sarg1, sarg2, sres; in test_vmulx_laneq_f64_2() local
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_sim_db.h | 42 u8 *_rand, u8 *kc, u8 *sres,
|
D | eap_sim_db.c | 45 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member 449 if (hexstr2bin(start, entry->u.sim.sres[num_chal], in eap_sim_db_sim_resp_auth() 871 u8 *_rand, u8 *kc, u8 *sres, in eap_sim_db_get_gsm_triplets() argument 913 os_memcpy(sres, entry->u.sim.sres, in eap_sim_db_get_gsm_triplets()
|
/external/icu/icu4c/source/data/brkitr/ |
D | es.txt | 92 "sres.",
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | eapol_test.c | 967 unsigned char sres[4]; in scard_test() local 1010 if (scard_gsm_auth(scard, _rand, sres, kc)) in scard_test() 1014 if (scard_gsm_auth(scard, _rand, sres, kc)) in scard_test() 1075 unsigned char sres[4]; in scard_get_triplets() local 1110 if (scard_gsm_auth(scard, _rand, sres, kc)) in scard_get_triplets() 1121 printf("%02X", sres[j]); in scard_get_triplets()
|
/external/valgrind/main/coregrind/m_initimg/ |
D | initimg-linux.c | 796 SysRes sres; in setup_client_dataseg() local 845 sres = VG_(am_mmap_anon_fixed_client)( in setup_client_dataseg() 850 vg_assert(!sr_isError(sres)); in setup_client_dataseg() 851 vg_assert(sr_Res(sres) == anon_start); in setup_client_dataseg()
|