Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 30) sorted by relevance

12

/picolibc-3.7.0-3.6.0/test/
Dtest-strchr.c42 #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 …]
Dsetjmp.c40 void func(jmp_buf env, int param) in func() function
57 func(env, 1); in main()
69 func(env, 0); in main()
Dtest-efcvt.c174 #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/
Dpico-onexit.c42 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()
Dassert_func.c59 const char *func, in __assert_func() argument
65 func ? ", function: " : "", func ? func : ""); in __assert_func()
Dpico-atexit.c41 atexit (void (*func)(void)) in atexit()
43 union on_exit_func func_u = { .atexit = func }; in atexit()
Dpico-cxa-atexit.c41 __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()
Dquick_exit.c50 at_quick_exit(void (*func)(void)) in at_quick_exit()
58 h->cleanup = func; in at_quick_exit()
Dpico-onexit.h48 _on_exit(int kind, union on_exit_func func, void *arg);
/picolibc-3.7.0-3.6.0/newlib/libc/signal/
Dsignal.c114 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/
Dm68k_semihost.h111 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/
Dnios2_semihost.h111 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 …]
Dnios2_semihost.c39 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/
Dassert.c16 const char *func, in __assert_func() argument
22 func ? ", function: " : "", func ? func : ""); in __assert_func()
Dspu_timer_slih_reg.c62 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()
Dspu_timer_svcs.c58 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()
Dspu_timer_internal.h60 void (*func) (int) __attribute__ ((__aligned__ (16))); /* Handler. */ member
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dfwalk.c30 _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/
Dmath.c472 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 …]
Dconvert.c151 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/
Dsignal.c19 _sig_func_ptr func) in signal() argument
/picolibc-3.7.0-3.6.0/newlib/libc/machine/nvptx/
Dassert.c25 const char *func, in __assert_func() argument
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/include/
Dspu_timer.h46 extern int spu_timer_alloc (int interval, void (*func) (int));
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/sparc/
Dinterrupt.S49 #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/
Dxdr_sizeof.c151 xdr_sizeof (xdrproc_t func, in xdr_sizeof() argument
181 stat = func (&x, data); in xdr_sizeof()

12