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

1234567891011>>

/netbsd-current/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-current/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/rfind/char/
H A D2.cc28 gdb::string_view::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 == gdb::string_view::npos );
37 pos
[all...]
H A D3.cc28 gdb::string_view::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-current/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/rfind/char/
H A D2.cc28 gdb::string_view::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 == gdb::string_view::npos );
37 pos
[all...]
H A D3.cc28 gdb::string_view::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-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Dstring_util_gtest.cc11 size_t pos = 0; local
12 EXPECT_EQ(0ul, benchmark::stoul("0", &pos));
13 EXPECT_EQ(1ul, pos);
16 size_t pos = 0; local
17 EXPECT_EQ(7ul, benchmark::stoul("7", &pos));
18 EXPECT_EQ(1ul, pos);
21 size_t pos = 0; local
22 EXPECT_EQ(135ul, benchmark::stoul("135", &pos));
23 EXPECT_EQ(3ul, pos);
27 size_t pos local
33 size_t pos = 0; local
39 size_t pos = 0; local
44 size_t pos = 0; local
49 size_t pos = 0; local
54 size_t pos = 0; local
59 size_t pos = 0; local
70 size_t pos = 0; local
75 size_t pos = 0; local
80 size_t pos = 0; local
85 size_t pos = 0; local
90 size_t pos = 0; local
95 size_t pos = 0; local
100 size_t pos = 0; local
105 size_t pos = 0; local
116 size_t pos = 0; local
121 size_t pos = 0; local
126 size_t pos = 0; local
131 size_t pos = 0; local
136 size_t pos = 0; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/rfind/wchar_t/
H A D2.cc28 std::wstring_view::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_view::npos );
38 pos
[all...]
H A D3.cc29 std::wstring_view::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-current/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/rfind/wchar_t/
H A D2.cc28 std::wstring_view::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_view::npos );
38 pos
[all...]
H A D3.cc29 std::wstring_view::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-current/external/bsd/wpa/dist/src/rsn_supp/
H A Dwpa_ie.c45 u8 *pos; local
57 pos = (u8 *) (hdr + 1);
65 RSN_SELECTOR_PUT(pos, suite);
66 pos += WPA_SELECTOR_LEN;
68 *pos++ = 1;
69 *pos++ = 0;
78 RSN_SELECTOR_PUT(pos, suite);
79 pos += WPA_SELECTOR_LEN;
81 *pos++ = 1;
82 *pos
113 u8 *pos; local
268 u8 *pos, *len; local
358 wpa_parse_vendor_specific(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
394 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
493 const u8 *pos, *end; local
[all...]
/netbsd-current/external/bsd/ipf/dist/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-current/external/bsd/mdocml/dist/
H A Dtbl_opts.c66 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key) argument
70 while (p[*pos] == ' ' || p[*pos] == '\t')
71 (*pos)++;
76 if (p[*pos] == '(') {
77 (*pos)++;
78 while (p[*pos + len] != ')')
85 ln, *pos, "%.*s", len, p + *pos);
91 tbl->opts.tab = p[*pos];
125 int i, pos, len; local
[all...]
H A Dtbl_layout.c65 int ln, const char *p, int *pos)
71 while (p[*pos] == ' ' || p[*pos] == '\t')
72 (*pos)++;
76 if (strchr(".,-=^_ACLNRSaclnrs", p[*pos]) != NULL)
81 if ('(' == p[*pos]) {
82 (*pos)++;
83 while (p[*pos] && ')' != p[*pos])
84 (*pos)
64 mods(struct tbl_node *tbl, struct tbl_cell *cp, int ln, const char *p, int *pos) argument
205 cell(struct tbl_node *tbl, struct tbl_row *rp, int ln, const char *p, int *pos) argument
264 tbl_layout(struct tbl_node *tbl, int ln, const char *p, int pos) argument
354 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos) argument
[all...]
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dftello.c26 long pos; local
27 pos = ftell (stream);
29 return (off_t) pos;
/netbsd-current/crypto/external/bsd/openssl/dist/test/testutil/
H A Drandom.c20 static unsigned int pos = 3; local
22 if (pos == 31)
23 pos = 0;
24 test_random_state[pos] += test_random_state[(pos + 28) % 31];
25 return test_random_state[pos++] / 2;
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/testutil/
H A Drandom.c20 static unsigned int pos = 3; local
22 if (pos == 31)
23 pos = 0;
24 test_random_state[pos] += test_random_state[(pos + 28) % 31];
25 return test_random_state[pos++] / 2;
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dresetlexer.c16 long pos = 0; variable
24 pos = 0;
/netbsd-current/sys/arch/amiga/stand/bootblock/boot/
H A Dtwiddle.c43 static short int pos; local
45 putchar(chars[pos++ & 3]);
/netbsd-current/external/gpl3/gdb/dist/sim/ppc/
H A Dtable.c41 char *pos; member in struct:_open_table
124 file->pos = file->buffer;
171 while (*file->pos == '\0')
182 while (*file->pos != '\0'
183 && *file->pos != '\n'
184 && isspace(*file->pos))
185 file->pos++;
187 if (*file->pos == '#') {
189 file->pos++;
190 } while (*file->pos !
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
H A Dlist.h300 * Loop through the list given by head and set pos to struct in the list.
311 * @param pos Iterator variable of the type of the list elements.
316 #define list_for_each_entry(pos, head, member) \
317 for (pos = __container_of((head)->next, pos, member); \
318 &pos->member != (head); \
319 pos = __container_of(pos->member.next, pos, member))
328 #define list_for_each_entry_safe(pos, tm
[all...]
/netbsd-current/external/bsd/wpa/dist/src/utils/
H A Dext_password_test.c47 char *pos, *pos2; local
52 pos = data->params;
53 if (pos == NULL)
57 while (pos && *pos) {
58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') {
60 pos += nlen + 1;
61 pos2 = pos;
64 buf = ext_password_alloc(pos2 - pos);
[all...]
/netbsd-current/sys/lib/libsa/
H A Dtwiddle.c54 static unsigned int pos; local
57 if ((pos & TWIDDLE_MASK) == 0) {
58 putchar(TWIDDLE_CHARS[(pos >> TWIDDLE_DELAY) & 3]);
61 pos++;
/netbsd-current/external/bsd/less/dist/
H A Dforwback.c75 POSITION pos; local
92 pos = position(BOTTOM_PLUS_ONE);
93 return (pos == NULL_POSITION || pos == ch_length());
101 POSITION pos; local
108 pos = position(0);
109 return (pos == NULL_POSITION || pos == 0);
130 static POSITION forw_line_pfx(POSITION pos, int pfx, int skipeol) argument
139 pos
164 POSITION pos = ch_zero(); /* header lines are at beginning of file */ local
216 forw(int n, POSITION pos, int force, int only_last, int nblank) argument
401 back(int n, POSITION pos, int force, int only_last) argument
462 POSITION pos; local
510 POSITION pos; local
544 POSITION pos = ch_zero(); local
[all...]
/netbsd-current/external/bsd/wpa/dist/hostapd/
H A Dnt_password_hash.c19 char *password, buf[64], *pos; local
29 pos = buf;
30 while (*pos != '\0') {
31 if (*pos == '\r' || *pos == '\n') {
32 *pos = '\0';
35 pos++;

Completed in 447 milliseconds

1234567891011>>