/netbsd/external/bsd/wpa/dist/hostapd/ |
H A D | hlr_auc_gw.c | 609 rpos = resp; in sim_req_auth() 623 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8); in sim_req_auth() 625 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4); in sim_req_auth() 627 rpos += wpa_snprintf_hex(rpos, rend - rpos, _rand, 16); in sim_req_auth() 640 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->kc, 8); in sim_req_auth() 643 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->sres, 4); in sim_req_auth() 646 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->_rand, 16); in sim_req_auth() 652 ret = snprintf(rpos, rend - rpos, " FAILURE"); in sim_req_auth() 690 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8); in gsm_auth_req() 692 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4); in gsm_auth_req() [all …]
|
H A D | config_file.c | 1540 char *pos, *end, *rpos; in parse_nai_realm() local 1652 rpos = realm->realm_buf; in parse_nai_realm() 1654 while (*rpos) { in parse_nai_realm() 1659 realm->realm[i++] = rpos; in parse_nai_realm() 1660 rpos = os_strchr(rpos, ';'); in parse_nai_realm() 1661 if (rpos == NULL) in parse_nai_realm() 1663 *rpos++ = '\0'; in parse_nai_realm()
|
/netbsd/external/bsd/tmux/dist/compat/ |
H A D | imsg-buffer.c | 156 iov[i].iov_base = buf->buf + buf->rpos; in ibuf_write() 157 iov[i].iov_len = buf->wpos - buf->rpos; in ibuf_write() 205 if (buf->rpos + n >= buf->wpos) { in msgbuf_drain() 206 n -= buf->wpos - buf->rpos; in msgbuf_drain() 209 buf->rpos += n; in msgbuf_drain() 244 iov[i].iov_base = buf->buf + buf->rpos; in msgbuf_write() 245 iov[i].iov_len = buf->wpos - buf->rpos; in msgbuf_write()
|
H A D | imsg.h | 36 size_t rpos; member
|
/netbsd/external/bsd/wpa/dist/src/common/ |
H A D | wpa_common.c | 2158 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; in wpa_insert_pmkid() 2160 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; in wpa_insert_pmkid() 2164 os_memmove(rpos + 2, rpos, end - rpos); in wpa_insert_pmkid() 2165 *rpos++ = 0; in wpa_insert_pmkid() 2166 *rpos++ = 0; in wpa_insert_pmkid() 2169 rend = rpos; in wpa_insert_pmkid() 2172 rpos += 2; in wpa_insert_pmkid() 2182 os_memmove(rpos + 2 + PMKID_LEN, rpos, end + added - rpos); in wpa_insert_pmkid() 2184 rpos += 2; in wpa_insert_pmkid() 2214 rpos += 2; in wpa_insert_pmkid() [all …]
|
/netbsd/external/bsd/wpa/dist/src/eap_peer/ |
H A D | eap_md5.c | 35 u8 *rpos, id; in eap_md5_process() local 88 rpos = wpabuf_put(resp, CHAP_MD5_LEN); in eap_md5_process() 90 rpos)) { in eap_md5_process() 96 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Response", rpos, CHAP_MD5_LEN); in eap_md5_process()
|
H A D | eap_pax.c | 122 u8 *rpos; in eap_pax_process_std_1() local 206 rpos = wpabuf_put(resp, EAP_PAX_MAC_LEN); in eap_pax_process_std_1() 210 (u8 *) data->cid, data->cid_len, rpos); in eap_pax_process_std_1() 212 rpos, EAP_PAX_MAC_LEN); in eap_pax_process_std_1() 216 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN); in eap_pax_process_std_1() 219 NULL, 0, NULL, 0, rpos); in eap_pax_process_std_1() 220 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", rpos, EAP_PAX_ICV_LEN); in eap_pax_process_std_1() 237 u8 *rpos, mac[EAP_PAX_MAC_LEN]; in eap_pax_process_std_3() local 314 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN); in eap_pax_process_std_3() 317 NULL, 0, NULL, 0, rpos) < 0) { in eap_pax_process_std_3() [all …]
|
H A D | eap_sake.c | 192 u8 *rpos; in eap_sake_process_challenge() local 268 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_challenge() 272 wpabuf_head(resp), wpabuf_len(resp), rpos, in eap_sake_process_challenge() 273 rpos)) { in eap_sake_process_challenge() 296 u8 *rpos; in eap_sake_process_confirm() local 350 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_confirm() 354 wpabuf_head(resp), wpabuf_len(resp), rpos, in eap_sake_process_confirm() 355 rpos)) { in eap_sake_process_confirm()
|
H A D | eap_leap.c | 66 u8 challenge_len, *rpos; in eap_leap_process_request() local 117 rpos = wpabuf_put(resp, LEAP_RESPONSE_LEN); in eap_leap_process_request() 118 if ((pwhash && challenge_response(challenge, password, rpos)) || in eap_leap_process_request() 120 nt_challenge_response(challenge, password, password_len, rpos))) { in eap_leap_process_request() 126 os_memcpy(data->peer_response, rpos, LEAP_RESPONSE_LEN); in eap_leap_process_request() 128 rpos, LEAP_RESPONSE_LEN); in eap_leap_process_request()
|
H A D | eap_gpsk.c | 319 u8 *rpos, *start; in eap_gpsk_send_gpsk_2() local 396 rpos = wpabuf_put(resp, miclen); in eap_gpsk_send_gpsk_2() 398 data->specifier, start, rpos - start, rpos) < in eap_gpsk_send_gpsk_2() 631 u8 *rpos, *start; in eap_gpsk_send_gpsk_4() local 649 rpos = wpabuf_put(resp, mlen); in eap_gpsk_send_gpsk_4() 651 data->specifier, start, rpos - start, rpos) < in eap_gpsk_send_gpsk_4()
|
H A D | eap_tnc.c | 208 u8 *rpos, *rpos1; in eap_tnc_process() local 390 rpos = tncc_copy_send_buf(data->tncc, rpos1); in eap_tnc_process() 391 wpabuf_put(resp, rpos - rpos1); in eap_tnc_process()
|
H A D | eap_eke.c | 362 u8 *rpos; in eap_eke_process_commit() local 451 rpos = wpabuf_put(resp, data->sess.dhcomp_len); in eap_eke_process_commit() 452 if (eap_eke_dhcomp(&data->sess, key, pub, rpos) < 0) { in eap_eke_process_commit() 462 rpos, data->sess.dhcomp_len); in eap_eke_process_commit()
|
/netbsd/external/apache2/llvm/dist/llvm/utils/ |
H A D | wciia.py | 92 rpos = -1 94 rpos = path.find(fpath) 95 if rpos == 0:
|
/netbsd/external/bsd/wpa/dist/src/ap/ |
H A D | fils_hlp.c | 164 const u8 *rpos; in fils_dhcp_handler() local 291 rpos = wpabuf_head(resp); in fils_dhcp_handler() 305 wpabuf_put_data(sta->fils_hlp_resp, rpos, len - 1); in fils_dhcp_handler() 306 rpos += len - 1; in fils_dhcp_handler() 312 wpabuf_put_data(sta->fils_hlp_resp, rpos, len); in fils_dhcp_handler() 313 rpos += len; in fils_dhcp_handler()
|
H A D | gas_serv.c | 486 const u8 *rpos, *rend; in hs20_add_nai_home_realm_matches() local 491 rpos = realm_name; in hs20_add_nai_home_realm_matches() 492 while (rpos < realm_name + realm_len && in hs20_add_nai_home_realm_matches() 494 for (rend = rpos; in hs20_add_nai_home_realm_matches() 503 rend - rpos || in hs20_add_nai_home_realm_matches() 504 os_strncmp((char *) rpos, in hs20_add_nai_home_realm_matches() 506 rend - rpos) != 0) in hs20_add_nai_home_realm_matches() 513 rpos = rend + 1; in hs20_add_nai_home_realm_matches()
|
H A D | wpa_auth_ft.c | 2387 const u8 *rpos, *start; in wpa_ft_process_ric() local 2392 rpos = ric; in wpa_ft_process_ric() 2394 if (rpos[0] != WLAN_EID_RIC_DATA || rpos[1] < sizeof(*rdie) || in wpa_ft_process_ric() 2395 rpos + 2 + rpos[1] > ric + ric_len) in wpa_ft_process_ric() 2398 rpos += 2 + rpos[1]; in wpa_ft_process_ric() 2399 start = rpos; in wpa_ft_process_ric() 2401 while (rpos + 2 <= ric + ric_len && in wpa_ft_process_ric() 2402 rpos + 2 + rpos[1] <= ric + ric_len) { in wpa_ft_process_ric() 2403 if (rpos[0] == WLAN_EID_RIC_DATA) in wpa_ft_process_ric() 2405 rpos += 2 + rpos[1]; in wpa_ft_process_ric() [all …]
|
/netbsd/external/bsd/wpa/dist/src/eap_server/ |
H A D | eap_server_tnc.c | 130 u8 *rpos, *rpos1; in eap_tnc_build() local 161 rpos = tncs_copy_send_buf(data->tncs, rpos1); in eap_tnc_build() 162 wpabuf_put(req, rpos - rpos1); in eap_tnc_build()
|
/netbsd/games/backgammon/common_source/ |
H A D | fancy.c | 205 bsect(int b, int rpos, int cpos, int cnext) in bsect() argument 218 curmove(rpos, cpos + 1); in bsect() 220 curmove(rpos, cpos); in bsect()
|
/netbsd/sys/arch/x86/x86/ |
H A D | genfb_machdep.c | 147 ri->ri_rpos = fbinfo->rpos; in x86_genfb_init()
|
/netbsd/sys/arch/x86/include/ |
H A D | bootinfo.h | 213 uint8_t rpos; member
|
/netbsd/sys/arch/i386/stand/efiboot/ |
H A D | eficons.c | 475 fb.rpos = 16; in bi_framebuffer() 484 fb.rpos = 0; in bi_framebuffer() 491 &fb.rnum, &fb.rpos); in bi_framebuffer()
|
/netbsd/sys/dev/scsipi/ |
H A D | cd.c | 2480 uint16_t feature, int cur, uint8_t *rpos) in mmc_process_feature() argument 2493 blockingnr = rpos[5] | (rpos[4] << 8); in mmc_process_feature() 2502 blockingnr = rpos[9] | (rpos[8] << 8); in mmc_process_feature() 2510 mmc_discinfo->link_block_penalty = rpos[4]; in mmc_process_feature() 2511 if (rpos[2] & 1) in mmc_process_feature() 2538 if (rpos[0] & 1) /* write support */ in mmc_process_feature() 2545 if (rpos[0] & 1) /* blank bit */ in mmc_process_feature() 2554 if (rpos[0] & 2) /* DVD-RW bit */ in mmc_process_feature()
|
/netbsd/sys/arch/i386/stand/lib/ |
H A D | vbe.c | 194 fb.rpos = mi.RedFieldPosition; in vbe_set_mode()
|
/netbsd/external/gpl3/gcc/dist/libcpp/ |
H A D | lex.cc | 2171 const uchar *rpos; member 2175 : first (NULL), last (NULL), rpos (0), accum (0) in lit_accum() 2184 return rpos != NULL; in reading_p() 2188 char c = *rpos++; in read_char() 2189 if (rpos == BUFF_FRONT (last)) in read_char() 2190 rpos = NULL; in read_char() 2215 gcc_checking_assert (!rpos); in append() 2232 rpos = BUFF_FRONT (last); in read_begin()
|
/netbsd/sbin/newfs_udf/ |
H A D | udf_core.c | 3722 uint64_t rpos, rel_loc; in udf_read_sector() local 3725 rpos = (uint64_t) location * context.sector_size; in udf_read_sector() 3747 ret = pread(dev_fd, sector, context.sector_size, rpos); in udf_read_sector() 3761 ret = pread(dev_fd, sector, context.sector_size, rpos); in udf_read_sector() 3787 uint64_t rpos, wpos; in udf_writeout_writequeue() local 3806 rpos = (uint64_t) packet->start_sectornr * context.sector_size; in udf_writeout_writequeue() 3807 ret = pread(dev_fd, linebuf, linesize, rpos); in udf_writeout_writequeue()
|