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

12

/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_scalb.c18 * __ieee754_scalb(x, fn) is provide for
28 __ieee754_scalb(double x, int fn) argument
31 __ieee754_scalb(double x, double fn)
35 return scalbn(x,fn);
37 if (isnan(x)||isnan(fn)) return x*fn;
38 if (!finite(fn)) {
39 if(fn>0.0) return x*fn;
40 else return x/(-fn);
[all...]
H A De_scalbf.c24 __ieee754_scalbf(float x, int fn) argument
27 __ieee754_scalbf(float x, float fn)
31 return scalbnf(x,fn);
33 if ((isnanf)(x)||(isnanf)(fn)) return x*fn;
34 if (!finitef(fn)) {
35 if(fn>(float)0.0) return x*fn;
36 else return x/(-fn);
38 if (rintf(fn)!
[all...]
H A Ds_llrint.c7 #define fn llrint macro
H A Ds_llrintf.c7 #define fn llrintf macro
H A Ds_llrintl.c7 #define fn llrintl macro
H A Ds_lrintf.c7 #define fn lrintf macro
H A Ds_lrintl.c7 #define fn lrintl macro
H A Ds_llround.c9 #define fn llround macro
H A Ds_llroundf.c9 #define fn llroundf macro
H A Ds_llroundl.c9 #define fn llroundl macro
H A Ds_lroundf.c9 #define fn lroundf macro
H A Ds_lroundl.c9 #define fn lroundl macro
H A De_rem_pio2f.c49 double w,r,fn; local
58 /* Use a specialized rint() to get fn. Assume round-to-nearest. */
59 STRICT_ASSIGN(double,fn,x*invpio2+0x1.8p52);
60 fn = fn-0x1.8p52;
62 n = irint(fn);
64 n = (int32_t)fn;
66 r = x-fn*pio2_1;
67 w = fn*pio2_1t;
H A Ds_fdim.c32 #define DECL(type, fn) \
34 fn(type x, type y) \
H A Ds_lrint.c36 #define fn lrint macro
47 fn(type x) function
H A Ds_nearbyint.c44 #define DECL(type, fn, rint) \
46 fn(type x) \
H A De_rem_pio2.c57 double z,w,t,r,fn; local
130 /* Use a specialized rint() to get fn. Assume round-to-nearest. */
131 STRICT_ASSIGN(double,fn,x*invpio2+0x1.8p52);
132 fn = fn-0x1.8p52;
134 n = irint(fn);
136 n = (int32_t)fn;
138 r = x-fn*pio2_1;
139 w = fn*pio2_1t; /* 1st round good to 85 bit */
148 w = fn*pio2_
[all...]
H A Ds_lround.c39 #define fn lround macro
56 fn(type x) function
/bionic/libc/bionic/
H A Dlfs64_support.cpp40 int (*fn)(const char*, const struct stat64*, int), int nopenfd) {
41 return ftw(dirpath, reinterpret_cast<ftw_fn>(fn), nopenfd);
45 int (*fn)(const char*, const struct stat64*, int, struct FTW*),
47 return nftw(dirpath, reinterpret_cast<nftw_fn>(fn), nopenfd, flags);
H A Dclone.cpp36 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int* child_tid, int (*fn)(void*), void* arg);
40 extern "C" __LIBC_HIDDEN__ void __start_thread(int (*fn)(void*), void* arg) { argument
41 int status = (*fn)(arg);
45 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { argument
74 int clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg);
/bionic/libm/upstream-freebsd/lib/msun/ld128/
H A De_rem_pio2l.h65 long double z,w,t,r,fn; local
77 /* Use a specialized rint() to get fn. Assume round-to-nearest. */
78 fn = x*invpio2+0x1.8p112;
79 fn = fn-0x1.8p112;
81 n = i64rint(fn);
83 n = fn;
85 r = x-fn*pio2_1;
86 w = fn*pio2_1t; /* 1st round good to 180 bit */
97 w = fn*pio2_
[all...]
/bionic/tests/
H A Ddlfcn_test.cpp170 int (*fn)(void);
171 fn = reinterpret_cast<int (*)(void)>(sym);
172 EXPECT_EQ(4, fn());
282 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "relo_test_get_answer")); local
283 ASSERT_TRUE(fn != nullptr) << dlerror();
284 ASSERT_EQ(1, fn());
316 fn_t fn, fn2; local
317 fn = reinterpret_cast<fn_t>(dlsym(RTLD_DEFAULT, "check_order_dlsym_get_answer"));
318 ASSERT_TRUE(fn != nullptr) << dlerror();
322 ASSERT_EQ(42, fn());
369 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); local
396 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); local
434 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_grandchild_get_answer")); local
480 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_nephew_get_answer")); local
507 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); local
555 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_root_get_answer")); local
1018 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local
1028 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local
1038 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local
1048 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local
1058 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "versioned_function")); local
1070 fn_t fn = reinterpret_cast<fn_t>(dlvsym(handle, "versioned_function", "nonversion")); local
1076 fn_t fn = reinterpret_cast<fn_t>(dlvsym(handle, "versioned_function", "TESTLIB_V2")); local
1099 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); local
1113 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); local
[all...]
H A Dpthread_dlfcn_test.cpp46 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "proxy_pthread_atfork")); local
47 ASSERT_TRUE(fn != nullptr) << dlerror();
49 ASSERT_EQ(0, fn(AtForkPrepare2, AtForkParent2, AtForkChild2));
50 ASSERT_EQ(0, fn(AtForkPrepare3, AtForkParent3, AtForkChild3));
/bionic/libc/private/
H A Dbionic_vdso.h46 void* fn; member in struct:vdso_entry
/bionic/libc/arch-mips/bionic/
H A D__bionic_clone.S33 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg);
41 lw t0,20(sp) # fn
43 sw t0,0(a1) # fn
60 lw a0,0(sp) # fn

Completed in 1741 milliseconds

12