Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 2739) sorted by relevance

12345678910>>...110

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DConstructs.py11 a,b,c = 1,2,3
14 if a == 1:
23 a = 2
24 elif a == 2:
25 a = 3
27 a = 1
29 if a == 1:
38 a = 2
39 elif a == 2:
40 a = 3
[all …]
DArithmetic.py13 a = 2
17 c = a + b
19 c = c + a
20 c = a + b
23 c = c - a
24 c = a - b
26 c = c - a
29 c = a / b
30 c = b / a
33 c = a * b
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
Dtest_fixers.py78 a = """if x != y:
80 self.check(b, a)
86 a = """if x!=y:
88 self.check(b, a)
94 a = """if x!=y!=z:
96 self.check(b, a)
103 a = """x = "x" in d or "y" in d"""
104 self.check(b, a)
108 a = """x = ("x" in a.b.c.d) ** 3"""
109 self.check(b, a)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dlist_tests.py17 a = self.type2test([1, 2, 3])
18 a.__init__()
19 self.assertEqual(a, self.type2test([]))
22 a = self.type2test([1, 2, 3])
23 a.__init__([4, 5, 6])
24 self.assertEqual(a, self.type2test([4, 5, 6]))
27 b = self.type2test(a)
28 self.assertNotEqual(id(a), id(b))
29 self.assertEqual(a, b)
68 a = self.type2test(range(20))
[all …]
Dtest_array.py49 a = array.array(self.typecode)
50 self.assertEqual(a.typecode, self.typecode)
51 self.assertTrue(a.itemsize>=self.minitemsize)
55 a = array.array(self.typecode)
56 a.append(self.example[0])
57 self.assertEqual(len(a), 1)
59 a = array.array(self.typecode, self.example)
60 self.assertEqual(len(a), len(self.example))
63 a = array.array(self.typecode, self.example)
64 self.assertRaises(TypeError, a.buffer_info, 42)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/set/
Dset.c92 #define CHK(a) \ argument
93 if ( a.setword != NULL ) \
94 if ( !valid(a.setword) ) \
97 #define CHK(a) argument
116 set_deg( set a ) in set_deg() argument
118 set_deg( a ) in set_deg()
119 set a; in set_deg()
127 register unsigned *p = &(a.setword[0]);
131 CHK(a);
132 if ( a.n == 0 ) return(0);
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dadler32.c23 # define MOD(a) \ argument
25 if (a >= (BASE << 16)) a -= (BASE << 16); \
26 if (a >= (BASE << 15)) a -= (BASE << 15); \
27 if (a >= (BASE << 14)) a -= (BASE << 14); \
28 if (a >= (BASE << 13)) a -= (BASE << 13); \
29 if (a >= (BASE << 12)) a -= (BASE << 12); \
30 if (a >= (BASE << 11)) a -= (BASE << 11); \
31 if (a >= (BASE << 10)) a -= (BASE << 10); \
32 if (a >= (BASE << 9)) a -= (BASE << 9); \
33 if (a >= (BASE << 8)) a -= (BASE << 8); \
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/
DTianoCommon.h35 #define EFI_ARCH_PROTOCOL_DEFINITION(a) EFI_STRINGIZE (ArchProtocol/a/a.h) argument
36 #define EFI_PPI_DEFINITION(a) EFI_STRINGIZE (Ppi/a/a.h) argument
43 #define EFI_ARCH_PROTOCOL_PRODUCER(a) EFI_ARCH_PROTOCOL_DEFINITION (a) argument
44 #define EFI_ARCH_PROTOCOL_CONSUMER(a) EFI_ARCH_PROTOCOL_DEFINITION (a) argument
45 #define EFI_ARCH_PROTOCOL_DEPENDENCY(a) EFI_ARCH_PROTOCOL_DEFINITION (a) argument
47 #define EFI_PPI_PRODUCER(a) EFI_PPI_DEFINITION (a) argument
48 #define EFI_PPI_CONSUMER(a) EFI_PPI_DEFINITION (a) argument
49 #define EFI_PPI_DEPENDENCY(a) EFI_PPI_DEFINITION (a) argument
DEfiCommon.h31 #define EFI_STRINGIZE(a) #a argument
32 #define EFI_PROTOCOL_DEFINITION(a) EFI_STRINGIZE (Protocol/a/a.h) argument
33 #define EFI_GUID_DEFINITION(a) EFI_STRINGIZE (Guid/a/a.h) argument
40 #define EFI_PROTOCOL_PRODUCER(a) EFI_PROTOCOL_DEFINITION (a) argument
41 #define EFI_PROTOCOL_CONSUMER(a) EFI_PROTOCOL_DEFINITION (a) argument
42 #define EFI_PROTOCOL_DEPENDENCY(a) EFI_PROTOCOL_DEFINITION (a) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DevicePath/
DDevicePath.h53 #define EfiDevicePathNodeLength(a) (((a)->Length[0]) | ((a)->Length[1] << 8)) argument
54 #define EfiNextDevicePathNode(a) ((EFI_DEVICE_PATH_PROTOCOL *) (((UINT8 *) (a)) + EfiD… argument
56 #define EfiDevicePathType(a) (((a)->Type) & 0x7f) argument
57 #define EfiIsDevicePathEndType(a) (EfiDevicePathType (a) == 0x7f) argument
59 #define EfiIsDevicePathEndSubType(a) ((a)->SubType == EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE) argument
60 #define EfiIsDevicePathEndInstanceSubType(a) ((a)->SubType == EFI_END_INSTANCE_DEVICE_PATH) argument
62 #define EfiIsDevicePathEnd(a) (EfiIsDevicePathEndType (a) && EfiIsDevicePathEndSubT… argument
63 #define EfiIsDevicePathEndInstance(a) (EfiIsDevicePathEndType (a) && EfiIsDevicePathEndInst… argument
/device/google/contexthub/firmware/lib/builtins/
Daeabi_l2f.c25 float __aeabi_l2f(di_int a);
28 __aeabi_l2f(di_int a) in __aeabi_l2f() argument
30 if (a == 0) in __aeabi_l2f()
33 const di_int s = a >> (N-1); in __aeabi_l2f()
34 a = (a ^ s) - s; in __aeabi_l2f()
35 int sd = N - __builtin_clzll(a); /* number of significant digits */ in __aeabi_l2f()
50 a <<= 1; in __aeabi_l2f()
55 a = ((du_int)a >> (sd - (FLT_MANT_DIG+2))) | in __aeabi_l2f()
56 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __aeabi_l2f()
59 a |= (a & 4) != 0; /* Or P into R */ in __aeabi_l2f()
[all …]
Daeabi_ul2f.c25 float __aeabi_ul2f(du_int a);
28 __aeabi_ul2f(du_int a) in __aeabi_ul2f() argument
30 if (a == 0) in __aeabi_ul2f()
33 int sd = N - __builtin_clzll(a); /* number of significant digits */ in __aeabi_ul2f()
48 a <<= 1; in __aeabi_ul2f()
53 a = (a >> (sd - (FLT_MANT_DIG+2))) | in __aeabi_ul2f()
54 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0); in __aeabi_ul2f()
57 a |= (a & 4) != 0; /* Or P into R */ in __aeabi_ul2f()
58 ++a; /* round - this step may add a significant bit */ in __aeabi_ul2f()
59 a >>= 2; /* dump Q and R */ in __aeabi_ul2f()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/templates/
Dsoftfloat-specialize6 Arithmetic Package, Release 2a.
12 of this code was written as part of a project to build a fixed-point vector
43 defined here if desired. It is currently not possible for such a trap to
44 substitute a result value. If traps are not implemented, this routine
67 The pattern for a default generated single-precision NaN.
74 Returns 1 if the single-precision floating-point value `a' is a NaN;
78 flag float32_is_nan( float32 a )
81 return ( 0xFF000000 < (bits32) ( a<<1 ) );
87 Returns 1 if the single-precision floating-point value `a' is a signaling
91 flag float32_is_signaling_nan( float32 a )
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/netinet6/
Din6.h245 #define IN6_ARE_ADDR_EQUAL(a, b) \ argument
246 (bcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
248 #define IN6_ARE_ADDR_EQUAL(a, b) \ argument
249 (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
255 #define IN6_IS_ADDR_UNSPECIFIED(a) \ argument
256 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \
257 (*(const uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && \
258 (*(const uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \
259 (*(const uint32_t *)(const void *)(&(a)->s6_addr[12]) == 0))
264 #define IN6_IS_ADDR_LOOPBACK(a) \ argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfractions.py18 def gcd(a, b): argument
25 a, b = b, a%b
26 return a
246 a = n//d
247 q2 = q0+a*q1
250 p0, q0, p1, q1 = p1, q1, p0+a*p1, q2
251 n, d = d, n-a*d
262 def numerator(a): argument
263 return a._numerator
266 def denominator(a): argument
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSoftFloatLib/
Dsoftfloat-specialize3 /* This is a derivative work. */
9 Arithmetic Package, Release 2a.
15 of this code was written as part of a project to build a fixed-point vector
49 defined here if desired. It is currently not possible for such a trap to
50 substitute a result value. If traps are not implemented, this routine
113 The pattern for a default generated single-precision NaN.
120 Returns 1 if the single-precision floating-point value `a' is a NaN;
127 flag float32_is_nan( float32 a )
130 return ( (bits32)0xFF000000 < (bits32) ( a<<1 ) );
136 Returns 1 if the single-precision floating-point value `a' is a signaling
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits64/
Dsoftfloat.c64 #define FLOAT64_DEMANGLE(a) (a) argument
67 #define FLOAT64_MANGLE(a) (a) argument
220 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac() argument
223 return a & 0x007FFFFF; in extractFloat32Frac()
232 INLINE int16 extractFloat32Exp( float32 a ) in extractFloat32Exp() argument
235 return ( a>>23 ) & 0xFF; in extractFloat32Exp()
244 INLINE flag extractFloat32Sign( float32 a ) in extractFloat32Sign() argument
247 return a>>31; in extractFloat32Sign()
389 INLINE bits64 extractFloat64Frac( float64 a ) in extractFloat64Frac() argument
392 return FLOAT64_DEMANGLE(a) & LIT64( 0x000FFFFFFFFFFFFF ); in extractFloat64Frac()
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Dloadfile_machdep.h60 #define LOADADDR(a) ((a) + offset) argument
61 #define ALIGNENTRY(a) Error! alpha supports ECOFF and ELF only! /* Fixme: for ia64 */ argument
65 #define WARN(a) (void)(printf a, \ argument
68 #define PROGRESS(a) (void) printf a argument
69 #define ALLOC(a) alloc(a) argument
70 #define DEALLOC(a, b) dealloc(a, b) argument
71 #define OKMAGIC(a) Error! ia64 supports ELF only! argument
82 #define LOADADDR(a) (((u_long)(a)) + offset) argument
83 #define ALIGNENTRY(a) ((u_long)(a)) argument
87 #define WARN(a) warn a argument
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
DQsort.c81 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ argument
85 swapfunc(char *a, char *b, size_t n, int swaptype) in swapfunc() argument
88 swapcode(long, a, b, n) in swapfunc()
90 swapcode(char, a, b, n) in swapfunc()
93 #define swap(a, b) \ argument
95 long t = *(long *)(a); \
96 *(long *)(a) = *(long *)(b); \
99 swapfunc(a, b, es, swaptype)
101 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument
104 med3(char *a, char *b, char *c, cmp_t *cmp ) in med3() argument
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/
Dsoftfloat-specialize3 /* This is a derivative work. */
9 Arithmetic Package, Release 2a.
15 of this code was written as part of a project to build a fixed-point vector
53 defined here if desired. It is currently not possible for such a trap to
54 substitute a result value. If traps are not implemented, this routine
117 The pattern for a default generated single-precision NaN.
124 Returns 1 if the single-precision floating-point value `a' is a NaN;
131 flag float32_is_nan( float32 a )
134 return ( (bits32)0xFF000000 < (bits32) ( a<<1 ) );
140 Returns 1 if the single-precision floating-point value `a' is a signaling
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dmd5.c136 a = pms->abcd[0], b = pms->abcd[1], in md5_process() local
204 #define SET(a, b, c, d, k, s, Ti)\ in md5_process() argument
205 t = a + F(b,c,d) + X[k] + Ti;\ in md5_process()
206 a = ROTATE_LEFT(t, s) + b in md5_process()
208 SET(a, b, c, d, 0, 7, T1); in md5_process()
209 SET(d, a, b, c, 1, 12, T2); in md5_process()
210 SET(c, d, a, b, 2, 17, T3); in md5_process()
211 SET(b, c, d, a, 3, 22, T4); in md5_process()
212 SET(a, b, c, d, 4, 7, T5); in md5_process()
213 SET(d, a, b, c, 5, 12, T6); in md5_process()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dmd5.c136 a = pms->abcd[0], b = pms->abcd[1], in md5_process() local
204 #define SET(a, b, c, d, k, s, Ti)\ in md5_process() argument
205 t = a + F(b,c,d) + X[k] + Ti;\ in md5_process()
206 a = ROTATE_LEFT(t, s) + b in md5_process()
208 SET(a, b, c, d, 0, 7, T1); in md5_process()
209 SET(d, a, b, c, 1, 12, T2); in md5_process()
210 SET(c, d, a, b, 2, 17, T3); in md5_process()
211 SET(b, c, d, a, 3, 22, T4); in md5_process()
212 SET(a, b, c, d, 4, 7, T5); in md5_process()
213 SET(d, a, b, c, 5, 12, T6); in md5_process()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/
DREADME6 - If a struct is using a 64bit field, then a #pragma(4) might be needed
15 # Avoid changing the 'long' that is not a type.
18 s/([^a-zA-Z0-9_]|^)uint8_t([^a-zA-Z0-9_]|$)/\1UINT8\2/g
19 s/([^a-zA-Z0-9_]|^)uint16_t([^a-zA-Z0-9_]|$)/\1UINT16\2/g
20 s/([^a-zA-Z0-9_]|^)uint32_t([^a-zA-Z0-9_]|$)/\1UINT32\2/g
21 s/([^a-zA-Z0-9_]|^)uint64_t([^a-zA-Z0-9_]|$)/\1UINT64\2/g
23 s/([^a-zA-Z0-9_]|^)int8_t([^a-zA-Z0-9_]|$)/\1INT8\2/g
24 s/([^a-zA-Z0-9_]|^)int16_t([^a-zA-Z0-9_]|$)/\1INT16\2/g
25 s/([^a-zA-Z0-9_]|^)int32_t([^a-zA-Z0-9_]|$)/\1INT32\2/g
26 s/([^a-zA-Z0-9_]|^)int64_t([^a-zA-Z0-9_]|$)/\1INT64\2/g
[all …]
/device/generic/goldfish-opengl/system/vulkan_enc/
Dvk_util.h103 __vk_outarray_init(struct __vk_outarray *a, in __vk_outarray_init() argument
106 a->data = data; in __vk_outarray_init()
107 a->cap = *len; in __vk_outarray_init()
108 a->filled_len = len; in __vk_outarray_init()
109 *a->filled_len = 0; in __vk_outarray_init()
110 a->wanted_len = 0; in __vk_outarray_init()
112 if (a->data == NULL) in __vk_outarray_init()
113 a->cap = UINT32_MAX; in __vk_outarray_init()
117 __vk_outarray_status(const struct __vk_outarray *a) in __vk_outarray_status() argument
119 if (*a->filled_len < a->wanted_len) in __vk_outarray_status()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSoftFloatLib/bits32/
Dsoftfloat.c70 #define FLOAT64_DEMANGLE(a) (a) argument
73 #define FLOAT64_MANGLE(a) (a) argument
116 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac() argument
119 return a & 0x007FFFFF; in extractFloat32Frac()
128 INLINE int16 extractFloat32Exp( float32 a ) in extractFloat32Exp() argument
131 return ( a>>23 ) & 0xFF; in extractFloat32Exp()
140 INLINE flag extractFloat32Sign( float32 a ) in extractFloat32Sign() argument
143 return a>>31; in extractFloat32Sign()
286 INLINE bits32 extractFloat64Frac1( float64 a ) in extractFloat64Frac1() argument
289 return (bits32)(FLOAT64_DEMANGLE(a) & LIT64(0x00000000FFFFFFFF)); in extractFloat64Frac1()
[all …]

12345678910>>...110