/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_scalb.c | 28 __ieee754_scalb(double x, int fn) in __ieee754_scalb() argument 31 __ieee754_scalb(double x, double fn) in __ieee754_scalb() 35 return scalbn(x,fn); in __ieee754_scalb() 37 if (isnan(x)||isnan(fn)) return x*fn; in __ieee754_scalb() 38 if (!finite(fn)) { in __ieee754_scalb() 39 if(fn>0.0) return x*fn; in __ieee754_scalb() 40 else return x/(-fn); in __ieee754_scalb() 42 if (rint(fn)!=fn) return (fn-fn)/(fn-fn); in __ieee754_scalb() 43 if ( fn > 65000.0) return scalbn(x, 65000); in __ieee754_scalb() 44 if (-fn > 65000.0) return scalbn(x,-65000); in __ieee754_scalb() [all …]
|
D | e_scalbf.c | 24 __ieee754_scalbf(float x, int fn) in __ieee754_scalbf() argument 27 __ieee754_scalbf(float x, float fn) in __ieee754_scalbf() 31 return scalbnf(x,fn); in __ieee754_scalbf() 33 if ((isnanf)(x)||(isnanf)(fn)) return x*fn; in __ieee754_scalbf() 34 if (!finitef(fn)) { in __ieee754_scalbf() 35 if(fn>(float)0.0) return x*fn; in __ieee754_scalbf() 36 else return x/(-fn); in __ieee754_scalbf() 38 if (rintf(fn)!=fn) return (fn-fn)/(fn-fn); in __ieee754_scalbf() 39 if ( fn > (float)65000.0) return scalbnf(x, 65000); in __ieee754_scalbf() 40 if (-fn > (float)65000.0) return scalbnf(x,-65000); in __ieee754_scalbf() [all …]
|
D | e_rem_pio2f.c | 49 double w,r,fn; in __ieee754_rem_pio2f() local 59 STRICT_ASSIGN(double,fn,x*invpio2+0x1.8p52); in __ieee754_rem_pio2f() 60 fn = fn-0x1.8p52; in __ieee754_rem_pio2f() 62 n = irint(fn); in __ieee754_rem_pio2f() 64 n = (int32_t)fn; in __ieee754_rem_pio2f() 66 r = x-fn*pio2_1; in __ieee754_rem_pio2f() 67 w = fn*pio2_1t; in __ieee754_rem_pio2f()
|
D | e_rem_pio2.c | 57 double z,w,t,r,fn; in __ieee754_rem_pio2() local 131 STRICT_ASSIGN(double,fn,x*invpio2+0x1.8p52); in __ieee754_rem_pio2() 132 fn = fn-0x1.8p52; in __ieee754_rem_pio2() 134 n = irint(fn); in __ieee754_rem_pio2() 136 n = (int32_t)fn; in __ieee754_rem_pio2() 138 r = x-fn*pio2_1; in __ieee754_rem_pio2() 139 w = fn*pio2_1t; /* 1st round good to 85 bit */ in __ieee754_rem_pio2() 148 w = fn*pio2_2; in __ieee754_rem_pio2() 150 w = fn*pio2_2t-((t-r)-w); in __ieee754_rem_pio2() 156 w = fn*pio2_3; in __ieee754_rem_pio2() [all …]
|
D | s_fdim.c | 32 #define DECL(type, fn) \ argument 34 fn(type x, type y) \
|
D | s_lrint.c | 36 #define fn lrint macro 47 fn(type x) in fn() function
|
D | s_nearbyint.c | 40 #define DECL(type, fn, rint) \ argument 42 fn(type x) \
|
D | s_lround.c | 39 #define fn lround macro 56 fn(type x) in fn() function
|
D | s_llrint.c | 7 #define fn llrint macro
|
D | s_llrintl.c | 7 #define fn llrintl macro
|
D | s_llrintf.c | 7 #define fn llrintf macro
|
D | s_lrintf.c | 7 #define fn lrintf macro
|
D | s_lrintl.c | 7 #define fn lrintl macro
|
D | s_llroundl.c | 9 #define fn llroundl macro
|
D | s_lroundl.c | 9 #define fn lroundl macro
|
D | s_llround.c | 9 #define fn llround macro
|
D | s_llroundf.c | 9 #define fn llroundf macro
|
D | s_lroundf.c | 9 #define fn lroundf macro
|
/bionic/libc/kernel/common/linux/ |
D | init.h | 45 …_initcall(level,fn) static initcall_t __initcall_##fn __attribute_used__ __attribute__((__sect… argument 46 #define core_initcall(fn) __define_initcall("1",fn) argument 47 #define postcore_initcall(fn) __define_initcall("2",fn) argument 49 #define arch_initcall(fn) __define_initcall("3",fn) argument 50 #define subsys_initcall(fn) __define_initcall("4",fn) argument 51 #define fs_initcall(fn) __define_initcall("5",fn) argument 52 #define device_initcall(fn) __define_initcall("6",fn) argument 54 #define late_initcall(fn) __define_initcall("7",fn) argument 55 #define __initcall(fn) device_initcall(fn) argument 56 #define __exitcall(fn) static exitcall_t __exitcall_##fn __exit_call = fn argument [all …]
|
D | thread_info.h | 22 long (*fn)(struct restart_block *); member
|
/bionic/libc/bionic/ |
D | bionic_clone.c | 39 int (*fn)(void *), 48 __bionic_clone_entry( int (*fn)(void *), void *arg ) in __bionic_clone_entry() 50 int ret = (*fn)(arg); in __bionic_clone_entry() 55 clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...) in clone() 75 return __bionic_clone(flags, child_stack, parent_tidptr, new_tls, child_tidptr, fn, arg); in clone()
|
/bionic/tests/ |
D | signal_test.cpp | 23 static void TestSigSet1(Fn fn) { in TestSigSet1() argument 27 ASSERT_EQ(-1, fn(set_ptr)); in TestSigSet1() 33 ASSERT_EQ(0, fn(&set)); in TestSigSet1() 38 static void TestSigSet2(Fn fn) { in TestSigSet2() argument 42 ASSERT_EQ(-1, fn(set_ptr, SIGSEGV)); in TestSigSet2() 63 ASSERT_EQ(-1, fn(&set, 0)); in TestSigSet2() 68 ASSERT_EQ(-1, fn(&set, max_signal + 1)); in TestSigSet2() 73 ASSERT_EQ(0, fn(&set, min_signal)); in TestSigSet2() 75 ASSERT_EQ(0, fn(&set, max_signal)); in TestSigSet2()
|
D | benchmark.h | 25 Benchmark(const char* name, void (*fn)(int)) { in Benchmark() 26 Register(name, fn, NULL); in Benchmark() 48 void Register(const char* name, void (*fn)(int), void (*fn_range)(int, int));
|
/bionic/libc/stdlib/ |
D | atexit.c | 116 struct atexit_fn fn; in __cxa_finalize() local 137 fn = p->fns[n]; in __cxa_finalize() 149 (*fn.fn_ptr.cxa_func)(fn.fn_arg); in __cxa_finalize() 152 (*fn.fn_ptr.cxa_func)(fn.fn_arg); in __cxa_finalize() 154 (*fn.fn_ptr.std_func)(); in __cxa_finalize()
|
/bionic/libc/arch-mips/bionic/ |
D | clone.S | 51 sw $a0,0($a1) # fn 101 # __clone function here !! Placing 'fn' and 'arg'
|