/freebsd-current/contrib/wpa/src/tls/ |
H A D | x509v3.c | 186 const u8 *pos, *end; local 202 pos = hdr.payload; 203 end = pos + hdr.length; 207 if (asn1_get_oid(pos, end - pos, &id->oid, &pos)) 221 const u8 *pos, *end; local 230 pos = buf; 233 if (asn1_get_next(pos, end - pos, 289 const u8 *pos, *end, *set_pos, *set_end, *seq_pos, *seq_end; local 494 char *pos, *end; local 535 parse_uint2(const char *pos, size_t len) argument 551 parse_uint4(const char *pos, size_t len) argument 571 const char *pos, *end; local 690 const u8 *pos; local 765 x509_parse_ext_key_usage(struct x509_certificate *cert, const u8 *pos, size_t len) argument 798 x509_parse_ext_basic_constraints(struct x509_certificate *cert, const u8 *pos, size_t len) argument 873 x509_parse_alt_name_rfc8222(struct x509_name *name, const u8 *pos, size_t len) argument 895 x509_parse_alt_name_dns(struct x509_name *name, const u8 *pos, size_t len) argument 917 x509_parse_alt_name_uri(struct x509_name *name, const u8 *pos, size_t len) argument 941 x509_parse_alt_name_ip(struct x509_name *name, const u8 *pos, size_t len) argument 955 x509_parse_alt_name_rid(struct x509_name *name, const u8 *pos, size_t len) argument 971 x509_parse_ext_alt_name(struct x509_name *name, const u8 *pos, size_t len) argument 1049 x509_parse_ext_subject_alt_name(struct x509_certificate *cert, const u8 *pos, size_t len) argument 1073 x509_parse_ext_issuer_alt_name(struct x509_certificate *cert, const u8 *pos, size_t len) argument 1146 x509_parse_ext_certificate_policies(struct x509_certificate *cert, const u8 *pos, size_t len) argument 1270 x509_parse_ext_ext_key_usage(struct x509_certificate *cert, const u8 *pos, size_t len) argument 1324 x509_parse_extension_data(struct x509_certificate *cert, struct asn1_oid *oid, const u8 *pos, size_t len) argument 1355 x509_parse_extension(struct x509_certificate *cert, const u8 *pos, size_t len, const u8 **next) argument 1429 x509_parse_extensions(struct x509_certificate *cert, const u8 *pos, size_t len) argument 1460 const u8 *pos, *end; local 1730 const u8 *pos, *end, *hash_start; local 1844 const u8 *pos, *end, *next, *da_end; local [all...] |
H A D | tlsv1_server_read.c | 52 const u8 *pos, *end; local 55 pos = req; 72 if (end - pos < 1) 75 status_type = *pos++; 83 wpa_hexdump(MSG_DEBUG, "TLSv1: OCSPStatusRequest", pos, end - pos); 93 const u8 *pos, *end; local 97 pos = ext; 108 while (end - pos >= 2) { 111 len = WPA_GET_BE16(pos); 124 const u8 *pos, *end, *c; local 399 const u8 *pos, *end; local 598 tls_process_client_key_exchange_rsa( struct tlsv1_server *conn, const u8 *pos, const u8 *end) argument 701 tls_process_client_key_exchange_dh( struct tlsv1_server *conn, const u8 *pos, const u8 *end) argument 810 const u8 *pos, *end; local 887 const u8 *pos, *end; local 1049 const u8 *pos; local 1098 const u8 *pos, *end; local [all...] |
H A D | tlsv1_client_read.c | 42 const u8 *pos, size_t len) 44 const u8 *end = pos + len; 47 pos, len); 48 while (pos < end) { 51 if (end - pos < 4) { 56 ext = WPA_GET_BE16(pos); 57 pos += 2; 58 elen = WPA_GET_BE16(pos); 59 pos += 2; 61 if (elen > end - pos) { 41 tls_process_server_hello_extensions(struct tlsv1_client *conn, const u8 *pos, size_t len) argument 81 const u8 *pos, *end; local 357 const u8 *pos, *end; local 668 const u8 *pos, *end, *server_params, *server_params_end; local 799 tls_process_certificate_status_ocsp_response(struct tlsv1_client *conn, const u8 *pos, size_t len) argument 826 const u8 *pos, *end; local 1024 const u8 *pos, *end; local 1121 const u8 *pos, *end; local 1185 const u8 *pos, *end; local 1252 const u8 *pos; local 1322 const u8 *pos, *end; local 1456 const u8 *pos; local [all...] |
H A D | rsa.c | 31 static const u8 * crypto_rsa_parse_integer(const u8 *pos, const u8 *end, argument 36 if (pos == NULL) 39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 65 const u8 *pos, *end; local 90 pos = hdr.payload; 91 end = pos + hdr.length; 93 pos = crypto_rsa_parse_integer(pos, end, key->n); 94 pos 149 const u8 *pos, *end; local [all...] |
H A D | pkcs8.c | 22 const u8 *pos, *end; local 35 pos = hdr.payload; 36 end = pos + hdr.length; 39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_integer(&hdr)) { 53 pos = hdr.payload + hdr.length; 66 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { 72 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { 94 pos = hdr.payload + hdr.length; 97 if (asn1_get_next(pos, en 114 const u8 *pos, *end, *enc_alg; local [all...] |
/freebsd-current/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | mpidebug.c | 303 bPtr[pos++] = \ 306 bPtr[pos++] = \ 310 && (bPtr[pos-2] == '0') \ 311 && (bPtr[pos-1] == '0') ) \ 313 pos -= 2; \ 325 bPtr[pos++] = '0'; \ 326 bPtr[pos++] = '0'; \ 342 bPtr[pos++] = (bit8)'\n'; \ 343 bPtr[pos++] = (bit8)0; \ 348 while( (pos 469 bit8 pos = 0; local 549 bit8 pos = 0; local 630 bit8 pos = 0; local 699 bit8 pos = 0; local 770 bit8 pos = 0; local 846 bit8 pos = 0; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Target/ |
H A D | ThreadList.cpp | 270 collection::iterator pos, end = threads_copy.end(); local 301 for (pos = threads_copy.begin(); pos != end; ++pos) { 302 ThreadSP thread_sp(*pos); 310 for (pos = threads_copy.begin(); pos != end; ++pos) { 311 ThreadSP thread_sp(*pos); 367 for (pos 381 collection::iterator pos, end = m_threads.end(); local 429 collection::iterator pos, end = m_threads.end(); local 442 collection::iterator pos, end = m_threads.end(); local 497 collection::iterator pos, end = m_threads.end(); local 507 collection::iterator pos, end = m_threads.end(); local 520 collection::iterator pos, end = m_threads.end(); local 657 collection::iterator pos, end = m_threads.end(); local 669 collection::iterator pos, end = m_threads.end(); local 781 collection::iterator pos, end = m_threads.end(); local [all...] |
H A D | ThreadPlanStepUntil.cpp | 89 until_collection::iterator pos, end = m_until_points.end(); local 90 for (pos = m_until_points.begin(); pos != end; pos++) { 91 target.RemoveBreakpointByID((*pos).second); 111 until_collection::iterator pos, end = m_until_points.end(); local 114 for (pos = m_until_points.begin(); pos != end; pos++) { 115 s->Printf("\n\t0x%" PRIx64 " (bp: %d)", (uint64_t)(*pos) 135 until_collection::iterator pos, end = m_until_points.end(); local 192 until_collection::iterator pos, end = m_until_points.end(); local 285 until_collection::iterator pos, end = m_until_points.end(); local 305 until_collection::iterator pos, end = m_until_points.end(); local [all...] |
/freebsd-current/lib/libc/stdio/ |
H A D | ftell.c | 84 fpos_t pos; local 99 pos = _sseek(fp, (fpos_t)0, SEEK_END); 100 if (pos == -1) 103 pos = fp->_offset; 105 pos = _sseek(fp, (fpos_t)0, SEEK_CUR); 106 if (pos == -1) 115 if ((pos -= (HASUB(fp) ? fp->_ur : fp->_r)) < 0) { 121 pos -= fp->_r; /* Can be negative at this point. */ 129 if (pos > OFF_MAX - n) { 133 pos [all...] |
/freebsd-current/contrib/wpa/src/eap_common/ |
H A D | eap_gpsk_common.c | 116 u8 mk[32], *pos, *data; local 144 pos = data; 145 WPA_PUT_BE16(pos, psk_len); 146 pos += 2; 147 os_memcpy(pos, psk, psk_len); 148 pos += psk_len; 149 WPA_PUT_BE32(pos, EAP_GPSK_VENDOR_IETF); /* CSuite/Vendor = IETF */ 150 pos += 4; 151 WPA_PUT_BE16(pos, csuite_specifier); /* CSuite/Specifier */ 152 pos 287 u8 *seed, *pos; local 348 u8 *pos, *data; local 424 u8 *seed, *pos; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Breakpoint/ |
H A D | BreakpointLocationList.cpp | 71 collection::const_iterator pos = local 73 if (pos != end && (*pos)->GetID() == break_id) 74 return *(pos); 83 collection::iterator pos, end = m_locations.end(); local 85 for (pos = m_locations.begin(); pos != end; ++pos) { 86 BreakpointLocationSP break_loc = (*pos); 114 addr_map::const_iterator pos local 129 collection::const_iterator pos, end = m_locations.end(); local 155 collection::iterator pos, end = m_locations.end(); local 162 collection::iterator pos, end = m_locations.end(); local 173 collection::const_iterator pos, end = m_locations.end(); local 188 collection::const_iterator pos, end = m_locations.end(); local 199 collection::iterator pos, end = m_locations.end(); local [all...] |
H A D | WatchpointResourceList.cpp | 35 for (collection::iterator pos = m_resources.begin(); pos != m_resources.end(); 36 ++pos) { 37 if ((*pos)->GetID() == id) { 40 (*pos)->GetLoadAddress(), (*pos)->GetByteSize()); 41 m_resources.erase(pos); 51 for (collection::iterator pos = m_resources.begin(); pos != m_resources.end(); 52 ++pos) { [all...] |
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | rculist.h | 40 #define list_for_each_entry_rcu(pos, head, member) \ 41 for (pos = list_entry_rcu((head)->next, typeof(*(pos)), member); \ 42 &(pos)->member != (head); \ 43 pos = list_entry_rcu((pos)->member.next, typeof(*(pos)), member)) 45 #define list_for_each_entry_from_rcu(pos, head, member) \ 47 &(pos)->member != (head); \ 48 pos [all...] |
/freebsd-current/contrib/wpa/hostapd/ |
H A D | hlr_auc_gw.c | 229 char cmd[128], val[13], *pos; local 234 pos = val; 235 pos += wpa_snprintf_hex(pos, sizeof(val), m->sqn, 6); 236 *pos = '\0'; 278 char buf[200], *pos, *pos2; local 299 pos = buf; 300 while (*pos != '\0' && *pos != '\n') 301 pos 390 char buf[200], *pos, *pos2; local 499 char name[500], buf[500], *pos; local 592 char *pos; local 665 char *pos, *rpos, *rend; local 737 char *pos, *end; local [all...] |
/freebsd-current/contrib/sendmail/libsm/ |
H A D | fpos.c | 74 register off_t pos; local 117 pos = fp->f_lseekoff; 121 pos = (*fp->f_seek)(fp, (off_t) 0, SM_IO_SEEK_CUR); 122 if (pos == -1L) 133 pos -= fp->f_r; 135 pos -= fp->f_ur; 145 pos += fp->f_p - fp->f_bf.smb_base; 152 return pos;
|
/freebsd-current/lib/libc/iconv/ |
H A D | citrus_region.h | 72 _citrus_region_offset(const struct _citrus_region *r, size_t pos) argument 75 return ((void *)((uint8_t *)r->r_head + pos)); 79 _citrus_region_peek8(const struct _citrus_region *r, size_t pos) argument 82 return (*(uint8_t *)_citrus_region_offset(r, pos)); 86 _citrus_region_peek16(const struct _citrus_region *r, size_t pos) argument 90 memcpy(&val, _citrus_region_offset(r, pos), (size_t)2); 95 _citrus_region_peek32(const struct _citrus_region *r, size_t pos) argument 99 memcpy(&val, _citrus_region_offset(r, pos), (size_t)4);
|
/freebsd-current/usr.sbin/vidcontrol/ |
H A D | decode.c | 37 int n, pos = 0, tpos; local 78 if (tpos + pos > len) { 79 tpos = len - pos; 84 pos++; 87 pos += tpos; 89 if (pos > len) 90 return(pos); 95 return(pos);
|
/freebsd-current/stand/libsa/ |
H A D | twiddle.c | 45 static u_int callercnt, globalcnt, pos; local 61 putchar("|/-\\"[pos++ & 3]);
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | kmem.c | 51 kmemcpy(register char *buf, long pos, register int n) argument 62 while ((r = kvm_read(kvm_f, pos, buf, n)) < n) 65 fprintf(stderr, "pos=0x%lx ", (u_long)pos); 72 pos += r; 79 kstrncpy(register char *buf, long pos, register int n) argument 92 r = kvm_read(kvm_f, pos, buf, 1); 95 fprintf(stderr, "pos=0x%lx ", (u_long)pos); 104 pos [all...] |
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/ |
H A D | debugfs.c | 28 int pos, budget; local 44 pos = scnprintf(buf, sizeof(buf), "%d\n", budget); 46 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 217 int pos; local 220 pos = scnprintf(buf, sizeof(buf), "disabled\n"); 222 pos = scnprintf(buf, sizeof(buf), "%d\n", mvm->temperature); 224 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 284 int pos, ret; local 297 pos = scnprintf(buf, sizeof(buf), "%d\n", temp); 299 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 309 int pos = 0; local 350 int err, pos; local 372 int i, pos = 0, bufsz = sizeof(buf); local 479 int pos; local 496 int pos = 0; local 534 iwl_mvm_coex_dump_mbox(struct iwl_bt_coex_profile_notif *notif, char *buf, int pos, int bufsz) argument 599 int ret, pos = 0, bufsz = sizeof(char) * 1024; local 644 int pos = 0; local 717 char *buff, *pos, *endpos; local 756 char *buff, *pos, *endpos; local 939 int pos; local 968 int pos = 0; local 1156 char *buff, *pos, *endpos; local 1277 int pos = 0; local 1528 int pos = 0; local 1736 int pos = 0; local 1887 unsigned int pos = 0; local 1971 int i, j, pos = 0; local [all...] |
/freebsd-current/contrib/wpa/src/eap_server/ |
H A D | eap_server_gtc.c | 80 const u8 *pos; local 83 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); 84 if (pos == NULL || len < 1) { 97 const u8 *pos; local 100 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); 101 if (pos == NULL || rlen < 1) 104 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-GTC: Response", pos, rlen); 117 end = pos + rlen; 118 pos += 9; 119 pos2 = pos; [all...] |
H A D | eap_server_gpsk.c | 147 u8 *pos, *start; local 180 pos = wpabuf_put(req, miclen); 182 data->specifier, start, pos - start, pos) < 0) 215 const u8 *pos; local 218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len); 219 if (pos == NULL || len < 1) { 224 wpa_printf(MSG_DEBUG, "EAP-GPSK: Received frame: opcode=%d", *pos); 226 if (data->state == GPSK_1 && *pos == EAP_GPSK_OPCODE_GPSK_2) 229 if (data->state == GPSK_3 && *pos 243 const u8 *pos, *end; local 476 const u8 *pos, *end; local 545 const u8 *pos; local [all...] |
/freebsd-current/contrib/wpa/src/ap/ |
H A D | beacon.c | 123 u8 *pos = eid; local 176 *pos++ = WLAN_EID_PWR_CONSTRAINT; 178 *pos++ = 1; 181 *pos++ = local_pwr_constraint; 183 *pos++ = hapd->iconf->local_pwr_constraint; 185 return pos; 189 static u8 * hostapd_eid_country_add(u8 *pos, u8 *end, int chan_spacing, argument 193 if (end - pos < 3) 194 return pos; 197 *pos 210 u8 *pos = eid; local 296 hostapd_get_rsne(struct hostapd_data *hapd, u8 *pos, size_t len) argument 309 hostapd_get_mde(struct hostapd_data *hapd, u8 *pos, size_t len) argument 322 hostapd_get_rsnxe(struct hostapd_data *hapd, u8 *pos, size_t len) argument 341 hostapd_get_wpa_ie(struct hostapd_data *hapd, u8 *pos, size_t len) argument 354 hostapd_get_osen_ie(struct hostapd_data *hapd, u8 *pos, size_t len) argument 436 u8 *pos, *epos, *csa_pos; local 656 const u8 *pos, *end; local 1290 u8 *pos, *length_pos, buf[200]; local 1434 u8 *pos, *tailpos, *tailend, *csa_pos; local [all...] |
/freebsd-current/contrib/wpa/src/common/ |
H A D | dpp_backup.c | 535 static int dpp_parse_recipient_infos(const u8 *pos, size_t len, argument 539 const u8 *end = pos + len; 546 wpa_hexdump(MSG_MSGDUMP, "DPP: RecipientInfos", pos, len); 559 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || 566 pos = hdr.payload; 567 end = pos + hdr.length; 580 if (asn1_get_sequence(pos, end - pos, &hdr, &end) < 0) 582 pos 728 dpp_parse_encrypted_content_info(const u8 *pos, const u8 *end, struct dpp_enveloped_data *data) argument 803 const u8 *pos, *end; local 860 const u8 *pos = buf, *end = buf + len, *next; local 1102 const u8 *pos = key_pkg, *end = key_pkg + key_pkg_len; local [all...] |
/freebsd-current/contrib/wpa/src/p2p/ |
H A D | p2p_sd.c | 21 const u8 *pos, *end; local 28 pos = wpabuf_head(wfd); 29 end = pos + wpabuf_len(wfd); 31 while (end - pos >= 3) { 32 subelem = *pos++; 33 len = WPA_GET_BE16(pos); 34 pos += 2; 35 if (len > end - pos) 39 u16 info = WPA_GET_BE16(pos); 43 pos 331 const u8 *pos = data; local 485 const u8 *pos = data; local 697 const u8 *pos = data; local [all...] |