/picolibc-3.7.0-3.6.0/test/ |
D | test-strchr.c | 42 #define check(func, needle, expect) do { \ argument 43 char *ptr = func(haystack, needle); \ 49 #func, haystack, needle, result, expect); \ 55 #define many_check(func, needle, expect) do { \ argument 56 check(func, needle, expect); \ 57 check(func, needle | 0xff00, expect); \ 58 check(func, needle | 0x0100, expect); \ 59 check(func, needle | 0x8000, expect); \ 62 #define many_check(func, needle, expect) do { \ argument 63 check(func, needle, expect); \ [all …]
|
D | setjmp.c | 40 void func(jmp_buf env, int param) in func() function 57 func(env, 1); in main() 69 func(env, 0); in main()
|
D | test-efcvt.c | 174 #define many_tests(tests, func, n, skip_long) do { \ argument 178 int ret = func(tests[i].value, tests[i].ndigit, &decpt, &sign, buf, sizeof(buf)); \ 192 printf(#func ":%d got '%s' dec %d sign %d expect '%s' dec %d sign %d\n", \
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | pico-onexit.c | 42 union on_exit_func func; member 50 _on_exit(int kind, union on_exit_func func, void *arg) in _on_exit() argument 57 on_exits[o].func = func; in _on_exit() 69 on_exit (void (*func)(int, void *),void *arg) in on_exit() 71 union on_exit_func func_u = { .on_exit = func }; in on_exit() 81 union on_exit_func func = {0}; in __call_exitprocs() local 89 func = on_exits[i].func; in __call_exitprocs() 100 func.on_exit(code, arg); in __call_exitprocs() 103 func.atexit(); in __call_exitprocs() 106 func.cxa_atexit(arg); in __call_exitprocs()
|
D | assert_func.c | 59 const char *func, in __assert_func() argument 65 func ? ", function: " : "", func ? func : ""); in __assert_func()
|
D | pico-atexit.c | 41 atexit (void (*func)(void)) in atexit() 43 union on_exit_func func_u = { .atexit = func }; in atexit()
|
D | pico-cxa-atexit.c | 41 __cxa_atexit (void (*func) (void *), void *arg, void *d) in __cxa_atexit() 43 union on_exit_func func_u = { .cxa_atexit = func }; in __cxa_atexit()
|
D | quick_exit.c | 50 at_quick_exit(void (*func)(void)) in at_quick_exit() 58 h->cleanup = func; in at_quick_exit()
|
D | pico-onexit.h | 48 _on_exit(int kind, union on_exit_func func, void *arg);
|
/picolibc-3.7.0-3.6.0/newlib/libc/signal/ |
D | signal.c | 114 signal (int sig, _sig_func_ptr func) in signal() argument 123 uintptr_t ifunc = (uintptr_t) func; in signal() 127 _sig_func[sig] = func; in signal() 142 _sig_func_ptr func; in raise() local 144 func = (_sig_func_ptr) atomic_load(&_sig_func[sig]); in raise() 146 func = _sig_func[sig]; in raise() 148 if (func == SIG_IGN) in raise() 150 else if (func == SIG_DFL) in raise() 155 (uintptr_t *) &func, in raise() 161 (*func)(sig); in raise()
|
/picolibc-3.7.0-3.6.0/semihost/machine/m68k/ |
D | m68k_semihost.h | 111 m68k_semihost(int func, struct m68k_semihost *args); 113 static inline intptr_t m68k_semihost1_immediate(int func, uintptr_t arg0) { in m68k_semihost1_immediate() argument 114 return m68k_semihost(func, (struct m68k_semihost *) arg0); in m68k_semihost1_immediate() 117 static inline intptr_t m68k_semihost1(int func, uintptr_t arg0) { in m68k_semihost1() argument 122 m68k_semihost(func, &args); in m68k_semihost1() 129 static inline intptr_t m68k_semihost2(int func, uintptr_t arg0, uintptr_t arg1) { in m68k_semihost2() argument 135 m68k_semihost(func, &args); in m68k_semihost2() 142 static inline intptr_t m68k_semihost3(int func, uintptr_t arg0, uintptr_t arg1, uintptr_t arg2) { in m68k_semihost3() argument 149 m68k_semihost(func, &args); in m68k_semihost3() 156 static inline uint64_t m68k_semihost4_64(int func, uintptr_t arg0, uintptr_t arg1, uintptr_t arg2, … in m68k_semihost4_64() argument [all …]
|
/picolibc-3.7.0-3.6.0/semihost/machine/nios2/ |
D | nios2_semihost.h | 111 nios2_semihost(int func, struct nios2_semihost *args); 113 static inline intptr_t nios2_semihost1_immediate(int func, uintptr_t arg0) { in nios2_semihost1_immediate() argument 114 return nios2_semihost(func, (struct nios2_semihost *) arg0); in nios2_semihost1_immediate() 117 static inline intptr_t nios2_semihost1(int func, uintptr_t arg0) { in nios2_semihost1() argument 122 nios2_semihost(func, &args); in nios2_semihost1() 129 static inline intptr_t nios2_semihost2(int func, uintptr_t arg0, uintptr_t arg1) { in nios2_semihost2() argument 135 nios2_semihost(func, &args); in nios2_semihost2() 142 static inline intptr_t nios2_semihost3(int func, uintptr_t arg0, uintptr_t arg1, uintptr_t arg2) { in nios2_semihost3() argument 149 nios2_semihost(func, &args); in nios2_semihost3() 156 static inline uint64_t nios2_semihost4_64(int func, uintptr_t arg0, uintptr_t arg1, uintptr_t arg2,… in nios2_semihost4_64() argument [all …]
|
D | nios2_semihost.c | 39 nios2_semihost(int func, struct nios2_semihost *args) in nios2_semihost() argument 41 register int r_op __asm__("r4") = func; in nios2_semihost()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/ |
D | assert.c | 16 const char *func, in __assert_func() argument 22 func ? ", function: " : "", func ? func : ""); in __assert_func()
|
D | spu_timer_slih_reg.c | 62 spu_slih_register (unsigned mask, spu_slih_t func) in spu_slih_register() argument 69 __spu_slih_handlers[id] = (func) ? func : __spu_default_slih; in spu_slih_register()
|
D | spu_timer_svcs.c | 58 spu_timer_alloc (int interval, void (*func) (int)) in spu_timer_alloc() 62 if (interval < MIN_INTVL || interval > MAX_INTVL || func == NULL) in spu_timer_alloc() 81 (__spu_timers + id)->func = func; in spu_timer_alloc()
|
D | spu_timer_internal.h | 60 void (*func) (int) __attribute__ ((__aligned__ (16))); /* Handler. */ member
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/ |
D | fwalk.c | 30 _fwalk_sglue (int (*func) (FILE *), in _fwalk_sglue() 47 ret |= (*func) (fp); in _fwalk_sglue()
|
/picolibc-3.7.0-3.6.0/newlib/libm/test/ |
D | math.c | 472 char *func, in run_vector_1() argument 558 result = ((pdblfunc)(func))(arg1); in run_vector_1() 573 fresult = ((pdblfunc)(func))(arga); in run_vector_1() 581 result = ((pdblfunc)(func))(arg1,arg2); in run_vector_1() 595 fresult = ((pdblfunc)(func))(arga, argb); in run_vector_1() 605 result = ((pdblfunc)(func))((int)arg1,arg2); in run_vector_1() 618 fresult = ((pdblfunc)(func))((int)arg1, argb); in run_vector_1() 626 result = (double) ((pdblfunc)(func))(arg1); in run_vector_1() 634 result = (double) ((pdblfunc)(func))(arg1, &result2); in run_vector_1() 642 fresult = (float) ((pdblfunc)(func))(arg1, &result2); in run_vector_1() [all …]
|
D | convert.c | 151 iterate (void (*func) (void), in iterate() 161 func(); in iterate() 173 int_iterate (void (*func)(), in int_iterate() argument 185 func(); in int_iterate() 385 diterate (void (*func)(), in diterate() argument 397 func(); in diterate()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/amdgcn/ |
D | signal.c | 19 _sig_func_ptr func) in signal() argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/nvptx/ |
D | assert.c | 25 const char *func, in __assert_func() argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/include/ |
D | spu_timer.h | 46 extern int spu_timer_alloc (int interval, void (*func) (int));
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/sparc/ |
D | interrupt.S | 49 #define TRAP(func) \ argument 51 sethi %hi(_sparc_ ## func ## _isr), %l4 ;\ 52 jmp %l4+%lo(_sparc_ ## func ## _isr) ;\
|
/picolibc-3.7.0-3.6.0/newlib/libc/xdr/ |
D | xdr_sizeof.c | 151 xdr_sizeof (xdrproc_t func, in xdr_sizeof() argument 181 stat = func (&x, data); in xdr_sizeof()
|