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

123

/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/private/
H A Dbionic_fortify.h50 static inline void __check_fd_set(const char* fn, int fd, size_t set_size) { argument
52 __fortify_fatal("%s: file descriptor %d < 0", fn, fd);
55 __fortify_fatal("%s: file descriptor %d >= FD_SETSIZE %zu", fn, fd, set_size);
58 __fortify_fatal("%s: set size %zu is too small to be an fd_set", fn, set_size);
62 static inline void __check_pollfd_array(const char* fn, size_t fds_size, nfds_t fd_count) { argument
66 fn, pollfd_array_length, fd_count);
70 static inline void __check_count(const char* fn, const char* identifier, size_t value) { argument
72 __fortify_fatal("%s: %s %zu > SSIZE_MAX", fn, identifier, value);
76 static inline void __check_buffer_access(const char* fn, const char* action, argument
79 __fortify_fatal("%s: prevented %zu-byte %s %zu-byte buffer", fn, clai
[all...]
H A Dbionic_vdso.h52 void* fn; member in struct:vdso_entry
/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.cpp40 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);
44 extern "C" __LIBC_HIDDEN__ void __start_thread(int (*fn)(void*), void* arg) { argument
52 int status = (*fn)(arg);
57 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { argument
62 if (fn != nullptr && child_stack == nullptr) {
101 if (fn != nullptr) {
102 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 Dpthread_dlfcn_test.cpp51 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "proxy_pthread_atfork")); local
52 ASSERT_TRUE(fn != nullptr) << dlerror();
54 ASSERT_EQ(0, fn(AtForkPrepare2, AtForkParent2, AtForkChild2));
55 ASSERT_EQ(0, fn(AtForkPrepare3, AtForkParent3, AtForkChild3));
96 fn_t fn = reinterpret_cast<fn_t>(dlsym(g_atfork_test_handle, "proxy_pthread_atfork")); local
97 ASSERT_TRUE(fn != nullptr) << dlerror();
/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 210 milliseconds

123