Searched defs:pos (Results 1 - 10 of 10) sorted by relevance
/bionic/libc/stdio/ |
H A D | fgetpos.c | 40 fgetpos(FILE *fp, fpos_t *pos) argument 42 return((*pos = ftello(fp)) == (fpos_t)-1);
|
H A D | fsetpos.c | 40 fsetpos(FILE *iop, const fpos_t *pos) argument 42 return (fseeko(iop, (off_t)*pos, SEEK_SET));
|
H A D | ftell.c | 44 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 D | base64.c | 222 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 D | linker_environ.cpp | 86 int pos = 0; local 88 while (pos < MAX_ENV_LEN) { 89 if (name[pos] == '\0') { 92 if (name[pos] == '=' && first_equal_pos < 0) { 93 first_equal_pos = pos; 95 pos++; 99 if (pos >= MAX_ENV_LEN) {
|
/bionic/libc/kernel/common/linux/ |
H A D | mca.h | 40 unsigned char pos[8]; member in struct:mca_device
|
/bionic/libc/unistd/ |
H A D | getopt_long.c | 137 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/tests/ |
H A D | string_test.cpp | 227 int pos = random() % state.MAX_LEN; local 229 if (pos >= state.len[i] - 1) { 236 state.ptr1[pos] = seek_char; 237 expected = state.ptr1 + pos; 256 int pos = 1 + (random() % (state.MAX_LEN - 1)); local 259 if (pos >= state.len[i] - 1) { 264 memcpy(state.ptr1, state.ptr2, pos); 265 if (state.ptr1[pos] > state.ptr2[pos]) { 267 } else if (state.ptr1[pos] 287 size_t pos = random() % state.MAX_LEN; local 353 int pos = random() % state.MAX_LEN; local 383 size_t pos = random() % state.MAX_LEN; local 420 size_t pos = strlen(state.ptr1); local 443 int pos = 1 + (random() % (state.MAX_LEN - 1)); local 480 size_t pos; local 510 int pos = random() % state.MAX_LEN; local 537 int pos = random() % state.MAX_LEN; local 560 int pos = random() % state.MAX_LEN; local 585 int pos = (state.len[i] == 0) ? 0 : (random() % state.len[i]); local 603 size_t pos = random() % (state.MAX_LEN - state.len[i]); local 628 size_t pos = random () % (state.MAX_LEN - state.len[i]); local 648 size_t pos = random() % (state.MAX_LEN - state.len[i]); local [all...] |
/bionic/libc/upstream-netbsd/libc/regex/ |
H A D | regcomp.c | 164 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 D | malloc.c | 4946 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 455 milliseconds