/external/valgrind/main/coregrind/m_scheduler/ |
ticket-lock-linux.c | 121 SysRes sres; local 138 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex, 141 if (sr_isError(sres) && sres._val != VKI_EAGAIN) { 142 VG_(printf)("futex_wait() returned error code %ld\n", sres._val); 165 SysRes sres; local 178 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex, 181 vg_assert(!sr_isError(sres));
|
/external/valgrind/main/coregrind/m_ume/ |
elf.c | 94 SysRes sres; local 101 sres = VG_(pread)(fd, &e->e, sizeof(e->e), 0); 102 if (sr_isError(sres) || sr_Res(sres) != sizeof(e->e)) { 104 filename, VG_(strerror)(sr_Err(sres))); 141 sres = VG_(pread)(fd, e->p, phsz, e->e.e_phoff); 142 if (sr_isError(sres) || sr_Res(sres) != phsz) { 144 VG_(strerror)(sr_Err(sres))); 301 SysRes sres; local [all...] |
/external/valgrind/main/coregrind/m_aspacemgr/ |
aspacemgr-common.c | 98 SysRes sres = VG_(do_syscall0)(__NR_getpid); local 99 aspacem_assert(!sr_isError(sres)); 100 return sr_Res(sres); 356 SysRes sres; local 365 sres = VG_(am_mmap_anon_float_valgrind)( szB ); 366 if (sr_isError(sres)) 369 stack = (VgStack*)(AddrH)sr_Res(sres); 375 sres = local_do_mprotect_NO_NOTIFY( 379 if (sr_isError(sres)) goto protect_failed; 385 sres = local_do_mprotect_NO_NOTIFY( [all...] |
aspacemgr-linux.c | 2214 SysRes sres; local 2288 SysRes sres; local 2346 SysRes sres; local 2420 SysRes sres; local 2500 SysRes sres = VG_(am_mmap_anon_float_valgrind)( size ); local 2520 SysRes sres; local 2621 SysRes sres; local 2838 SysRes sres; local 2949 SysRes sres; local 3009 SysRes sres; local [all...] |
/external/valgrind/main/coregrind/m_coredump/ |
coredump-elf.c | 530 SysRes sres; local 544 sres = VG_(open)(buf, oflags, VKI_S_IRUSR|VKI_S_IWUSR); 545 if (!sr_isError(sres)) { 546 core_fd = sr_Res(sres); 550 if (sr_isError(sres) && sr_Err(sres) != VKI_EEXIST)
|
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-main.c | 371 /* was: return s1->what == s2->what && sr_EQ( s1->sres, s2->sres ); */ 372 if (s1->what == s2->what && sr_EQ( s1->sres, s2->sres )) 378 VG_(printf)(" {%lu %lu %u}\n", s1->sres._wLO, s1->sres._wHI, s1->sres._mode); 379 VG_(printf)(" {%lu %lu %u}\n", s2->sres._wLO, s2->sres._wHI, s2->sres._mode) 1609 SysRes sres local [all...] |
priv_types_n_macros.h | 76 SysRes sres; /* only meaningful for .what == SsComplete */ member in struct:SyscallStatus 316 #define SUCCESS (status->what == SsComplete && !sr_isError(status->sres)) 317 #define FAILURE (status->what == SsComplete && sr_isError(status->sres)) 325 vg_assert(!sr_isError(st->sres)); 326 return sr_Res(st->sres); 331 vg_assert(!sr_isError(st->sres)); 332 return sr_ResHI(st->sres); 337 vg_assert(sr_isError(st->sres)); 338 return sr_Err(st->sres); 345 status->sres = VG_(mk_SysRes_Success)(zzz); [all...] |
syswrap-linux.c | 3297 SysRes sres; local [all...] |
/external/valgrind/main/coregrind/m_initimg/ |
initimg-linux.c | 807 SysRes sres; local 856 sres = VG_(am_mmap_anon_fixed_client)( 861 vg_assert(!sr_isError(sres)); 862 vg_assert(sr_Res(sres) == anon_start); [all...] |
/external/valgrind/main/coregrind/ |
m_libcproc.c | 537 SysRes sres; local 541 sres = VG_(do_syscall2)(__NR_getgroups, size, (Addr)list16); 542 if (sr_isError(sres)) 544 if (sr_Res(sres) > size) 546 for (i = 0; i < sr_Res(sres); i++) 548 return sr_Res(sres); 554 SysRes sres; 555 sres = VG_(do_syscall2)(__NR_getgroups, size, (Addr)list); 556 if (sr_isError(sres)) 558 return sr_Res(sres); [all...] |
m_libcfile.c | 665 SysRes sres; local 686 sres = VG_(open)(buf, 689 if (sr_isError(sres)) { 694 fd = VG_(safe_fd)( sr_Res(sres) ); [all...] |
m_errormgr.c | 1177 SysRes sres; local [all...] |
m_signals.c | 2083 SysRes sres; local [all...] |
m_main.c | 408 SysRes sres; local [all...] |
m_mallocfree.c | 762 SysRes sres; local 790 sres = VG_(am_mmap_anon_float_client) 793 sres = VG_(am_sbrk_anon_float_client) 795 if (sr_isError(sres)) 797 sb = (Superblock*)(AddrH)sr_Res(sres); 807 sres = VG_(am_mmap_anon_float_valgrind)( cszB ); 809 sres = VG_(am_sbrk_anon_float_valgrind)( cszB ); 810 if (sr_isError(sres)) { 815 sb = (Superblock*)(AddrH)sr_Res(sres); 840 SysRes sres; local 1551 SysRes sres = VG_(am_sbrk_anon_float_valgrind)(sizeof(Superblock *) * local [all...] |
/external/valgrind/main/exp-bbv/ |
bbv_main.c | 108 SysRes sres; local 113 sres = VG_(open)(pc_out_file, VKI_O_CREAT|VKI_O_TRUNC|VKI_O_WRONLY, 115 if (sr_isError(sres)) { 119 pctrace_fd = sr_Res(sres); 139 SysRes sres; local 152 sres = VG_(open)(temp_string, VKI_O_CREAT|VKI_O_TRUNC|VKI_O_WRONLY, 155 if (sr_isError(sres)) { 160 return sr_Res(sres);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_sim.c | 27 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data 525 (u8 *) data->rand, (u8 *) data->kc, (u8 *) data->sres, sm); 571 (u8 *) data->sres,
|
eap_sim_db.c | 46 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member in struct:eap_sim_db_pending::__anon18549::__anon18550 409 * SIM-RESP-AUTH <IMSI> Kc(i):SRES(i):RAND(i) ... 411 * (IMSI = ASCII string, Kc/SRES/RAND = hex string) 450 if (hexstr2bin(start, entry->u.sim.sres[num_chal], 843 * @sres: Buffer for SRES values 861 u8 *_rand, u8 *kc, u8 *sres, 903 os_memcpy(sres, entry->u.sim.sres, [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
readmacho.c | 142 SysRes sres; local 145 sres = VG_(am_munmap_valgrind)( (Addr)ii->img, ii->img_szB ); 148 vg_assert( !sr_isError(sres) ); 165 SysRes fd, sres; local 181 sres = VG_(am_mmap_file_float_valgrind) 183 if (sr_isError(sres)) { 190 ii->img = (UChar*)sr_Res(sres); [all...] |
readelf.c | 1064 SysRes fd, sres; local 1336 SysRes fd, sres; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 31 * Kc/SRES/RAND/AUTN/IK/CK/RES/AUTS as hex strings. 34 * text file in IMSI:Kc:SRES:RAND format, IMSI in ASCII, other fields as hex 67 u8 sres[4]; member in struct:gsm_triplet 278 /* Parse IMSI:Kc:SRES:RAND */ 330 /* SRES */ 333 printf("%s:%d - Invalid SRES (%s)\n", fname, line, 339 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) { 340 printf("%s:%d - Invalid SRES (%s)\n", fname, line, 643 u8 _rand[16], sres[4], kc[8]; local 647 gsm_milenage(m->opc, m->ki, _rand, sres, kc) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_sim.c | 27 u8 sres[3][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data 159 data->sres[0], data->kc[0]) || 161 data->sres[1], data->kc[1]) || 164 data->sres[2], data->kc[2]))) { 197 data->sres[i], data->kc[i])) { 205 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: SRES", 206 data->sres[i], EAP_SIM_SRES_LEN); 215 /* These hardcoded Kc and SRES values are used for testing. RAND to 222 wpa_printf(MSG_DEBUG, "EAP-SIM: Use hardcoded Kc and SRES " 230 os_memcpy(data->sres[i], "\xd1\xd2\xd3\xd4" [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
m_gdbserver.c | 726 SysRes sres; local 727 VG_(memset)(&sres, 0, sizeof(SysRes)); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
eapol_test.c | 871 unsigned char sres[4]; local 914 if (scard_gsm_auth(scard, _rand, sres, kc)) 918 if (scard_gsm_auth(scard, _rand, sres, kc)) 979 unsigned char sres[4]; local 1014 if (scard_gsm_auth(scard, _rand, sres, kc)) 1017 /* IMSI:Kc:SRES:RAND */ 1025 printf("%02X", sres[j]); [all...] |
/external/valgrind/main/cachegrind/ |
cg_main.c | 1260 SysRes sres; local [all...] |