/freebsd-current/contrib/mandoc/ |
H A D | tbl_opts.c | 66 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key) argument 70 while (p[*pos] == ' ' || p[*pos] == '\t') 71 (*pos)++; 76 if (p[*pos] == '(') { 77 (*pos)++; 78 while (p[*pos + len] != ')') 85 ln, *pos, "%.*s", len, p + *pos); 91 tbl->opts.tab = p[*pos]; 125 int i, pos, len; local [all...] |
H A D | tbl_layout.c | 66 int ln, const char *p, int *pos) 75 while (p[*pos] == ' ' || p[*pos] == '\t') 76 (*pos)++; 80 if (strchr(".,-=^_ACLNRSaclnrs", p[*pos]) != NULL) 85 if ('(' == p[*pos]) { 86 (*pos)++; 87 while (p[*pos] && ')' != p[*pos]) 88 (*pos) 65 mods(struct tbl_node *tbl, struct tbl_cell *cp, int ln, const char *p, int *pos) argument 207 cell(struct tbl_node *tbl, struct tbl_row *rp, int ln, const char *p, int *pos) argument 266 tbl_layout(struct tbl_node *tbl, int ln, const char *p, int pos) argument 356 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos) argument [all...] |
H A D | compat_getline.c | 28 size_t nbufsz, pos; local 41 pos = 0; 43 if (pos + 1 >= *bufsz) { 51 (*buf)[pos] = '\0'; 52 return pos > 0 && feof(fp) ? (ssize_t)pos : -1; 54 (*buf)[pos++] = c; 55 (*buf)[pos] = '\0'; 57 return pos;
|
H A D | dba_write.c | 59 long pos; local 61 if ((pos = ftell(ofp)) == -1) 63 if (pos >= INT32_MAX) { 65 err(1, "ftell = %ld", pos); 67 return pos; 71 dba_seek(int32_t pos) argument 73 if (fseek(ofp, pos, SEEK_SET) == -1) 74 err(1, "fseek(%d)", pos); 80 int32_t pos; local 82 pos 94 int32_t i, pos; local [all...] |
/freebsd-current/crypto/openssl/test/testutil/ |
H A D | random.c | 20 static unsigned int pos = 3; local 22 if (pos == 31) 23 pos = 0; 24 test_random_state[pos] += test_random_state[(pos + 28) % 31]; 25 return test_random_state[pos++] / 2;
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | resetlexer.c | 15 long pos = 0; variable 23 pos = 0;
|
/freebsd-current/usr.sbin/pw/ |
H A D | bitmap.c | 54 bm_getmask(int *pos, unsigned char *bmask) argument 56 *bmask = (unsigned char) (1 << (*pos % 8)); 57 *pos /= 8; 61 bm_setbit(struct bitmap * bm, int pos) argument 65 bm_getmask(&pos, &bmask); 66 bm->map[pos] |= bmask; 70 bm_clrbit(struct bitmap * bm, int pos) argument 74 bm_getmask(&pos, &bmask); 75 bm->map[pos] &= ~bmask; 79 bm_isset(struct bitmap * bm, int pos) argument 92 int pos = 0; local 113 int pos = 0; local [all...] |
/freebsd-current/lib/libc/stdio/ |
H A D | fgetpos.c | 38 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos) argument 43 if ((*pos = ftello(fp)) == (fpos_t)-1)
|
H A D | fsetpos.c | 42 fsetpos(FILE *iop, const fpos_t *pos) argument 44 return (fseeko(iop, (off_t)*pos, SEEK_SET));
|
/freebsd-current/contrib/processor-trace/libipt/src/ |
H A D | pt_sync.c | 67 static const uint8_t *pt_find_psb(const uint8_t *pos, argument 73 if (!pos || !config) 84 if (*pos != pt_psb_hi) 85 pos++; 87 for (; (pos + 1) < end; pos += 2) { 90 hi = pos[0]; 91 lo = pos[1]; 103 pos -= ptps_psb; 106 if (pos < begi 120 pt_sync_within_bounds(const uint8_t *pos, const uint8_t *begin, const uint8_t *end) argument 130 pt_sync_set(const uint8_t **sync, const uint8_t *pos, const struct pt_config *config) argument 161 pt_sync_forward(const uint8_t **sync, const uint8_t *pos, const struct pt_config *config) argument 209 pt_sync_backward(const uint8_t **sync, const uint8_t *pos, const struct pt_config *config) argument [all...] |
H A D | pt_packet.c | 37 static uint64_t pt_pkt_read_value(const uint8_t *pos, int size) argument 43 uint64_t byte = *pos++; 52 int pt_pkt_read_unknown(struct pt_packet *packet, const uint8_t *pos, argument 59 if (!packet || !pos || !config) 67 packet->payload.unknown.packet = pos; 73 size = (*decode)(&packet->payload.unknown, config, pos, 84 if (config->end < pos + size) 90 int pt_pkt_read_psb(const uint8_t *pos, const struct pt_config *config) argument 94 if (!pos || !config) 97 if (config->end < pos 135 pt_pkt_read_ip(struct pt_packet_ip *packet, const uint8_t *pos, const struct pt_config *config) argument 200 pt_pkt_read_tnt_8(struct pt_packet_tnt *packet, const uint8_t *pos, const struct pt_config *config) argument 217 pt_pkt_read_tnt_64(struct pt_packet_tnt *packet, const uint8_t *pos, const struct pt_config *config) argument 238 pt_pkt_read_pip(struct pt_packet_pip *packet, const uint8_t *pos, const struct pt_config *config) argument 287 pt_pkt_read_mode(struct pt_packet_mode *packet, const uint8_t *pos, const struct pt_config *config) argument 315 pt_pkt_read_tsc(struct pt_packet_tsc *packet, const uint8_t *pos, const struct pt_config *config) argument 329 pt_pkt_read_cbr(struct pt_packet_cbr *packet, const uint8_t *pos, const struct pt_config *config) argument 343 pt_pkt_read_tma(struct pt_packet_tma *packet, const uint8_t *pos, const struct pt_config *config) argument 369 pt_pkt_read_mtc(struct pt_packet_mtc *packet, const uint8_t *pos, const struct pt_config *config) argument 383 pt_pkt_read_cyc(struct pt_packet_cyc *packet, const uint8_t *pos, const struct pt_config *config) argument 431 pt_pkt_read_vmcs(struct pt_packet_vmcs *packet, const uint8_t *pos, const struct pt_config *config) argument 449 pt_pkt_read_mnt(struct pt_packet_mnt *packet, const uint8_t *pos, const struct pt_config *config) argument 463 pt_pkt_read_exstop(struct pt_packet_exstop *packet, const uint8_t *pos, const struct pt_config *config) argument 477 pt_pkt_read_mwait(struct pt_packet_mwait *packet, const uint8_t *pos, const struct pt_config *config) argument 494 pt_pkt_read_pwre(struct pt_packet_pwre *packet, const uint8_t *pos, const struct pt_config *config) argument 518 pt_pkt_read_pwrx(struct pt_packet_pwrx *packet, const uint8_t *pos, const struct pt_config *config) argument 546 pt_pkt_read_ptw(struct pt_packet_ptw *packet, const uint8_t *pos, const struct pt_config *config) argument [all...] |
/freebsd-current/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ie.c | 45 u8 *pos; local 57 pos = (u8 *) (hdr + 1); 65 RSN_SELECTOR_PUT(pos, suite); 66 pos += WPA_SELECTOR_LEN; 68 *pos++ = 1; 69 *pos++ = 0; 78 RSN_SELECTOR_PUT(pos, suite); 79 pos += WPA_SELECTOR_LEN; 81 *pos++ = 1; 82 *pos 130 u8 *pos; local 271 u8 *pos, *len; local 356 u8 *pos = rsnxe; local [all...] |
/freebsd-current/contrib/wpa/src/utils/ |
H A D | ext_password_test.c | 47 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...] |
H A D | config.c | 41 char *pos, *end, *sstart; local 55 pos = s; 58 while (*pos == ' ' || *pos == '\t' || *pos == '\r') 59 pos++; 62 if (*pos == '#' || *pos == '\n' || *pos == '\0') 69 sstart = pos; [all...] |
H A D | uuid.c | 17 const char *pos; local 20 pos = str; 23 if (hexstr2bin(pos, opos, 4)) 25 pos += 8; 28 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 30 pos += 4; 33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 35 pos [all...] |
/freebsd-current/contrib/less/ |
H A D | forwback.c | 74 POSITION pos; local 91 pos = position(BOTTOM_PLUS_ONE); 92 return (pos == NULL_POSITION || pos == ch_length()); 100 POSITION pos; local 107 pos = position(0); 108 return (pos == NULL_POSITION || pos == 0); 129 static POSITION forw_line_pfx(POSITION pos, int pfx, int skipeol) argument 138 pos 163 POSITION pos = ch_zero(); /* header lines are at beginning of file */ local 215 forw(int n, POSITION pos, int force, int only_last, int nblank) argument 403 back(int n, POSITION pos, int force, int only_last) argument 464 POSITION pos; local 512 POSITION pos; local 546 POSITION pos = ch_zero(); local [all...] |
H A D | jump.c | 30 POSITION pos; local 56 pos = back_line(end_pos); 57 if (pos == NULL_POSITION) 61 jump_loc(pos, sc_height-1); 89 POSITION pos; local 98 pos = find_pos(linenum); 99 if (pos != NULL_POSITION && ch_seek(pos) == 0) 102 set_attnpos(pos); 103 jump_loc(pos, jump_slin 139 POSITION pos, len; local 167 jump_line_loc(POSITION pos, int sline) argument 192 jump_loc(POSITION pos, int sline) argument [all...] |
/freebsd-current/contrib/wpa/hostapd/ |
H A D | nt_password_hash.c | 19 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-current/sys/geom/virstor/ |
H A D | binstream.c | 42 bs->pos = 0; 49 bs->pos = 0; 58 *(bs->data + bs->pos + len) = *data; 61 bs->pos += len; 62 return bs->pos; 71 *(bs->data + bs->pos + i) = *(data + i); 72 bs->pos += data_size; 73 return bs->pos; 80 *((uint8_t *) (bs->data + bs->pos)) = data; 81 return ++(bs->pos); [all...] |
/freebsd-current/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_packet.h | 56 * Reads the payload of the packet starting at @pos into @packet. 70 * Returns -pte_internal if @packet, @pos, or @config is NULL. 72 extern int pt_pkt_read_unknown(struct pt_packet *packet, const uint8_t *pos, 74 extern int pt_pkt_read_psb(const uint8_t *pos, const struct pt_config *config); 75 extern int pt_pkt_read_ip(struct pt_packet_ip *packet, const uint8_t *pos, 77 extern int pt_pkt_read_tnt_8(struct pt_packet_tnt *packet, const uint8_t *pos, 79 extern int pt_pkt_read_tnt_64(struct pt_packet_tnt *packet, const uint8_t *pos, 81 extern int pt_pkt_read_pip(struct pt_packet_pip *packet, const uint8_t *pos, 83 extern int pt_pkt_read_mode(struct pt_packet_mode *packet, const uint8_t *pos, 85 extern int pt_pkt_read_tsc(struct pt_packet_tsc *packet, const uint8_t *pos, [all...] |
/freebsd-current/sys/powerpc/powerpc/ |
H A D | elf_common.c | 34 Elf_Auxinfo *argarray, *pos; local 57 argarray = pos = malloc(AT_OLD_COUNT * sizeof(*pos), M_TEMP, 63 AUXARGS_ENTRY(pos, AT_OLD_EXECFD, args->execfd); 64 AUXARGS_ENTRY(pos, AT_OLD_PHDR, args->phdr); 65 AUXARGS_ENTRY(pos, AT_OLD_PHENT, args->phent); 66 AUXARGS_ENTRY(pos, AT_OLD_PHNUM, args->phnum); 67 AUXARGS_ENTRY(pos, AT_OLD_PAGESZ, args->pagesz); 68 AUXARGS_ENTRY(pos, AT_OLD_FLAGS, args->flags); 69 AUXARGS_ENTRY(pos, AT_OLD_ENTR [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Symbol/ |
H A D | VariableList.cpp | 64 iterator pos, end = m_variables.end(); local 65 for (pos = m_variables.begin(); pos != end; ++pos) { 66 if (pos->get() == var_sp.get()) 67 return std::distance(m_variables.begin(), pos); 75 iterator pos, end = m_variables.end(); local 76 for (pos = m_variables.begin(); pos != end; ++pos) { 91 iterator pos, end = m_variables.end(); local 105 iterator pos, end = m_variables.end(); local 115 iterator pos, end = m_variables.end(); local 132 iterator pos, end = m_variables.end(); local 147 iterator pos; local 159 const_iterator pos, end = m_variables.end(); local 172 const_iterator pos, end = m_variables.end(); local [all...] |
H A D | TypeMap.cpp | 37 iterator pos, end = m_types.end(); local 39 for (pos = m_types.find(type_uid); 40 pos != end && pos->second->GetID() == type_uid; ++pos) { 41 if (pos->second.get() == type_sp.get()) 53 // iterator pos = m_types.find(uid); 54 // if (pos != m_types.end()) 55 // return pos->second; 66 // iterator pos, en 84 iterator pos, end; local 145 iterator pos, end = m_types.end(); local [all...] |
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface.c | 79 char *pos; local 83 pos = val; 84 while (pos) { 85 if (*pos == '\0') 87 if (hwaddr_aton(pos, addr)) { 100 pos = os_strchr(pos, ' '); 101 if (pos) 102 pos++; 116 char *pos; local 239 wpas_ctrl_set_blob(struct wpa_supplicant *wpa_s, char *pos) argument 281 char *pos; local 387 char *pos; local 439 const char *pos = val; local 626 char *pos; local 756 char *pos; local 1132 char *pos, *end; local 1341 char *pos; local 1410 char *pos; local 1454 char *pos; local 1517 char *pos; local 1573 wpa_supplicant_ctrl_iface_wps_nfc_tag_read( struct wpa_supplicant *wpa_s, char *pos) argument 1661 char *pos; local 1744 char *pos, *pos2; local 1792 char *pos, *role, *type, *pos2; local 1962 char *pos; local 2019 char *uuid = cmd, *pin, *pos; local 2167 char *pos, *id_pos; local 2205 char *pos, *end, tmp[30]; local 2546 char *pos; local 2583 char *pos, *end; local 2634 char *pos, *end, *stamp; local 2680 char *pos, *end, *prev; local 2744 wpa_supplicant_cipher_txt(char *pos, char *end, int cipher) argument 2759 wpa_supplicant_ie_txt(char *pos, char *end, const char *proto, const u8 *ie, size_t ie_len) argument 2946 wpa_supplicant_wps_ie_txt_buf(struct wpa_supplicant *wpa_s, char *pos, char *end, struct wpabuf *wps_ie) argument 2973 wpa_supplicant_wps_ie_txt(struct wpa_supplicant *wpa_s, char *pos, char *end, const struct wpa_bss *bss) argument 2992 char *pos, *end; local 3160 char *pos, *end; local 3189 char *pos, ifname[IFNAMSIZ + 1]; local 3309 char *pos; local 3332 char *pos; local 3376 char *pos; local 3745 char *pos, *end; local 3999 char *pos, *end; local 4039 char *pos, *end; local 4087 char *pos, *end; local 4154 char *pos, *end; local 4361 char *pos, *end; local 4404 char *pos, *end; local 4491 char *pos, *end; local 4541 char *pos, *end, *hmode; local 4591 char *pos, *end, *hmode; local 4842 anqp_add_hex(char *pos, char *end, const char *title, struct wpabuf *data) argument 4877 print_fils_indication(struct wpa_bss *bss, char *pos, char *end) argument 4953 char *pos, *end; local 5682 char *pos; local 5761 p2ps_ctrl_parse_cpt_priority(const char *pos, u8 *cpt) argument 5806 char *pos; local 5909 char *pos; local 5940 char *pos; local 5993 char *pos, *pos2; local 6169 char *pos; local 6212 char *pos; local 6317 char *pos, *pos2; local 6372 char *pos; local 6421 char *pos; local 6439 char *pos; local 6553 char *pos; local 6598 char *pos; local 6631 char *pos; local 6651 char *pos; local 6681 char *pos; local 6753 char *pos; local 6949 char *pos, *end; local 7108 char *pos; local 7125 char *pos; local 7215 char *pos; local 7254 char *pos; local 7331 char *pos, *pos2; local 7363 char *pos; local 7381 const char *pos; local 7460 char *pos; local 7524 char *pos; local 7590 char *pos, *end; local 7655 char *pos; local 7729 char *pos; local 7934 char *pos; local 8028 char *pos, *end; local 8092 const char *pos; local 8117 char *pos = wpa_s->get_pref_freq_list_override; local 8157 char *pos, *end; local 8202 char *pos, *end; local 8230 char *pos, *end; local 8303 char *pos, *temp = NULL; local 8600 char *pos, *end; local 8675 char *pos, *pos2; local 8803 const char *pos = value; local 8823 char *pos; local 9046 char *pos, *param; local 9124 char *pos, *param; local 9196 char *pos, *end; local 9324 char *str, *pos; local 9437 char *pos, *param; local 9483 char *pos; local 9521 char *pos; local 9562 const u16 *pos = buf; local 9583 const u8 *pos; local 9624 char *pos; local 9660 char *pos, *pos2; local 9775 char *pos; local 9808 char *pos; local 9922 const char *pos = cmd; local 10070 char *pos = cmd; local 10152 char *pos = cmd; local 10236 const u8 *pos = data, *end; local 10449 char *pos, *pos2, *end; local 10527 char *pos, *pos2; local 10659 const char *pos; local 10705 const char *pos, *end; local 10874 const char *pos, *end; local 11035 const char *pos, *end; local 11122 scs_parse_type4(struct tclas_element *elem, const char *pos) argument 11137 scs_parse_type10(struct tclas_element *elem, const char *pos) argument 11155 char *pos1, *pos; local 11355 char *pos; local 11420 char *pos; local 12402 char *pos, *extra; local 12577 char *pos, *end; local 12619 char *pos, *end; local 12890 char *pos, *end; local 12998 char *pos = os_strchr(buf + 7, ' '); local [all...] |
/freebsd-current/contrib/wpa/src/wps/ |
H A D | wps_attr_parse.c | 21 u8 id, u8 len, const u8 *pos) 32 attr->version2 = pos; 35 attr->authorized_macs = pos; 44 attr->network_key_shareable = pos; 52 attr->request_to_enroll = pos; 60 attr->settings_delay_time = pos; 68 attr->registrar_configuration_methods = pos; 77 attr->multi_ap_ext = *pos; 91 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, argument 94 const u8 *end = pos 20 wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, u8 id, u8 len, const u8 *pos) argument 111 wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, u16 len) argument 152 wps_set_attr(struct wps_parse_attr *attr, u16 type, const u8 *pos, u16 len) argument 598 const u8 *pos, *end; local [all...] |