Home
last modified time | relevance | path

Searched refs:rpos (Results 1 – 25 of 29) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c593 char *rpos, *rend; in sim_req_auth() local
609 rpos = resp; in sim_req_auth()
610 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); in sim_req_auth()
611 if (ret < 0 || ret >= rend - rpos) in sim_req_auth()
613 rpos += ret; in sim_req_auth()
622 *rpos++ = ' '; in sim_req_auth()
623 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8); in sim_req_auth()
624 *rpos++ = ':'; in sim_req_auth()
625 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4); in sim_req_auth()
626 *rpos++ = ':'; in sim_req_auth()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_md5.c35 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()
Deap_pax.c122 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 …]
Deap_sake.c192 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()
Deap_leap.c66 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()
Deap_gpsk.c319 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()
Deap_tnc.c208 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()
Deap_eke.c362 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()
/external/libcups/cups/
Dtestipp.c32 size_t rpos, /* Read position */ member
434 data.rpos = 0; in main()
445 printf("FAIL - %d bytes read.\n", (int)data.rpos); in main()
448 else if (data.rpos != data.wused) in main()
450 printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos, in main()
661 data.rpos = 0; in main()
683 data.rpos = 0; in main()
697 printf("FAIL - %d bytes read.\n", (int)data.rpos); in main()
700 else if (data.rpos != sizeof(mixed)) in main()
702 printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos, in main()
[all …]
/external/libwebsockets/minimal-examples/raw/minimal-raw-audio/
Daudio.c31 int rpos; member
150 &vhd->simplebuf[vhd->rpos], in callback_raw_test()
151 ((vhd->wpos - vhd->rpos) & in callback_raw_test()
153 vhd->rpos = (vhd->rpos + (n * 2)) & in callback_raw_test()
/external/llvm/utils/
Dwciia.py88 rpos = -1
90 rpos = path.find(fpath)
91 if rpos == 0:
/external/llvm-project/llvm/utils/
Dwciia.py89 rpos = -1
91 rpos = path.find(fpath)
92 if rpos == 0:
/external/llvm-project/lldb/source/Target/
DSectionLoadHistory.cpp47 StopIDToSectionLoadList::reverse_iterator rpos = in GetSectionLoadListForStopID() local
49 return rpos->second.get(); in GetSectionLoadListForStopID()
80 StopIDToSectionLoadList::reverse_iterator rpos = in GetSectionLoadListForStopID() local
83 new SectionLoadList(*rpos->second)); in GetSectionLoadListForStopID()
DSectionLoadList.cpp231 addr_to_sect_collection::const_reverse_iterator rpos = in ResolveLoadAddress() local
233 if (load_addr >= rpos->first) { in ResolveLoadAddress()
234 addr_t offset = load_addr - rpos->first; in ResolveLoadAddress()
236 rpos->second->GetByteSize() + (allow_section_end ? 1 : 0)) { in ResolveLoadAddress()
239 return rpos->second->ResolveContainedAddress(offset, so_addr, in ResolveLoadAddress()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c2486 u8 *start, *end, *rpos, *rend; in wpa_insert_pmkid() local
2505 rpos = start + 2; in wpa_insert_pmkid()
2506 rend = rpos + start[1]; in wpa_insert_pmkid()
2509 rpos += 2 + 4; in wpa_insert_pmkid()
2511 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; in wpa_insert_pmkid()
2513 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; in wpa_insert_pmkid()
2515 if (rpos == rend) { in wpa_insert_pmkid()
2517 os_memmove(rpos + 2, rpos, end - rpos); in wpa_insert_pmkid()
2518 *rpos++ = 0; in wpa_insert_pmkid()
2519 *rpos++ = 0; in wpa_insert_pmkid()
[all …]
/external/wpa_supplicant_8/src/ap/
Dfils_hlp.c164 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()
Dgas_serv.c486 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()
Dwpa_auth_ft.c2476 const u8 *rpos, *start; in wpa_ft_process_ric() local
2481 rpos = ric; in wpa_ft_process_ric()
2482 while (rpos + sizeof(*rdie) < ric + ric_len) { in wpa_ft_process_ric()
2483 if (rpos[0] != WLAN_EID_RIC_DATA || rpos[1] < sizeof(*rdie) || in wpa_ft_process_ric()
2484 rpos + 2 + rpos[1] > ric + ric_len) in wpa_ft_process_ric()
2486 rdie = (const struct rsn_rdie *) (rpos + 2); in wpa_ft_process_ric()
2487 rpos += 2 + rpos[1]; in wpa_ft_process_ric()
2488 start = rpos; in wpa_ft_process_ric()
2490 while (rpos + 2 <= ric + ric_len && in wpa_ft_process_ric()
2491 rpos + 2 + rpos[1] <= ric + ric_len) { in wpa_ft_process_ric()
[all …]
/external/python/cpython2/Lib/
Dlocale.py178 rpos = len(s) - 1
179 while amount and s[rpos] == ' ':
180 rpos -= 1
182 return s[lpos:rpos+1]
/external/freetype/src/base/
Dftrfork.c195 FT_Long tag_internal, rpos; in FT_Raccess_Get_DataOffsets() local
234 FT_READ_SHORT( rpos ) ) in FT_Raccess_Get_DataOffsets()
243 subcnt, rpos )); in FT_Raccess_Get_DataOffsets()
248 rpos += map_offset; in FT_Raccess_Get_DataOffsets()
255 error = FT_Stream_Seek( stream, (FT_ULong)rpos ); in FT_Raccess_Get_DataOffsets()
/external/tensorflow/tensorflow/core/platform/
Dpath.cc298 size_t rpos = absl::string_view(paths[0]) in CommonPathPrefix() local
301 return rpos == std::string::npos in CommonPathPrefix()
303 : std::string(absl::string_view(paths[0]).substr(0, rpos + 1)); in CommonPathPrefix()
/external/python/cpython3/Lib/
Dlocale.py174 rpos = len(s) - 1
175 while amount and s[rpos] == ' ':
176 rpos -= 1
178 return s[lpos:rpos+1]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tnc.c130 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()
/external/bc/include/
Dhistory.h135 l->len, l->pos, l->oldcolpos, plen, rows, rpos, \
/external/libaom/libaom/av1/encoder/
Dbitstream.c3194 uint32_t rpos = 0; in remux_tiles() local
3203 uint32_t tile_col_size = mem_get_le32(dst + rpos); in remux_tiles()
3204 rpos += 4; in remux_tiles()
3216 uint32_t tile_header = mem_get_le32(dst + rpos); in remux_tiles()
3217 rpos += 4; in remux_tiles()
3230 memmove(dst + wpos, dst + rpos, tile_header); in remux_tiles()
3231 rpos += tile_header; in remux_tiles()
3237 assert(rpos > wpos); in remux_tiles()
3238 assert(rpos == data_size); in remux_tiles()
3249 tile_size = data_size - rpos; in remux_tiles()
[all …]

12