/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-pdbdump/ |
D | simple-padding-graphical.test | 18 ; NO_PADDING: struct SimplePadNoPadding [sizeof = 8] { 19 ; NO_PADDING-NEXT: data +0x00 [sizeof=4] int X 20 ; NO_PADDING-NEXT: data +0x04 [sizeof=4] int Y 23 ; UNION: struct SimplePadUnion [sizeof = 16] { 24 ; UNION-NEXT: data +0x00 [sizeof=4] int X 25 ; UNION-NEXT: data +0x00 [sizeof=8] __int64 Y 26 ; UNION-NEXT: data +0x00 [sizeof=16] SimplePadUnion:: 27 ; UNION-NEXT: data +0x00 [sizeof=4] int X 29 ; UNION-NEXT: data +0x08 [sizeof=8] __int64 Y 32 ; NESTED_UNION: struct {{SimplePadUnion::.*}} [sizeof = 16] { [all …]
|
D | complex-padding-graphical.test | 10 ; DIRECT_VB_ONLY: struct TestIVBBase [sizeof = 16] 12 ; DIRECT_VB_ONLY-NEXT: vbptr +0x00 [sizeof=4] 13 ; DIRECT_VB_ONLY-NEXT: data +0x04 [sizeof=4] int A 14 ; DIRECT_VB_ONLY-NEXT: vbase +0x08 [sizeof=8] TestVB 15 ; DIRECT_VB_ONLY-NEXT: vfptr +0x08 [sizeof=4] 16 ; DIRECT_VB_ONLY-NEXT: data +0x0c [sizeof=4] int X 19 DIRECT_VB_AND_NON_VB: struct TestVBLayout [sizeof = 24] 22 DIRECT_VB_AND_NON_VB-NEXT: base +0x00 [sizeof=8] TestNVB 23 DIRECT_VB_AND_NON_VB-NEXT: vfptr +0x00 [sizeof=4] 24 DIRECT_VB_AND_NON_VB-NEXT: data +0x04 [sizeof=4] int Y [all …]
|
D | class-layout.test | 18 ; MEMBERS_TEST: class MembersTest::A [sizeof = 16] { 22 ; MEMBERS_TEST-DAG: data +0x00 [sizeof=4] int IntMemberVar 24 ; MEMBERS_TEST-NEXT: data +0x08 [sizeof=8] double DoubleMemberVar 28 ; BASE_CLASS_A: class BaseClassTest::A [sizeof = 1] {} 31 ; BASE_CLASS_B: class BaseClassTest::B [sizeof = 4] 35 ; BASE_CLASS_C: class BaseClassTest::C [sizeof = 4] 39 ; BASE_CLASS_D: class BaseClassTest::D [sizeof = 8] 44 ; UDT_KIND_TEST-DAG: union UdtKindTest::C [sizeof = 1] {} 45 ; UDT_KIND_TEST-DAG: class UdtKindTest::B [sizeof = 1] {} 46 ; UDT_KIND_TEST-DAG: struct UdtKindTest::A [sizeof = 1] {} [all …]
|
D | symbol-filters.test | 57 ; SIZE_SORT_DATA: data {{.*}}sizeof=8{{.*}}double DoubleGlobalVar 58 ; SIZE_SORT_DATA-DAG: data {{.*}}sizeof=4{{.*}}GlobalEnum GlobalEnumVar 59 ; SIZE_SORT_DATA-DAG: data {{.*}}sizeof=4{{.*}}int IntGlobalVar 60 ; SIZE_SORT_DATA: data {{.*}}sizeof=3{{.*}}char ThreeBytes[3] 61 ; SIZE_SORT_DATA: data {{.*}}sizeof=2{{.*}}char TwoBytes[2] 62 ; SIZE_SORT_DATA: data {{.*}}sizeof=1{{.*}}char OneByte 64 ; NAME_SORT_FUNCS: func {{.*}}sizeof= 40{{.*}}AFunc 65 ; NAME_SORT_FUNCS: func {{.*}}sizeof= 10{{.*}}BFunc 66 ; NAME_SORT_FUNCS: func {{.*}}sizeof= 14{{.*}}CFunc 67 ; NAME_SORT_FUNCS: func {{.*}}sizeof= 16{{.*}}FilterTestClass::foo [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors_ioctl.inc | 50 _(FIOASYNC, READ, sizeof(int)); 52 _(FIOGETOWN, WRITE, sizeof(int)); 53 _(FIONBIO, READ, sizeof(int)); 55 _(FIOSETOWN, READ, sizeof(int)); 56 _(SIOCATMARK, WRITE, sizeof(int)); 58 _(SIOCGPGRP, WRITE, sizeof(int)); 59 _(SIOCSPGRP, READ, sizeof(int)); 62 _(TIOCGETD, WRITE, sizeof(int)); 65 _(TIOCMBIC, READ, sizeof(int)); 66 _(TIOCMBIS, READ, sizeof(int)); [all …]
|
/external/python/cpython2/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 40 assert sizeof(__mbstate_t) == 128, sizeof(__mbstate_t) 76 assert sizeof(sigcontext) == 72, sizeof(sigcontext) 100 assert sizeof(aes_key_st) == 244, sizeof(aes_key_st) 118 assert sizeof(asn1_ctx_st) == 44, sizeof(asn1_ctx_st) 131 assert sizeof(asn1_object_st) == 24, sizeof(asn1_object_st) 142 assert sizeof(asn1_string_st) == 16, sizeof(asn1_string_st) 152 assert sizeof(ASN1_ENCODING_st) == 12, sizeof(ASN1_ENCODING_st) 164 assert sizeof(asn1_string_table_st) == 20, sizeof(asn1_string_table_st) 229 assert sizeof(N12asn1_type_st4DOLLAR_11E) == 4, sizeof(N12asn1_type_st4DOLLAR_11E) 235 assert sizeof(asn1_type_st) == 8, sizeof(asn1_type_st) [all …]
|
/external/python/cpython3/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 40 assert sizeof(__mbstate_t) == 128, sizeof(__mbstate_t) 76 assert sizeof(sigcontext) == 72, sizeof(sigcontext) 100 assert sizeof(aes_key_st) == 244, sizeof(aes_key_st) 118 assert sizeof(asn1_ctx_st) == 44, sizeof(asn1_ctx_st) 131 assert sizeof(asn1_object_st) == 24, sizeof(asn1_object_st) 142 assert sizeof(asn1_string_st) == 16, sizeof(asn1_string_st) 152 assert sizeof(ASN1_ENCODING_st) == 12, sizeof(ASN1_ENCODING_st) 164 assert sizeof(asn1_string_table_st) == 20, sizeof(asn1_string_table_st) 229 assert sizeof(N12asn1_type_st4DOLLAR_11E) == 4, sizeof(N12asn1_type_st4DOLLAR_11E) 235 assert sizeof(asn1_type_st) == 8, sizeof(asn1_type_st) [all …]
|
/external/e2fsprogs/config/ |
D | parse-types.sh | 39 if (sizeof(__U8_TYPEDEF) != 1) { 41 (int) sizeof(__U8_TYPEDEF)); 48 if (sizeof(__S8_TYPEDEF) != 1) { 50 (int) sizeof(__S8_TYPEDEF)); 57 if (sizeof(__U16_TYPEDEF) != 2) { 59 (int) sizeof(__U16_TYPEDEF)); 66 if (sizeof(__S16_TYPEDEF) != 2) { 68 (int) sizeof(__S16_TYPEDEF)); 76 if (sizeof(__U32_TYPEDEF) != 4) { 78 (int) sizeof(__U32_TYPEDEF)); [all …]
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_bitfields.py | 62 self.assertEqual(sizeof(X), sizeof(c_longlong)) 73 self.assertEqual(sizeof(X), sizeof(c_longlong)) 86 self.assertEqual(sizeof(X), sizeof(c_typ)*2) 102 self.assertEqual(sizeof(X), sizeof(c_typ)) 153 self.assertEqual(sizeof(X), sizeof(c_typ)) 156 _fields_ = [("a", c_typ, sizeof(c_typ)*8)] 157 self.assertEqual(sizeof(X), sizeof(c_typ)) 159 result = self.fail_fields(("a", c_typ, sizeof(c_typ)*8 + 1)) 167 self.assertEqual(sizeof(X), sizeof(c_short)) 174 self.assertEqual(sizeof(X), sizeof(c_short)*3) [all …]
|
D | test_sizes.py | 11 self.assertEqual(1, sizeof(c_int8)) 12 self.assertEqual(1, sizeof(c_uint8)) 15 self.assertEqual(2, sizeof(c_int16)) 16 self.assertEqual(2, sizeof(c_uint16)) 19 self.assertEqual(4, sizeof(c_int32)) 20 self.assertEqual(4, sizeof(c_uint32)) 23 self.assertEqual(8, sizeof(c_int64)) 24 self.assertEqual(8, sizeof(c_uint64)) 27 self.assertEqual(sizeof(c_void_p), sizeof(c_size_t)) 30 self.assertEqual(sizeof(c_void_p), sizeof(c_ssize_t))
|
D | test_varsize_struct.py | 10 self.assertEqual(sizeof(X), sizeof(c_int) * 2) 14 self.assertEqual(sizeof(x), sizeof(c_int) * 2) 17 new_size = sizeof(X) + sizeof(c_int) * 1 19 self.assertEqual(sizeof(x), new_size) 23 new_size = sizeof(X) + sizeof(c_int) * 9 25 self.assertEqual(sizeof(x), new_size) 29 new_size = sizeof(X) + sizeof(c_int) * 1 31 self.assertEqual(sizeof(x), new_size)
|
D | test_structures.py | 19 self.assertEqual(sizeof(X), sizeof(c_int)) 20 self.assertEqual(sizeof(Y), sizeof(c_int)*2) 21 self.assertEqual(sizeof(Z), sizeof(c_int)) 29 self.assertEqual(sizeof(X), 0) 34 self.assertEqual(sizeof(Y), sizeof(X)) 40 self.assertEqual(sizeof(X), sizeof(c_int)) 41 self.assertEqual(sizeof(Y), sizeof(c_int)*2) 42 self.assertEqual(sizeof(Z), sizeof(c_int)) 68 self.assertEqual((sizeof(X), code), 76 self.assertEqual((sizeof(X), code), [all …]
|
D | test_buffers.py | 10 self.assertEqual(sizeof(b), 32 * sizeof(c_char)) 15 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 31 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 44 self.assertEqual(sizeof(b), 32 * sizeof(c_wchar)) 49 self.assertEqual(sizeof(b), 4 * sizeof(c_wchar)) 62 self.assertEqual(sizeof(b), 4 * sizeof(c_wchar))
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_bitfields.py | 61 self.assertEqual(sizeof(X), sizeof(c_longlong)) 72 self.assertEqual(sizeof(X), sizeof(c_longlong)) 85 self.assertEqual(sizeof(X), sizeof(c_typ)*2) 101 self.assertEqual(sizeof(X), sizeof(c_typ)) 152 self.assertEqual(sizeof(X), sizeof(c_typ)) 155 _fields_ = [("a", c_typ, sizeof(c_typ)*8)] 156 self.assertEqual(sizeof(X), sizeof(c_typ)) 158 result = self.fail_fields(("a", c_typ, sizeof(c_typ)*8 + 1)) 166 self.assertEqual(sizeof(X), sizeof(c_short)) 173 self.assertEqual(sizeof(X), sizeof(c_short)*3) [all …]
|
D | test_sizes.py | 10 self.assertEqual(1, sizeof(c_int8)) 11 self.assertEqual(1, sizeof(c_uint8)) 14 self.assertEqual(2, sizeof(c_int16)) 15 self.assertEqual(2, sizeof(c_uint16)) 18 self.assertEqual(4, sizeof(c_int32)) 19 self.assertEqual(4, sizeof(c_uint32)) 22 self.assertEqual(8, sizeof(c_int64)) 23 self.assertEqual(8, sizeof(c_uint64)) 26 self.assertEqual(sizeof(c_void_p), sizeof(c_size_t)) 29 self.assertEqual(sizeof(c_void_p), sizeof(c_ssize_t))
|
D | test_varsize_struct.py | 10 self.assertEqual(sizeof(X), sizeof(c_int) * 2) 14 self.assertEqual(sizeof(x), sizeof(c_int) * 2) 17 new_size = sizeof(X) + sizeof(c_int) * 1 19 self.assertEqual(sizeof(x), new_size) 23 new_size = sizeof(X) + sizeof(c_int) * 9 25 self.assertEqual(sizeof(x), new_size) 29 new_size = sizeof(X) + sizeof(c_int) * 1 31 self.assertEqual(sizeof(x), new_size)
|
D | test_structures.py | 19 self.assertEqual(sizeof(X), sizeof(c_int)) 20 self.assertEqual(sizeof(Y), sizeof(c_int)*2) 21 self.assertEqual(sizeof(Z), sizeof(c_int)) 29 self.assertEqual(sizeof(X), 0) 34 self.assertEqual(sizeof(Y), sizeof(X)) 40 self.assertEqual(sizeof(X), sizeof(c_int)) 41 self.assertEqual(sizeof(Y), sizeof(c_int)*2) 42 self.assertEqual(sizeof(Z), sizeof(c_int)) 68 self.assertEqual((sizeof(X), code), 76 self.assertEqual((sizeof(X), code), [all …]
|
D | test_buffers.py | 10 self.assertEqual(sizeof(b), 32 * sizeof(c_char)) 15 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 34 self.assertEqual(sizeof(b), 32 * sizeof(c_wchar)) 39 self.assertEqual(sizeof(b), 4 * sizeof(c_wchar)) 54 self.assertEqual(sizeof(b), 4 * sizeof(c_wchar))
|
/external/toybox/kconfig/ |
D | zconf.hash.c_shipped | 91 char kconf_id_strings_str2[sizeof("on")]; 92 char kconf_id_strings_str6[sizeof("string")]; 93 char kconf_id_strings_str7[sizeof("default")]; 94 char kconf_id_strings_str8[sizeof("def_bool")]; 95 char kconf_id_strings_str10[sizeof("range")]; 96 char kconf_id_strings_str11[sizeof("def_boolean")]; 97 char kconf_id_strings_str12[sizeof("def_tristate")]; 98 char kconf_id_strings_str13[sizeof("hex")]; 99 char kconf_id_strings_str14[sizeof("defconfig_list")]; 100 char kconf_id_strings_str16[sizeof("option")]; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/DIA/ |
D | pdbdump-symbol-format.test | 35 ; TYPES_1: struct A [sizeof = 4] { 42 ; TYPES_2: struct MemberTest [sizeof = 96] { 43 ; TYPES_2: data +0x00 [sizeof=4] MemberTest::NestedEnum m_nested_enum 44 ; TYPES_2: data +0x04 [sizeof=4] int m_typedef 45 ; TYPES_2: data +0x08 [sizeof=1] bool m_bool 46 ; TYPES_2: data +0x09 [sizeof=1] char m_char 47 ; TYPES_2: data +0x0a [sizeof=2] wchar_t m_wchar_t 48 ; TYPES_2: data +0x0c [sizeof=4] int m_int 49 ; TYPES_2: data +0x10 [sizeof=4] unsigned int m_unsigned 50 ; TYPES_2: data +0x14 [sizeof=4] long m_long [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.mm | 65 memcpy(buffer, &i, sizeof(int32_t)); 78 SkASSERT(sizeof(int32_t) == 4); 81 memcpy(buffer, curVec, sizeof(int32_t)); 82 buffer = static_cast<char*>(buffer) + 4*sizeof(int32_t); 91 SkASSERT(sizeof(float) == 4); 92 memcpy(buffer, &v0, sizeof(float)); 105 SkASSERT(sizeof(float) == 4); 108 memcpy(buffer, curVec, sizeof(float)); 109 buffer = static_cast<char*>(buffer) + 4*sizeof(float); 119 memcpy(buffer, v, 2 * sizeof(int32_t)); [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.mm | 65 memcpy(buffer, &i, sizeof(int32_t)); 78 SkASSERT(sizeof(int32_t) == 4); 81 memcpy(buffer, curVec, sizeof(int32_t)); 82 buffer = static_cast<char*>(buffer) + 4*sizeof(int32_t); 91 SkASSERT(sizeof(float) == 4); 92 memcpy(buffer, &v0, sizeof(float)); 105 SkASSERT(sizeof(float) == 4); 108 memcpy(buffer, curVec, sizeof(float)); 109 buffer = static_cast<char*>(buffer) + 4*sizeof(float); 119 memcpy(buffer, v, 2 * sizeof(int32_t)); [all …]
|
/external/protobuf/objectivec/google/protobuf/ |
D | Wrappers.pbobjc.m | 63 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 64 storageSize:sizeof(GPBDoubleValue__storage_) 106 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 107 storageSize:sizeof(GPBFloatValue__storage_) 149 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 150 storageSize:sizeof(GPBInt64Value__storage_) 192 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 193 storageSize:sizeof(GPBUInt64Value__storage_) 235 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 236 storageSize:sizeof(GPBInt32Value__storage_) [all …]
|
/external/capstone/arch/X86/ |
D | X86GenRegisterInfo.inc | 1434 …{ CAPSTONE_REGISTER_CLASS("GR8"), GR8, GR8Bits, 20, sizeof(GR8Bits), X86_GR8RegClassID, 1, 1, 1, 1… 1435 …{ CAPSTONE_REGISTER_CLASS("GR8_NOREX"), GR8_NOREX, GR8_NOREXBits, 8, sizeof(GR8_NOREXBits), X86_GR… 1436 …{ CAPSTONE_REGISTER_CLASS("GR8_ABCD_H"), GR8_ABCD_H, GR8_ABCD_HBits, 4, sizeof(GR8_ABCD_HBits), X8… 1437 …{ CAPSTONE_REGISTER_CLASS("GR8_ABCD_L"), GR8_ABCD_L, GR8_ABCD_LBits, 4, sizeof(GR8_ABCD_LBits), X8… 1438 …{ CAPSTONE_REGISTER_CLASS("GR16"), GR16, GR16Bits, 16, sizeof(GR16Bits), X86_GR16RegClassID, 2, 2,… 1439 …{ CAPSTONE_REGISTER_CLASS("GR16_NOREX"), GR16_NOREX, GR16_NOREXBits, 8, sizeof(GR16_NOREXBits), X8… 1440 …{ CAPSTONE_REGISTER_CLASS("VK1"), VK1, VK1Bits, 8, sizeof(VK1Bits), X86_VK1RegClassID, 2, 2, 1, 1 … 1441 …{ CAPSTONE_REGISTER_CLASS("VK16"), VK16, VK16Bits, 8, sizeof(VK16Bits), X86_VK16RegClassID, 2, 2, … 1442 …{ CAPSTONE_REGISTER_CLASS("VK2"), VK2, VK2Bits, 8, sizeof(VK2Bits), X86_VK2RegClassID, 2, 2, 1, 1 … 1443 …{ CAPSTONE_REGISTER_CLASS("VK4"), VK4, VK4Bits, 8, sizeof(VK4Bits), X86_VK4RegClassID, 2, 2, 1, 1 … [all …]
|
/external/u-boot/scripts/coccinelle/misc/ |
D | badty.cocci | 1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element 3 //# This makes an effort to find cases where the argument to sizeof is wrong 5 //# when it is a double pointer and ensuring the sizeof argument takes a pointer 7 //# sizeof argument is not used in constructing the return value. The result 30 <+...sizeof( 44 <+...sizeof( 60 <+...sizeof( 68 coccilib.org.print_todo(p[0], "WARNING sizeof argument should be pointer type, not structure type") 74 msg="WARNING: Use correct pointer type argument for sizeof"
|