Searched refs:pos (Results 251 - 275 of 1007) sorted by relevance

<<11121314151617181920>>

/freebsd-10.0-release/contrib/mdocml/
H A Dread.c224 pset(const char *buf, int pos, struct mparse *curp) argument
264 if (pos >= 3 && 0 == memcmp(buf, ".Dd", 3)) {
290 int pos; /* byte number in the ln buffer */ local
297 pos = 0;
300 if (0 == pos && '\0' == blk.buf[i])
339 curp->line, pos, NULL);
341 if (pos >= (int)ln.sz)
343 ln.buf[pos++] = '?';
350 if (pos >= (int)ln.sz)
352 ln.buf[pos
786 mandoc_vmsg(enum mandocerr t, struct mparse *m, int ln, int pos, const char *fmt, ...) argument
[all...]
/freebsd-10.0-release/contrib/wpa/src/eap_server/
H A Deap_server_identity.c85 const u8 *pos; local
88 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY,
90 if (pos == NULL) {
103 const u8 *pos; local
116 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY,
118 if (pos == NULL)
121 wpa_hexdump_ascii(MSG_DEBUG, "EAP-Identity: Peer identity", pos, len);
129 os_memcpy(sm->identity, pos, len);
H A Deap_server_vendor_test.c94 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)
H A Deap_server_ikev2.c240 const u8 *pos; local
243 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData,
245 if (pos == NULL) {
256 u8 flags, const u8 *pos, const u8 **end)
261 respData, pos, *end);
345 const u8 *start, *pos, *end; local
351 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData,
353 if (pos == NULL)
356 start = pos;
363 flags = *pos
254 eap_ikev2_process_icv(struct eap_ikev2_data *data, const struct wpabuf *respData, u8 flags, const u8 *pos, const u8 **end) argument
[all...]
H A Deap_server_tnc.c327 const u8 *pos; local
330 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData,
332 if (pos == NULL) {
345 if ((*pos & EAP_TNC_VERSION_MASK) != EAP_TNC_VERSION) {
347 *pos & EAP_TNC_VERSION_MASK);
351 if (*pos & EAP_TNC_FLAGS_START) {
450 const u8 *pos, *end; local
456 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData, &len);
457 if (pos == NULL)
460 end = pos
[all...]
H A Deap_server_tls_common.c284 const u8 **pos, size_t *left)
287 const u8 *end = *pos + *left;
295 tls_msg_len = WPA_GET_BE32(*pos);
298 *pos += 4;
323 eap_server_tls_process_cont(data, *pos, end - *pos) < 0)
328 *pos, end - *pos) < 0)
342 wpabuf_set(&data->tmpbuf, *pos, end - *pos);
283 eap_server_tls_reassemble(struct eap_ssl_data *data, u8 flags, const u8 **pos, size_t *left) argument
382 const u8 *pos; local
[all...]
/freebsd-10.0-release/contrib/xz/src/liblzma/common/
H A Dalone_decoder.c30 size_t pos; member in struct:lzma_coder_s
68 |= (size_t)(in[*in_pos]) << (coder->pos * 8);
70 if (++coder->pos == 4) {
90 coder->pos = 0;
99 |= (lzma_vli)(in[*in_pos]) << (coder->pos * 8);
101 if (++coder->pos < 8)
118 coder->pos = 0;
211 next->coder->pos = 0;
H A Dstream_decoder.c74 size_t pos; member in struct:lzma_coder_s
92 coder->pos = 0;
110 lzma_bufcpy(in, in_pos, in_size, coder->buffer, &coder->pos,
114 if (coder->pos < LZMA_STREAM_HEADER_SIZE)
117 coder->pos = 0;
160 if (coder->pos == 0) {
176 lzma_bufcpy(in, in_pos, in_size, coder->buffer, &coder->pos,
180 if (coder->pos < coder->block_options.header_size)
183 coder->pos = 0;
283 lzma_bufcpy(in, in_pos, in_size, coder->buffer, &coder->pos,
[all...]
/freebsd-10.0-release/lib/libc/iconv/
H A Dcitrus_memstream.h103 _citrus_memory_stream_seek(struct _citrus_memory_stream *ms, size_t pos, int w) argument
111 if (pos >= sz)
113 ms->ms_pos = pos;
116 pos += (ssize_t)ms->ms_pos;
117 if (pos >= sz)
119 ms->ms_pos = pos;
122 if (sz < pos)
124 ms->ms_pos = sz - pos;
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-power-throttle.c56 #define CVMX_PTH_GET_MASK(len, pos) \
57 ((((uint64_t)1 << (len)) - 1) << (pos))
67 int32_t pos; /* position of the field's LSb */ member in struct:cvmx_power_throttle_rfield_t
121 p->pos = 29;
137 m = CVMX_PTH_GET_MASK(p->len, p->pos);
139 return((r & m) >> p->pos);
156 m = CVMX_PTH_GET_MASK(p->len, p->pos);
158 return((~m & r) | ((v << p->pos) & m));
/freebsd-10.0-release/sys/dev/sfxge/common/
H A Defx_vpd.c420 __in unsigned int pos,
428 if (pos + 3U > size) {
433 keyword = EFX_VPD_KEYWORD(tag[pos], tag[pos + 1]);
434 length = tag[pos + 2];
436 if (length == 0 || pos + 3U + length > size) {
495 unsigned int pos; local
518 for (pos = 0; pos != taglen; pos
592 unsigned int pos; local
646 unsigned int pos; local
721 unsigned int pos; local
781 unsigned int pos; local
[all...]
/freebsd-10.0-release/tools/regression/lib/libc/stdio/
H A Dtest-fmemopen.c114 long pos; local
129 pos = ftell(fp);
130 assert(pos == 512);
156 long pos; local
174 pos = ftell(fp);
175 assert(pos == sizeof(str));
194 pos = ftell(fp);
195 assert(pos == 0);
/freebsd-10.0-release/usr.bin/lastcomm/
H A Dreadrec.c195 off_t pos; local
199 if ((pos = ftell(f)) == -1)
201 if (pos == 0)
209 if (fseeko(f, pos - roffsetof(struct acctv2, ac_len2),
212 fseeko(f, pos - len, SEEK_SET) == EOF ||
214 fseeko(f, pos - len, SEEK_SET) == EOF)
220 if (fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF ||
222 fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF)
/freebsd-10.0-release/contrib/groff/src/preproc/pic/
H A Dtroff.cpp87 position pos = start; local
92 simple_line(pos, v[i]);
96 distance vec(v[i] - pos);
100 dot(pos, lt);
104 dot(pos + vec*j, lt);
110 distance vec(v[i] - pos);
113 simple_line(pos, v[i]);
120 position s(pos + dash_gap_vec*j);
131 pos = v[i];
261 inline position troff_output::transform(const position &pos) argument
377 position pos = transform(start); local
397 position pos = transform(v[0]); local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Target/
H A DObjCLanguageRuntime.cpp71 MsgImplMap::iterator pos, end = m_impl_cache.end(); local
72 pos = m_impl_cache.find (ClassAndSel(class_addr, selector));
73 if (pos != end)
74 return (*pos).second;
452 ISAToDescriptorIterator pos = GetDescriptorIterator (name); local
453 if (pos != m_isa_to_descriptor.end())
454 return pos->first;
470 for (ISAToDescriptorIterator pos = m_isa_to_descriptor.begin(); pos != end; ++pos)
483 ISAToDescriptorIterator pos = m_isa_to_descriptor.find (range_pos->second); local
521 ISAToDescriptorIterator pos = GetDescriptorIterator (class_name); local
578 ObjCLanguageRuntime::ISAToDescriptorIterator pos = m_isa_to_descriptor.find(isa); local
[all...]
/freebsd-10.0-release/contrib/libgnuregex/
H A Dregex.c38 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
39 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
40 # define re_match(bufp, string, size, pos, regs) \
41 __re_match (bufp, string, size, pos, regs)
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/
H A Dbss.c878 const u8 *end, *pos; local
880 pos = (const u8 *) (bss + 1);
881 end = pos + bss->ie_len;
883 while (pos + 1 < end) {
884 if (pos + 2 + pos[1] > end)
886 if (pos[0] == ie)
887 return pos;
888 pos += 2 + pos[
906 const u8 *end, *pos; local
938 const u8 *end, *pos; local
982 const u8 *end, *pos; local
[all...]
/freebsd-10.0-release/games/fortune/unstr/
H A Dunstr.c115 off_t pos; local
119 fread(&pos, 1, sizeof(pos), Dataf);
120 fseeko(Inf, be64toh(pos), SEEK_SET);
/freebsd-10.0-release/usr.sbin/ppp/
H A Diplist.h31 int pos; member in struct:iplist_cur
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Interpreter/
H A DCommandInterpreter.cpp642 CommandObject::CommandMap::iterator pos; local
649 pos = m_command_dict.find(cmd);
650 if (pos != m_command_dict.end())
651 command_sp = pos->second;
656 pos = m_alias_dict.find(cmd);
657 if (pos != m_alias_dict.end())
658 command_sp = pos->second;
663 pos = m_user_dict.find(cmd);
664 if (pos != m_user_dict.end())
665 command_sp = pos
993 CommandObject::CommandMap::iterator pos = m_alias_dict.find(alias_name); local
1004 CommandObject::CommandMap::iterator pos = m_user_dict.find(alias_name); local
1050 CommandObject::CommandMap::const_iterator pos; local
1067 CommandObject::CommandMap::const_iterator pos; local
1190 size_t pos = s.find_first_not_of (k_white_space); local
1206 size_t pos = s.find ("--", offset); local
1280 size_t pos = command.find_first_not_of(k_valid_command_chars); local
1375 size_t pos = 0; local
1818 size_t pos = remainder.find_first_not_of (white_space); local
2188 OptionArgMap::iterator pos; local
2206 OptionArgMap::iterator pos = m_alias_options.find(alias_name); local
2269 size_t pos = raw_input_string.find(" -- "); local
2822 CommandObject::CommandMap::const_iterator pos; local
[all...]
/freebsd-10.0-release/contrib/wpa/src/radius/
H A Dradius.c265 unsigned char *pos; local
276 pos = (unsigned char *) (hdr + 1);
282 print_char(pos[i]);
289 os_memcpy(&addr, pos, 4);
300 struct in6_addr *addr = (struct in6_addr *) pos;
312 printf(" %02x", pos[i]);
318 printf(" Value: %u\n", WPA_GET_BE32(pos));
629 unsigned char *pos, *end; local
659 pos = wpabuf_mhead_u8(msg->buf) + sizeof(struct radius_hdr);
661 while (pos < en
688 const u8 *pos = data; local
888 u8 *data, *pos; local
950 const u8 *pos; local
1023 u8 hash[MD5_MAC_LEN], saltbuf[2], *pos; local
1146 u8 *pos; local
1215 size_t padlen, i, buf_len, pos; local
1423 u8 *pos; local
[all...]
/freebsd-10.0-release/contrib/gperf/src/
H A Dpositions.h89 bool contains (int pos) const;
90 void add (int pos);
91 void remove (int pos);
/freebsd-10.0-release/contrib/libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/
H A Derase_no_store_hash_fn_imps.hpp60 erase_in_pos_imp(const_key_reference r_key, size_type pos) argument
63 entry_pointer p_e = m_entries[pos];
77 erase_entry_pointer(m_entries[pos]);
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DDynamicRegisterInfo.cpp245 name_collection::iterator pos, end = m_set_names.end();
246 for (pos = m_set_names.begin(); pos != end; ++pos)
248 if (*pos == set_name)
249 return std::distance (m_set_names.begin(), pos);
262 reg_collection::const_iterator pos, end = m_regs.end();
263 for (pos = m_regs.begin(); pos != end; ++pos)
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteRegisterContext.h134 name_collection::iterator pos, end = m_set_names.end();
135 for (pos = m_set_names.begin(); pos != end; ++pos)
137 if (*pos == set_name)
138 return static_cast<uint32_t>(std::distance (m_set_names.begin(), pos));
151 reg_collection::const_iterator pos, end = m_regs.end();
152 for (pos = m_regs.begin(); pos != end; ++pos)
[all...]

Completed in 403 milliseconds

<<11121314151617181920>>