/freebsd-current/contrib/llvm-project/lldb/source/Target/ |
H A D | SectionLoadList.cpp | 55 sect_to_addr_collection::const_iterator pos = local 58 if (pos != m_sect_to_addr.end()) 59 section_load_addr = pos->second; 224 addr_to_sect_collection::const_iterator pos = local 226 if (pos != m_addr_to_sect.end()) { 227 if (load_addr != pos->first && pos != m_addr_to_sect.begin()) 228 --pos; 229 const addr_t pos_load_addr = pos->first; 232 if (offset < pos 262 addr_to_sect_collection::const_iterator pos, end; local [all...] |
/freebsd-current/usr.bin/gzip/ |
H A D | unxz.c | 185 io_pread(int fd, io_buf *buf, size_t size, off_t pos) argument 189 if (lseek(fd, pos, SEEK_SET) != pos) { 285 off_t pos = st.st_size; local 292 if (pos < 2 * LZMA_STREAM_HEADER_SIZE) { 296 pos -= LZMA_STREAM_HEADER_SIZE; 302 if (pos < LZMA_STREAM_HEADER_SIZE) { 307 LZMA_STREAM_HEADER_SIZE, pos)) 321 pos -= 4; 346 if ((lzma_vli)(pos) < index_siz [all...] |
/freebsd-current/usr.sbin/ppp/ |
H A D | iplist.c | 58 list->cur.pos = -1; 130 if (list->cur.pos == -1) { 139 list->cur.pos = -1; 144 list->cur.pos++; 169 list->cur.pos = -1; 173 iplist_setcurpos(struct iplist *list, long pos) argument 175 if (pos < 0 || (unsigned)pos >= list->nItems) { 176 list->cur.pos = -1; 182 list->cur.pos [all...] |
/freebsd-current/contrib/less/ |
H A D | search.c | 248 POSITION pos; local 271 pos = position(sindex); 272 if (pos == NULL_POSITION) 274 (void) forw_line(pos); 294 POSITION pos; local 314 pos = position(sindex); 315 if (pos == NULL_POSITION) 318 if (pos <= old_end_attnpos && 321 (void) forw_line(pos); 393 * Find the node covering pos, o 398 hlist_find(struct hilite_tree *anchor, POSITION pos) argument 488 hilited_range_attr(POSITION pos, POSITION epos) argument 501 is_filtered(POSITION pos) argument 516 next_unfiltered(POSITION pos) argument 536 prev_unfiltered(POSITION pos) argument 560 is_hilited_attr(POSITION pos, POSITION epos, int nohide, int *p_matches) argument 1020 POSITION pos; local 1111 matches_filters(POSITION pos, char *cline, int line_len, int *chpos, POSITION linepos, char **sp, char **ep, int nsp) argument 1138 get_lastlinepos(POSITION pos, POSITION tpos, int sheight) argument 1159 get_seg(POSITION pos, POSITION tpos) argument 1175 search_range(POSITION pos, POSITION endpos, int search_type, int matches, int maxlines, POSITION *plinepos, POSITION *pendpos, POSITION *plastlinepos) argument 1499 POSITION pos; local [all...] |
H A D | prompt.c | 109 static void ap_pos(POSITION pos) argument 111 char buf[INT_STRLEN_BOUND(pos) + 2]; 113 postoa(pos, buf, 10); 152 POSITION pos; local 154 pos = position(where); 155 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1) 156 pos = position(++where); 157 if (pos == NULL_POSITION) 158 pos = ch_length(); 159 return (pos); 234 POSITION pos; local [all...] |
H A D | mark.c | 52 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) argument 55 m->m_scrpos.pos = pos; 160 cmark(m, curr_ifile, m->m_scrpos.pos, m->m_scrpos.ln); 175 if (m->m_scrpos.pos == NULL_POSITION) 205 if (scrpos.pos == NULL_POSITION) 210 cmark(m, curr_ifile, scrpos.pos, scrpos.ln); 224 if (m->m_scrpos.pos == NULL_POSITION) 229 m->m_scrpos.pos = NULL_POSITION; 243 if (scrpos.pos 312 posmark(POSITION pos) argument 401 POSITION pos; local [all...] |
/freebsd-current/sys/contrib/dev/iwlwifi/pcie/ |
H A D | trans-gen2.c | 264 size_t pos; local 272 pos = scnprintf(buf, buflen, "JF"); 275 pos = scnprintf(buf, buflen, "GF"); 278 pos = scnprintf(buf, buflen, "GF4"); 281 pos = scnprintf(buf, buflen, "HR"); 284 pos = scnprintf(buf, buflen, "HR1"); 287 pos = scnprintf(buf, buflen, "HRCDB"); 290 pos = scnprintf(buf, buflen, "MS"); 303 pos += scnprintf(buf + pos, bufle [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | mdoc_argv.c | 278 struct mdoc_arg **reta, int *pos, char *buf) 298 ipos = *pos; 342 tmpv.pos = *pos; 369 *pos = ipos; 415 mdoc_args(struct roff_man *mdoc, int line, int *pos, argument 440 return args(mdoc, line, pos, buf, fl, v); 444 args(struct roff_man *mdoc, int line, int *pos, argument 451 if (buf[*pos] == '\0') { 454 mandoc_msg(MANDOCERR_ARG_QUOTE, line, *pos, NUL 277 mdoc_argv(struct roff_man *mdoc, int line, enum roff_tok tok, struct mdoc_arg **reta, int *pos, char *buf) argument 642 argv_multi(struct roff_man *mdoc, int line, struct mdoc_argv *v, int *pos, char *buf) argument 666 argv_single(struct roff_man *mdoc, int line, struct mdoc_argv *v, int *pos, char *buf) argument [all...] |
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 481 const u8 *pos; local 503 pos = query; 504 role = *pos++; 515 while (pos < query + query_len) { 516 if (*pos < MAX_WFD_SUBELEMS && 517 wpa_s->global->wfd_subelem[*pos] && 519 wpabuf_len(wpa_s->global->wfd_subelem[*pos])) { 521 "subelement %u", *pos); 522 wpabuf_put_buf(resp, wpa_s->global->wfd_subelem[*pos]); 524 pos 693 const u8 *pos = tlvs; local 814 wpas_sd_p2ps_serv_response(struct wpa_supplicant *wpa_s, const u8 *sa, u8 srv_trans_id, const u8 *pos, const u8 *tlv_end) argument 892 const u8 *pos = tlvs; local 1037 const char *pos; local [all...] |
H A D | config.c | 268 const char *pos; local 275 pos = value; 276 while (pos && *pos) { 277 while (*pos == ' ') 278 pos++; 280 if (hwaddr_masked_aton(pos, addr, &addr[ETH_ALEN], masked)) { 292 line, name, pos); 310 pos = os_strchr(pos, ' '); 325 char *value, *end, *pos; local 562 const char *pos; local 713 char *buf, *pos, *end; local 872 char *buf, *pos, *end; local 1332 char *buf, *pos, *end; local 1384 const char *pos; local 1465 char *buf, *pos, *end; local 1615 char *buf, *pos, *end; local 2101 const char *pos; local 3418 const char *pos; local 3481 const char *pos, *end; local 3824 char *pos; local 3963 char *buf, *end, *pos; local 4046 char *buf, *end, *pos; local 4107 char *buf, *pos; local 4132 char *buf, *end, *pos; local 4161 char *buf, *end, *pos; local 4325 struct wpa_config_blob *pos = config->blobs, *prev = NULL; local 4491 wpa_global_config_parse_int(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4531 wpa_global_config_parse_str(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4581 wpa_config_process_bgscan(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4602 wpa_global_config_parse_bin(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4665 wpa_global_config_parse_ipv4(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4689 wpa_config_process_country(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4729 wpa_config_process_uuid(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4744 wpa_config_process_device_type( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4752 wpa_config_process_os_version(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4766 wpa_config_process_wps_vendor_ext_m1( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4805 wpa_config_process_sec_device_type( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4827 wpa_config_process_p2p_pref_chan( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4877 wpa_config_process_p2p_no_go_freq( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4896 wpa_config_process_p2p_device_persistent_mac_addr( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4913 wpa_config_process_hessid( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4927 wpa_config_process_sae_groups( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4945 wpa_config_process_ap_vendor_elements( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4970 wpa_config_process_ap_assocresp_elements( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 4996 wpa_config_process_no_ctrl_interface( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument 5355 wpa_config_process_global(struct wpa_config *config, char *pos, int line) argument [all...] |
/freebsd-current/tools/test/stress2/misc/ |
H A D | sendfile15.sh | 114 off_t written, pos; 140 pos = 0; 142 error = sendfile(from, sv[0], pos, st.st_size - pos, 148 pos += written; 149 if (pos == st.st_size) 161 pos = 0; 163 written = st.st_size - pos; 164 n = read(sv[1], buf + pos, written); 169 pos [all...] |
/freebsd-current/lib/libc/stdio/ |
H A D | open_memstream.c | 110 memstream_seek(void *cookie, fpos_t pos, int whence) argument 124 assert(pos >= 0); 125 ms->offset = pos; 129 assert(pos == 0); 132 if (pos < 0) { 133 if (pos + ms->len < 0) { 136 "MS: bad SEEK_END: pos %jd, len %zd\n", 137 (intmax_t)pos, ms->len); 143 if (FPOS_MAX - ms->len < pos) { 146 "MS: bad SEEK_END: pos [all...] |
/freebsd-current/contrib/wpa/src/eap_common/ |
H A D | eap_sim_common.c | 80 EAP_SIM_KEYING_DATA_LEN + EAP_EMSK_LEN], *pos; local 85 pos = buf; 86 os_memcpy(k_encr, pos, EAP_SIM_K_ENCR_LEN); 87 pos += EAP_SIM_K_ENCR_LEN; 88 os_memcpy(k_aut, pos, EAP_SIM_K_AUT_LEN); 89 pos += EAP_SIM_K_AUT_LEN; 90 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); 91 pos += EAP_SIM_KEYING_DATA_LEN; 92 os_memcpy(emsk, pos, EAP_EMSK_LEN); 282 u8 *pos; local 330 u8 *pos; local 498 const u8 *pos = start, *apos; local 984 u8 *pos; local 1106 u8 *pos = eap_sim_msg_add(msg, attr, 0, NULL, EAP_SIM_MAC_LEN); local 1116 u8 *pos = eap_sim_msg_add(msg, attr_iv, 0, NULL, EAP_SIM_IV_LEN); local 1146 u8 *pos; local 1216 const u8 *pos = &val[len - 1]; local [all...] |
H A D | ikev2_common.c | 119 u8 iter, *pos, *end; local 137 pos = out; 140 while (pos < end) { 151 if ((int) clen > end - pos) 152 clen = end - pos; 153 os_memcpy(pos, hash, clen); 154 pos += clen; 246 u8 next_payload, const u8 *pos, const u8 *end) 257 if (end < pos) 259 left = end - pos; 245 ikev2_parse_payloads(struct ikev2_payloads *payloads, u8 next_payload, const u8 *pos, const u8 *end) argument 378 u8 *sign_data, *pos, *buf, hash[IKEV2_MAX_HASH_LEN]; local 435 const u8 *pos, *end, *iv, *integ; local 635 u8 *keybuf, *pos; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/lua/ |
H A D | ltablib.c | 41 int pos; /* where to insert new element */ local 44 pos = e; /* insert new element at the end */ 49 pos = luaL_checkint(L, 2); /* 2nd argument is the position */ 50 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); 51 for (i = e; i > pos; i--) { /* move up elements */ 61 lua_rawseti(L, 1, pos); /* t[pos] = v */ 68 int pos = luaL_optint(L, 2, size); local 69 if (pos ! [all...] |
/freebsd-current/contrib/cortex-strings/src/aarch64/ |
H A D | strcpy.S | 61 #define pos x15 define 164 clz pos, has_nul2 166 add dst, dstin, pos, lsr #3 /* Bits to bytes. */ 167 sub pos, tmp2, pos 169 lsr data2, data2, pos 171 lsl data2, data2, pos 182 clz pos, has_nul1 183 add dst, dstin, pos, lsr #3 /* Bits to bytes. */ 184 subs tmp2, pos, #2 [all...] |
/freebsd-current/contrib/wpa/src/eap_server/ |
H A D | eap_sim_db.c | 170 const char *pos = str; local 171 while (*pos) { 172 if ((*pos < '0' || *pos > '9') && 173 (*pos < 'a' || *pos > 'f')) 175 pos++; 247 char cmd[2000], *pos, *end; local 255 pos = cmd; 256 end = pos 459 char *start, *end, *pos; local 629 char buf[1000], *pos, *cmd, *imsi; local 760 char *pos; local 1015 char *id, *pos, *end; local 1552 size_t pos; local [all...] |
H A D | eap_server_pax.c | 77 u8 *pos; local 109 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); 112 NULL, 0, NULL, 0, pos) < 0) { 118 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", pos, EAP_PAX_ICV_LEN); 129 u8 *pos; local 151 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); 154 (u8 *) data->cid, data->cid_len, NULL, 0, pos) < 0) { 161 pos, EAP_PAX_MAC_LEN); 165 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); 168 NULL, 0, NULL, 0, pos) < 203 const u8 *pos; local 309 const u8 *pos; local 489 const u8 *pos; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Core/ |
H A D | ModuleList.cpp | 290 for (auto pos : module_list.m_modules) 291 Append(pos); 296 for (auto pos : module_list.m_modules) { 297 if (AppendIfNeeded(pos)) 306 collection::iterator pos, end = m_modules.end(); local 307 for (pos = m_modules.begin(); pos != end; ++pos) { 308 if (pos->get() == module_sp.get()) { 309 m_modules.erase(pos); 320 RemoveImpl(ModuleList::collection::iterator pos, bool use_notifier) argument 346 collection::iterator pos, end = m_modules.end(); local 378 collection::iterator pos = m_modules.begin(); local 396 collection::iterator pos, end = module_list.m_modules.end(); local 553 collection::const_iterator pos, end = m_modules.end(); local 570 collection::const_iterator pos, end = m_modules.end(); local 624 collection::const_iterator pos, end = m_modules.end(); local 651 collection::const_iterator pos, begin = m_modules.begin(), local 688 collection::const_iterator pos, end = m_modules.end(); local 723 collection::const_iterator pos; local [all...] |
/freebsd-current/contrib/wpa/src/tls/ |
H A D | asn1.c | 173 const u8 *pos, *end; local 177 pos = buf; 180 if (pos >= end) { 184 hdr->identifier = *pos++; 192 if (pos == end || (*pos & 0x7f) == 0) { 198 if (pos >= end) { 204 tmp = *pos++; 221 if (pos >= end) { 225 tmp = *pos 292 const u8 *pos, *end; local 353 char *pos = buf; local 394 const u8 *pos = buf; local 437 const u8 *pos; local 483 const u8 *pos = buf, *end = buf + len; local [all...] |
H A D | pkcs5.c | 90 static int pkcs5_get_params_pbes2(struct pkcs5_params *params, const u8 *pos, argument 109 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || 115 pos = hdr.payload; 118 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 125 pos = hdr.payload; 128 if (asn1_get_oid(pos, end - pos, &oid, &pos)) { 265 const u8 *enc_alg_end, *pos, *end; local 405 u8 *D = NULL, *I = NULL, *B = NULL, *pos; local [all...] |
/freebsd-current/contrib/dma/ |
H A D | net.c | 82 size_t len, pos; local 98 pos = 0; 99 while (pos < len) { 102 if ((n = SSL_write(config.ssl, (const char*)(cmd + pos), len - pos)) <= 0) { 113 n = write(fd, cmd + pos, len - pos); 120 pos += n; 130 size_t pos, len, copysize; local 145 pos [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/ |
H A D | ObjCLanguageRuntime.cpp | 92 MsgImplMap::iterator pos, end = m_impl_cache.end(); local 93 pos = m_impl_cache.find(ClassAndSel(class_addr, selector)); 94 if (pos != end) 95 return (*pos).second; 101 MsgImplStrMap::iterator pos, end = m_impl_str_cache.end(); local 102 pos = m_impl_str_cache.find(ClassAndSelStr(class_addr, sel_str)); 103 if (pos != end) 104 return (*pos).second; 179 ISAToDescriptorIterator pos = GetDescriptorIterator(name); local 180 if (pos ! 207 ISAToDescriptorIterator pos = local 260 ISAToDescriptorIterator pos = GetDescriptorIterator(class_name); local 309 ObjCLanguageRuntime::ISAToDescriptorIterator pos = local [all...] |
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/ |
H A D | power.c | 706 int pos = 0; local 712 pos += scnprintf(buf+pos, bufsz-pos, "power_scheme = %d\n", 714 pos += scnprintf(buf+pos, bufsz-pos, "flags = 0x%x\n", 716 pos += scnprintf(buf+pos, bufsz-pos, "keep_aliv [all...] |
/freebsd-current/contrib/wpa/src/rsn_supp/ |
H A D | tdls.c | 84 static u8 * wpa_add_tdls_timeoutie(u8 *pos, u8 *ie, size_t ie_len, u32 tsecs); 174 static u8 * wpa_add_ie(u8 *pos, const u8 *ie, size_t ie_len) argument 176 os_memcpy(pos, ie, ie_len); 177 return pos + ie_len; 479 u8 *buf, *pos; local 491 pos = buf; 494 os_memcpy(pos, _lnkid->init_sta, ETH_ALEN); 495 pos += ETH_ALEN; 497 os_memcpy(pos, _lnkid->resp_sta, ETH_ALEN); 498 pos 541 u8 *buf, *pos; local 762 u8 *rbuf, *pos; local 948 const u8 *pos; local 1077 u8 *rbuf, *pos, *count_pos; local 1256 u8 *rbuf, *pos; local 1347 u8 *rbuf, *pos; local 1449 u8 *rbuf, *pos, *count_pos; local 2264 const u8 *pos; local 2551 const u8 *pos; local 2700 wpa_add_tdls_timeoutie(u8 *pos, u8 *ie, size_t ie_len, u32 tsecs) argument [all...] |