Searched refs:fn (Results 1 - 25 of 44) 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.cpp31 int (*fn)(const char*, const struct stat64*, int), int nopenfd) {
32 return ftw(dirpath, reinterpret_cast<ftw_fn>(fn), nopenfd);
36 int (*fn)(const char*, const struct stat64*, int, struct FTW*),
38 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/benchmarks/
H A Dbenchmark.h25 Benchmark(const char* name, void (*fn)(int)) { argument
26 Register(name, fn, NULL);
48 void Register(const char* name, void (*fn)(int), void (*fn_range)(int, int));
/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/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
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dx_tables.h109 #define XT_MATCH_ITERATE(type, e, fn, args...) ({ unsigned int __i; int __ret = 0; struct xt_entry_match *__m; for (__i = sizeof(type); __i < (e)->target_offset; __i += __m->u.match_size) { __m = (void *)e + __i; __ret = fn(__m , ## args); if (__ret != 0) break; } __ret; })
110 #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) ({ unsigned int __i, __n; int __ret = 0; type *__entry; for (__i = 0, __n = 0; __i < (size); __i += __entry->next_offset, __n++) { __entry = (void *)(entries) + __i; if (__n < n) continue; __ret = fn(__entry , ## args); if (__ret != 0) break; } __ret; })
111 #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args)
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
H A Debtables.h165 #define EBT_MATCH_ITERATE(e, fn, args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry_match *__match; for (__i = sizeof(struct ebt_entry); __i < (e)->watchers_offset; __i += __match->match_size + sizeof(struct ebt_entry_match)) { __match = (void *)(e) + __i; __ret = fn(__match , ## args); if (__ret != 0) break; } if (__ret == 0) { if (__i != (e)->watchers_offset) __ret = -EINVAL; } __ret; })
166 #define EBT_WATCHER_ITERATE(e, fn, args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry_watcher *__watcher; for (__i = e->watchers_offset; __i < (e)->target_offset; __i += __watcher->watcher_size + sizeof(struct ebt_entry_watcher)) { __watcher = (void *)(e) + __i; __ret = fn(__watcher , ## args); if (__ret != 0) break; } if (__ret == 0) { if (__i != (e)->target_offset) __ret = -EINVAL; } __ret; })
167 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry *__entry; for (__i = 0; __i < (size);) { __entry = (void *)(entries) + __i; __ret = fn(__entry , ## args); if (__ret != 0) break; if (__entry->bitmask != 0) __i += __entry->next_offset; else __i += sizeof(struct ebt_entries); } if (__ret == 0) { if (__i != (size)) __ret = -EINVAL; } __ret; })

Completed in 325 milliseconds

12