/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | pico-onexit.c | 43 void *arg; member 50 _on_exit(int kind, union on_exit_func func, void *arg) in _on_exit() argument 58 on_exits[o].arg = arg; in _on_exit() 69 on_exit (void (*func)(int, void *),void *arg) in on_exit() argument 72 return _on_exit(PICO_ONEXIT_ONEXIT, func_u, arg); in on_exit() 83 void *arg = 0; in __call_exitprocs() local 90 arg = on_exits[i].arg; in __call_exitprocs() 100 func.on_exit(code, arg); in __call_exitprocs() 106 func.cxa_atexit(arg); in __call_exitprocs()
|
D | on_exit.c | 61 void *arg) in on_exit() argument 63 return __register_exitproc (__et_onexit, (void (*)(void)) fn, arg, NULL); in on_exit()
|
D | pico-cxa-atexit.c | 41 __cxa_atexit (void (*func) (void *), void *arg, void *d) in __cxa_atexit() argument 45 return _on_exit(PICO_ONEXIT_CXA_ATEXIT, func_u, arg); in __cxa_atexit()
|
D | cxa_atexit.c | 51 void *arg, in __cxa_atexit() argument 63 return __register_exitproc (__et_cxa, (void (*)(void)) fn, arg, d); in __cxa_atexit()
|
/picolibc-3.7.0-3.6.0/semihost/ |
D | sys_elapsed.c | 44 } arg; in sys_semihost_elapsed() local 45 sys_semihost(SYS_ELAPSED, (uintptr_t) &arg); in sys_semihost_elapsed() 46 return (uint64_t) arg.field1; in sys_semihost_elapsed() 51 } arg; in sys_semihost_elapsed() local 52 sys_semihost(SYS_ELAPSED, (uintptr_t) &arg); in sys_semihost_elapsed() 53 return (((uint64_t) arg.field2) << 32) | ((uint32_t) arg.field1); in sys_semihost_elapsed()
|
D | sys_heapinfo.c | 46 } arg = { 0 }; in sys_semihost_heapinfo() local 47 (void) sys_semihost(SYS_HEAPINFO, (uintptr_t) &arg); in sys_semihost_heapinfo() 48 block->heap_base = (void *) (uintptr_t) arg.field1; in sys_semihost_heapinfo() 49 block->heap_limit = (void *) (uintptr_t) arg.field2; in sys_semihost_heapinfo() 50 block->stack_base = (void *) (uintptr_t) arg.field3; in sys_semihost_heapinfo() 51 block->stack_limit = (void *) (uintptr_t) arg.field4; in sys_semihost_heapinfo()
|
D | sys_get_cmdline.c | 45 } arg = { in sys_semihost_get_cmdline() local 49 uintptr_t ret = sys_semihost(SYS_GET_CMDLINE, (uintptr_t) &arg); in sys_semihost_get_cmdline() 51 if (arg.field1 != (sh_param_t) (uintptr_t) buf) in sys_semihost_get_cmdline() 52 strcpy(buf, (void *) (uintptr_t) arg.field1); in sys_semihost_get_cmdline()
|
D | sys_close.c | 43 } arg = { in sys_semihost_close() local 46 return (int) sys_semihost(SYS_CLOSE, (uintptr_t) &arg); in sys_semihost_close()
|
D | sys_istty.c | 43 } arg = { in sys_semihost_istty() local 46 return (int) sys_semihost(SYS_ISTTY, (uintptr_t) &arg); in sys_semihost_istty()
|
D | sys_iserror.c | 43 } arg = { in sys_semihost_iserror() local 46 return (int) sys_semihost(SYS_ISERROR, (uintptr_t) &arg); in sys_semihost_iserror()
|
D | sys_flen.c | 43 } arg = { in sys_semihost_flen() local 47 return (uintptr_t) sys_semihost(SYS_FLEN, (uintptr_t) &arg); in sys_semihost_flen()
|
D | sys_seek.c | 44 } arg = { in sys_semihost_seek() local 48 return (int) sys_semihost(SYS_SEEK, (uintptr_t) &arg); in sys_semihost_seek()
|
D | sys_system.c | 45 } arg = { in sys_semihost_system() local 49 return (int) sys_semihost(SYS_SYSTEM, (uintptr_t) &arg); in sys_semihost_system()
|
D | sys_remove.c | 45 } arg = { in sys_semihost_remove() local 50 return (int) sys_semihost(SYS_REMOVE, (uintptr_t) &arg); in sys_semihost_remove()
|
D | sys_exit_extended.c | 45 } arg = { in sys_semihost_exit_extended() local 49 (void) sys_semihost(SYS_EXIT_EXTENDED, (uintptr_t) &arg); in sys_semihost_exit_extended()
|
D | sys_open.c | 46 } arg = { in sys_semihost_open() local 52 return (int) sys_semihost(SYS_OPEN, (uintptr_t) &arg); in sys_semihost_open()
|
D | sys_tmpnam.c | 45 } arg = { in sys_semihost_tmpnam() local 51 return (int) sys_semihost(SYS_TMPNAM, (uintptr_t) &arg); in sys_semihost_tmpnam()
|
D | sys_exit.c | 46 } arg = { in sys_semihost_exit() local 50 (void) sys_semihost(SYS_EXIT, (uintptr_t) &arg); in sys_semihost_exit()
|
D | sys_read.c | 45 } arg = { in sys_semihost_read() local 51 return sys_semihost(SYS_READ, (uintptr_t) &arg); in sys_semihost_read()
|
D | sys_write.c | 45 } arg = { in sys_semihost_write() local 51 return sys_semihost(SYS_WRITE, (uintptr_t) &arg); in sys_semihost_write()
|
D | sys_rename.c | 47 } arg = { in sys_semihost_rename() local 54 return (int) sys_semihost(SYS_RENAME, (uintptr_t) &arg); in sys_semihost_rename()
|
D | lseek.c | 66 } arg = { in lseek() local 71 uintptr_t ret = sys_semihost(SYS_SEEK, (uintptr_t) &arg); in lseek()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/ |
D | posix_memalign_ea.c | 52 memalign_ea_t arg; in posix_memalign_ea() local 61 arg.memptr = (unsigned int) memptr; in posix_memalign_ea() 62 arg.align = (unsigned long long) align; in posix_memalign_ea() 63 arg.size = (unsigned long long) size; in posix_memalign_ea() 65 &arg); in posix_memalign_ea()
|
D | perror.c | 49 c99_perror_t arg; in perror() local 51 arg.str = s; in perror() 52 arg.arg_errno = errno; in perror() 53 __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PERROR, &arg); in perror()
|
D | fgetpos.c | 50 c99_fgetpos_t arg; in fgetpos() local 54 arg.fp = fp->_fp; in fgetpos() 55 arg.pos = pos; in fgetpos() 57 return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_FGETPOS, &arg); in fgetpos()
|