Searched refs:pos (Results 1 - 25 of 1020) sorted by relevance

1234567891011>>

/freebsd-10.1-release/contrib/wpa/src/rsn_supp/
H A Dwpa_ie.c42 u8 *pos; local
54 pos = (u8 *) (hdr + 1);
62 RSN_SELECTOR_PUT(pos, suite);
63 pos += WPA_SELECTOR_LEN;
65 *pos++ = 1;
66 *pos++ = 0;
75 RSN_SELECTOR_PUT(pos, suite);
76 pos += WPA_SELECTOR_LEN;
78 *pos++ = 1;
79 *pos
111 u8 *pos; local
259 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
366 const u8 *pos, *end; local
[all...]
/freebsd-10.1-release/usr.bin/m4/lib/
H A Dohash_enum.c25 ohash_first(struct ohash *h, unsigned int *pos) argument
27 *pos = 0;
28 return ohash_next(h, pos);
32 ohash_next(struct ohash *h, unsigned int *pos) argument
34 for (; *pos < h->size; (*pos)++)
35 if (h->t[*pos].p != DELETED && h->t[*pos].p != NULL)
36 return __DECONST(void *, h->t[(*pos)++].p);
/freebsd-10.1-release/contrib/wpa/src/utils/
H A Duuid.c16 const char *pos; local
19 pos = str;
22 if (hexstr2bin(pos, opos, 4))
24 pos += 8;
27 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
29 pos += 4;
32 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
34 pos
[all...]
H A Dext_password_test.c47 char *pos, *pos2; local
52 pos = data->params;
53 if (pos == NULL)
57 while (pos && *pos) {
58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') {
60 pos += nlen + 1;
61 pos2 = pos;
64 buf = ext_password_alloc(pos2 - pos);
[all...]
/freebsd-10.1-release/contrib/xz/src/liblzma/lzma/
H A Dfastpos.h25 // pos return
51 // get_pos_slot(pos) is the basic version. get_pos_slot_2(pos)
52 // assumes that pos >= FULL_DISTANCES, thus the result is at least
53 // FULL_DISTANCES_BITS * 2. Using get_pos_slot(pos) instead of
54 // get_pos_slot_2(pos) would give the same result, but get_pos_slot_2(pos)
79 # define get_pos_slot(pos) ((pos) <= 4 ? (pos)
82 get_pos_slot_2(uint32_t pos) argument
108 get_pos_slot(uint32_t pos) argument
124 get_pos_slot_2(uint32_t pos) argument
[all...]
/freebsd-10.1-release/contrib/ipfilter/tools/
H A Dlex_var.h12 extern long pos;
15 if (pos >= string_start && pos <= string_end) { \
16 buf[0] = string_val[pos - string_start]; \
17 pos++; \
30 pos++; \
38 # define input() (((pos >= string_start) && (pos < string_end)) ? \
39 yysptr = yysbuf, string_val[pos++ - string_start] : \
41 getc(yyin)) == 10 ? (pos
[all...]
/freebsd-10.1-release/contrib/wpa/src/common/
H A Dieee802_11_common.c16 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, argument
34 oui = WPA_GET_BE24(pos);
39 switch (pos[3]) {
43 elems->wpa_ie = pos;
55 switch (pos[4]) {
64 elems->wmm = pos;
68 elems->wmm_tspec = pos;
75 pos[4], (unsigned long) elen);
81 elems->wps_ie = pos;
88 pos[
159 const u8 *pos = start; local
315 const u8 *pos, *end; local
338 const u8 *end, *pos, *ie; local
423 const char *pos; local
[all...]
/freebsd-10.1-release/contrib/ipfilter/lib/
H A Dresetlexer.c16 long pos = 0; variable
24 pos = 0;
/freebsd-10.1-release/lib/libstand/
H A Dtwiddle.c48 static int pos; local
50 putchar("|/-\\"[pos++ & 3]);
/freebsd-10.1-release/usr.sbin/pw/
H A Dbitmap.c57 bm_getmask(int *pos, unsigned char *bmask) argument
59 *bmask = (unsigned char) (1 << (*pos % 8));
60 *pos /= 8;
64 bm_setbit(struct bitmap * bm, int pos) argument
68 bm_getmask(&pos, &bmask);
69 bm->map[pos] |= bmask;
73 bm_clrbit(struct bitmap * bm, int pos) argument
77 bm_getmask(&pos, &bmask);
78 bm->map[pos] &= ~bmask;
82 bm_isset(struct bitmap * bm, int pos) argument
95 int pos = 0; local
116 int pos = 0; local
[all...]
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDeclContext.cpp35 collection::const_reverse_iterator pos; local
38 for (pos = begin; pos != end; ++pos)
40 if (pos != begin)
42 if (pos->name == NULL)
44 if (pos->tag == DW_TAG_namespace)
46 else if (pos->tag == DW_TAG_class_type)
48 else if (pos->tag == DW_TAG_structure_type)
50 else if (pos
[all...]
/freebsd-10.1-release/contrib/wpa/hostapd/
H A Dnt_password_hash.c19 char *password, buf[64], *pos; local
29 pos = buf;
30 while (*pos != '\0') {
31 if (*pos == '\r' || *pos == '\n') {
32 *pos = '\0';
35 pos++;
/freebsd-10.1-release/sys/geom/virstor/
H A Dbinstream.c43 bs->pos = 0;
51 bs->pos = 0;
60 *(bs->data + bs->pos + len) = *data;
63 bs->pos += len;
64 return bs->pos;
74 *(bs->data + bs->pos + i) = *(data + i);
75 bs->pos += data_size;
76 return bs->pos;
84 *((uint8_t *) (bs->data + bs->pos)) = data;
85 return ++(bs->pos);
[all...]
/freebsd-10.1-release/contrib/wpa/src/ap/
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
96 u8 *pos, *count; local
300 u8 *pos, buf[128]; local
340 wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len, const u8 *data2, size_t data2_len) argument
639 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
727 const u8 *pos, *end; local
[all...]
H A Dieee802_11_shared.c25 u8 *pos = eid; local
29 *pos++ = WLAN_EID_TIMEOUT_INTERVAL;
30 *pos++ = 5;
31 *pos++ = WLAN_TIMEOUT_ASSOC_COMEBACK;
41 WPA_PUT_LE32(pos, timeout);
42 pos += 4;
44 return pos;
169 u8 *pos = eid; local
187 *pos++ = WLAN_EID_EXT_CAPAB;
188 *pos
238 u8 *pos = eid; local
278 u8 *pos = eid; local
297 u8 *pos = eid; local
385 u8 *pos; local
435 u8 *pos = eid; local
[all...]
/freebsd-10.1-release/contrib/groff/src/include/
H A Drefid.h23 int pos; member in class:reference_id
26 reference_id(int fid, int off) : filename_id(fid), pos(off) { }
27 unsigned hash() const { return (filename_id << 4) + pos; }
34 return r1.filename_id == r2.filename_id && r1.pos == r2.pos;
/freebsd-10.1-release/contrib/less/
H A Djump.c31 POSITION pos; local
52 pos = back_line(end_pos);
53 if (pos == NULL_POSITION)
57 jump_loc(pos, sc_height-1);
70 POSITION pos; local
79 pos = find_pos(linenum);
80 if (pos != NULL_POSITION && ch_seek(pos) == 0)
83 set_attnpos(pos);
84 jump_loc(pos, jump_slin
120 POSITION pos, len; local
[all...]
H A Dforwback.c59 POSITION pos; local
76 pos = position(BOTTOM_PLUS_ONE);
77 return (pos == NULL_POSITION || pos == ch_length());
86 POSITION pos; local
93 pos = position(0);
94 return (pos == NULL_POSITION || pos == 0);
114 * starting at position pos in the input file.
118 * real line. If nblank > 0, the pos mus
349 POSITION pos; local
401 POSITION pos; local
[all...]
/freebsd-10.1-release/contrib/wpa/src/tls/
H A Dpkcs1.c21 u8 *pos; local
42 pos = out;
43 *pos++ = 0x00;
44 *pos++ = block_type; /* BT */
48 os_memset(pos, 0x00, ps_len);
49 pos += ps_len;
52 os_memset(pos, 0xff, ps_len);
53 pos += ps_len;
56 if (os_get_random(pos, ps_len) < 0) {
62 if (*pos
100 u8 *pos, *end; local
132 u8 *pos; local
[all...]
H A Dtlsv1_server_write.c45 u8 *pos, *rhdr, *hs_start, *hs_length; local
49 pos = *msgpos;
52 rhdr = pos;
53 pos += TLS_RECORD_HEADER_LEN;
77 hs_start = pos;
79 *pos++ = TLS_HANDSHAKE_TYPE_SERVER_HELLO;
81 hs_length = pos;
82 pos += 3;
85 WPA_PUT_BE16(pos, conn->rl.tls_version);
86 pos
159 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; local
248 u8 *pos, *rhdr, *hs_start, *hs_length; local
438 u8 *pos, *rhdr, *hs_start, *hs_length; local
504 u8 *pos; local
574 u8 *pos, *hs_start; local
666 u8 *msg, *end, *pos; local
720 u8 *msg, *end, *pos; local
768 u8 *alert, *pos, *length; local
[all...]
/freebsd-10.1-release/contrib/wpa/src/eap_common/
H A Deap_sake_common.c19 const u8 *pos)
23 switch (pos[0]) {
26 if (pos[1] != 2 + EAP_SAKE_RAND_LEN) {
28 "invalid length %d", pos[1]);
31 attr->rand_s = pos + 2;
35 if (pos[1] != 2 + EAP_SAKE_RAND_LEN) {
37 "invalid length %d", pos[1]);
40 attr->rand_p = pos + 2;
44 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) {
46 "invalid length %d", pos[
18 eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, const u8 *pos) argument
163 const u8 *pos = buf, *end = buf + len; local
214 size_t pos, plen; local
324 u8 *tmp, *pos; local
[all...]
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Breakpoint/
H A DWatchpointList.cpp63 wp_collection::const_iterator pos, end = m_watchpoints.end(); local
64 for (pos = m_watchpoints.begin(); pos != end; ++pos)
65 (*pos)->DumpWithLevel(s, description_level);
76 wp_collection::const_iterator pos, end = m_watchpoints.end(); local
77 for (pos = m_watchpoints.begin(); pos != end; ++pos)
78 if ((*pos)
94 wp_collection::const_iterator pos, end = m_watchpoints.end(); local
141 wp_collection::const_iterator pos = GetIDConstIterator(watch_id); local
177 wp_collection::const_iterator pos = m_watchpoints.begin(); local
191 wp_collection::const_iterator pos = m_watchpoints.begin(); local
202 wp_collection::const_iterator pos, end = m_watchpoints.end(); local
212 wp_collection::iterator pos = GetIDIterator(watch_id); local
233 wp_collection::const_iterator pos, end = m_watchpoints.end(); local
260 wp_collection::iterator pos, end = m_watchpoints.end(); local
274 wp_collection::iterator pos, end = m_watchpoints.end(); local
287 wp_collection::iterator pos, end = m_watchpoints.end(); local
[all...]
/freebsd-10.1-release/contrib/libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/
H A Derase_fn_imps.hpp68 for (size_type pos = 0; pos < m_num_e; ++pos)
70 while (m_entries[pos] != NULL && pred(m_entries[pos]->m_value))
73 entry_pointer p_next_e = m_entries[pos]->m_p_next;
74 erase_entry_pointer(m_entries[pos]);
75 m_entries[pos] = p_next_e;
78 entry_pointer p_e = m_entries[pos];
100 for (size_type pos
[all...]
/freebsd-10.1-release/contrib/mdocml/
H A Dtbl_data.c39 int ln, const char *p, int *pos)
56 while (cp && (TBL_CELL_VERT == cp->pos ||
57 TBL_CELL_DVERT == cp->pos ||
58 TBL_CELL_SPAN == cp->pos))
68 tbl->parse, ln, *pos, NULL);
70 while (p[*pos])
71 (*pos)++;
77 dat->pos = TBL_DATA_NONE;
79 assert(TBL_CELL_SPAN != cp->pos);
82 if (TBL_CELL_SPAN == cp->pos)
38 data(struct tbl_node *tbl, struct tbl_span *dp, int ln, const char *p, int *pos) argument
146 int pos; local
211 int pos; local
[all...]
/freebsd-10.1-release/contrib/libstdc++/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Diterator_fn_imps.hpp62 size_type pos; local
63 get_start_it_state(p_value, pos);
64 return iterator(p_value, pos, this);
79 size_type pos; local
80 get_start_it_state(p_value, pos);
81 return const_iterator(p_value, pos, this);

Completed in 135 milliseconds

1234567891011>>