/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 593 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 …]
|
D | config_file.c | 1391 char *pos, *end, *rpos; in parse_nai_realm() local 1503 rpos = realm->realm_buf; in parse_nai_realm() 1505 while (*rpos) { in parse_nai_realm() 1510 realm->realm[i++] = rpos; in parse_nai_realm() 1511 rpos = os_strchr(rpos, ';'); in parse_nai_realm() 1512 if (rpos == NULL) in parse_nai_realm() 1514 *rpos++ = '\0'; in parse_nai_realm()
|
/external/libmicrohttpd/src/microhttpd/ |
D | internal.c | 134 char *rpos = val; in MHD_http_unescape() local 140 while ('\0' != *rpos) in MHD_http_unescape() 142 switch (*rpos) in MHD_http_unescape() 145 if ( ('\0' == rpos[1]) || in MHD_http_unescape() 146 ('\0' == rpos[2]) ) in MHD_http_unescape() 151 buf3[0] = rpos[1]; in MHD_http_unescape() 152 buf3[1] = rpos[2]; in MHD_http_unescape() 159 rpos += 3; in MHD_http_unescape() 164 *wpos = *rpos; in MHD_http_unescape() 166 rpos++; in MHD_http_unescape()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 1287 u8 *start, *end, *rpos, *rend; in wpa_insert_pmkid() local 1307 rpos = start + 2; in wpa_insert_pmkid() 1308 rend = rpos + start[1]; in wpa_insert_pmkid() 1311 rpos += 2 + 4; in wpa_insert_pmkid() 1313 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; in wpa_insert_pmkid() 1315 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; in wpa_insert_pmkid() 1317 if (rpos == rend) { in wpa_insert_pmkid() 1319 os_memmove(rpos + 2, rpos, end - rpos); in wpa_insert_pmkid() 1320 *rpos++ = 0; in wpa_insert_pmkid() 1321 *rpos++ = 0; in wpa_insert_pmkid() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
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()
|
D | eap_pax.c | 123 u8 *rpos; in eap_pax_process_std_1() local 207 rpos = wpabuf_put(resp, EAP_PAX_MAC_LEN); in eap_pax_process_std_1() 211 (u8 *) data->cid, data->cid_len, rpos); in eap_pax_process_std_1() 213 rpos, EAP_PAX_MAC_LEN); in eap_pax_process_std_1() 217 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN); in eap_pax_process_std_1() 220 NULL, 0, NULL, 0, rpos); in eap_pax_process_std_1() 221 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", rpos, EAP_PAX_ICV_LEN); in eap_pax_process_std_1() 238 u8 *rpos, mac[EAP_PAX_MAC_LEN]; in eap_pax_process_std_3() local 308 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN); in eap_pax_process_std_3() 311 NULL, 0, NULL, 0, rpos) < 0) { in eap_pax_process_std_3() [all …]
|
D | eap_sake.c | 193 u8 *rpos; in eap_sake_process_challenge() local 266 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_challenge() 270 wpabuf_head(resp), wpabuf_len(resp), rpos, in eap_sake_process_challenge() 271 rpos)) { in eap_sake_process_challenge() 294 u8 *rpos; in eap_sake_process_confirm() local 339 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_confirm() 343 wpabuf_head(resp), wpabuf_len(resp), rpos, in eap_sake_process_confirm() 344 rpos)) { in eap_sake_process_confirm()
|
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() 119 challenge_response(challenge, password, rpos); in eap_leap_process_request() 121 nt_challenge_response(challenge, password, password_len, rpos); in eap_leap_process_request() 122 os_memcpy(data->peer_response, rpos, LEAP_RESPONSE_LEN); in eap_leap_process_request() 124 rpos, LEAP_RESPONSE_LEN); in eap_leap_process_request()
|
D | eap_gpsk.c | 322 u8 *rpos, *start; in eap_gpsk_send_gpsk_2() local 399 rpos = wpabuf_put(resp, miclen); in eap_gpsk_send_gpsk_2() 401 data->specifier, start, rpos - start, rpos) < in eap_gpsk_send_gpsk_2() 634 u8 *rpos, *start; in eap_gpsk_send_gpsk_4() local 652 rpos = wpabuf_put(resp, mlen); in eap_gpsk_send_gpsk_4() 654 data->specifier, start, rpos - start, rpos) < in eap_gpsk_send_gpsk_4()
|
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()
|
D | eap_eke.c | 364 u8 *rpos; in eap_eke_process_commit() local 453 rpos = wpabuf_put(resp, data->sess.dhcomp_len); in eap_eke_process_commit() 454 if (eap_eke_dhcomp(&data->sess, key, pub, rpos) < 0) { in eap_eke_process_commit() 464 rpos, data->sess.dhcomp_len); in eap_eke_process_commit()
|
/external/llvm/utils/ |
D | wciia.py | 88 rpos = -1 90 rpos = path.find(fpath) 91 if rpos == 0:
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ft.c | 606 const u8 *rpos, *start; in wpa_ft_process_ric() local 611 rpos = ric; in wpa_ft_process_ric() 612 while (rpos + sizeof(*rdie) < ric + ric_len) { in wpa_ft_process_ric() 613 if (rpos[0] != WLAN_EID_RIC_DATA || rpos[1] < sizeof(*rdie) || in wpa_ft_process_ric() 614 rpos + 2 + rpos[1] > ric + ric_len) in wpa_ft_process_ric() 616 rdie = (const struct rsn_rdie *) (rpos + 2); in wpa_ft_process_ric() 617 rpos += 2 + rpos[1]; in wpa_ft_process_ric() 618 start = rpos; in wpa_ft_process_ric() 620 while (rpos + 2 <= ric + ric_len && in wpa_ft_process_ric() 621 rpos + 2 + rpos[1] <= ric + ric_len) { in wpa_ft_process_ric() [all …]
|
D | gas_serv.c | 430 const u8 *rpos, *rend; in hs20_add_nai_home_realm_matches() local 435 rpos = realm_name; in hs20_add_nai_home_realm_matches() 436 while (rpos < realm_name + realm_len && in hs20_add_nai_home_realm_matches() 438 for (rend = rpos; in hs20_add_nai_home_realm_matches() 447 rend - rpos || in hs20_add_nai_home_realm_matches() 448 os_strncmp((char *) rpos, in hs20_add_nai_home_realm_matches() 450 rend - rpos) != 0) in hs20_add_nai_home_realm_matches() 457 rpos = rend + 1; in hs20_add_nai_home_realm_matches()
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftrfork.c | 172 FT_Long tag_internal, rpos; in FT_Raccess_Get_DataOffsets() local 192 FT_READ_USHORT( rpos ) ) in FT_Raccess_Get_DataOffsets() 201 subcnt, rpos )); in FT_Raccess_Get_DataOffsets() 206 rpos += map_offset; in FT_Raccess_Get_DataOffsets() 208 error = FT_Stream_Seek( stream, (FT_ULong)rpos ); in FT_Raccess_Get_DataOffsets()
|
/external/freetype/src/base/ |
D | ftrfork.c | 161 FT_Long tag_internal, rpos; in FT_Raccess_Get_DataOffsets() local 181 FT_READ_USHORT( rpos ) ) in FT_Raccess_Get_DataOffsets() 190 subcnt, rpos )); in FT_Raccess_Get_DataOffsets() 195 rpos += map_offset; in FT_Raccess_Get_DataOffsets() 197 error = FT_Stream_Seek( stream, (FT_ULong)rpos ); in FT_Raccess_Get_DataOffsets()
|
/external/wpa_supplicant_8/src/eap_server/ |
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()
|
/external/opencv3/modules/python/src2/ |
D | hdr_parser.py | 286 rpos = rettype.rfind(" ") 287 if rpos >= 0: 288 fname = rettype[rpos+1:].strip() + fname 289 rettype = rettype[:rpos].strip()
|