Searched refs:fn (Results 1 - 25 of 34) sorted by relevance

12

/seL4-test-master/projects/musllibc/src/math/
H A Dscalb.c13 * scalb(x, fn) is provide for
21 double scalb(double x, double fn) argument
23 if (isnan(x) || isnan(fn))
24 return x*fn;
25 if (!isfinite(fn)) {
26 if (fn > 0.0)
27 return x*fn;
29 return x/(-fn);
31 if (rint(fn) != fn) retur
[all...]
H A Dscalbf.c19 float scalbf(float x, float fn) argument
21 if (isnan(x) || isnan(fn)) return x*fn;
22 if (!isfinite(fn)) {
23 if (fn > 0.0f)
24 return x*fn;
26 return x/(-fn);
28 if (rintf(fn) != fn) return (fn
[all...]
H A D__rem_pio2f.c46 double_t fn; local
53 /* Use a specialized rint() to get fn. Assume round-to-nearest. */
54 fn = (double_t)x*invpio2 + toint - toint;
55 n = (int32_t)fn;
56 *y = x - fn*pio2_1 - fn*pio2_1t;
H A D__rem_pio2.c51 double_t z,w,t,r,fn; local
121 fn = (double_t)x*invpio2 + toint - toint;
122 n = (int32_t)fn;
123 r = x - fn*pio2_1;
124 w = fn*pio2_1t; /* 1st round, good to 85 bits */
131 w = fn*pio2_2;
133 w = fn*pio2_2t - ((t-r)-w);
139 w = fn*pio2_3;
141 w = fn*pio2_3t - ((t-r)-w);
H A D__rem_pio2l.c72 long double z,w,t,r,fn; local
80 fn = x*invpio2 + toint - toint;
81 n = QUOBITS(fn);
82 r = x-fn*pio2_1;
83 w = fn*pio2_1t; /* 1st round good to 102/180 bits (ld80/ld128) */
89 w = fn*pio2_2;
91 w = fn*pio2_2t-((t-r)-w);
97 w = fn*pio2_3;
99 w = fn*pio2_3t-((t-r)-w);
/seL4-test-master/projects/seL4_libs/libsel4debug/include/sel4debug/
H A Didentity.h24 void debug_set_id_fn(const char * (*fn)(void));
/seL4-test-master/projects/musllibc/src/legacy/
H A Dftw.c4 int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit)
9 return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS);
/seL4-test-master/projects/seL4_libs/libsel4debug/src/
H A Didentity.c26 void debug_set_id_fn(const char * (*fn)(void)) argument
28 id_fn = fn;
/seL4-test-master/projects/musllibc/src/thread/powerpc64/
H A Dclone.s5 # int clone(fn, stack, flags, arg, ptid, tls, ctid)
18 # save fn and arg to child stack
39 # we're the child. call fn(arg)
45 # call SYS_exit. exit code is already in r3 from fn return value
/seL4-test-master/projects/sel4_projects_libs/libsel4vmmplatsupport/arch_include/arm/sel4vmmplatsupport/arch/
H A Dguest_reboot.h21 * @param {reboot_hook_fn} fn Function pointer to reboot callback
25 reboot_hook_fn fn; member in struct:reboot_hook
/seL4-test-master/projects/musllibc/src/thread/s390x/
H A Dclone.s6 # fn, a = r2
25 # save fn and arg to child stack
41 # we're the child. call fn(arg)
46 # call SYS_exit. exit code is already in r2 from fn return value
/seL4-test-master/tools/riscv-pk/pk/
H A Dboot.h30 void load_elf(const char* fn, elf_info* info);
H A Dfile.h22 file_t* file_open(const char* fn, int flags, int mode);
27 file_t* file_openat(int dirfd, const char* fn, int flags, int mode);
H A Dfile.c82 file_t* file_open(const char* fn, int flags, int mode) argument
84 return file_openat(AT_FDCWD, fn, flags, mode);
87 file_t* file_openat(int dirfd, const char* fn, int flags, int mode) argument
93 size_t fn_size = strlen(fn)+1;
94 long ret = frontend_syscall(SYS_openat, dirfd, va2pa(fn), fn_size, flags, mode, 0, 0);
H A Delf.c26 void load_elf(const char* fn, elf_info* info) argument
28 file_t* file = file_open(fn, O_RDONLY, 0);
98 panic("couldn't open ELF program: %s!", fn);
/seL4-test-master/projects/sel4_projects_libs/libsel4vmmplatsupport/src/arch/arm/
H A Dguest_reboot.c25 .fn = hook,
43 if (rb.fn == NULL) {
47 int err = rb.fn(vm, rb.token);
/seL4-test-master/projects/musllibc/src/misc/
H A Dnftw.c23 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h)
61 if (!(flags & FTW_DEPTH) && (r=fn(path, &st, type, &lev)))
84 if ((r=do_nftw(path, fn, fd_limit-1, flags, &new))) {
96 if ((flags & FTW_DEPTH) && (r=fn(path, &st, type, &lev)))
102 int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags)
118 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL);
/seL4-test-master/projects/musllibc/src/thread/sh/
H A Dclone.s5 ! incoming: fn stack flags arg ptid tls ctid
11 mov r4, r1 ! r1 = fn
35 1: ! we are the child, call fn(arg)
/seL4-test-master/projects/seL4_libs/libsel4muslcsys/include/muslcsys/
H A Dio.h61 muslcsys_cpio_get_file_fn_t fn);
/seL4-test-master/projects/musllibc/src/thread/microblaze/
H A Dclone.s5 # fn, st, fl, ar, pt, tl, ct
/seL4-test-master/projects/musllibc/src/thread/mips/
H A Dclone.s10 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
/seL4-test-master/tools/riscv-pk/machine/
H A Dminit.c211 void enter_supervisor_mode(void (*fn)(uintptr_t), uintptr_t arg0, uintptr_t arg1) argument
222 write_csr(mepc, fn);
230 void enter_machine_mode(void (*fn)(uintptr_t, uintptr_t), uintptr_t arg0, uintptr_t arg1) argument
238 fn(arg0, arg1);
H A Dmtrap.h69 void enter_supervisor_mode(void (*fn)(uintptr_t), uintptr_t arg0, uintptr_t arg1)
71 void enter_machine_mode(void (*fn)(uintptr_t, uintptr_t), uintptr_t arg0, uintptr_t arg1)
/seL4-test-master/projects/util_libs/libutils/include/utils/
H A Dattribute.h34 #define CLEANUP(fn) __attribute__((cleanup(fn)))
/seL4-test-master/projects/musllibc/src/thread/mips64/
H A Dclone.s11 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)

Completed in 401 milliseconds

12