/external/valgrind/tsan/ |
common_util.cc | 99 SysRes sres = VG_(open)((const Char*)file_name.c_str(), VKI_O_RDONLY, 0); local 100 if (!sr_isError(sres)) 101 ret = sr_Res(sres);
|
ts_util.cc | 453 SysRes sres = VG_(open)((const Char*)file_name.c_str(), local 456 if (sr_isError(sres)) { 460 int fd = sr_Res(sres);
|
/external/valgrind/main/coregrind/m_ume/ |
elf.c | 95 SysRes sres; local 102 sres = VG_(pread)(fd, &e->e, sizeof(e->e), 0); 103 if (sr_isError(sres) || sr_Res(sres) != sizeof(e->e)) { 105 filename, VG_(strerror)(sr_Err(sres))); 142 sres = VG_(pread)(fd, e->p, phsz, e->e.e_phoff); 143 if (sr_isError(sres) || sr_Res(sres) != phsz) { 145 VG_(strerror)(sr_Err(sres))); 302 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); 368 SysRes sres; local 377 sres = VG_(am_mmap_anon_float_valgrind)( szB ); 378 if (sr_isError(sres)) 381 stack = (VgStack*)(AddrH)sr_Res(sres); 387 sres = local_do_mprotect_NO_NOTIFY( 391 if (sr_isError(sres)) goto protect_failed; 397 sres = local_do_mprotect_NO_NOTIFY( [all...] |
/external/valgrind/main/coregrind/m_initimg/ |
initimg-aix5.c | 101 SysRes sres; local 199 sres = VG_(am_mmap_anon_float_client) 201 if (sres.isError) 204 pp = (AIX5PreloadPage*)sres.res; 292 SysRes sres; local 476 sres = VG_(do_syscall1)(__NR_AIX5_sbrk, 0); 477 vg_assert(sres.err == 0); /* assert no error */ 478 VG_(brk_base) = VG_(brk_limit) = sres.res;
|
initimg-linux.c | 785 SysRes sres; local 834 sres = VG_(am_mmap_anon_fixed_client)( 839 vg_assert(!sr_isError(sres)); 840 vg_assert(sr_Res(sres) == anon_start); [all...] |
/external/valgrind/main/coregrind/m_coredump/ |
coredump-elf.c | 489 SysRes sres; local 499 sres = VG_(open)(buf, 502 if (!sr_isError(sres)) { 503 core_fd = sr_Res(sres); 507 if (sr_isError(sres) && sr_Err(sres) != VKI_EEXIST)
|
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-main.c | 376 /* was: return s1->what == s2->what && sr_EQ( s1->sres, s2->sres ); */ 377 if (s1->what == s2->what && sr_EQ( s1->sres, s2->sres )) 383 VG_(printf)(" {%lu %lu %u}\n", s1->sres._wLO, s1->sres._wHI, s1->sres._mode); 384 VG_(printf)(" {%lu %lu %u}\n", s2->sres._wLO, s2->sres._wHI, s2->sres._mode) 1588 SysRes sres local [all...] |
priv_types_n_macros.h | 76 SysRes sres; /* only meaningful for .what == SsComplete */ member in struct:SyscallStatus 329 #define SUCCESS (status->what == SsComplete && !sr_isError(status->sres)) 330 #define FAILURE (status->what == SsComplete && sr_isError(status->sres)) 338 vg_assert(!sr_isError(st->sres)); 339 return sr_Res(st->sres); 344 vg_assert(!sr_isError(st->sres)); 345 return sr_ResHI(st->sres); 350 vg_assert(sr_isError(st->sres)); 351 return sr_Err(st->sres); 358 status->sres = VG_(mk_SysRes_Success)(zzz); [all...] |
syswrap-linux.c | 3103 SysRes sres; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/ |
milenage.c | 237 * @sres: Buffer for SRES = 32-bit SRES 241 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres, u8 *kc) 253 os_memcpy(sres, res, 4); 256 sres[i] = res[i] ^ res[i + 4]; 1114 u8 sres[4], kc[8]; local [all...] |
hlr_auc_gw.c | 37 * Kc/SRES/RAND/AUTN/IK/CK/RES/AUTS as hex strings. 40 * text file in IMSI:Kc:SRES:RAND format, IMSI in ASCII, other fields as hex 61 u8 sres[4]; member in struct:gsm_triplet 133 /* Parse IMSI:Kc:SRES:RAND */ 185 /* SRES */ 188 printf("%s:%d - Invalid SRES (%s)\n", fname, line, 194 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) { 195 printf("%s:%d - Invalid SRES (%s)\n", fname, line, 419 u8 _rand[16], sres[4], kc[8]; local 423 gsm_milenage(m->opc, m->ki, _rand, sres, kc) [all...] |
/external/valgrind/main/coregrind/ |
m_libcfile.c | 613 SysRes sres; local 630 sres = VG_(open)(buf, 633 if (sr_isError(sres)) 636 fd = VG_(safe_fd)( sr_Res(sres) );
|
m_libcproc.c | 535 SysRes sres; local 539 sres = VG_(do_syscall2)(__NR_getgroups, size, (Addr)list16); 540 if (sr_isError(sres)) 542 if (sr_Res(sres) > size) 544 for (i = 0; i < sr_Res(sres); i++) 546 return sr_Res(sres); 552 SysRes sres; 553 sres = VG_(do_syscall2)(__NR_getgroups, size, (Addr)list); 554 if (sr_isError(sres)) 556 return sr_Res(sres); [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/ |
eap_sim.c | 32 u8 sres[3][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data 113 data->sres[0], data->kc[0]) || 115 data->sres[1], data->kc[1]) || 118 data->sres[2], data->kc[2]))) { 124 /* These hardcoded Kc and SRES values are used for testing. RAND to 135 os_memcpy(data->sres[i], "\xd1\xd2\xd3\xd4", 141 os_memcpy(data->sres[i], "\xe1\xe2\xe3\xe4", 147 os_memcpy(data->sres[i], "\xf1\xf2\xf3\xf4", 318 (u8 *) data->sres,
|
eapol_test.c | 719 unsigned char sres[4]; local 759 if (scard_gsm_auth(scard, _rand, sres, kc)) 763 if (scard_gsm_auth(scard, _rand, sres, kc)) 824 unsigned char sres[4]; local 859 if (scard_gsm_auth(scard, _rand, sres, kc)) 862 /* IMSI:Kc:SRES:RAND */ 870 printf("%02X", sres[j]);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_sim.c | 32 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data 473 (u8 *) data->rand, (u8 *) data->kc, (u8 *) data->sres, sm); 518 (u8 *) data->sres,
|