/freebsd-current/contrib/mandoc/ |
H A D | man_macro.c | 108 n->line, n->pos, 127 n->line, n->pos, "%s", 212 la = *pos; 213 if ( ! man_args(man, line, pos, buf, &p)) 264 cpos = man->last->pos; 273 if (buf[*pos] != '\0') { 274 roff_word_alloc(man, line, ppos, buf + *pos); 283 *pos = strlen(buf); 284 blk_imp(man, ctok, cline, cpos, pos, buf); 309 la = *pos; 457 man_args(struct roff_man *man, int line, int *pos, char *buf, char **v) argument [all...] |
H A D | roff.c | 156 int ppos, /* original pos in buffer */ \ 157 int pos, /* current pos in buffer */ \ 884 roff_node_alloc(struct roff_man *man, int line, int pos, argument 891 n->pos = pos; 966 roff_word_alloc(struct roff_man *man, int line, int pos, const char *word) argument 970 n = roff_node_alloc(man, line, pos, ROFFT_TEXT, TOKEN_NONE); 993 roff_elem_alloc(struct roff_man *man, int line, int pos, int tok) argument 997 n = roff_node_alloc(man, line, pos, ROFFT_ELE 1003 roff_block_alloc(struct roff_man *man, int line, int pos, int tok) argument 1014 roff_head_alloc(struct roff_man *man, int line, int pos, int tok) argument 1025 roff_body_alloc(struct roff_man *man, int line, int pos, int tok) argument 1237 roff_expand(struct roff *r, struct buf *buf, int ln, int pos, char newesc) argument 1654 roff_getarg(struct roff *r, char **cpp, int ln, int *pos) argument 1760 roff_parsetext(struct roff *r, struct buf *buf, int pos, int *offs) argument 1830 int pos; /* parse point */ local 2005 roff_parse(struct roff *r, char *buf, int *pos, int ln, int ppos) argument 2466 roff_getnum(const char *v, int *pos, int *res, int flags) argument 2540 roff_evalstrcond(const char *v, int *pos) argument 2579 roff_evalcond(struct roff *r, int ln, char *v, int *pos) argument 2832 roff_getop(const char *v, int *pos, char *res) argument 2895 roff_evalpar(struct roff *r, int ln, const char *v, int *pos, int *res, int flags) argument 2925 roff_evalnum(struct roff *r, int ln, const char *v, int *pos, int *res, int flags) argument 3354 roff_eqndelim(struct roff *r, struct buf *buf, int pos) argument 4017 roff_getname(struct roff *r, char **cpp, int ln, int pos) argument 4370 int pos; local [all...] |
H A D | tbl_html.c | 99 sp->pos == TBL_SPAN_DHORIZ ? "double" : 100 sp->pos == TBL_SPAN_HORIZ ? "solid" : NULL); 136 if (sp->pos != TBL_SPAN_DATA) 162 switch (psp->pos) { 188 if (cp->pos == TBL_CELL_SPAN || cp->pos == TBL_CELL_DOWN || 207 switch (cp->pos) { 247 if (dp->layout->pos == TBL_CELL_HORIZ || 248 dp->layout->pos == TBL_CELL_DHORIZ || 249 dp->pos [all...] |
/freebsd-current/contrib/wpa/src/eap_server/ |
H A D | eap_server_identity.c | 85 const u8 *pos; local 88 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, 90 if (pos == NULL) { 103 const u8 *pos; local 117 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, 119 if (pos == NULL) 122 wpa_hexdump_ascii(MSG_DEBUG, "EAP-Identity: Peer identity", pos, len); 125 printf_encode(buf, len * 4 + 1, pos, len); 136 os_memcpy(sm->identity, pos, len);
|
H A D | eap_server_vendor_test.c | 94 const u8 *pos; local 97 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); 98 if (pos == NULL || len < 1) { 111 const u8 *pos; local 114 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); 115 if (pos == NULL || len < 1) 119 if (*pos == 2) 124 if (*pos == 4)
|
/freebsd-current/crypto/openssl/crypto/cms/ |
H A D | cms_io.c | 20 ASN1_OCTET_STRING **pos; local 21 pos = CMS_get0_content(cms); 22 if (pos == NULL) 24 if (*pos == NULL) 25 *pos = ASN1_OCTET_STRING_new(); 26 if (*pos != NULL) { 27 (*pos)->flags |= ASN1_STRING_FLAG_NDEF; 28 (*pos)->flags &= ~ASN1_STRING_FLAG_CONT; 29 *boundary = &(*pos)->data;
|
/freebsd-current/lib/libc/net/ |
H A D | base64.c | 196 char *pos; local 208 pos = strchr(Base64, ch); 209 if (pos == NULL) /* A non-base64 character. */ 217 target[tarindex] = (pos - Base64) << 2; 225 target[tarindex] |= (pos - Base64) >> 4; 226 nextbyte = ((pos - Base64) & 0x0f) << 4; 239 target[tarindex] |= (pos - Base64) >> 2; 240 nextbyte = ((pos - Base64) & 0x03) << 6; 253 target[tarindex] |= (pos - Base64);
|
/freebsd-current/bin/sh/ |
H A D | mksyntax.c | 107 int pos; local 129 for (pos = strlen(buf) ; pos < 32 ; pos = (pos + 8) & ~07) 138 for (pos = strlen(buf) ; pos < 32 ; pos = (pos + 8) & ~07)
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | UniqueCStringMap.h | 87 auto pos = llvm::lower_bound(m_map, unique_cstr, Compare()); local 88 if (pos != m_map.end() && pos->cstring == unique_cstr) 89 return pos->value; 99 auto pos = llvm::lower_bound(m_map, unique_cstr, Compare()); local 100 if (pos != m_map.end() && pos->cstring == unique_cstr) 101 return &(*pos); 138 const_iterator pos, end = m_map.end(); local 139 for (pos [all...] |
/freebsd-current/contrib/xz/src/liblzma/lz/ |
H A D | lz_decoder.c | 47 size_t pos; member in struct:__anon84::__anon85 57 coder->dict.pos = 0; 73 if (coder->dict.pos == coder->dict.size) 74 coder->dict.pos = 0; 78 const size_t dict_start = coder->dict.pos; 84 coder->dict.limit = coder->dict.pos 86 coder->dict.size - coder->dict.pos); 98 const size_t copy_size = coder->dict.pos - dict_start; 126 || coder->dict.pos < coder->dict.size) 151 && coder->temp.pos [all...] |
/freebsd-current/contrib/xz/src/liblzma/simple/ |
H A D | simple_coder.c | 85 if (coder->pos < coder->filtered) { 86 lzma_bufcpy(coder->buffer, &coder->pos, coder->filtered, 91 if (coder->pos < coder->filtered) 111 const size_t buf_avail = coder->size - coder->pos; 118 // coder->pos and coder->size yet. This way the coder can be 127 memcpy(out + *out_pos, coder->buffer + coder->pos, 152 // Now we can update coder->pos and coder->size, because 154 coder->pos = 0; 168 } else if (coder->pos > 0) { 169 memmove(coder->buffer, coder->buffer + coder->pos, buf_avai [all...] |
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | wifi_display.c | 240 char *pos; local 245 pos = os_strchr(cmd, ' '); 246 if (pos == NULL) 248 *pos++ = '\0'; 250 len = os_strlen(pos); 261 if (hexstr2bin(pos, wpabuf_put(e, len), len) < 0) { 283 if (hexstr2bin(pos, wpabuf_put(e, len), len) < 0) { 302 const u8 *pos, *end; local 312 pos = wpabuf_head(ie); 313 end = pos [all...] |
/freebsd-current/contrib/wpa/src/eap_common/ |
H A D | eap_eke_common.c | 481 u8 *data, *pos; local 498 pos = data; 499 os_memcpy(pos, label, label_len); 500 pos += label_len; 501 os_memcpy(pos, id_s, id_s_len); 502 pos += id_s_len; 503 os_memcpy(pos, id_p, id_p_len); 504 pos += id_p_len; 505 os_memcpy(pos, nonce_p, sess->nonce_len); 506 pos 527 u8 *data, *pos; local 588 u8 *pos, *iv, *e; local [all...] |
H A D | eap_fast_common.c | 149 int tlv_type, u8 *pos, size_t len) 154 pos, len); 161 tlv->eap_payload_tlv = pos; 165 wpa_hexdump(MSG_MSGDUMP, "EAP-FAST: Result TLV", pos, len); 178 tlv->result = WPA_GET_BE16(pos); 191 pos, len); 204 tlv->iresult = WPA_GET_BE16(pos); 217 pos, len); 232 (pos - sizeof(struct eap_tlv_hdr)); 236 pos, le 148 eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, int tlv_type, u8 *pos, size_t len) argument [all...] |
H A D | eap_teap_common.c | 361 u8 *pos, *buffer; local 377 pos = buffer; 380 os_memcpy(pos, cb, bind_len); 381 pos += bind_len; 391 *pos++ = EAP_TYPE_TEAP; 396 os_memcpy(pos, wpabuf_head(server_outer_tlvs), 398 pos += wpabuf_len(server_outer_tlvs); 404 os_memcpy(pos, wpabuf_head(peer_outer_tlvs), 406 pos += wpabuf_len(peer_outer_tlvs); 409 buffer_len = pos 426 eap_teap_parse_tlv(struct eap_teap_tlv_parse *tlv, int tlv_type, u8 *pos, size_t len) argument [all...] |
/freebsd-current/contrib/wpa/src/eap_peer/ |
H A D | eap_gtc.c | 50 const u8 *pos, *password, *identity; local 55 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, reqData, &len); 56 if (pos == NULL) { 62 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-GTC: Request message", pos, len); 64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) { 87 eap_sm_request_otp(sm, (const char *) pos, len);
|
H A D | eap_ttls.c | 234 u8 *pos; local 235 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len); 236 os_memcpy(pos, data, len); 237 pos += len; 238 AVP_PAD(start, pos); 239 return pos; 247 u8 *avp, *pos; local 257 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp)); 258 os_memcpy(pos, wpabuf_head(*resp), wpabuf_len(*resp)); 259 pos 455 u8 *pos; local 709 u8 *buf, *pos; local 943 eap_ttls_parse_avp(u8 *pos, size_t left, struct ttls_parse_avp *parse) argument 1033 u8 *pos; local 1656 const u8 *pos; local [all...] |
H A D | eap_tnc.c | 207 const u8 *pos, *end; local 218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, reqData, &len); 219 if (pos == NULL) { 220 wpa_printf(MSG_INFO, "EAP-TNC: Invalid frame (pos=%p len=%lu)", 221 pos, (unsigned long) len); 228 end = pos + len; 233 flags = *pos++; 243 if (end - pos < 4) { 248 message_length = WPA_GET_BE32(pos); 249 pos [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectRegexCommand.cpp | 59 EntryCollection::const_iterator pos, end = m_entries.end(); local 60 for (pos = m_entries.begin(); pos != end; ++pos) { 62 if (pos->regex.Execute(command, &matches)) { 64 SubstituteVariables(pos->command, matches);
|
/freebsd-current/contrib/llvm-project/lldb/source/Utility/ |
H A D | Listener.cpp | 43 broadcaster_collection::iterator pos, end = m_broadcasters.end(); local 44 for (pos = m_broadcasters.begin(); pos != end; ++pos) { 45 Broadcaster::BroadcasterImplSP broadcaster_sp(pos->first.lock()); 47 broadcaster_sp->RemoveListener(this, pos->second.event_mask); 159 event_collection::iterator pos = m_events.begin(); local 160 while (pos != m_events.end()) { 161 if ((*pos)->GetBroadcaster() == broadcaster) 162 pos 209 Listener::event_collection::iterator pos = m_events.end(); local [all...] |
/freebsd-current/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ft.c | 149 u8 *pos = sm->assoc_resp_ies; local 151 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); 152 pos += ft.mdie_len + 2; 155 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); 156 pos += ft.ftie_len + 2; 158 sm->assoc_resp_ies_len = pos - sm->assoc_resp_ies; 193 u8 *buf, *pos, *ftie_len, *ftie_pos, *fte_mic, *elem_count; local 211 pos = buf; 214 rsnie = (struct rsn_ie_hdr *) pos; 217 pos 509 u8 *pos = buf; local [all...] |
/freebsd-current/contrib/bearssl/tools/ |
H A D | files.c | 170 pem_object po, *pos; local 243 pos = VEC_TOARRAY(pem_list); 245 return pos; 255 pem_object *pos; local 284 pos = decode_pem(buf, len, &num_pos); 286 if (pos == NULL) { 290 if (eqstr(pos[u].name, "CERTIFICATE") 291 || eqstr(pos[u].name, "X509 CERTIFICATE")) 295 xc.data = pos[u].data; 296 xc.data_len = pos[ [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_dense_alloc.h | 29 uptr pos; member in class:__tsan::DenseSlabAllocCache 69 if (c->pos == 0) 71 return c->cache[--c->pos]; 76 if (c->pos == Cache::kSize) 78 c->cache[c->pos++] = idx; 88 while (c->pos) Drain(c); 92 c->pos = 0; 145 c->cache[c->pos++] = idx; 153 for (uptr i = 0; i < Cache::kSize / 2 && c->pos; i++) { 154 IndexT idx = c->cache[--c->pos]; [all...] |
/freebsd-current/contrib/kyua/utils/fs/ |
H A D | path.cpp | 59 std::string::size_type pos = 0; local 61 const std::string::size_type next_pos = in.find('/', pos); 63 const std::string component = in.substr(pos, next_pos - pos); 65 if (pos == 0) 72 pos = next_pos; 74 pos = next_pos + 1; 75 } while (pos != std::string::npos);
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | truncate6.sh | 100 off_t hole, data, pos; 104 pos = 1024 * 128 + 1; // 131073 108 if (ftruncate(fd, pos) < 0) 116 printf("--> hole = %jd, data = %jd, pos = %jd\n", 117 (intmax_t)hole, (intmax_t)data, (intmax_t)pos);
|