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

1234567891011>>

/freebsd-10.0-release/contrib/nvi/ex/
H A Dex_visual.c41 int pos; local
63 pos = '^';
66 pos = '-';
69 pos = '.';
72 pos = '+';
84 "%luz%c%lu", (u_long)sp->lno, pos, cmdp->count);
86 len = snprintf(buf, sizeof(buf), "%luz%c", (u_long)sp->lno, pos);
/freebsd-10.0-release/usr.sbin/nandtool/
H A Dnand_erase.c44 off_t pos, count; local
72 pos = chip_params.page_size * param_get_intx(params, "page");
75 pos = block_size * param_get_intx(params, "block");
77 } else if (param_has_value(params, "pos")) {
78 pos = param_get_intx(params, "pos");
87 pos = 0;
91 if (pos % block_size) {
98 start = pos / block_size;
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Target/
H A DMemory.cpp78 BlockMap::iterator pos = m_cache.find (curr_addr); local
79 if (pos != m_cache.end())
80 m_cache.erase(pos);
138 BlockMap::const_iterator pos = m_cache.find (curr_addr); local
141 if (pos != end)
147 memcpy (dst_buf + dst_len - bytes_left, pos->second->GetBytes() + cache_offset, curr_read_size);
156 for (++pos; (pos != end) && (bytes_left > 0); ++pos)
160 if (pos
245 OffsetToChunkSize::const_iterator pos = m_offset_to_chunk_size.begin(); local
342 OffsetToChunkSize::iterator pos = m_offset_to_chunk_size.find (offset); local
374 PermissionsToBlockMap::iterator pos, end = m_memory_map.end(); local
445 PermissionsToBlockMap::iterator pos, end = m_memory_map.end(); local
[all...]
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/
H A Dwnm_sta.c235 u8 *pos = (u8 *) frm; /* point to action field */ local
244 pos += 4 + key_len_total;
245 if (pos > frm + len) {
249 while (pos - frm < len) {
250 u8 ie_len = *(pos + 1);
251 if (pos + 2 + ie_len > frm + len) {
255 wpa_hexdump(MSG_DEBUG, "WNM: Element", pos, 2 + ie_len);
256 if (*pos == WLAN_EID_WNMSLEEP)
257 wnmsleep_ie = (struct wnm_sleep_element *) pos;
258 else if (*pos
301 u8 buf[1000], *pos; local
335 ieee802_11_rx_bss_trans_mgmt_req(struct wpa_supplicant *wpa_s, const u8 *pos, const u8 *end, int reply) argument
393 const u8 *pos, *end; local
[all...]
H A Dautoscan_exponential.c27 const char *pos; local
34 pos = os_strchr(params, ':');
35 if (pos == NULL)
38 pos++;
39 data->limit = atoi(pos);
H A Dconfig.c296 const char *pos; local
300 pos = os_strrchr(value, '"');
301 if (pos)
302 len = pos - value;
431 char *buf, *pos, *end; local
433 pos = buf = os_zalloc(10);
439 ret = os_snprintf(pos, end - pos, "%sWPA", first ? "" : " ");
440 if (ret < 0 || ret >= end - pos)
442 pos
541 char *buf, *pos, *end; local
687 char *buf, *pos, *end; local
876 char *buf, *pos, *end; local
925 const char *pos; local
998 char *buf, *pos, *end; local
1121 char *buf, *pos, *end; local
1385 const char *pos; local
1439 char *value, *end, *pos; local
2584 struct wpa_config_blob *pos = config->blobs, *prev = NULL; local
2687 wpa_global_config_parse_int(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2716 wpa_global_config_parse_str(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2751 wpa_global_config_parse_bin(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2780 wpa_config_process_country(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2818 wpa_config_process_uuid(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2833 wpa_config_process_device_type( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2841 wpa_config_process_os_version(const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2855 wpa_config_process_wps_vendor_ext_m1( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2894 wpa_config_process_sec_device_type( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2916 wpa_config_process_p2p_pref_chan( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
2967 wpa_config_process_hessid( const struct global_parse_data *data, struct wpa_config *config, int line, const char *pos) argument
3086 wpa_config_process_global(struct wpa_config *config, char *pos, int line) argument
[all...]
/freebsd-10.0-release/lib/libc/gen/
H A Dgetnetgrent.c421 char *epos, *gpos, *pos, *spos; local
450 pos = lp->l_line;
452 while (pos != NULL && *pos != '\0') {
453 if (*pos == '(') {
459 pos++;
460 gpos = strsep(&pos, ")");
517 spos = strsep(&pos, ", \t");
521 if (pos == NULL)
523 while (*pos
536 char *linep, *olinep, *pos, *spos; local
[all...]
/freebsd-10.0-release/contrib/wpa/src/ap/
H A Dwnm_ap.c57 u8 *pos; local
105 pos = (u8 *)mgmt->u.action.u.wnm_sleep_resp.variable;
111 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos);
112 pos += gtk_elem_len;
116 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos);
123 pos += igtk_elem_len;
132 os_memcpy(pos, &wnmsleep_ie, wnmsleep_ie_len);
134 pos += wnmsleep_ie_len;
136 os_memcpy(pos, wnmtfs_ie, wnmtfs_ie_len);
191 const u8 *pos local
[all...]
/freebsd-10.0-release/contrib/wpa/src/eap_peer/
H A Dtncc.c588 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos) argument
596 os_memcpy(pos, imc->imc_send, imc->imc_send_len);
597 pos += imc->imc_send_len;
603 return pos;
656 char *pos = os_strstr(start, "<Type>"); local
657 if (pos == NULL)
659 pos += 6;
660 *type = strtoul(pos, NULL, 16);
667 char *pos, *pos2; local
670 pos
693 char *pos, *pos2, saved; local
737 char *buf, *start, *end, *pos, *pos2, *payload; local
1056 char *pos, *pos2; local
1119 char *config, *end, *pos, *line_end; local
1331 const u8 *pos; local
[all...]
H A Deap_otp.c33 const u8 *pos, *password; local
37 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len);
38 if (pos == NULL) {
43 pos, len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
/freebsd-10.0-release/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-10.0-release/contrib/ipfilter/lib/
H A Dkmem.c95 int kvm_read(kvm, pos, buffer, size)
97 u_long pos;
104 if (lseek(*kvm, pos, 0) == -1) {
141 int kmemcpy(buf, pos, n)
143 long pos;
155 while ((r = kvm_read(kvm_f, pos, buf, n)) < n)
158 fprintf(stderr, "pos=0x%lx ", (u_long)pos);
165 pos += r;
171 int kstrncpy(buf, pos,
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Core/
H A DVMRange.cpp23 VMRange::const_iterator pos; local
25 pos = std::find_if( coll.begin(), end, in_range_predicate );
26 if (pos != end)
35 VMRange::const_iterator pos; local
37 pos = std::find_if( coll.begin(), end, in_range_predicate );
38 if (pos != end)
49 VMRange::const_iterator pos = std::find_if (begin, end, in_range_predicate); local
50 if (pos != end)
51 return std::distance (begin, pos);
H A DLog.cpp355 CallbackMapIter pos = callback_map.find(channel); local
356 if (pos != callback_map.end())
358 log_callbacks = pos->second;
375 CallbackMapIter pos, end = callback_map.end(); local
377 for (pos = callback_map.begin(); pos != end; ++pos)
378 pos->second.enable (log_stream_sp, log_options, categories, feedback_strm);
393 LogChannelMapIter pos, end = map.end(); local
394 for (pos
414 CallbackMapIter pos, end = callback_map.end(); local
451 CallbackMapIter pos, end = callback_map.end(); local
495 LogChannelMapIter pos = channel_map.find (log_channel_name); local
[all...]
H A DBroadcaster.cpp65 collection::iterator pos, end = m_listeners.end(); local
66 for (pos = m_listeners.begin(); pos != end; ++pos)
67 pos->first->BroadcasterWillDestruct (this);
88 event_names_map::const_iterator pos = m_event_names.find(bit); local
89 if (pos != end)
99 s.PutCString(pos->second.c_str());
121 collection::iterator pos, end = m_listeners.end(); local
126 for (pos
187 collection::iterator pos, end = m_listeners.end(); local
260 collection::iterator pos, end = m_listeners.end(); local
[all...]
/freebsd-10.0-release/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));
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DSTLUtils.h67 typename T::const_iterator pos; local
71 for (pos=coll.begin(); pos!=coll.end(); ++pos) {
72 s << *pos << separator_cstr;
H A DUniqueCStringMap.h167 const_iterator pos = std::lower_bound (m_map.begin(), end, search_entry); local
168 if (pos != end)
170 if (pos->cstring == unique_cstr)
171 return pos->value;
187 const_iterator pos = std::lower_bound (m_map.begin(), end, search_entry); local
188 if (pos != end)
190 const char *pos_cstr = pos->cstring;
192 return &(*pos);
228 const_iterator pos, end = m_map.end(); local
229 for (pos
245 const_iterator pos, end = m_map.end(); local
[all...]
/freebsd-10.0-release/contrib/wpa/src/eap_server/
H A Deap_server_gtc.c80 const u8 *pos; local
83 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len);
84 if (pos == NULL || len < 1) {
97 const u8 *pos; local
100 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen);
101 if (pos == NULL || rlen < 1)
104 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-GTC: Response", pos, rlen);
117 end = pos + rlen;
118 pos += 9;
119 pos2 = pos;
[all...]
/freebsd-10.0-release/contrib/wpa/src/rsn_supp/
H A Dtdls.c79 static u8 * wpa_add_tdls_timeoutie(u8 *pos, u8 *ie, size_t ie_len, u32 tsecs);
137 static u8 * wpa_add_ie(u8 *pos, const u8 *ie, size_t ie_len) argument
139 os_memcpy(pos, ie, ie_len);
140 return pos + ie_len;
422 u8 *buf, *pos; local
434 pos = buf;
437 os_memcpy(pos, _lnkid->init_sta, ETH_ALEN);
438 pos += ETH_ALEN;
440 os_memcpy(pos, _lnkid->resp_sta, ETH_ALEN);
441 pos
484 u8 *buf, *pos; local
645 u8 *rbuf, *pos; local
781 const u8 *pos; local
897 u8 *rbuf, *pos, *count_pos; local
1073 u8 *rbuf, *pos; local
1156 u8 *rbuf, *pos; local
1700 const u8 *pos; local
1904 const u8 *pos; local
2026 wpa_add_tdls_timeoutie(u8 *pos, u8 *ie, size_t ie_len, u32 tsecs) argument
[all...]
/freebsd-10.0-release/sys/ofed/include/linux/
H A Dbitops.h127 int pos; local
129 pos = size / BITS_PER_LONG;
131 bit = BITS_PER_LONG * pos;
132 addr += pos;
138 while (--pos) {
153 int pos; local
157 pos = offset / BITS_PER_LONG;
159 bit = BITS_PER_LONG * pos;
160 addr += pos;
191 int pos; local
385 __reg_op(unsigned long *bitmap, int pos, int order, int reg_op) argument
454 int pos, end; /* scans bitmap by regions of size order */ local
477 bitmap_release_region(unsigned long *bitmap, int pos, int order) argument
[all...]
/freebsd-10.0-release/contrib/mdocml/
H A Droff.c138 int ppos, /* original pos in buffer */ \
139 int pos, /* current pos in buffer */ \
436 roff_res(struct roff *r, char **bufp, size_t *szp, int ln, int pos) argument
450 cp = *bufp + pos;
530 pos = stesc - *bufp;
548 mandoc_msg(MANDOCERR_ROFFLOOP, r->parse, ln, pos, NULL);
597 size_t *szp, int pos, int *offs)
608 e = roff_res(r, bufp, szp, ln, pos);
613 ppos = pos;
596 roff_parseln(struct roff *r, int ln, char **bufp, size_t *szp, int pos, int *offs) argument
702 roff_parse(struct roff *r, const char *buf, int *pos) argument
1063 roff_evalcond(const char *v, int *pos) argument
1519 roff_getname(struct roff *r, char **cpp, int ln, int pos) argument
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzfs_core/common/
H A Dlibzfs_core_compat.c42 int pos; local
68 pos = strcspn(buf, "@");
69 strlcpy(zc->zc_name, buf, pos + 1);
70 strlcpy(zc->zc_value, buf + pos + 1, MAXPATHLEN);
90 pos = strcspn(buf, "@");
91 strlcpy(zc->zc_name, buf, pos + 1);
104 pos = strcspn(buf, "@");
105 strlcpy(zc->zc_name, buf, pos + 1);
106 strlcpy(zc->zc_value, buf + pos + 1, MAXPATHLEN);
127 pos
[all...]
/freebsd-10.0-release/contrib/libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/
H A Dinsert_no_store_hash_fn_imps.hpp55 const size_type pos = ranged_hash_fn_base::operator()(r_key); local
56 entry_pointer p_e = m_entries[pos];
74 return std::make_pair(insert_new_imp(r_val, pos), true);
/freebsd-10.0-release/contrib/wpa/src/crypto/
H A Daes-ctr.c30 u8 *pos = data; local
43 pos[j] ^= buf[j];
44 pos += len;

Completed in 315 milliseconds

1234567891011>>