Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 33) sorted by relevance

12

/picolibc-latest/newlib/libc/stdlib/
Dpico-onexit.c46 void *arg; member
53 _on_exit(int kind, union on_exit_func func, void *arg) in _on_exit() argument
61 on_exits[o].arg = arg; in _on_exit()
72 on_exit (void (*func)(int, void *),void *arg) in on_exit() argument
75 return _on_exit(PICO_ONEXIT_ONEXIT, func_u, arg); in on_exit()
86 void *arg = 0; in __call_exitprocs() local
93 arg = on_exits[i].arg; in __call_exitprocs()
103 func.on_exit(code, arg); in __call_exitprocs()
109 func.cxa_atexit(arg); in __call_exitprocs()
Dpico-cxa-atexit.c41 __cxa_atexit (void (*func) (void *), void *arg, void *d);
44 __cxa_atexit (void (*func) (void *), void *arg, void *d) in __cxa_atexit() argument
48 return _on_exit(PICO_ONEXIT_CXA_ATEXIT, func_u, arg); in __cxa_atexit()
Don_exit.c62 void *arg) in on_exit() argument
64 return __register_exitproc (__et_onexit, (void (*)(void)) fn, arg, NULL); in on_exit()
Dcxa_atexit.c51 void *arg, in __cxa_atexit() argument
63 return __register_exitproc (__et_cxa, (void (*)(void)) fn, arg, d); in __cxa_atexit()
D__atexit.c62 void *arg, in __register_exitproc() argument
96 args->_fnargs[p->_ind] = arg; in __register_exitproc()
Dpico-onexit.h48 _on_exit(int kind, union on_exit_func func, void *arg);
Datexit.h50 int __cxa_atexit (void (*fn) (void *), void *arg, void *d);
/picolibc-latest/semihost/
Dsys_elapsed.c44 } 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()
Dsys_heapinfo.c46 } 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()
Dsys_get_cmdline.c45 } 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()
Dsys_rename.c47 } arg = { in sys_semihost_rename() local
54 return (int) sys_semihost(SYS_RENAME, (uintptr_t) &arg); in sys_semihost_rename()
/picolibc-latest/newlib/libc/machine/spu/
Dposix_memalign_ea.c54 memalign_ea_t arg; in posix_memalign_ea() local
63 arg.memptr = (unsigned int) memptr; in posix_memalign_ea()
64 arg.align = (unsigned long long) align; in posix_memalign_ea()
65 arg.size = (unsigned long long) size; in posix_memalign_ea()
67 &arg); in posix_memalign_ea()
Dperror.c51 c99_perror_t arg; in perror() local
53 arg.str = s; in perror()
54 arg.arg_errno = errno; in perror()
55 __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PERROR, &arg); in perror()
Dfgetpos.c52 c99_fgetpos_t arg; in fgetpos() local
56 arg.fp = fp->_fp; in fgetpos()
57 arg.pos = pos; in fgetpos()
59 return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_FGETPOS, &arg); in fgetpos()
/picolibc-latest/hello-world/
Drun-aarch64++53 semi=enable=on,chardev=stdio0,arg="test-file"
Drun-riscv++54 semi=enable=on,chardev=stdio0,arg="test-file"
/picolibc-latest/scripts/
Drun-aarch6478 semi=enable=on,chardev=stdio0,arg="$cmdline"
Drun-nios275 semi=enable=on,chardev=stdio0,arg="$cmdline"
Drun-m68k75 semi=enable=on,chardev=stdio0,arg="$cmdline"
Drun-arc109 semi=enable=on,chardev=stdio0,arg="$cmdline"
Drun-riscv150 semi=enable=on,chardev=stdio0,arg="$cmdline"
Drun-arm276 semi=enable=on,chardev=stdio0,arg="$cmdline"
/picolibc-latest/newlib/libc/stdio/
Dvfwprintf.c1171 char *arg = (char *) cp; in VFWPRINTF() local
1177 char *p = arg; in VFWPRINTF()
1193 insize = strlen(arg); in VFWPRINTF()
1206 nconv = mbrtowc (p, arg, insize, &ps); in VFWPRINTF()
1210 arg += nconv; in VFWPRINTF()
1222 char *arg = (char *) cp; in VFWPRINTF()
1226 char *p = memchr (arg, '\0', prec); in VFWPRINTF()
1227 insize = p ? p - arg : prec; in VFWPRINTF()
1229 insize = strlen (arg); in VFWPRINTF()
1240 cp[size] = arg[size]; in VFWPRINTF()
/picolibc-latest/newlib/libc/machine/xstormy16/
Dsetjmp.S53 ;; status arg (r3) to longjmp is return value
/picolibc-latest/newlib/libm/test/
Dmath.c466 in_float_range(double arg) in in_float_range() argument
468 if (isinf(arg) || isnan(arg)) in in_float_range()
470 return -(double) FLT_MAX <= arg && arg <= (double) FLT_MAX; in in_float_range()

12