Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/bionic/libc/kernel/common/linux/mtd/
Dcfi_endian.h22 #define cpu_to_cfi8(x) (x) argument
24 #define cfi8_to_cpu(x) (x) argument
25 #define cpu_to_cfi16(x) cpu_to_le16(x) argument
26 #define cpu_to_cfi32(x) cpu_to_le32(x) argument
27 #define cpu_to_cfi64(x) cpu_to_le64(x) argument
29 #define cfi16_to_cpu(x) le16_to_cpu(x) argument
30 #define cfi32_to_cpu(x) le32_to_cpu(x) argument
31 #define cfi64_to_cpu(x) le64_to_cpu(x) argument
34 #define cpu_to_cfi8(x) (x) argument
35 #define cfi8_to_cpu(x) (x) argument
[all …]
/bionic/libc/kernel/common/linux/byteorder/
Dbig_endian.h31 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) argument
32 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) argument
34 #define __constant_htons(x) ((__force __be16)(__u16)(x)) argument
35 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) argument
36 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) argument
37 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) argument
39 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) argument
40 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) argument
41 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) argument
42 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) argument
[all …]
Dlittle_endian.h31 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument
32 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument
34 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument
35 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument
36 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument
37 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument
39 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument
40 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument
41 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument
42 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument
[all …]
Dswabb.h21 #define ___swahw32(x) ({ __u32 __x = (x); ((__u32)( (((__u32)(__x) & (__u32)0x0000ffffUL) <<… argument
22 #define ___swahb32(x) ({ __u32 __x = (x); ((__u32)( (((__u32)(__x) & (__u32)0x00ff00ffUL) <<… argument
24 #define ___constant_swahw32(x) ((__u32)( (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | (((__u3… argument
25 #define ___constant_swahb32(x) ((__u32)( (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | (((__u32… argument
27 #define __arch__swahw32(x) ___swahw32(x) argument
31 #define __arch__swahb32(x) ___swahb32(x) argument
35 #define __arch__swahw32p(x) __swahw32(*(x)) argument
39 #define __arch__swahb32p(x) __swahb32(*(x)) argument
42 #define __arch__swahw32s(x) do { *(x) = __swahw32p((x)); } while (0) argument
46 #define __arch__swahb32s(x) do { *(x) = __swahb32p((x)); } while (0) argument
[all …]
Dswab.h22 #define ___swab16(x) ({ __u16 __x = (x); ((__u16)( (((__u16)(__x) & (__u16)0x00ffU) << 8) | … argument
24 #define ___swab32(x) ({ __u32 __x = (x); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << … argument
25 #define ___swab64(x) ({ __u64 __x = (x); ((__u64)( (__u64)(((__u64)(__x) & (__u64)0x00000000… argument
26 #define ___constant_swab16(x) ((__u16)( (((__u16)(x) & (__u16)0x00ffU) << 8) | (((__u16)(x) &… argument
27x) ((__u32)( (((__u32)(x) & (__u32)0x000000ffUL) << 24) | (((__u32)(x) & (__u32)0x0000ff00UL… argument
29x) ((__u64)( (__u64)(((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | (__u64)(((__u64)(x argument
31 #define __arch__swab16(x) ({ __u16 __tmp = (x) ; ___swab16(__tmp); }) argument
35 #define __arch__swab32(x) ({ __u32 __tmp = (x) ; ___swab32(__tmp); }) argument
39 #define __arch__swab64(x) ({ __u64 __tmp = (x) ; ___swab64(__tmp); }) argument
42 #define __arch__swab16p(x) __arch__swab16(*(x)) argument
[all …]
/bionic/libc/kernel/common/linux/
Dswab.h25 #define ___constant_swab16(x) ((__u16)( (((__u16)(x) & (__u16)0x00ffU) << 8) | (((__u16)(x) & (… argument
26x) ((__u32)( (((__u32)(x) & (__u32)0x000000ffUL) << 24) | (((__u32)(x) & (__u32)0x0000ff00UL) … argument
27x) ((__u64)( (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | (((__u64)(x) & (__u64)0x000… argument
29 #define ___constant_swahw32(x) ((__u32)( (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | (((__u32)… argument
30 #define ___constant_swahb32(x) ((__u32)( (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | (((__u32)( argument
51 #define __swab16(x) (__builtin_constant_p((__u16)(x)) ? ___constant_swab16(x) : __fswab16(x)) argument
52 #define __swab32(x) (__builtin_constant_p((__u32)(x)) ? ___constant_swab32(x) : __fswab32(x)) argument
54 #define __swab64(x) (__builtin_constant_p((__u64)(x)) ? ___constant_swab64(x) : __fswab64(x)) argument
55 #define __swahw32(x) (__builtin_constant_p((__u32)(x)) ? ___constant_swahw32(x) : __fswahw32( argument
56 #define __swahb32(x) (__builtin_constant_p((__u32)(x)) ? ___constant_swahb32(x) : __fswahb32( argument
/bionic/libc/include/sys/
Dendian.h55 #define __swap16gen(x) __statement({ \ argument
56 __uint16_t __swap16gen_x = (x); \
62 #define __swap32gen(x) __statement({ \ argument
63 __uint32_t __swap32gen_x = (x); \
71 #define __swap64gen(x) __statement({ \ argument
72 __uint64_t __swap64gen_x = (x); \
87 #define __swap16gen(x) \ argument
88 (__uint16_t)(((__uint16_t)(x) & 0xff) << 8 | ((__uint16_t)(x) & 0xff00) >> 8)
90 #define __swap32gen(x) \ argument
91 (__uint32_t)(((__uint32_t)(x) & 0xff) << 24 | \
[all …]
/bionic/libm/src/
De_remainderf.c27 __ieee754_remainderf(float x, float p) in __ieee754_remainderf() argument
33 GET_FLOAT_WORD(hx,x); in __ieee754_remainderf()
40 if(hp==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainderf()
43 return (x*p)/(x*p); in __ieee754_remainderf()
46 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ in __ieee754_remainderf()
47 if ((hx-hp)==0) return zero*x; in __ieee754_remainderf()
48 x = fabsf(x); in __ieee754_remainderf()
51 if(x+x>p) { in __ieee754_remainderf()
52 x-=p; in __ieee754_remainderf()
53 if(x+x>=p) x -= p; in __ieee754_remainderf()
[all …]
De_remainder.c34 __ieee754_remainder(double x, double p) in __ieee754_remainder() argument
40 EXTRACT_WORDS(hx,lx,x); in __ieee754_remainder()
47 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainder()
51 return (x*p)/(x*p); in __ieee754_remainder()
54 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ in __ieee754_remainder()
55 if (((hx-hp)|(lx-lp))==0) return zero*x; in __ieee754_remainder()
56 x = fabs(x); in __ieee754_remainder()
59 if(x+x>p) { in __ieee754_remainder()
60 x-=p; in __ieee754_remainder()
61 if(x+x>=p) x -= p; in __ieee754_remainder()
[all …]
De_atanhf.c28 __ieee754_atanhf(float x) in __ieee754_atanhf() argument
32 GET_FLOAT_WORD(hx,x); in __ieee754_atanhf()
35 return (x-x)/(x-x); in __ieee754_atanhf()
37 return x/zero; in __ieee754_atanhf()
38 if(ix<0x31800000&&(huge+x)>zero) return x; /* x<2**-28 */ in __ieee754_atanhf()
39 SET_FLOAT_WORD(x,ix); in __ieee754_atanhf()
41 t = x+x; in __ieee754_atanhf()
42 t = (float)0.5*log1pf(t+t*x/(one-x)); in __ieee754_atanhf()
44 t = (float)0.5*log1pf((x+x)/(one-x)); in __ieee754_atanhf()
De_atanh.c44 __ieee754_atanh(double x) in __ieee754_atanh() argument
49 EXTRACT_WORDS(hx,lx,x); in __ieee754_atanh()
52 return (x-x)/(x-x); in __ieee754_atanh()
54 return x/zero; in __ieee754_atanh()
55 if(ix<0x3e300000&&(huge+x)>zero) return x; /* x<2**-28 */ in __ieee754_atanh()
56 SET_HIGH_WORD(x,ix); in __ieee754_atanh()
58 t = x+x; in __ieee754_atanh()
59 t = 0.5*log1p(t+t*x/(one-x)); in __ieee754_atanh()
61 t = 0.5*log1p((x+x)/(one-x)); in __ieee754_atanh()
Ds_atanf.c56 atanf(float x) in atanf() argument
61 GET_FLOAT_WORD(hx,x); in atanf()
65 return x+x; /* NaN */ in atanf()
70 if(huge+x>one) return x; /* raise inexact */ in atanf()
74 x = fabsf(x); in atanf()
77 id = 0; x = ((float)2.0*x-one)/((float)2.0+x); in atanf()
79 id = 1; x = (x-one)/(x+one); in atanf()
83 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x); in atanf()
85 id = 3; x = -(float)1.0/x; in atanf()
89 z = x*x; in atanf()
[all …]
Ds_atan.c73 atan(double x) in atan() argument
78 GET_HIGH_WORD(hx,x); in atan()
82 GET_LOW_WORD(low,x); in atan()
85 return x+x; /* NaN */ in atan()
90 if(huge+x>one) return x; /* raise inexact */ in atan()
94 x = fabs(x); in atan()
97 id = 0; x = (2.0*x-one)/(2.0+x); in atan()
99 id = 1; x = (x-one)/(x+one); in atan()
103 id = 2; x = (x-1.5)/(one+1.5*x); in atan()
105 id = 3; x = -1.0/x; in atan()
[all …]
De_acoshf.c28 __ieee754_acoshf(float x) in __ieee754_acoshf() argument
32 GET_FLOAT_WORD(hx,x); in __ieee754_acoshf()
34 return (x-x)/(x-x); in __ieee754_acoshf()
37 return x+x; in __ieee754_acoshf()
39 return __ieee754_logf(x)+ln2; /* acosh(huge)=log(2x) */ in __ieee754_acoshf()
43 t=x*x; in __ieee754_acoshf()
44 return __ieee754_logf((float)2.0*x-one/(x+__ieee754_sqrtf(t-one))); in __ieee754_acoshf()
46 t = x-one; in __ieee754_acoshf()
Ds_scalbn.c37 scalbn (double x, int n) in scalbn() argument
40 EXTRACT_WORDS(hx,lx,x); in scalbn()
43 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */ in scalbn()
44 x *= two54; in scalbn()
45 GET_HIGH_WORD(hx,x); in scalbn()
47 if (n< -50000) return tiny*x; /*underflow*/ in scalbn()
49 if (k==0x7ff) return x+x; /* NaN or Inf */ in scalbn()
51 if (k > 0x7fe) return huge*copysign(huge,x); /* overflow */ in scalbn()
53 {SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); return x;} in scalbn()
56 return huge*copysign(huge,x); /*overflow*/ in scalbn()
[all …]
De_acosh.c41 __ieee754_acosh(double x) in __ieee754_acosh() argument
46 EXTRACT_WORDS(hx,lx,x); in __ieee754_acosh()
48 return (x-x)/(x-x); in __ieee754_acosh()
51 return x+x; in __ieee754_acosh()
53 return __ieee754_log(x)+ln2; /* acosh(huge)=log(2x) */ in __ieee754_acosh()
57 t=x*x; in __ieee754_acosh()
58 return __ieee754_log(2.0*x-one/(x+sqrt(t-one))); in __ieee754_acosh()
60 t = x-one; in __ieee754_acosh()
Ds_nexttowardf.c25 nexttowardf(float x, long double y) in nexttowardf() argument
31 GET_FLOAT_WORD(hx,x); in nexttowardf()
38 return x+y; /* x or y is nan */ in nexttowardf()
39 if(x==y) return (float)y; /* x=y, return y */ in nexttowardf()
41 SET_FLOAT_WORD(x,(uy.bits.sign<<31)|1);/* return +-minsubnormal */ in nexttowardf()
42 t = x*x; in nexttowardf()
43 if(t==x) return t; else return x; /* raise underflow flag */ in nexttowardf()
45 if(hx>=0 ^ x < y) /* x -= ulp */ in nexttowardf()
50 if(ix>=0x7f800000) return x+x; /* overflow */ in nexttowardf()
52 t = x*x; in nexttowardf()
[all …]
Ds_nextafterf.c24 nextafterf(float x, float y) in nextafterf() argument
29 GET_FLOAT_WORD(hx,x); in nextafterf()
36 return x+y; in nextafterf()
37 if(x==y) return y; /* x=y, return y */ in nextafterf()
39 SET_FLOAT_WORD(x,(hy&0x80000000)|1);/* return +-minsubnormal */ in nextafterf()
40 t = x*x; in nextafterf()
41 if(t==x) return t; else return x; /* raise underflow flag */ in nextafterf()
57 if(hy>=0x7f800000) return x+x; /* overflow */ in nextafterf()
59 t = x*x; in nextafterf()
60 if(t!=x) { /* raise underflow flag */ in nextafterf()
[all …]
Ds_nexttoward.c34 nexttoward(double x, long double y) in nexttoward() argument
41 EXTRACT_WORDS(hx,lx,x); in nexttoward()
48 return x+y; /* x or y is nan */ in nexttoward()
49 if(x==y) return (double)y; /* x=y, return y */ in nexttoward()
50 if(x==0.0) { in nexttoward()
51 INSERT_WORDS(x,uy.bits.sign<<31,1); /* return +-minsubnormal */ in nexttoward()
52 t = x*x; in nexttoward()
53 if(t==x) return t; else return x; /* raise underflow flag */ in nexttoward()
55 if(hx>0.0 ^ x < y) { /* x -= ulp */ in nexttoward()
63 if(ix>=0x7ff00000) return x+x; /* overflow */ in nexttoward()
[all …]
/bionic/libm/bsdsrc/
Db_exp.c91 double exp(x)
92 double x;
98 if(x!=x) return(x); /* x is NaN */
100 if( x <= lnhuge ) {
101 if( x >= lntiny ) {
105 k=invln2*x+copysign(0.5,x); /* k=NINT(x/ln2) */
109 hi=x-k*ln2hi;
110 x=hi-(lo=k*ln2lo);
113 z=x*x;
114 c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
[all …]
/bionic/libc/kernel/arch-arm/asm/
Dbyteorder.h24 static inline __attribute_const__ __u32 ___arch__swab32(__u32 x) in ___arch__swab32() argument
29 if (!__builtin_constant_p(x)) { in ___arch__swab32()
30 __asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x)); in ___arch__swab32()
34 t = x ^ ((x << 16) | (x >> 16)); in ___arch__swab32()
35 x = (x << 24) | (x >> 8); in ___arch__swab32()
37 x ^= (t >> 8); in ___arch__swab32()
39 return x; in ___arch__swab32()
41 #define __arch__swab32(x) ___arch__swab32(x) argument
/bionic/libc/kernel/arch-mips/asm/sibyte/
Dsb1250_scd.h26 #define V_SYS_REVISION(x) _SB_MAKEVALUE(x, S_SYS_REVISION) argument
27 #define G_SYS_REVISION(x) _SB_GETVALUE(x, S_SYS_REVISION, M_SYS_REVISION) argument
75 #define V_SYS_L2C_SIZE(x) _SB_MAKEVALUE(x, S_SYS_L2C_SIZE) argument
76 #define G_SYS_L2C_SIZE(x) _SB_GETVALUE(x, S_SYS_L2C_SIZE, M_SYS_L2C_SIZE) argument
89 #define V_SYS_NUM_CPUS(x) _SB_MAKEVALUE(x, S_SYS_NUM_CPUS) argument
90 #define G_SYS_NUM_CPUS(x) _SB_GETVALUE(x, S_SYS_NUM_CPUS, M_SYS_NUM_CPUS) argument
94 #define V_SYS_PART(x) _SB_MAKEVALUE(x, S_SYS_PART) argument
95 #define G_SYS_PART(x) _SB_GETVALUE(x, S_SYS_PART, M_SYS_PART) argument
105 #define V_SYS_SOC_TYPE(x) _SB_MAKEVALUE(x, S_SYS_SOC_TYPE) argument
106 #define G_SYS_SOC_TYPE(x) _SB_GETVALUE(x, S_SYS_SOC_TYPE, M_SYS_SOC_TYPE) argument
[all …]
Dbcm1480_scd.h40 #define V_BCM1480_SYS_PLL_DIV(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_PLL_DIV) argument
41 #define G_BCM1480_SYS_PLL_DIV(x) _SB_GETVALUE(x, S_BCM1480_SYS_PLL_DIV, M_BCM1480_SYS_PLL_DIV) argument
45 #define V_BCM1480_SYS_SW_DIV(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_SW_DIV) argument
46 #define G_BCM1480_SYS_SW_DIV(x) _SB_GETVALUE(x, S_BCM1480_SYS_SW_DIV, M_BCM1480_SYS_SW_DIV) argument
52 #define V_BCM1480_SYS_BOOT_MODE(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_BOOT_MODE) argument
54 #define G_BCM1480_SYS_BOOT_MODE(x) _SB_GETVALUE(x, S_BCM1480_SYS_BOOT_MODE, M_BCM1480_SYS_BOOT_MODE) argument
71 #define V_BCM1480_SYS_CONFIG(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_CONFIG) argument
72 #define G_BCM1480_SYS_CONFIG(x) _SB_GETVALUE(x, S_BCM1480_SYS_CONFIG, M_BCM1480_SYS_CONFIG) argument
77 #define V_BCM1480_SYS_NODEID(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_NODEID) argument
79 #define G_BCM1480_SYS_NODEID(x) _SB_GETVALUE(x, S_BCM1480_SYS_NODEID, M_BCM1480_SYS_NODEID) argument
[all …]
/bionic/libc/arch-x86/include/machine/
Dasm.h61 #define PIC_PLT(x) x@PLT argument
62 #define PIC_GOT(x) x@GOT(%ebx) argument
63 #define PIC_GOTOFF(x) x@GOTOFF(%ebx) argument
67 #define PIC_PLT(x) x argument
68 #define PIC_GOT(x) x argument
69 #define PIC_GOTOFF(x) x argument
73 #define _ASM_LABEL(x) x argument
75 #define CVAROFF(x, y) _C_LABEL(x) + y argument
78 # define __CONCAT(x,y) x ## y argument
79 # define __STRING(x) #x argument
[all …]
/bionic/libc/arch-arm/include/machine/
Dasm.h42 # define _C_LABEL(x) x argument
45 # define _C_LABEL(x) _ ## x argument
47 # define _C_LABEL(x) _/**/x argument
50 #define _ASM_LABEL(x) x argument
53 # define __CONCAT(x,y) x ## y argument
54 # define __STRING(x) #x argument
56 # define __CONCAT(x,y) x/**/y argument
57 # define __STRING(x) "x" argument
72 #define _ENTRY(x) \ argument
73 .text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: .fnstart
[all …]

12345678910>>...13