/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | e_scalb.c | 18 * __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 D | e_scalbf.c | 24 __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 D | s_llrint.c | 7 #define fn llrint macro
|
H A D | s_llrintf.c | 7 #define fn llrintf macro
|
H A D | s_llrintl.c | 7 #define fn llrintl macro
|
H A D | s_lrintf.c | 7 #define fn lrintf macro
|
H A D | s_lrintl.c | 7 #define fn lrintl macro
|
H A D | s_llround.c | 9 #define fn llround macro
|
H A D | s_llroundf.c | 9 #define fn llroundf macro
|
H A D | s_llroundl.c | 9 #define fn llroundl macro
|
H A D | s_lroundf.c | 9 #define fn lroundf macro
|
H A D | s_lroundl.c | 9 #define fn lroundl macro
|
H A D | e_rem_pio2f.c | 49 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 D | s_fdim.c | 32 #define DECL(type, fn) \ 34 fn(type x, type y) \
|
H A D | s_lrint.c | 36 #define fn lrint macro 47 fn(type x) function
|
H A D | s_nearbyint.c | 44 #define DECL(type, fn, rint) \ 46 fn(type x) \
|
H A D | e_rem_pio2.c | 57 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 D | s_lround.c | 39 #define fn lround macro 56 fn(type x) function
|
/bionic/libc/bionic/ |
H A D | lfs64_support.cpp | 40 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 D | clone.cpp | 36 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 D | e_rem_pio2l.h | 65 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 D | dlfcn_test.cpp | 170 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 D | pthread_dlfcn_test.cpp | 46 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 D | bionic_vdso.h | 46 void* fn; member in struct:vdso_entry
|
/bionic/libc/arch-mips/bionic/ |
H A D | __bionic_clone.S | 33 // 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
|