Searched refs:pos (Results 1 - 25 of 1356) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/usr.bin/m4/lib/
H A Dohash_enum.c23 ohash_first(struct ohash *h, unsigned int *pos) argument
25 *pos = 0;
26 return ohash_next(h, pos);
30 ohash_next(struct ohash *h, unsigned int *pos) argument
32 for (; *pos < h->size; (*pos)++)
33 if (h->t[*pos].p != DELETED && h->t[*pos].p != NULL)
34 return __UNCONST(h->t[(*pos)++].p);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/
H A D2.cc49 std::forward_list<int>::const_iterator pos = fl.cbegin(); local
50 ++pos;
51 VERIFY( *pos == 1 );
53 std::forward_list<int>::iterator ret = fl.insert_after(pos, 0, 42);
54 VERIFY( ret == pos );
56 ret = fl.insert_after(pos, 5, 42);
57 VERIFY( *pos == 1 );
59 ++pos;
60 VERIFY( *pos == 42 );
61 ++pos;
77 std::forward_list<int>::const_iterator pos = fl.cbegin(); local
103 std::forward_list<int>::const_iterator pos = fl.cbegin(); local
130 std::forward_list<std::string>::const_iterator pos = fl.cbegin(); local
[all...]
H A D3.cc30 // pos is useable and points to current element
36 std::forward_list<int>::const_iterator pos = fl.cbegin(); local
37 ++pos;
38 VERIFY(*pos == 1);
40 fl.erase_after(pos);
42 VERIFY(*pos == 1);
43 ++pos;
44 VERIFY(*pos == 3);
50 // pos is useable and points to current element
56 std::forward_list<int>::const_iterator pos local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/
H A D4_neg.cc27 std::streampos pos; local
31 n = pos; // { dg-error "cannot convert" "" { xfail *-*-* } }
34 n = static_cast<long>(pos); // { dg-error "invalid static_cast" "" { xfail *-*-* } }
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/
H A D4_neg.cc28 std::streampos pos; local
32 n = pos; // { dg-error "cannot convert" "" { xfail *-*-* } }
35 n = static_cast<long>(pos); // { dg-error "invalid static_cast" "" { xfail *-*-* } }
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A Dpr14692.c4 void eidecpos_1 (unsigned char *pos, long n) argument
9 const unsigned char *dc_ptr1 = pos;
10 pos--;
11 if (dc_ptr1 - pos == 1)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A Dpr14692.c4 void eidecpos_1 (unsigned char *pos, long n) argument
9 const unsigned char *dc_ptr1 = pos;
10 pos--;
11 if (dc_ptr1 - pos == 1)
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/
H A Duuid.c22 const char *pos; local
25 pos = str;
28 if (hexstr2bin(pos, opos, 4))
30 pos += 8;
33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
35 pos += 4;
38 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
40 pos
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/21_strings/basic_string/rfind/char/
H A D2.cc28 std::string::size_type pos; local
29 pos = z.find_last_of("ab");
30 VERIFY( pos == 1 );
31 pos = z.find_last_of("Xa");
32 VERIFY( pos == 0 );
33 pos = z.find_last_of("Xb");
34 VERIFY( pos == 1 );
35 pos = z.find_last_of("XYZ");
36 VERIFY( pos == std::string::npos );
37 pos
[all...]
H A D3.cc28 std::string::size_type pos; local
32 pos = x.find_last_not_of('X');
33 VERIFY( pos == npos );
34 pos = x.find_last_not_of("XYZ");
35 VERIFY( pos == npos );
38 pos = y.find_last_not_of('X');
39 VERIFY( pos == 0 );
40 pos = y.find_last_not_of('a');
41 VERIFY( pos == npos );
42 pos
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/21_strings/basic_string/rfind/wchar_t/
H A D2.cc27 std::wstring::size_type pos; local
29 pos = z.find_last_of(L"ab");
30 VERIFY( pos == 1 );
31 pos = z.find_last_of(L"Xa");
32 VERIFY( pos == 0 );
33 pos = z.find_last_of(L"Xb");
34 VERIFY( pos == 1 );
35 pos = z.find_last_of(L"XYZ");
36 VERIFY( pos == std::wstring::npos );
37 pos
[all...]
H A D3.cc28 std::wstring::size_type pos; local
32 pos = x.find_last_not_of(L'X');
33 VERIFY( pos == npos );
34 pos = x.find_last_not_of(L"XYZ");
35 VERIFY( pos == npos );
38 pos = y.find_last_not_of(L'X');
39 VERIFY( pos == 0 );
40 pos = y.find_last_not_of(L'a');
41 VERIFY( pos == npos );
42 pos
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/21_strings/basic_string/rfind/char/
H A D2.cc29 std::string::size_type pos; local
30 pos = z.find_last_of("ab");
31 VERIFY( pos == 1 );
32 pos = z.find_last_of("Xa");
33 VERIFY( pos == 0 );
34 pos = z.find_last_of("Xb");
35 VERIFY( pos == 1 );
36 pos = z.find_last_of("XYZ");
37 VERIFY( pos == std::string::npos );
38 pos
[all...]
H A D3.cc29 std::string::size_type pos; local
33 pos = x.find_last_not_of('X');
34 VERIFY( pos == npos );
35 pos = x.find_last_not_of("XYZ");
36 VERIFY( pos == npos );
39 pos = y.find_last_not_of('X');
40 VERIFY( pos == 0 );
41 pos = y.find_last_not_of('a');
42 VERIFY( pos == npos );
43 pos
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/21_strings/basic_string/rfind/wchar_t/
H A D2.cc28 std::wstring::size_type pos; local
30 pos = z.find_last_of(L"ab");
31 VERIFY( pos == 1 );
32 pos = z.find_last_of(L"Xa");
33 VERIFY( pos == 0 );
34 pos = z.find_last_of(L"Xb");
35 VERIFY( pos == 1 );
36 pos = z.find_last_of(L"XYZ");
37 VERIFY( pos == std::wstring::npos );
38 pos
[all...]
H A D3.cc29 std::wstring::size_type pos; local
33 pos = x.find_last_not_of(L'X');
34 VERIFY( pos == npos );
35 pos = x.find_last_not_of(L"XYZ");
36 VERIFY( pos == npos );
39 pos = y.find_last_not_of(L'X');
40 VERIFY( pos == 0 );
41 pos = y.find_last_not_of(L'a');
42 VERIFY( pos == npos );
43 pos
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/rsn_supp/
H A Dwpa_ie.c57 const u8 *pos; local
93 pos = (const u8 *) (hdr + 1);
97 data->group_cipher = wpa_selector_to_bitfield(pos);
98 pos += WPA_SELECTOR_LEN;
108 count = WPA_GET_LE16(pos);
109 pos += 2;
117 data->pairwise_cipher |= wpa_selector_to_bitfield(pos);
118 pos += WPA_SELECTOR_LEN;
129 count = WPA_GET_LE16(pos);
130 pos
186 u8 *pos; local
260 u8 *pos; local
407 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
514 const u8 *pos, *end; local
[all...]
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/liblzma/lzma/
H A Dfastpos.h25 // pos return
51 // get_pos_slot(pos) is the basic version. get_pos_slot_2(pos)
52 // assumes that pos >= FULL_DISTANCES, thus the result is at least
53 // FULL_DISTANCES_BITS * 2. Using get_pos_slot(pos) instead of
54 // get_pos_slot_2(pos) would give the same result, but get_pos_slot_2(pos)
79 # define get_pos_slot(pos) ((pos) <= 4 ? (pos)
82 get_pos_slot_2(uint32_t pos) argument
108 get_pos_slot(uint32_t pos) argument
124 get_pos_slot_2(uint32_t pos) argument
[all...]
/netbsd-6-1-5-RELEASE/dist/ipf/tools/
H A Dlex_var.h12 extern long pos;
15 if (pos >= string_start && pos <= string_end) { \
16 buf[0] = string_val[pos - string_start]; \
17 pos++; \
30 pos++; \
38 # define input() (((pos >= string_start) && (pos < string_end)) ? \
39 yysptr = yysbuf, string_val[pos++ - string_start] : \
41 getc(yyin)) == 10 ? (pos
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/23_containers/forward_list/operations/
H A D2.cc36 std::forward_list<int>::const_iterator pos = fl.cbefore_begin(); local
38 ++pos;
39 VERIFY(*pos == 6);
41 ++pos;
42 VERIFY(*pos == 8);
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dftello.c24 long pos; local
25 pos = ftell (stream);
27 return (off_t) pos;
/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Dresetlexer.c16 long pos = 0; variable
24 pos = 0;
/netbsd-6-1-5-RELEASE/sys/arch/amiga/stand/bootblock/boot/
H A Dtwiddle.c43 static short int pos; local
45 putchar(chars[pos++ & 3]);
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/common/
H A Dieee802_11_common.c22 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, argument
40 oui = WPA_GET_BE24(pos);
45 switch (pos[3]) {
49 elems->wpa_ie = pos;
61 switch (pos[4]) {
70 elems->wmm = pos;
74 elems->wmm_tspec = pos;
81 pos[4], (unsigned long) elen);
87 elems->wps_ie = pos;
94 pos[
139 const u8 *pos = start; local
265 const u8 *pos, *end; local
288 const u8 *end, *pos, *ie; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/wpa_supplicant/
H A Dctrl_iface.c362 char *pos, *id_pos; local
367 pos = os_strchr(rsp, '-');
368 if (pos == NULL)
370 *pos++ = '\0';
371 id_pos = pos;
372 pos = os_strchr(pos, ':');
373 if (pos == NULL)
375 *pos++ = '\0';
379 (u8 *) pos, os_strle
446 char *pos, *end, tmp[30]; local
551 char *pos; local
585 char *pos, *end; local
633 wpa_supplicant_cipher_txt(char *pos, char *end, int cipher) argument
680 wpa_supplicant_ie_txt(char *pos, char *end, const char *proto, const u8 *ie, size_t ie_len) argument
777 wpa_supplicant_wps_ie_txt_buf(char *pos, char *end, struct wpabuf *wps_ie) argument
801 wpa_supplicant_wps_ie_txt(char *pos, char *end, const struct wpa_bss *bss) argument
818 char *pos, *end; local
874 char *pos, *end; local
1184 char *pos, *end; local
1232 char *pos, *end; local
1289 char *pos, *end; local
1342 char *pos, *end; local
1384 char *pos, *end; local
1493 char *pos, *end; local
1922 char *pos; local
2029 char *pos, *end; local
2070 char *pos, *end; local
[all...]

Completed in 361 milliseconds

1234567891011>>