/freebsd-9.3-release/usr.bin/m4/lib/ |
H A D | ohash_enum.c | 25 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-9.3-release/contrib/wpa/src/utils/ |
H A D | uuid.c | 22 const char *pos; local 25 pos = str; 28 if (hexstr2bin(pos, opos, 4)) 30 pos += 8; 33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 35 pos += 4; 38 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 40 pos [all...] |
H A D | base64.c | 38 unsigned char *out, *pos; local 54 pos = out; 57 *pos++ = base64_table[in[0] >> 2]; 58 *pos++ = base64_table[((in[0] & 0x03) << 4) | (in[1] >> 4)]; 59 *pos++ = base64_table[((in[1] & 0x0f) << 2) | (in[2] >> 6)]; 60 *pos++ = base64_table[in[2] & 0x3f]; 64 *pos++ = '\n'; 70 *pos++ = base64_table[in[0] >> 2]; 72 *pos++ = base64_table[(in[0] & 0x03) << 4]; 73 *pos 106 unsigned char dtable[256], *out, *pos, in[4], block[4], tmp; local [all...] |
/freebsd-9.3-release/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ie.c | 57 const u8 *pos; local 93 pos = (const u8 *) (hdr + 1); 97 data->group_cipher = wpa_selector_to_bitfield(pos); 98 pos += WPA_SELECTOR_LEN; 108 count = WPA_GET_LE16(pos); 109 pos += 2; 117 data->pairwise_cipher |= wpa_selector_to_bitfield(pos); 118 pos += WPA_SELECTOR_LEN; 129 count = WPA_GET_LE16(pos); 130 pos 186 u8 *pos; local 260 u8 *pos; local 407 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument 514 const u8 *pos, *end; local [all...] |
/freebsd-9.3-release/contrib/xz/src/liblzma/lzma/ |
H A D | fastpos.h | 25 // 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-9.3-release/contrib/ipfilter/tools/ |
H A D | lex_var.h | 12 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-9.3-release/contrib/ipfilter/lib/ |
H A D | resetlexer.c | 16 long pos = 0; variable 24 pos = 0;
|
/freebsd-9.3-release/lib/libstand/ |
H A D | twiddle.c | 48 static int pos; local 50 putchar("|/-\\"[pos++ & 3]);
|
/freebsd-9.3-release/usr.sbin/pw/ |
H A D | bitmap.c | 57 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-9.3-release/contrib/wpa/src/common/ |
H A D | ieee802_11_common.c | 22 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, argument 40 oui = WPA_GET_BE24(pos); 45 switch (pos[3]) { 49 elems->wpa_ie = pos; 61 switch (pos[4]) { 70 elems->wmm = pos; 74 elems->wmm_tspec = pos; 81 pos[4], (unsigned long) elen); 87 elems->wps_ie = pos; 94 pos[ 139 const u8 *pos = start; local 265 const u8 *pos, *end; local 288 const u8 *end, *pos, *ie; local [all...] |
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface.c | 362 char *pos, *id_pos; local 367 pos = os_strchr(rsp, '-'); 368 if (pos == NULL) 370 *pos++ = '\0'; 371 id_pos = pos; 372 pos = os_strchr(pos, ':'); 373 if (pos == NULL) 375 *pos++ = '\0'; 379 (u8 *) pos, os_strle 446 char *pos, *end, tmp[30]; local 551 char *pos; local 585 char *pos, *end; local 633 wpa_supplicant_cipher_txt(char *pos, char *end, int cipher) argument 680 wpa_supplicant_ie_txt(char *pos, char *end, const char *proto, const u8 *ie, size_t ie_len) argument 777 wpa_supplicant_wps_ie_txt_buf(char *pos, char *end, struct wpabuf *wps_ie) argument 801 wpa_supplicant_wps_ie_txt(char *pos, char *end, const struct wpa_bss *bss) argument 818 char *pos, *end; local 874 char *pos, *end; local 1184 char *pos, *end; local 1232 char *pos, *end; local 1289 char *pos, *end; local 1342 char *pos, *end; local 1384 char *pos, *end; local 1493 char *pos, *end; local 1922 char *pos; local 2029 char *pos, *end; local 2070 char *pos, *end; local [all...] |
/freebsd-9.3-release/contrib/wpa/hostapd/ |
H A D | nt_password_hash.c | 25 char *password, buf[64], *pos; local 35 pos = buf; 36 while (*pos != '\0') { 37 if (*pos == '\r' || *pos == '\n') { 38 *pos = '\0'; 41 pos++;
|
H A D | config_file.c | 39 char buf[128], *pos, *pos2; local 54 pos = buf; 55 while (*pos != '\0') { 56 if (*pos == '\n') { 57 *pos = '\0'; 60 pos++; 67 pos = buf + 1; 69 vlan_id = strtol(buf, &pos, 10); 70 if (buf == pos || vlan_id < 1 || 79 while (*pos 129 char buf[128], *pos; local 202 char buf[512], *pos, *start, *pos2; local 653 char *pos, *end; local 729 char *pos; local 765 char *pos; local 825 char *pos; local 897 char *pos, *next; local 943 char *pos, *next; local 1134 char buf[256], *pos; local [all...] |
/freebsd-9.3-release/sys/geom/virstor/ |
H A D | binstream.c | 43 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-9.3-release/contrib/wpa/src/tls/ |
H A D | tlsv1_server_write.c | 49 u8 *pos, *rhdr, *hs_start, *hs_length; local 53 pos = *msgpos; 56 rhdr = pos; 57 pos += TLS_RECORD_HEADER_LEN; 81 hs_start = pos; 83 *pos++ = TLS_HANDSHAKE_TYPE_SERVER_HELLO; 85 hs_length = pos; 86 pos += 3; 89 WPA_PUT_BE16(pos, TLS_VERSION); 90 pos 162 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; local 250 u8 *pos, *rhdr, *hs_start, *hs_length; local 439 u8 *pos, *rhdr, *hs_start, *hs_length; local 504 u8 *pos, *rhdr, *hs_start, *hs_length; local 546 u8 *pos, *rhdr; local 580 u8 *pos, *rhdr, *hs_start, *hs_length; local 656 u8 *msg, *end, *pos; local 710 u8 *msg, *end, *pos; local 758 u8 *alert, *pos, *length; local [all...] |
H A D | pkcs1.c | 27 u8 *pos; local 48 pos = out; 49 *pos++ = 0x00; 50 *pos++ = block_type; /* BT */ 54 os_memset(pos, 0x00, ps_len); 55 pos += ps_len; 58 os_memset(pos, 0xff, ps_len); 59 pos += ps_len; 62 if (os_get_random(pos, ps_len) < 0) { 68 if (*pos 106 u8 *pos, *end; local 138 u8 *pos; local [all...] |
H A D | tlsv1_client_write.c | 51 u8 *hello, *end, *pos, *hs_length, *hs_start, *rhdr; local 75 pos = rhdr + TLS_RECORD_HEADER_LEN; 80 hs_start = pos; 82 *pos++ = TLS_HANDSHAKE_TYPE_CLIENT_HELLO; 84 hs_length = pos; 85 pos += 3; 88 WPA_PUT_BE16(pos, TLS_VERSION); 89 pos += 2; 91 os_memcpy(pos, conn->client_random, TLS_RANDOM_LEN); 92 pos 135 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; local 210 tlsv1_key_x_anon_dh(struct tlsv1_client *conn, u8 **pos, u8 *end) argument 326 tlsv1_key_x_rsa(struct tlsv1_client *conn, u8 **pos, u8 *end) argument 376 u8 *pos, *rhdr, *hs_start, *hs_length; local 433 u8 *pos, *rhdr, *hs_start, *hs_length, *signed_start; local 555 u8 *pos, *rhdr; local 589 u8 *pos, *rhdr, *hs_start, *hs_length; local 666 u8 *msg, *end, *pos; local 709 u8 *msg, *end, *pos; local 765 u8 *alert, *pos, *length; local [all...] |
/freebsd-9.3-release/contrib/groff/src/include/ |
H A D | refid.h | 23 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-9.3-release/contrib/less/ |
H A D | jump.c | 31 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 D | forwback.c | 59 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-9.3-release/contrib/wpa/src/eap_common/ |
H A D | eap_sake_common.c | 25 const u8 *pos) 29 switch (pos[0]) { 32 if (pos[1] != 2 + EAP_SAKE_RAND_LEN) { 34 "invalid length %d", pos[1]); 37 attr->rand_s = pos + 2; 41 if (pos[1] != 2 + EAP_SAKE_RAND_LEN) { 43 "invalid length %d", pos[1]); 46 attr->rand_p = pos + 2; 50 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { 52 "invalid length %d", pos[ 24 eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, const u8 *pos) argument 169 const u8 *pos = buf, *end = buf + len; local 220 size_t pos, plen; local 330 u8 *tmp, *pos; local [all...] |
/freebsd-9.3-release/contrib/libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
H A D | erase_fn_imps.hpp | 68 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-9.3-release/contrib/libstdc++/include/ext/pb_ds/detail/gp_hash_table_map_/ |
H A D | iterator_fn_imps.hpp | 62 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);
|
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | wps_attr_parse.c | 24 const u8 *pos, u16 len) 33 attr->version = pos; 41 attr->msg_type = pos; 49 attr->enrollee_nonce = pos; 57 attr->registrar_nonce = pos; 65 attr->uuid_e = pos; 73 attr->uuid_r = pos; 81 attr->auth_type_flags = pos; 89 attr->encr_type_flags = pos; 97 attr->conn_type_flags = pos; 23 wps_set_attr(struct wps_parse_attr *attr, u16 type, const u8 *pos, u16 len) argument 414 const u8 *pos, *end; local [all...] |
/freebsd-9.3-release/lib/libc/stdio/ |
H A D | fgetpos.c | 42 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos) argument 47 if ((*pos = ftello(fp)) == (fpos_t)-1)
|