Searched defs:pos (Results 1 - 10 of 10) sorted by relevance

/bionic/libc/stdio/
H A Dfgetpos.c40 fgetpos(FILE *fp, fpos_t *pos) argument
42 return((*pos = ftello(fp)) == (fpos_t)-1);
H A Dfsetpos.c40 fsetpos(FILE *iop, const fpos_t *pos) argument
42 return (fseeko(iop, (off_t)*pos, SEEK_SET));
H A Dftell.c44 fpos_t pos; local
48 pos = -1;
59 pos = fp->_offset;
61 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR);
62 if (pos == -1)
71 pos -= fp->_r;
73 pos -= fp->_ur;
80 pos += fp->_p - fp->_bf._base;
83 return (pos);
95 long pos; local
[all...]
/bionic/libc/netbsd/net/
H A Dbase64.c222 char *pos; local
237 pos = strchr(Base64, ch);
238 if (pos == 0) /* A non-base64 character. */
246 target[tarindex] = (pos - Base64) << 2;
255 (u_int32_t)(pos - Base64) >> 4;
256 target[tarindex+1] = ((pos - Base64) & 0x0f)
267 (u_int32_t)(pos - Base64) >> 2;
268 target[tarindex+1] = ((pos - Base64) & 0x03)
278 target[tarindex] |= (pos - Base64);
/bionic/linker/
H A Dlinker_environ.c41 int pos = 0; local
54 if (str[pos] == '\0')
56 if (str[pos] == '=' && first_equal_pos < 0)
57 first_equal_pos = pos;
58 pos++;
59 } while (pos < MAX_ENV_LEN);
61 if (pos >= MAX_ENV_LEN) /* Too large */
H A Dlinker_format.c84 char *pos; member in struct:__anon731
100 int avail = bo->end - bo->pos;
105 memcpy(bo->pos, data, avail);
106 bo->pos += avail;
107 bo->pos[0] = '\0';
122 bo->pos = bo->buffer;
123 bo->pos[0] = '\0';
370 char *pos = buffer; local
377 if (pos < end) {
378 *pos
[all...]
/bionic/libc/kernel/common/linux/
H A Dmca.h40 unsigned char pos[8]; member in struct:mca_device
/bionic/libc/unistd/
H A Dgetopt_long.c137 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; local
150 pos = cstart;
152 if (pos >= panonopt_end)
153 pos -= nnonopts;
155 pos += nopts;
156 swap = nargv[pos];
158 ((char **) nargv)[pos] = nargv[cstart];
/bionic/libc/upstream-netbsd/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)
400 sopno pos; local
622 sopno pos, i; local
1704 doinsert( struct parse *p, sop op, sopno opnd, sopno pos) argument
1745 dofwd( struct parse *p, sopno pos, sopno value) argument
[all...]
/bionic/libc/upstream-dlmalloc/
H A Dmalloc.c4946 char* pos = ((size_t)(br - (char*)(p)) >= MIN_CHUNK_SIZE)? local
4948 mchunkptr newp = (mchunkptr)pos;
4949 size_t leadsize = pos - (char*)(p);

Completed in 91 milliseconds