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

12

/bionic/libc/kernel/uapi/linux/netfilter/
H A Dx_tables.h100 #define xt_entry_foreach(pos,ehead,esize) for((pos) = (typeof(pos)) (ehead); (pos) < (typeof(pos)) ((char *) (ehead) + (esize)); (pos) = (typeof(pos)) ((char *) (pos) + (pos)->next_offset))
101 #define xt_ematch_foreach(pos,entr
[all...]
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/
H A Dx_tables.h100 #define xt_entry_foreach(pos,ehead,esize) for((pos) = (typeof(pos)) (ehead); (pos) < (typeof(pos)) ((char *) (ehead) + (esize)); (pos) = (typeof(pos)) ((char *) (pos) + (pos)->next_offset))
101 #define xt_ematch_foreach(pos,entr
[all...]
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/netfilter/
H A Dx_tables.h100 #define xt_entry_foreach(pos,ehead,esize) for((pos) = (typeof(pos)) (ehead); (pos) < (typeof(pos)) ((char *) (ehead) + (esize)); (pos) = (typeof(pos)) ((char *) (pos) + (pos)->next_offset))
101 #define xt_ematch_foreach(pos,entr
[all...]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dopen_wmemstream.c33 size_t *psize; /* point to min(pos, len) */
34 size_t pos; /* current position */ member in struct:state
47 end = (st->pos + l);
63 nmc = (st->size - st->pos) * sizeof(wchar_t);
64 len = mbsnrtowcs(st->string + st->pos, &b, nmc, l, &st->mbs);
67 st->pos += len;
69 if (st->pos > st->len) {
70 st->len = st->pos;
74 *st->psize = st->pos;
89 base = st->pos;
[all...]
H A Dopen_memstream.c32 size_t *psize; /* point to min(pos, len) */
33 size_t pos; /* current position */ member in struct:state
45 end = (st->pos + l);
62 st->string[st->pos + i] = b[i];
63 st->pos += l;
65 if (st->pos > st->len) {
66 st->len = st->pos;
70 *st->psize = st->pos;
85 base = st->pos;
97 st->pos
[all...]
/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dbase64.c197 char *pos; local
209 pos = strchr(Base64, ch);
210 if (pos == 0) /* A non-base64 character. */
218 target[tarindex] = (pos - Base64) << 2;
226 target[tarindex] |= (pos - Base64) >> 4;
227 nextbyte = ((pos - Base64) & 0x0f) << 4;
240 target[tarindex] |= (pos - Base64) >> 2;
241 nextbyte = ((pos - Base64) & 0x03) << 6;
254 target[tarindex] |= (pos - Base64);
/bionic/linker/
H A Dlinker_utils.cpp40 size_t pos = 0; local
41 while (pos < str->size()) {
42 pos = str->find("$", pos);
43 if (pos == std::string::npos) break;
47 if (str->substr(pos + 1, token.size()) == token) {
48 str->replace(pos, token.size() + 1, replacement);
49 // -1 to compensate for the ++pos below.
50 pos += replacement.size() - 1;
52 } else if (str->substr(pos
[all...]
/bionic/libc/arch-arm64/generic/bionic/
H A Dstrcmp.S56 #define pos x11 define
89 clz pos, syndrome
91 lsl data1, data1, pos
92 lsl data2, data2, pos
118 clz pos, syndrome
123 lsl data1, data1, pos
124 lsl data2, data2, pos
H A Dstrncmp.S57 #define pos x12 define
127 clz pos, syndrome
129 lsl data1, data1, pos
130 lsl data2, data2, pos
156 clz pos, syndrome
161 lsl data1, data1, pos
162 lsl data2, data2, pos
H A Dstring_copy.S93 #define pos x12 define
133 clz pos, has_nul1
134 add tmp1, pos, #0x8
167 clz pos, has_nul2
168 add tmp1, pos, #0x8
H A Dstrnlen.S52 #define pos x13 define
132 clz pos, has_nul2
133 add len, len, pos, lsr #3 /* Bits to bytes. */
/bionic/libc/bionic/
H A Dlibc_init_common.cpp221 int pos = 0; local
223 while (pos < MAX_ENV_LEN) {
224 if (name[pos] == '\0') {
227 if (name[pos] == '=' && first_equal_pos < 0) {
228 first_equal_pos = pos;
230 pos++;
234 if (pos >= MAX_ENV_LEN) {
/bionic/tests/
H A Dstring_test.cpp448 size_t pos = random() % state.MAX_LEN; local
450 if (pos >= state.len[i] - 1) {
457 state.ptr1[pos] = seek_char;
458 expected = state.ptr1 + pos;
482 size_t pos = 1 + (random() % (state.MAX_LEN - 1)); local
485 if (pos >= state.len[i] - 1) {
490 memcpy(state.ptr1, state.ptr2, pos);
491 if (state.ptr1[pos] > state.ptr2[pos]) {
493 } else if (state.ptr1[pos]
511 size_t pos = random() % state.MAX_LEN; local
535 size_t pos = random() % state.MAX_LEN; local
565 size_t pos = random() % state.MAX_LEN; local
592 size_t pos = random() % state.MAX_LEN; local
629 size_t pos = strlen(state.ptr1); local
650 size_t pos = 1 + (random() % (state.MAX_LEN - 1)); local
760 size_t pos = random() % state.MAX_LEN; local
785 size_t pos = random() % state.MAX_LEN; local
814 size_t pos = random() % state.MAX_LEN; local
837 int pos = (state.len[i] == 0) ? 0 : (random() % state.len[i]); local
859 int pos = (state.len[i] == 0) ? 0 : (random() % state.len[i]); local
875 size_t pos = random() % (state.MAX_LEN - state.len[i]); local
898 size_t pos = random () % (state.MAX_LEN - state.len[i]); local
916 size_t pos = random() % (state.MAX_LEN - state.len[i]); local
936 size_t pos = 64; local
950 ASSERT_TRUE(memmove(ptr2 + pos, ptr, len) == ptr2 + pos); local
[all...]
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dregcomp.c164 static void doinsert(struct parse *p, sop op, sopno opnd, sopno pos);
165 static void dofwd(struct parse *p, sopno pos, sopno value);
200 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos)
201 #define AHEAD(pos) dofwd(p, pos, HERE()-(pos))
202 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
399 sopno pos; local
621 sopno pos, i; local
1699 doinsert( struct parse *p, sop op, sopno opnd, sopno pos) argument
1740 dofwd( struct parse *p, sopno pos, sopno value) argument
[all...]
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
H A Dgetopt_long.c158 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; local
171 pos = cstart;
173 if (pos >= panonopt_end)
174 pos -= nnonopts;
176 pos += nopts;
177 swap = nargv[pos];
179 ((char **) nargv)[pos] = nargv[cstart];
/bionic/tools/versioner/src/
H A DPreprocessor.cpp318 size_t pos = line.find("*/", line_index); local
319 if (pos == std::string::npos) {
326 current_location.column = pos + 2;
331 size_t pos = line.find_first_not_of(" \t", line_index); local
332 if (pos == std::string::npos) {
337 current_location.column = pos + 1;
338 if (line[pos] != '/') {
344 if (line.length() <= pos + 1) {
351 if (line[pos + 1] == '/') {
354 } else if (line[pos
[all...]
/bionic/tools/relocation_packer/src/
H A Delf_file_unittest.cc30 size_t pos = data_dir.rfind('/'); local
31 ASSERT_NE(std::string::npos, pos);
33 data_dir.erase(pos);
/bionic/libc/stdio/
H A Dstdio.cpp590 int fsetpos(FILE* fp, const fpos_t* pos) { argument
592 return fseeko(fp, *pos, SEEK_SET);
595 int fsetpos64(FILE* fp, const fpos64_t* pos) { argument
597 return fseeko64(fp, *pos, SEEK_SET);
618 int fgetpos(FILE* fp, fpos_t* pos) { argument
620 *pos = ftello(fp);
621 return (*pos == -1) ? -1 : 0;
624 int fgetpos64(FILE* fp, fpos64_t* pos) { argument
626 *pos = ftello64(fp);
627 return (*pos
[all...]
/bionic/libc/kernel/uapi/drm/
H A Dexynos_drm.h140 struct drm_exynos_pos pos; member in struct:drm_exynos_ipp_config
/bionic/libc/kernel/uapi/linux/
H A Dvirtio_gpu.h72 struct virtio_gpu_cursor_pos pos; member in struct:virtio_gpu_update_cursor
H A Dsoundcard.h661 #define SEQ_PANNING(dev,voice,pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos + 128) / 2)
670 #define SEQ_SONGPOS(pos) _TIMER_EVENT(TMR_SPP, pos)
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/
H A Dexynos_drm.h140 struct drm_exynos_pos pos; member in struct:drm_exynos_ipp_config
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dvirtio_gpu.h72 struct virtio_gpu_cursor_pos pos; member in struct:virtio_gpu_update_cursor
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/
H A Dexynos_drm.h140 struct drm_exynos_pos pos; member in struct:drm_exynos_ipp_config
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dvirtio_gpu.h72 struct virtio_gpu_cursor_pos pos; member in struct:virtio_gpu_update_cursor

Completed in 274 milliseconds

12