Home
last modified time | relevance | path

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

12345678910>>...47

/device/google/contexthub/firmware/external/freebsd/inc/sys/
Dendian.h38 #define bswap16(x) __bswap16(x) argument
39 #define bswap32(x) __bswap32(x) argument
40 #define bswap64(x) __bswap64(x) argument
47 #define htobe16(x) bswap16((x)) argument
48 #define htobe32(x) bswap32((x)) argument
49 #define htobe64(x) bswap64((x)) argument
50 #define htole16(x) ((uint16_t)(x)) argument
51 #define htole32(x) ((uint32_t)(x)) argument
52 #define htole64(x) ((uint64_t)(x)) argument
54 #define be16toh(x) bswap16((x)) argument
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Include/Omap3530/
DOmap3530Gpio.h69 #define GPIO_IRQSTATUS_MASK(x) (1UL << (x)) argument
70 #define GPIO_IRQSTATUS_NOT_TRIGGERED(x) (0UL << (x)) argument
71 #define GPIO_IRQSTATUS_TRIGGERED(x) (1UL << (x)) argument
72 #define GPIO_IRQSTATUS_CLEAR(x) (1UL << (x)) argument
74 #define GPIO_IRQENABLE_MASK(x) (1UL << (x)) argument
75 #define GPIO_IRQENABLE_DISABLE(x) (0UL << (x)) argument
76 #define GPIO_IRQENABLE_ENABLE(x) (1UL << (x)) argument
78 #define GPIO_WAKEUPENABLE_MASK(x) (1UL << (x)) argument
79 #define GPIO_WAKEUPENABLE_DISABLE(x) (0UL << (x)) argument
80 #define GPIO_WAKEUPENABLE_ENABLE(x) (1UL << (x)) argument
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/Include/Omap3530/
DOmap3530Gpio.h69 #define GPIO_IRQSTATUS_MASK(x) (1UL << (x)) argument
70 #define GPIO_IRQSTATUS_NOT_TRIGGERED(x) (0UL << (x)) argument
71 #define GPIO_IRQSTATUS_TRIGGERED(x) (1UL << (x)) argument
72 #define GPIO_IRQSTATUS_CLEAR(x) (1UL << (x)) argument
74 #define GPIO_IRQENABLE_MASK(x) (1UL << (x)) argument
75 #define GPIO_IRQENABLE_DISABLE(x) (0UL << (x)) argument
76 #define GPIO_IRQENABLE_ENABLE(x) (1UL << (x)) argument
78 #define GPIO_WAKEUPENABLE_MASK(x) (1UL << (x)) argument
79 #define GPIO_WAKEUPENABLE_DISABLE(x) (0UL << (x)) argument
80 #define GPIO_WAKEUPENABLE_ENABLE(x) (1UL << (x)) argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_math.c42 _Py_acosh(double x) in _Py_acosh() argument
44 if (Py_IS_NAN(x)) { in _Py_acosh()
45 return x+x; in _Py_acosh()
47 if (x < 1.) { /* x < 1; return a signaling NaN */ in _Py_acosh()
52 return (x-x)/(x-x); in _Py_acosh()
55 else if (x >= two_pow_p28) { /* x > 2**28 */ in _Py_acosh()
56 if (Py_IS_INFINITY(x)) { in _Py_acosh()
57 return x+x; in _Py_acosh()
60 return log(x)+ln2; /* acosh(huge)=log(2x) */ in _Py_acosh()
63 else if (x == 1.) { in _Py_acosh()
[all …]
Dsignalmodule.c574 PyObject *m, *d, *x; in initsignal() local
590 x = DefaultHandler = PyLong_FromVoidPtr((void *)SIG_DFL); in initsignal()
591 if (!x || PyDict_SetItemString(d, "SIG_DFL", x) < 0) in initsignal()
594 x = IgnoreHandler = PyLong_FromVoidPtr((void *)SIG_IGN); in initsignal()
595 if (!x || PyDict_SetItemString(d, "SIG_IGN", x) < 0) in initsignal()
598 x = PyInt_FromLong((long)NSIG); in initsignal()
599 if (!x || PyDict_SetItemString(d, "NSIG", x) < 0) in initsignal()
601 Py_DECREF(x); in initsignal()
603 x = IntHandler = PyDict_GetItemString(d, "default_int_handler"); in initsignal()
604 if (!x) in initsignal()
[all …]
Dmathmodule.c74 sinpi(double x) in sinpi() argument
79 assert(Py_IS_FINITE(x)); in sinpi()
80 y = fmod(fabs(x), 2.0); in sinpi()
105 return copysign(1.0, x)*r; in sinpi()
202 lanczos_sum(double x) in lanczos_sum() argument
206 assert(x > 0.0); in lanczos_sum()
215 if (x < 5.0) { in lanczos_sum()
217 num = num * x + lanczos_num_coeffs[i]; in lanczos_sum()
218 den = den * x + lanczos_den_coeffs[i]; in lanczos_sum()
223 num = num / x + lanczos_num_coeffs[i]; in lanczos_sum()
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dendian.h121 #define ntohl(x) (x) argument
122 #define ntohs(x) (x) argument
123 #define htonl(x) (x) argument
124 #define htons(x) (x) argument
126 #define NTOHL(x) (void) (x) argument
127 #define NTOHS(x) (void) (x) argument
128 #define HTONL(x) (void) (x) argument
129 #define HTONS(x) (void) (x) argument
133 #define ntohl(x) bswap32((uint32_t)(x))
134 #define ntohs(x) bswap16((uint16_t)(x))
[all …]
Dbswap.h41 #define __byte_swap_u64_constant(x) \ argument
43 ((((x) & 0xff00000000000000ull) >> 56) | \
44 (((x) & 0x00ff000000000000ull) >> 40) | \
45 (((x) & 0x0000ff0000000000ull) >> 24) | \
46 (((x) & 0x000000ff00000000ull) >> 8) | \
47 (((x) & 0x00000000ff000000ull) << 8) | \
48 (((x) & 0x0000000000ff0000ull) << 24) | \
49 (((x) & 0x000000000000ff00ull) << 40) | \
50 (((x) & 0x00000000000000ffull) << 56)))
52 #define __byte_swap_u32_constant(x) \ argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_math.c42 _Py_acosh(double x) in _Py_acosh() argument
44 if (Py_IS_NAN(x)) { in _Py_acosh()
45 return x+x; in _Py_acosh()
47 if (x < 1.) { /* x < 1; return a signaling NaN */ in _Py_acosh()
52 return (x-x)/(x-x); in _Py_acosh()
55 else if (x >= two_pow_p28) { /* x > 2**28 */ in _Py_acosh()
56 if (Py_IS_INFINITY(x)) { in _Py_acosh()
57 return x+x; in _Py_acosh()
60 return log(x)+ln2; /* acosh(huge)=log(2x) */ in _Py_acosh()
63 else if (x == 1.) { in _Py_acosh()
[all …]
Dsignalmodule.c566 PyObject *m, *d, *x; in initsignal() local
582 x = DefaultHandler = PyLong_FromVoidPtr((void *)SIG_DFL); in initsignal()
583 if (!x || PyDict_SetItemString(d, "SIG_DFL", x) < 0) in initsignal()
586 x = IgnoreHandler = PyLong_FromVoidPtr((void *)SIG_IGN); in initsignal()
587 if (!x || PyDict_SetItemString(d, "SIG_IGN", x) < 0) in initsignal()
590 x = PyInt_FromLong((long)NSIG); in initsignal()
591 if (!x || PyDict_SetItemString(d, "NSIG", x) < 0) in initsignal()
593 Py_DECREF(x); in initsignal()
595 x = IntHandler = PyDict_GetItemString(d, "default_int_handler"); in initsignal()
596 if (!x) in initsignal()
[all …]
Dmathmodule.c74 sinpi(double x) in sinpi() argument
79 assert(Py_IS_FINITE(x)); in sinpi()
80 y = fmod(fabs(x), 2.0); in sinpi()
105 return copysign(1.0, x)*r; in sinpi()
202 lanczos_sum(double x) in lanczos_sum() argument
206 assert(x > 0.0); in lanczos_sum()
215 if (x < 5.0) { in lanczos_sum()
217 num = num * x + lanczos_num_coeffs[i]; in lanczos_sum()
218 den = den * x + lanczos_den_coeffs[i]; in lanczos_sum()
223 num = num / x + lanczos_num_coeffs[i]; in lanczos_sum()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_augassign.py9 x = 2
10 x += 1
11 x *= 2
12 x **= 2
13 x -= 8
14 x //= 5
15 x %= 3
16 x &= 2
17 x |= 5
18 x ^= 1
[all …]
Dtest_grammar.py16 x = 1 \
18 self.assertEqual(x, 2, 'backslash for line continuation')
21 x = 0
22 self.assertEqual(x, 0, 'backslash ending comment')
38 x = eval(s)
48 x = eval(s)
55 x = 0L
56 x = 0l
57 x = 0xffffffffffffffffL
58 x = 0xffffffffffffffffl
[all …]
Dtest_copy.py21 x = 42
22 y = copy.copy(x)
23 self.assertEqual(x, y)
31 x = C(42)
32 y = copy.copy(x)
33 self.assertEqual(y.__class__, x.__class__)
34 self.assertEqual(y.foo, x.foo)
44 x = C(42)
45 self.assertRaises(TypeError, copy.copy, x)
47 y = copy.copy(x)
[all …]
Dtokenize_tests.txt14 x = 1 #
24 x = (len(`y`) + 5*x - a[
26 - x + len({
32 x = 1 \
36 x = 0
47 x = 0L
48 x = 0l
49 x = 0xffffffffffffffffL
50 x = 0xffffffffffffffffl
51 x = 077777777777777777L
[all …]
Dtest_long.py38 special = special + map(lambda x: ~x, special) + \
39 map(lambda x: -x, special)
122 def check_division(self, x, y): argument
124 q, r = divmod(x, y)
125 q2, r2 = x//y, x%y
126 pab, pba = x*y, y*x
127 eq(pab, pba, Frm("multiplication does not commute for %r and %r", x, y))
128 eq(q, q2, Frm("divmod returns different quotient than / for %r and %r", x, y))
129 eq(r, r2, Frm("divmod returns different mod than %% for %r and %r", x, y))
130 eq(x, q*y + r, Frm("x != q*y + r after divmod on x=%r, y=%r", x, y))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/
Dpy3_test_grammar.py21 x = 1 \
23 self.assertEquals(x, 2, 'backslash for line continuation')
26 x = 0
27 self.assertEquals(x, 0, 'backslash ending comment')
47 x = eval(s)
59 x = eval(s)
66 x = 0
67 x = 0xffffffffffffffff
68 x = 0Xffffffffffffffff
69 x = 0o77777777777777777
[all …]
Dpy2_test_grammar.py21 x = 1 \
23 self.assertEquals(x, 2, 'backslash for line continuation')
26 x = 0
27 self.assertEquals(x, 0, 'backslash ending comment')
43 x = eval(s)
53 x = eval(s)
60 x = 0L
61 x = 0l
62 x = 0xffffffffffffffffL
63 x = 0xffffffffffffffffl
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl.types1 uint32_t 32 0x%08x
2 uint64_t 64 0x%016lx
3 EGLint 32 0x%08x
4 GLint 32 0x%08x
5 GLuint 32 0x%08x
6 GLenum 32 0x%08x
7 EGLenum 32 0x%08x
8 uint32_t* 32 0x%08x
9 EGLint* 32 0x%08x
10 int* 32 0x%08x
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DLookups.py32 x = c.__a
33 x = c.__b
34 x = c.__c
36 x = c.__a
37 x = c.__b
38 x = c.__c
40 x = c.__a
41 x = c.__b
42 x = c.__c
44 x = c.__a
[all …]
DLists.py30 x = l[0]
31 x = l[1]
32 x = l[2]
33 x = l[3]
34 x = l[4]
35 x = l[5]
51 x = l[0]
52 x = l[1]
53 x = l[2]
54 x = l[3]
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/Common/
DArmLibPrivate.h34 #define SIZE_FIELD_TO_CACHE_SIZE(x) (((x) >> 6) & 0x0F) argument
35 #define SIZE_FIELD_TO_CACHE_ASSOCIATIVITY(x) (((x) >> 3) & 0x07) argument
36 #define SIZE_FIELD_TO_CACHE_PRESENCE(x) (((x) >> 2) & 0x01) argument
37 #define SIZE_FIELD_TO_CACHE_LINE_LENGTH(x) (((x) >> 0) & 0x03) argument
39 #define DATA_CACHE_SIZE_FIELD(x) (((x) >> 12) & 0x0FFF) argument
40 #define INSTRUCTION_CACHE_SIZE_FIELD(x) (((x) >> 0) & 0x0FFF) argument
42 #define DATA_CACHE_SIZE(x) (SIZE_FIELD_TO_CACHE_SIZE(DATA_CACHE_SIZE_FIELD(x))) argument
43 #define DATA_CACHE_ASSOCIATIVITY(x) (SIZE_FIELD_TO_CACHE_ASSOCIATIVITY(DATA_CACHE_SIZE_FI… argument
44 #define DATA_CACHE_PRESENT(x) (SIZE_FIELD_TO_CACHE_PRESENCE(DATA_CACHE_SIZE_FIELD(x argument
45 #define DATA_CACHE_LINE_LENGTH(x) (SIZE_FIELD_TO_CACHE_LINE_LENGTH(DATA_CACHE_SIZE_FIEL… argument
[all …]
/device/sample/skins/WVGAMedDpi/
Dlayout17 x 0
29 x 56
34 x 0
39 x 112
44 x 77
49 x 77
54 x 53
59 x 123
64 x 77
69 x 0
[all …]
/device/google/contexthub/firmware/lib/libm/
Dsf_atan.c68 float atanf(float x) in atanf() argument
70 float atanf(x) in atanf()
71 float x; in atanf()
77 GET_FLOAT_WORD(hx,x);
81 return x+x; /* NaN */
86 if(huge+x>one) return x; /* raise inexact */
90 x = fabsf(x);
93 id = 0; x = ((float)2.0*x-one)/((float)2.0+x);
95 id = 1; x = (x-one)/(x+one);
99 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x);
[all …]
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Ds_atanf.c49 atanf(float x) in atanf() argument
54 GET_FLOAT_WORD(hx,x); in atanf()
58 return x+x; /* NaN */ in atanf()
63 if(huge+x>one) return x; /* raise inexact */ in atanf()
67 x = fabsf(x); in atanf()
70 id = 0; x = ((float)2.0*x-one)/((float)2.0+x); in atanf()
72 id = 1; x = (x-one)/(x+one); in atanf()
76 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x); in atanf()
78 id = 3; x = -(float)1.0/x; in atanf()
82 z = x*x; in atanf()
[all …]

12345678910>>...47