HomeSort by relevance Sort by last modified time
    Searched defs:sres (Results 1 - 25 of 42) sorted by null

1 2

  /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,
eap_sim_db.c 50 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member in struct:eap_sim_db_pending::__anon13927::__anon13928
116 * SIM-RESP-AUTH <IMSI> Kc(i):SRES(i):RAND(i) ...
118 * (IMSI = ASCII string, Kc/SRES/RAND = hex string)
157 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
528 * @sres: Buffer for SRES values
549 u8 *_rand, u8 *kc, u8 *sres,
602 os_memcpy(sres, entry->u.sim.sres,
    [all...]
  /external/wpa_supplicant_8/hostapd/
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
62 u8 sres[4]; member in struct:gsm_triplet
134 /* Parse IMSI:Kc:SRES:RAND */
186 /* SRES */
189 printf("%s:%d - Invalid SRES (%s)\n", fname, line,
195 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) {
196 printf("%s:%d - Invalid SRES (%s)\n", fname, line,
420 u8 _rand[16], sres[4], kc[8]; local
424 gsm_milenage(m->opc, m->ki, _rand, sres, kc)
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_sim.c 33 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data
474 (u8 *) data->rand, (u8 *) data->kc, (u8 *) data->sres, sm);
519 (u8 *) data->sres,
  /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...]
  /external/wpa_supplicant_6/wpa_supplicant/
eapol_test.c 795 unsigned char sres[4]; local
835 if (scard_gsm_auth(scard, _rand, sres, kc))
839 if (scard_gsm_auth(scard, _rand, sres, kc))
900 unsigned char sres[4]; local
935 if (scard_gsm_auth(scard, _rand, sres, kc))
938 /* IMSI:Kc:SRES:RAND */
946 printf("%02X", sres[j]);
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_sim.c 34 u8 sres[3][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data
157 data->sres[0], data->kc[0]) ||
159 data->sres[1], data->kc[1]) ||
162 data->sres[2], data->kc[2]))) {
195 data->sres[i], data->kc[i])) {
203 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: SRES",
204 data->sres[i], EAP_SIM_SRES_LEN);
213 /* These hardcoded Kc and SRES values are used for testing. RAND to
220 wpa_printf(MSG_DEBUG, "EAP-SIM: Use hardcoded Kc and SRES "
228 os_memcpy(data->sres[i], "\xd1\xd2\xd3\xd4"
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_sim.c 33 u8 sres[3][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data
156 data->sres[0], data->kc[0]) ||
158 data->sres[1], data->kc[1]) ||
161 data->sres[2], data->kc[2]))) {
194 data->sres[i], data->kc[i])) {
202 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: SRES",
203 data->sres[i], EAP_SIM_SRES_LEN);
212 /* These hardcoded Kc and SRES values are used for testing. RAND to
219 wpa_printf(MSG_DEBUG, "EAP-SIM: Use hardcoded Kc and SRES "
227 os_memcpy(data->sres[i], "\xd1\xd2\xd3\xd4"
    [all...]

Completed in 1009 milliseconds

1 2