/seL4-camkes-master/projects/musllibc/src/stdio/ |
H A D | fsetpos.c | 3 int fsetpos(FILE *f, const fpos_t *pos) argument 5 return __fseeko(f, *(const off_t *)pos, SEEK_SET);
|
H A D | ftell.c | 7 off_t pos = f->seek(f, 0, local 10 if (pos < 0) return pos; 13 return pos - (f->rend - f->rpos) + (f->wpos - f->wbase); 18 off_t pos; local 20 pos = __ftello_unlocked(f); 22 return pos; 27 off_t pos = __ftello(f); local 28 if (pos > LONG_MAX) { 32 return pos; [all...] |
H A D | fgetpos.c | 3 int fgetpos(FILE *restrict f, fpos_t *restrict pos) argument 7 *(off_t *)pos = off;
|
H A D | open_wmemstream.c | 10 size_t pos; member in struct:cookie 26 base = (size_t [3]){0, c->pos, c->len}[whence]; 29 return c->pos = base+off; 37 if (len + c->pos >= c->space) { 38 len2 = 2*c->space+1 | c->pos+len+1; 47 len2 = mbsnrtowcs(c->buf+c->pos, (void *)&buf, len, c->space-c->pos, &c->mbs); 49 c->pos += len2; 50 if (c->pos >= c->len) c->len = c->pos; [all...] |
H A D | fmemopen.c | 7 size_t pos, len, size; member in struct:cookie 21 base = (size_t [3]){0, c->pos, c->len}[whence]; 23 return c->pos = base+off; 29 size_t rem = c->len - c->pos; 30 if (c->pos > c->len) rem = 0; 35 memcpy(buf, c->buf+c->pos, len); 36 c->pos += len; 41 memcpy(f->rpos, c->buf+c->pos, rem); 42 c->pos += rem; 55 if (c->mode == 'a') c->pos [all...] |
H A D | open_memstream.c | 9 size_t pos; member in struct:cookie 24 base = (size_t [3]){0, c->pos, c->len}[whence]; 26 return c->pos = base+off; 38 if (len + c->pos >= c->space) { 39 len2 = 2*c->space+1 | c->pos+len+1; 46 memcpy(c->buf+c->pos, buf, len); 47 c->pos += len; 48 if (c->pos >= c->len) c->len = c->pos; 49 *c->sizep = c->pos; [all...] |
/seL4-camkes-master/tools/riscv-pk/util/ |
H A D | snprintf.c | 12 size_t pos = 0; local 24 if (++pos < n) out[pos-1] = '0'; 25 if (++pos < n) out[pos-1] = 'x'; 31 if (++pos < n) out[pos-1] = (d < 10 ? '0'+d : 'a'+d-10); 42 if (++pos < n) out[pos-1] = '-'; 48 if (pos [all...] |
/seL4-camkes-master/projects/util_libs/libethdrivers/src/plat/imx6/uboot/ |
H A D | list.h | 342 * @pos: the &struct list_head to use as a loop cursor. 345 #define list_for_each(pos, head) \ 346 for (pos = (head)->next; prefetch(pos->next), pos != (head); \ 347 pos = pos->next) 351 * @pos: the &struct list_head to use as a loop cursor. 359 #define __list_for_each(pos, head) \ 360 for (pos [all...] |
/seL4-camkes-master/projects/util_libs/libethdrivers/src/plat/zynq7000/uboot/ |
H A D | list.h | 344 * @pos: the &struct list_head to use as a loop cursor. 347 #define list_for_each(pos, head) \ 348 for (pos = (head)->next; prefetch(pos->next), pos != (head); \ 349 pos = pos->next) 353 * @pos: the &struct list_head to use as a loop cursor. 361 #define __list_for_each(pos, head) \ 362 for (pos [all...] |
/seL4-camkes-master/projects/util_libs/libethdrivers/src/plat/tx2/uboot/ |
H A D | list.h | 349 * @pos: the &struct list_head to use as a loop cursor. 352 #define list_for_each(pos, head) \ 353 for (pos = (head)->next; prefetch(pos->next), pos != (head); \ 354 pos = pos->next) 358 * @pos: the &struct list_head to use as a loop cursor. 366 #define __list_for_each(pos, head) \ 367 for (pos [all...] |
/seL4-camkes-master/projects/musllibc/src/linux/ |
H A D | readahead.c | 5 ssize_t readahead(int fd, off_t pos, size_t len) argument 7 return syscall(SYS_readahead, fd, __SYSCALL_LL_O(pos), len);
|
H A D | sync_file_range.c | 6 int sync_file_range(int fd, off_t pos, off_t len, unsigned flags) argument 10 __SYSCALL_LL_E(pos), __SYSCALL_LL_E(len)); 13 __SYSCALL_LL_O(pos), __SYSCALL_LL_E(len), flags);
|
/seL4-camkes-master/tools/rumprun/lib/libbmk_core/ |
H A D | jsmn.c | 63 start = parser->pos; 65 for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) { 66 switch (js[parser->pos]) { 75 if (js[parser->pos] < 32 || js[parser->pos] >= 127) { 76 parser->pos = start; 82 parser->pos = start; 88 parser->pos [all...] |
/seL4-camkes-master/projects/picotcp/modules/ |
H A D | pico_strings.c | 69 static inline int revert_and_shift(char *buf, int len, int pos) argument 73 len -= pos; 75 buf[i] = buf[i + pos]; 82 int pos = 0; local 87 pos = len; 88 buf[--pos] = '\0'; 93 if (!pos) 97 buf[--pos] = (char)((res.rem + '0') & 0xFF); 100 return revert_and_shift(buf, len, pos);
|
H A D | pico_tftp.c | 125 char *pos; local 127 pos = get_string_terminator_position(arg, (size_t)(end_arg - arg)); 128 if (!pos) 131 if (end_arg == ++pos) 134 arg = get_string_terminator_position(pos, (size_t)(end_arg - pos)); 139 *value = pos; 159 char *pos; local 169 option_string = extract_arg_pointer(option_string, end_args, &pos); 173 if (!pico_strncasecmp("timeout", current_option, (size_t)(pos 227 struct pico_tftp_session *pos = tftp_sessions; local 251 struct pico_tftp_session *pos; local 270 struct pico_tftp_session *pos; local 587 char *pos; local 1205 char *pos; local [all...] |
/seL4-camkes-master/tools/riscv-pk/machine/ |
H A D | fp_emulation.h | 14 # define GET_F32_REG(insn, pos, regs) ({ \ 15 register int32_t value asm("a0") = SHIFT_RIGHT(insn, (pos)-3) & 0xf8; \ 19 # define SET_F32_REG(insn, pos, regs, val) ({ \ 21 uintptr_t offset = SHIFT_RIGHT(insn, (pos)-3) & 0xf8; \ 25 # define GET_F64_REG(insn, pos, regs) ({ \ 26 register uintptr_t value asm("a0") = SHIFT_RIGHT(insn, (pos)-3) & 0xf8; \ 30 # define SET_F64_REG(insn, pos, regs, val) ({ \ 33 uintptr_t offset = SHIFT_RIGHT(insn, (pos)-3) & 0xf8; \ 53 # define GET_F64_REG(insn, pos, regs) (*(int64_t*)((void*)((regs) + 32) + (SHIFT_RIGHT(insn, (pos) [all...] |
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/src/ |
H A D | strconv.c | 30 char *pos; local 38 pos = strchr(strbuffer->value, '.'); 39 if(pos) 40 *pos = *point; 46 char *pos; local 54 pos = strchr(buffer, *point); 55 if(pos) 56 *pos = '.';
|
/seL4-camkes-master/tools/rumprun/platform/hw/arch/x86/ |
H A D | serialcons.c | 59 int pos = 0; variable 72 if (c == reset_buffer[pos]) { 73 pos++; 74 if (pos == 5) { 78 pos = 0;
|
/seL4-camkes-master/projects/seL4_libs/libsel4simple/include/simple/ |
H A D | simple_helpers.h | 20 bool simple_is_untyped_cap(simple_t *simple, seL4_CPtr pos);
|
/seL4-camkes-master/projects/picotcp/test/examples/ |
H A D | tcpecho.c | 7 static int pos = 0, len = 0; variable 13 if (len > pos) { 15 w = pico_socket_write(s, recvbuf + pos, len - pos); 17 pos += w; 19 if (pos >= len) { 20 pos = 0; 24 } while((w > 0) && (pos < len));
|
/seL4-camkes-master/tools/rumprun/include/bmk-core/ |
H A D | jsmn.h | 74 unsigned int pos; /* offset in the JSON string */ member in struct:__anon885
|
/seL4-camkes-master/projects/musllibc/src/regex/ |
H A D | regexec.c | 54 prev_c = next_c; pos += pos_add_next; \ 66 && (pos > 0 || reg_notbol) \ 76 && (pos != 0 && next_c != L'\0' \ 79 && (pos == 0 || next_c == L'\0' \ 164 regoff_t pos; member in struct:__anon476 177 regoff_t pos = -1; local 265 reach_pos[i].pos = -1; 268 pos = 0; 279 if (reach_pos[trans_i->state_id].pos < pos) 493 regoff_t pos; member in struct:__anon477 599 regoff_t pos = 0; local [all...] |
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/doc/ |
H A D | github_commits.c | 33 int pos; member in struct:write_result 40 if(result->pos + size * nmemb >= BUFFER_SIZE - 1) 46 memcpy(result->data + result->pos, ptr, size * nmemb); 47 result->pos += size * nmemb; 71 .pos = 0 103 data[write_result.pos] = '\0';
|
/seL4-camkes-master/projects/util_libs/libutils/include/utils/ |
H A D | circular_buffer.h | 40 static inline off_t _next_pos(circ_buf_t *cb, off_t pos) argument 42 return (pos + 1) % cb->size;
|
/seL4-camkes-master/tools/cogent/impl/fs/vfat/cogent/lib/ |
H A D | wraphead.h | 40 extern int __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots); 44 extern int fat_get_entry(struct inode *dir, loff_t *pos,
|