Searched refs:pos (Results 51 - 75 of 1249) sorted by relevance

1234567891011>>

/freebsd-current/contrib/wpa/src/ap/
H A Dieee802_11_shared.c26 u8 *pos = eid; local
30 *pos++ = WLAN_EID_TIMEOUT_INTERVAL;
31 *pos++ = 5;
32 *pos++ = WLAN_TIMEOUT_ASSOC_COMEBACK;
42 WPA_PUT_LE32(pos, timeout);
43 pos += 4;
45 return pos;
342 static void hostapd_ext_capab_byte(struct hostapd_data *hapd, u8 *pos, int idx) argument
344 *pos = 0x00;
349 *pos |
453 u8 *pos = eid; local
488 u8 *pos = eid; local
505 u8 *pos = eid; local
545 u8 *pos = eid; local
564 u8 *pos = eid; local
652 u8 *pos; local
702 u8 *pos = eid; local
749 u8 *pos = eid; local
837 u8 *pos = eid; local
885 u8 *pos = eid; local
921 u8 *pos = eid; local
1052 u8 *pos = eid; local
[all...]
H A Dwpa_auth_ie.c31 u8 *pos, *count; local
38 pos = (u8 *) (hdr + 1);
46 RSN_SELECTOR_PUT(pos, suite);
47 pos += WPA_SELECTOR_LEN;
49 count = pos;
50 pos += 2;
52 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise);
58 pos += num_suites * WPA_SELECTOR_LEN;
62 count = pos;
63 pos
126 u8 *pos, *count; local
393 u8 *pos = buf; local
484 u8 *pos, buf[128]; local
549 wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len, const u8 *data2, size_t data2_len) argument
1095 wpa_auth_write_assoc_resp_owe(struct wpa_state_machine *sm, u8 *pos, size_t max_len, const u8 *req_ies, size_t req_ies_len) argument
1129 wpa_auth_write_assoc_resp_fils(struct wpa_state_machine *sm, u8 *pos, size_t max_len, const u8 *req_ies, size_t req_ies_len) argument
1152 u8 *pos = fd_rsn_info; local
[all...]
/freebsd-current/contrib/wpa/src/tls/
H A Dtlsv1_cred.c110 const u8 *pos, *end; local
114 pos = search_tag(pem_cert_begin, buf, len);
115 if (!pos) {
124 while (pos) {
125 pos += os_strlen(pem_cert_begin);
126 end = search_tag(pem_cert_end, pos, buf + len - pos);
133 der = base64_decode((const char *) pos, end - pos, &der_len);
150 pos
199 const char *pos = cert + 7; local
268 const u8 *pos, *end; local
309 const u8 *pos, *end; local
449 const u8 *pos, *end; local
515 pkcs12_parse_attr_friendly_name(const u8 *pos, const u8 *end) argument
540 pkcs12_parse_attr_local_key_id(const u8 *pos, const u8 *end) argument
565 pkcs12_parse_attr(const u8 *pos, size_t len) argument
612 const u8 *pos = buf, *end = buf + len; local
683 const u8 *pos, *end; local
718 pkcs12_parse_content_data(struct tlsv1_credentials *cred, const u8 *pos, const u8 *end, const char *passwd) argument
737 pkcs12_parse_content_enc_data(struct tlsv1_credentials *cred, const u8 *pos, const u8 *end, const char *passwd) argument
847 const u8 *pos = buf; local
888 const u8 *pos, *end; local
1075 const u8 *pos, *end; local
1139 const u8 *pos, *end; local
[all...]
H A Dtlsv1_client_ocsp.c117 const u8 *pos, *end; local
145 pos = hdr.payload;
157 if (x509_parse_algorithm_identifier(pos, end - pos, &alg, &pos))
161 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
171 pos = hdr.payload + hdr.length;
186 if (asn1_get_next(pos, end - pos,
317 const u8 *pos, *end; local
349 const u8 *pos, *end; local
652 const u8 *pos, *end; local
[all...]
/freebsd-current/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c368 * @pos: the &struct list_head to use as a loop cursor.
371 #define list_for_each(pos, head) \
372 for (pos = (head)->next; prefetch(pos->next), pos != (head); \
373 pos = pos->next)
377 * @pos: the &struct list_head to use as a loop cursor.
385 #define __list_for_each(pos, head) \
386 for (pos
[all...]
/freebsd-current/lib/libc/tests/string/
H A Dstrcmp_test.c56 size_t a_off, size_t b_off, size_t len, size_t pos)
71 a_orig = a_str[pos];
72 b_orig = b_str[pos];
76 if (pos < len) {
77 a_str[pos] = '\0';
79 a_str[pos] = a_orig;
80 b_str[pos] = '\0';
82 b_str[pos] = b_orig;
85 a_str[pos] = 'X';
87 a_str[pos]
55 check_strcmp_alignments(char a[], char b[], size_t a_off, size_t b_off, size_t len, size_t pos) argument
102 size_t a_off, b_off, len, pos; local
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpackbanner.ksh20 banner $3 | /bin/nawk -v line=$1 -v pos=$2 -v width=$width '{ \
25 line, NR, i + (pos * width));
32 let pos=0;
47 let pos=0
51 outputchar $line $pos $c
52 let pos=pos+1
/freebsd-current/contrib/wpa/src/crypto/
H A Dsha256-tlsprf.c35 size_t pos; local
56 pos = 0;
57 while (pos < outlen) {
63 clen = outlen - pos;
66 os_memcpy(out + pos, P, clen);
67 pos += clen;
H A Dsha384-tlsprf.c35 size_t pos; local
56 pos = 0;
57 while (pos < outlen) {
63 clen = outlen - pos;
66 os_memcpy(out + pos, P, clen);
67 pos += clen;
H A Dsha512-prf.c59 size_t pos, plen; local
76 pos = 0;
77 while (pos < buf_len) {
78 plen = buf_len - pos;
82 &buf[pos]) < 0)
84 pos += SHA512_MAC_LEN;
89 os_memcpy(&buf[pos], hash, plen);
90 pos += plen;
102 buf[pos - 1] &= mask;
H A Dsha384-prf.c59 size_t pos, plen; local
76 pos = 0;
77 while (pos < buf_len) {
78 plen = buf_len - pos;
82 &buf[pos]) < 0)
84 pos += SHA384_MAC_LEN;
89 os_memcpy(&buf[pos], hash, plen);
90 pos += plen;
102 buf[pos - 1] &= mask;
H A Dsha256-prf.c59 size_t pos, plen; local
76 pos = 0;
77 while (pos < buf_len) {
78 plen = buf_len - pos;
82 &buf[pos]) < 0)
84 pos += SHA256_MAC_LEN;
89 os_memcpy(&buf[pos], hash, plen);
90 pos += plen;
102 buf[pos - 1] &= mask;
/freebsd-current/contrib/wpa/src/utils/
H A Dbase64.c29 char *out, *pos; local
48 pos = out;
51 *pos++ = table[(in[0] >> 2) & 0x3f];
52 *pos++ = table[(((in[0] & 0x03) << 4) | (in[1] >> 4)) & 0x3f];
53 *pos++ = table[(((in[1] & 0x0f) << 2) | (in[2] >> 6)) & 0x3f];
54 *pos++ = table[in[2] & 0x3f];
58 *pos++ = '\n';
64 *pos++ = table[(in[0] >> 2) & 0x3f];
66 *pos++ = table[((in[0] & 0x03) << 4) & 0x3f];
68 *pos
92 unsigned char dtable[256], *out, *pos, block[4], tmp; local
[all...]
/freebsd-current/libexec/rc/rc.d/
H A Dgptboot45 while read start size pos type attrs rest; do
46 case "${pos}" in
49 part="${disk}p${pos}"
56 gpart unset -a bootfailed -i ${pos} ${disk} >/dev/null
60 gpart unset -a bootonce -i ${pos} ${disk} >/dev/null
66 disk="${pos}"
/freebsd-current/contrib/wpa/src/common/
H A Dptksa_cache.c164 char *pos = buf; local
172 ret = os_snprintf(pos, buf + len - pos,
174 if (os_snprintf_error(buf + len - pos, ret))
175 return pos - buf;
176 pos += ret;
179 ret = os_snprintf(pos, buf + len - pos, "%u " MACSTR,
181 if (os_snprintf_error(buf + len - pos, ret))
182 return pos
[all...]
H A Docv.c58 u8 *pos = *argpos; local
68 *pos++ = op_class;
69 *pos++ = channel;
70 *pos++ = ci->seg1_idx;
72 *argpos = pos;
79 u8 *pos = *argpos; local
81 *pos++ = WLAN_EID_VENDOR_SPECIFIC;
82 *pos++ = RSN_SELECTOR_LEN + 3;
83 RSN_SELECTOR_PUT(pos, RSN_KEY_DATA_OCI);
84 pos
91 ocv_insert_extended_oci(struct wpa_channel_info *ci, u8 *pos) argument
[all...]
/freebsd-current/libexec/revnetgroup/
H A Dparse_netgroup.c177 char *pos, *gpos; local
205 pos = lp->l_line;
207 while (pos != NULL && *pos != '\0') {
208 if (*pos == '(') {
213 pos++;
214 gpos = strsep(&pos, ")");
263 spos = strsep(&pos, ", \t");
268 if (pos != NULL)
269 while (*pos
282 char *pos, *spos, *linep = NULL, *olinep = NULL; local
[all...]
/freebsd-current/usr.sbin/pw/
H A Dbitmap.h43 void bm_setbit(struct bitmap * bm, int pos);
44 void bm_clrbit(struct bitmap * bm, int pos);
45 int bm_isset(struct bitmap * bm, int pos);
/freebsd-current/contrib/llvm-project/lldb/source/Breakpoint/
H A DStopPointSiteList.cpp28 typename collection::const_iterator pos = GetIDConstIterator(site_id); local
29 if (pos != m_site_list.end())
30 return pos->second->IsBreakpointAtThisSite(bp_id);
/freebsd-current/contrib/ldns/
H A Dwire2host.c56 ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, size_t *pos) argument
66 if (pos == NULL) {
69 if (*pos >= max) {
72 label_size = wire[*pos];
77 compression_pos = *pos + 2;
83 if (*pos + 2 > max) {
86 pointer_target_buf[0] = wire[*pos] & 63;
87 pointer_target_buf[1] = wire[*pos + 1];
97 *pos = pointer_target;
98 label_size = wire[*pos];
156 ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos) argument
318 ldns_wire2rr(ldns_rr **rr_p, const uint8_t *wire, size_t max, size_t *pos, ldns_pkt_section section) argument
366 ldns_wire2pkt_hdr(ldns_pkt *packet, const uint8_t *wire, size_t max, size_t *pos) argument
405 size_t pos = 0; local
[all...]
/freebsd-current/contrib/ldns/compat/
H A Db64_pton.c125 char *pos; local
141 pos = strchr(Base64, ch);
142 if (pos == 0) {
152 target[tarindex] = (pos - Base64) << 2;
160 target[tarindex] |= (pos - Base64) >> 4;
161 target[tarindex+1] = ((pos - Base64) & 0x0f)
171 target[tarindex] |= (pos - Base64) >> 2;
172 target[tarindex+1] = ((pos - Base64) & 0x03)
182 target[tarindex] |= (pos - Base64);
/freebsd-current/contrib/wpa/src/eap_common/
H A Deap_ttls.h31 #define AVP_PAD(start, pos) \
34 __pad = (4 - (((pos) - (start)) & 3)) & 3; \
35 os_memset((pos), 0, __pad); \
36 pos += __pad; \
/freebsd-current/contrib/mandoc/
H A Dmandoc_xr.h23 int pos; member in struct:mandoc_xr
/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_fast_pac.c181 const char *pos; member in struct:eap_fast_read_ctx
190 char *pos; local
199 if (rc->pos >= rc->end)
201 l_end = rc->pos;
204 len = l_end - rc->pos;
207 os_memcpy(rc->buf, rc->pos, len);
209 rc->pos = l_end + 1;
213 pos = rc->buf;
214 while (*pos != '\0') {
215 if (*pos
329 eap_fast_parse_pac_type(struct eap_fast_pac *pac, char *pos) argument
344 eap_fast_parse_pac_key(struct eap_fast_pac *pac, char *pos) argument
362 eap_fast_parse_pac_opaque(struct eap_fast_pac *pac, char *pos) argument
373 eap_fast_parse_a_id(struct eap_fast_pac *pac, char *pos) argument
383 eap_fast_parse_i_id(struct eap_fast_pac *pac, char *pos) argument
393 eap_fast_parse_a_id_info(struct eap_fast_pac *pac, char *pos) argument
417 char *pos; local
477 eap_fast_write(char **buf, char **pos, size_t *buf_len, const char *field, const u8 *data, size_t len, int txt) argument
574 eap_fast_add_pac_data(struct eap_fast_pac *pac, char **buf, char **pos, size_t *buf_len) argument
623 char *buf, *pos; local
706 u8 *pos, *end; local
752 u8 *buf, *end, *pos; local
876 u8 *buf, *pos; local
[all...]
H A Deap_teap_pac.c181 const char *pos; member in struct:eap_teap_read_ctx
190 char *pos; local
200 if (rc->pos >= rc->end)
202 l_end = rc->pos;
205 len = l_end - rc->pos;
208 os_memcpy(rc->buf, rc->pos, len);
210 rc->pos = l_end + 1;
214 pos = rc->buf;
215 while (*pos != '\0') {
216 if (*pos
332 eap_teap_parse_pac_type(struct eap_teap_pac *pac, char *pos) argument
345 eap_teap_parse_pac_key(struct eap_teap_pac *pac, char *pos) argument
363 eap_teap_parse_pac_opaque(struct eap_teap_pac *pac, char *pos) argument
374 eap_teap_parse_a_id(struct eap_teap_pac *pac, char *pos) argument
384 eap_teap_parse_i_id(struct eap_teap_pac *pac, char *pos) argument
394 eap_teap_parse_a_id_info(struct eap_teap_pac *pac, char *pos) argument
418 char *pos; local
478 eap_teap_write(char **buf, char **pos, size_t *buf_len, const char *field, const u8 *data, size_t len, int txt) argument
579 eap_teap_add_pac_data(struct eap_teap_pac *pac, char **buf, char **pos, size_t *buf_len) argument
627 char *buf, *pos; local
710 u8 *pos, *end; local
756 u8 *buf, *end, *pos; local
880 u8 *buf, *pos; local
[all...]

Completed in 305 milliseconds

1234567891011>>