Searched refs:pos (Results 151 - 175 of 1249) sorted by relevance

1234567891011>>

/freebsd-current/crypto/openssh/
H A Datomicio.c55 size_t pos = 0; local
65 while (n > pos) {
66 res = (f) (fd, s + pos, n - pos);
73 return pos;
83 return pos;
85 pos += (size_t)res;
88 return pos;
92 return pos;
109 size_t pos local
[all...]
/freebsd-current/lib/libvgl/
H A Dtext.c129 int pos; local
131 for (pos=0; pos<strlen(str); pos++) {
134 VGLBitmapPutChar(Object, x+(pos*VGLTextFont->Width), y,
135 str[pos], fgcol, bgcol, fill, dir);
138 VGLBitmapPutChar(Object, x, y-(pos*VGLTextFont->Width),
139 str[pos], fgcol, bgcol, fill, dir);
142 VGLBitmapPutChar(Object, x-(pos*VGLTextFont->Width), y,
143 str[pos], fgco
[all...]
/freebsd-current/contrib/wpa/src/ap/
H A Dieee802_11_vht.c27 u8 *pos = eid; local
45 *pos++ = WLAN_EID_VHT_CAP;
46 *pos++ = sizeof(*cap);
48 cap = (struct ieee80211_vht_capabilities *) pos;
68 pos += sizeof(*cap);
70 return pos;
77 u8 *pos = eid; local
82 *pos++ = WLAN_EID_VHT_OPERATION;
83 *pos++ = sizeof(*oper);
85 oper = (struct ieee80211_vht_operation *) pos;
261 u8 *pos = eid; local
[all...]
H A Dctrl_iface_ap.c286 const u8 *pos; local
296 pos = wpabuf_head(groups);
299 pos = NULL;
302 for (j = 0; pos && j < count; j++) {
304 j == 0 ? "" : " ", WPA_GET_LE16(pos));
307 pos += 2;
404 const char *pos; local
418 pos = os_strchr(txtaddr, ' ');
419 if (pos) {
420 pos
469 u8 *pos; local
518 const char *pos; local
580 const char *pos; local
887 hostapd_parse_csa_settings(const char *pos, struct csa_settings *settings) argument
953 char *pos, *pos2; local
1010 char *pos; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Host/common/
H A DFileCache.cpp48 FDToFileMap::iterator pos = m_cache.find(fd); local
49 if (pos == m_cache.end()) {
53 FileUP &file_up = pos->second;
59 m_cache.erase(pos);
70 FDToFileMap::iterator pos = m_cache.find(fd); local
71 if (pos == m_cache.end()) {
75 FileUP &file_up = pos->second;
96 FDToFileMap::iterator pos = m_cache.find(fd); local
97 if (pos == m_cache.end()) {
101 FileUP &file_up = pos
[all...]
/freebsd-current/contrib/ncurses/form/
H A Dfrm_data.c146 int pos; local
155 pos = form->begincol + field->cols;
156 while (pos < field->dcols)
158 check_len = field->dcols - pos;
162 wmove(form->w, 0, pos);
164 pos += field->cols;
174 pos = form->toprow + field->rows;
175 while (pos < field->drows)
178 wmove(form->w, pos, 0);
179 pos
[all...]
/freebsd-current/sys/contrib/libsodium/test/default/
H A Dcore3.c27 size_t pos = 0; local
30 pos = 0;
49 crypto_core_salsa20(output + pos, in, secondkey, c);
50 pos += 64;
64 pos = 0;
67 crypto_core_salsa2012(output + pos, in, secondkey, c);
68 pos += 64;
81 pos = 0;
84 crypto_core_salsa208(output + pos, in, secondkey, c);
85 pos
[all...]
/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_mschapv2.c243 const u8 *pos, *challenge; local
256 pos = (const u8 *) (req + 1);
257 challenge_len = *pos++;
279 challenge = pos;
280 pos += challenge_len;
283 pos, len);
349 const u8 *pos; local
354 pos = (const u8 *) (req + 1);
356 mschapv2_verify_auth_response(data->auth_response, pos, len)) {
363 pos
401 char *pos, *msg = ""; local
781 const u8 *pos; local
[all...]
H A Dtncc.c540 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos) argument
548 os_memcpy(pos, imc->imc_send, imc->imc_send_len);
549 pos += imc->imc_send_len;
555 return pos;
608 char *pos = os_strstr(start, "<Type>"); local
609 if (pos == NULL)
611 pos += 6;
612 *type = strtoul(pos, NULL, 16);
619 char *pos, *pos2; local
622 pos
644 char *pos, *pos2, saved; local
688 char *buf, *start, *end, *pos, *pos2, *payload; local
1007 char *pos, *pos2; local
1070 char *config, *end, *pos, *line_end; local
1284 const u8 *pos; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/DataFormatters/
H A DTypeCategoryMap.cpp46 bool TypeCategoryMap::Enable(KeyType category_name, Position pos) { argument
51 return Enable(category, pos);
62 bool TypeCategoryMap::Enable(TypeCategoryImplSP category, Position pos) { argument
65 Position pos_w = pos;
66 if (pos == First || m_active_categories.size() == 0)
68 else if (pos == Last || pos == m_active_categories.size())
70 else if (pos < m_active_categories.size()) {
78 category->Enable(true, pos);
101 auto pos local
149 MapIterator pos, end = m_map.end(); local
223 MapIterator pos, end = m_map.end(); local
238 MapIterator pos, end = m_map.end(); local
[all...]
/freebsd-current/contrib/xz/src/liblzma/rangecoder/
H A Drange_encoder.h40 size_t pos; member in struct:__anon103
66 rc->pos = 0;
74 assert(rc->pos == 0);
197 while (rc->pos < rc->count) {
207 switch (rc->symbols[rc->pos]) {
209 probability prob = *rc->probs[rc->pos];
213 *rc->probs[rc->pos] = prob;
218 probability prob = *rc->probs[rc->pos];
224 *rc->probs[rc->pos] = prob;
245 } while (++rc->pos < r
278 size_t pos = rc->pos; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DStopPointSiteList.h61 typename collection::const_iterator pos; local
63 for (pos = m_site_list.begin(); pos != end; ++pos)
64 pos->second->Dump(s);
95 typename collection::iterator pos = GetIDIterator(site_id); local
96 if (pos != m_site_list.end())
97 stop_sp = pos->second;
113 typename collection::const_iterator pos = GetIDConstIterator(site_id); local
114 if (pos !
166 typename collection::iterator pos = GetIDIterator(site_id); // Predicate local
183 typename collection::iterator pos = m_site_list.find(addr); local
197 typename collection::const_iterator lower, upper, pos; local
[all...]
/freebsd-current/contrib/wpa/src/wps/
H A Dndef.c38 const u8 *pos = data + 1; local
42 record->type_length = *pos++;
46 record->payload_length = *pos++;
52 len = WPA_GET_BE32(pos);
56 pos += sizeof(u32);
60 if ((int) size < pos - data + 1)
62 record->id_length = *pos++;
66 record->type = record->type_length == 0 ? NULL : pos;
67 pos += record->type_length;
69 record->id = record->id_length == 0 ? NULL : pos;
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_common.cpp163 const char *pos = smaps; local
175 while (pos < end) {
176 if (IsHex(pos[0])) {
177 start = ParseHex(&pos);
178 for (; *pos != '/' && *pos > '\n'; pos++) {}
179 file = *pos == '/';
180 } else if (internal_strncmp(pos, "Rss:", 4) == 0) {
181 while (pos < en
[all...]
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Ddebugfs-vif.c145 int pos; local
147 pos = scnprintf(buf, bufsz, "bss limit = %d\n",
150 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
162 int pos; local
164 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz);
166 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
180 int pos = 0; local
189 pos += scnprintf(buf+pos, bufsz-pos, "typ
402 int pos = 0; local
456 int pos = 0; local
[all...]
/freebsd-current/contrib/wpa/src/p2p/
H A Dp2p_parse.c39 const u8 *pos; local
144 pos = data;
145 msg->p2p_device_addr = pos;
146 pos += ETH_ALEN;
147 msg->config_methods = WPA_GET_BE16(pos);
148 pos += 2;
149 msg->pri_dev_type = pos;
150 pos += 8;
151 msg->num_sec_dev_types = *pos++;
152 if (msg->num_sec_dev_types * 8 > data + len - pos) {
422 const u8 *pos = wpabuf_head_u8(buf); local
709 char *pos = buf; local
786 char *pos = buf; local
[all...]
/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_packet_decoder.c91 const uint8_t *pos, *sync, *begin; local
100 pos = decoder->pos;
101 if (!pos)
102 pos = begin;
104 if (pos == sync)
105 pos += ptps_psb;
107 if (pos < begin)
113 space = pos - begin;
117 pos
131 const uint8_t *pos, *sync; local
153 const uint8_t *begin, *end, *pos; local
173 const uint8_t *begin, *pos; local
[all...]
/freebsd-current/contrib/nvi/ex/
H A Dex_visual.c37 int pos; local
59 pos = '^';
62 pos = '-';
65 pos = '.';
68 pos = '+';
80 "%luz%c%lu", (u_long)sp->lno, pos, cmdp->count);
82 len = snprintf(buf, sizeof(buf), "%luz%c", (u_long)sp->lno, pos);
/freebsd-current/tools/test/stress2/misc/
H A Dsetrlimit.sh76 long pos;
104 arc4random_buf(&pos, sizeof(pos));
105 if (pos < 0)
106 pos = -pos;
107 pos = pos % (limit * 2);
108 if (pos > limit)
110 if (ftruncate(fd, pos)
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dhs20_supplicant.c461 const u8 *sa, const u8 *pos,
473 icon->image = os_memdup(pos, slen);
495 wpa_printf(MSG_DEBUG, "HS 2.0: Download Status Code %u", *pos);
496 if (*pos != 0)
498 pos++;
501 if ((size_t) 1 + pos[0] > slen) {
506 wpa_hexdump_ascii(MSG_DEBUG, "Icon Type", pos + 1, pos[0]);
507 png = os_strncasecmp((char *) pos + 1, "image/png", 9) == 0;
508 slen -= 1 + pos[
460 hs20_process_icon_binary_file(struct wpa_supplicant *wpa_s, const u8 *sa, const u8 *pos, size_t slen, u8 dialog_token) argument
594 const u8 *pos = data; local
857 hs20_osu_add_prov(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, const u8 *osu_ssid, u8 osu_ssid_len, const u8 *osu_ssid2, u8 osu_ssid2_len, const u8 *pos, size_t len) argument
1074 const u8 *pos, *end; local
[all...]
/freebsd-current/contrib/wpa/src/tls/
H A Dtlsv1_record.c154 u8 *pos, *ct_start, *length, *cpayload; local
159 pos = buf;
160 if (pos + TLS_RECORD_HEADER_LEN > buf + buf_size)
164 ct_start = pos;
165 *pos++ = content_type;
167 WPA_PUT_BE16(pos, rl->tls_version);
168 pos += 2;
170 length = pos;
172 pos += 2;
174 cpayload = pos;
[all...]
/freebsd-current/usr.sbin/pmcstudy/
H A Dpmcstudy.c169 int pos; /* Index we are filling to. */ member in struct:counters
473 allocstall1(struct counters *cpu, int pos) argument
482 if (pos != -1) {
483 par = partial->vals[pos] * 1.0;
484 un = unhalt->vals[pos] * 1.0;
495 allocstall2(struct counters *cpu, int pos) argument
504 if (pos != -1) {
505 par = partial->vals[pos] * 1.0;
506 un = unhalt->vals[pos] * 1.0;
517 br_mispredict(struct counters *cpu, int pos) argument
541 br_mispredictib(struct counters *cpu, int pos) argument
595 br_mispredict_broad(struct counters *cpu, int pos) argument
636 splitloadib(struct counters *cpu, int pos) argument
670 splitload(struct counters *cpu, int pos) argument
695 splitload_sb(struct counters *cpu, int pos) argument
720 splitstore_sb(struct counters *cpu, int pos) argument
744 splitstore(struct counters *cpu, int pos) argument
767 contested(struct counters *cpu, int pos) argument
791 contested_has(struct counters *cpu, int pos) argument
815 contestedbroad(struct counters *cpu, int pos) argument
845 blockstoreforward(struct counters *cpu, int pos) argument
869 cache2(struct counters *cpu, int pos) argument
905 datasharing(struct counters *cpu, int pos) argument
933 datasharing_has(struct counters *cpu, int pos) argument
961 cache2ib(struct counters *cpu, int pos) argument
987 cache2has(struct counters *cpu, int pos) argument
1025 cache2broad(struct counters *cpu, int pos) argument
1052 cache1(struct counters *cpu, int pos) argument
1076 cache1ib(struct counters *cpu, int pos) argument
1101 cache1broad(struct counters *cpu, int pos) argument
1126 dtlb_missload(struct counters *cpu, int pos) argument
1153 dtlb_missstore(struct counters *cpu, int pos) argument
1183 itlb_miss(struct counters *cpu, int pos) argument
1207 itlb_miss_broad(struct counters *cpu, int pos) argument
1235 icache_miss(struct counters *cpu, int pos) argument
1263 icache_miss_has(struct counters *cpu, int pos) argument
1289 lcp_stall(struct counters *cpu, int pos) argument
1314 frontendstall(struct counters *cpu, int pos) argument
1338 clears(struct counters *cpu, int pos) argument
1373 clears_broad(struct counters *cpu, int pos) argument
1410 microassist(struct counters *cpu, int pos) argument
1435 microassist_broad(struct counters *cpu, int pos) argument
1467 aliasing(struct counters *cpu, int pos) argument
1491 aliasing_broad(struct counters *cpu, int pos) argument
1516 fpassists(struct counters *cpu, int pos) argument
1539 otherassistavx(struct counters *cpu, int pos) argument
1563 otherassistsse(struct counters *cpu, int pos) argument
1588 efficiency1(struct counters *cpu, int pos) argument
1613 efficiency2(struct counters *cpu, int pos) argument
2054 do_expression(struct counters *cpu, int pos) argument
2156 int pos, i; local
2735 user_expr(struct counters *cpu, int pos) argument
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbase64.c200 char *pos; local
212 pos = strchr(Base64, ch);
213 if (pos == 0) /* A non-base64 character. */
221 target[tarindex] = (pos - Base64) << 2;
229 target[tarindex] |= (pos - Base64) >> 4;
230 target[tarindex+1] = ((pos - Base64) & 0x0f)
240 target[tarindex] |= (pos - Base64) >> 2;
241 target[tarindex+1] = ((pos - Base64) & 0x03)
251 target[tarindex] |= (pos - Base64);
/freebsd-current/contrib/bc/src/
H A Dhistory.c485 * @param pos The index into the buffer.
488 bc_history_prevCharLen(const char* buf, size_t pos) argument
490 size_t end = pos;
491 for (pos -= 1; pos < end && (buf[pos] & 0xC0) == 0x80; --pos)
495 return end - (pos >= end ? 0 : pos);
566 * @param pos Th
571 bc_history_nextLen(const char* buf, size_t buf_len, size_t pos, size_t* col_len) argument
613 bc_history_prevLen(const char* buf, size_t pos) argument
773 bc_history_colPos(const char* buf, size_t buf_len, size_t pos) argument
1037 size_t colpos, len = BC_HIST_BUF_LEN(h), pos = h->pos, extras_len = 0; local
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/
H A Dtst.libdepfullyconnected.ksh75 \$pos = length \$_;
77 \$pos = rindex(\$_, "/", \$pos);
78 \$pos--;
81 push(@new, substr(\$_, \$pos+2, 4));

Completed in 324 milliseconds

1234567891011>>