Home
last modified time | relevance | path

Searched refs:TestStruct (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm-project/clang/test/CodeGenCXX/
Dmicrosoft-uuidof-mangling.cpp20 struct __declspec(uuid("EAFA1952-66F8-438B-8FBA-AF1BBAE42191")) TestStruct struct
31 struct HasMember { typedef TestStruct member; }; argument
37 UUIDTest<TestStruct> uuidof_test; in main()
40 UUIDTestTwo<__uuidof(TestStruct)> uuidof_test2; in main()
42 test_uuidofType<TestStruct>(); in main()
/external/clang/test/CodeGenCXX/
Dmicrosoft-uuidof-mangling.cpp20 struct __declspec(uuid("EAFA1952-66F8-438B-8FBA-AF1BBAE42191")) TestStruct struct
29 struct HasMember { typedef TestStruct member; }; argument
34 UUIDTest<TestStruct> uuidof_test; in main()
35 test_uuidofType<TestStruct>(); in main()
/external/tensorflow/tensorflow/core/framework/
Dallocator_test.cc169 struct TestStruct { struct
173 TEST(CPUAllocatorTest, CheckStructSize) { CHECK_GT(sizeof(TestStruct), 1); } in TEST()
180 TestStruct* const test_pointer = in TEST()
181 TypedAllocator::Allocate<TestStruct>(a, count_to_allocate, {}); in TEST()
183 CHECK_EQ(test_pointer, reinterpret_cast<TestStruct*>(NULL)); in TEST()
191 (std::numeric_limits<size_t>::max() / sizeof(TestStruct)) + 1; in TEST()
192 TestStruct* const test_pointer = in TEST()
193 TypedAllocator::Allocate<TestStruct>(a, count_to_allocate, {}); in TEST()
195 CHECK_EQ(test_pointer, reinterpret_cast<TestStruct*>(NULL)); in TEST()
/external/libchrome/mojo/public/cpp/bindings/tests/
Ddata_view_unittest.cc62 TestStructPtr obj(TestStruct::New()); in TEST_F()
77 TestStructPtr obj(TestStruct::New()); in TEST_F()
92 TestStructPtr obj(TestStruct::New()); in TEST_F()
114 TestStructPtr obj(TestStruct::New()); in TEST_F()
130 TestStructPtr obj(TestStruct::New()); in TEST_F()
147 TestStructPtr obj(TestStruct::New()); in TEST_F()
171 TestStructPtr obj(TestStruct::New()); in TEST_F()
191 TestStructPtr obj(TestStruct::New()); in TEST_F()
219 TestStructPtr obj(TestStruct::New()); in TEST_F()
243 TestStructPtr obj(TestStruct::New()); in TEST_F()
[all …]
/external/llvm-project/mlir/unittests/TableGen/
DStructsGenTest.cpp27 static test::TestStruct getTestStruct(mlir::MLIRContext *context) { in getTestStruct()
40 return test::TestStruct::get(integerAttr, floatAttr, elementsAttr, in getTestStruct()
49 ASSERT_TRUE(test::TestStruct::classof(structAttr)); in TEST()
71 ASSERT_FALSE(test::TestStruct::classof(badDictionary)); in TEST()
92 ASSERT_FALSE(test::TestStruct::classof(badDictionary)); in TEST()
117 ASSERT_FALSE(test::TestStruct::classof(badDictionary)); in TEST()
134 ASSERT_FALSE(test::TestStruct::classof(badDictionary)); in TEST()
Dstructs.td15 def Test_Struct : StructAttr<"TestStruct", Test_Dialect, [
/external/clang/test/OpenMP/
Dordered_doacross_codegen.cpp64 struct TestStruct { struct
73 TestStruct() { in TestStruct() argument
123 TestStruct<int> s;
/external/llvm-project/clang/test/OpenMP/
Dordered_doacross_codegen.cpp153 struct TestStruct { struct
162 TestStruct() { in TestStruct() argument
255 TestStruct<int> s;
/external/OpenCL-CTS/test_conformance/buffers/
Dtest_buffer_map.cpp39 #ifndef TestStruct
43 } TestStruct; typedef
541 TestStruct *outptr = (TestStruct *)ptr; in verify_read_struct()
697 …return test_buffer_map_read( deviceID, context, queue, num_elements, sizeof( TestStruct ), (char*)… in DECLARE_LOCK_TEST()
Dtest_buffer_fill.cpp37 #ifndef TestStruct
41 } TestStruct; typedef
548 TestStruct *inptr = (TestStruct *)ptr1; in verify_fill_struct()
549 TestStruct *outptr = (TestStruct *)ptr2; in verify_fill_struct()
705 TestStruct pattern; in test_buffer_fill_struct()
708 size_t ptrSize = sizeof( TestStruct ); in test_buffer_fill_struct()
742 TestStruct *inptr; in test_buffer_fill_struct()
743 TestStruct *hostptr; in test_buffer_fill_struct()
755 inptr = (TestStruct *)align_malloc(ptrSize * num_elements, in test_buffer_fill_struct()
774 hostptr = (TestStruct *)align_malloc(ptrSize * num_elements, in test_buffer_fill_struct()
Dtest_buffer_read.cpp51 #ifndef TestStruct
55 } TestStruct; typedef
606 static int verify_read_struct(TestStruct *outptr, int n) in verify_read_struct()
1102 TestStruct *output_ptr;
1107 size_t objSize = sizeof(TestStruct);
1113 output_ptr = (TestStruct*)align_malloc(objSize * num_elements, min_alignment);
/external/rust/crates/remain/tests/
Dunstable.rs19 pub struct TestStruct { struct
35 assert!(is_partial_eq::<TestStruct>()); in test_attrs() argument
Dstable.rs19 pub struct TestStruct { struct
37 assert!(is_partial_eq::<TestStruct>()); in test_attrs() argument
/external/libchrome/ipc/
Dipc_test.mojom28 struct TestStruct {};
31 Pass(TestStruct s);
/external/OpenCL-CTS/test_conformance/profiling/
DwriteArray.cpp32 #ifndef TestStruct
36 } TestStruct; typedef
599 TestStruct *inptr = (TestStruct *)ptr1; in verify_write_struct()
600 TestStruct *outptr = (TestStruct *)ptr2; in verify_write_struct()
1189 TestStruct *inptr[1]; in test_write_array_struct()
1196 ptrSizes[0] = sizeof( TestStruct ); in test_write_array_struct()
1198 inptr[0] = (TestStruct *)malloc( ptrSizes[0] * num_elements ); in test_write_array_struct()
1205 …err = test_stream_write( device, context, queue, num_elements, sizeof( TestStruct ), "struct", 1, … in test_write_array_struct()
DreadArray.cpp46 #ifndef TestStruct
50 } TestStruct; typedef
603 TestStruct *outptr = (TestStruct *)ptr; in verify_read_struct()
878 … return test_stream_read( device, context, queue, num_elements, sizeof( TestStruct ), "struct", 1, in test_read_array_struct()
/external/llvm-project/llvm/test/CodeGen/X86/
Dpr42064.ll4 %struct.TestStruct = type { %union.Int128 }
11 define void @foo(%struct.TestStruct* %arg) align 2 personality i8* bitcast (i32 (...)* @__CxxFrameH…
34 %i2 = getelementptr inbounds %struct.TestStruct, %struct.TestStruct* %arg, i64 0, i32 0, i32 0
/external/llvm-project/clang/test/SemaCXX/
Ddecltype-pr4444.cpp5 struct TestStruct { struct
/external/clang/test/SemaCXX/
Ddecltype-pr4444.cpp5 struct TestStruct { struct
/external/rust/crates/remain/tests/ui/
Dstruct.rs4 struct TestStruct { struct
Dunsorted-struct.rs4 struct TestStruct { struct
/external/pigweed/pw_stream/
Dmemory_stream_test.cc26 struct TestStruct { struct
32 constexpr TestStruct kExpectedStruct = {.day = 18, .month = 5, .year = 2020};
52 TestStruct temp; in TEST()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java2300 final class TestStruct{ in TestFCNFKCClosure() class
2303 TestStruct(int cp, String src){ in TestFCNFKCClosure() method in BasicTest.TestStruct
2309 TestStruct[] tests= new TestStruct[]{ in TestFCNFKCClosure()
2310 new TestStruct( 0x00C4, "" ), in TestFCNFKCClosure()
2311 new TestStruct( 0x00E4, "" ), in TestFCNFKCClosure()
2312 new TestStruct( 0x037A, "\u0020\u03B9" ), in TestFCNFKCClosure()
2313 new TestStruct( 0x03D2, "\u03C5" ), in TestFCNFKCClosure()
2314 new TestStruct( 0x20A8, "\u0072\u0073" ) , in TestFCNFKCClosure()
2315 new TestStruct( 0x210B, "\u0068" ), in TestFCNFKCClosure()
2316 new TestStruct( 0x210C, "\u0068" ), in TestFCNFKCClosure()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java2297 final class TestStruct{ in TestFCNFKCClosure() class
2300 TestStruct(int cp, String src){ in TestFCNFKCClosure() method in BasicTest.TestStruct
2306 TestStruct[] tests= new TestStruct[]{ in TestFCNFKCClosure()
2307 new TestStruct( 0x00C4, "" ), in TestFCNFKCClosure()
2308 new TestStruct( 0x00E4, "" ), in TestFCNFKCClosure()
2309 new TestStruct( 0x037A, "\u0020\u03B9" ), in TestFCNFKCClosure()
2310 new TestStruct( 0x03D2, "\u03C5" ), in TestFCNFKCClosure()
2311 new TestStruct( 0x20A8, "\u0072\u0073" ) , in TestFCNFKCClosure()
2312 new TestStruct( 0x210B, "\u0068" ), in TestFCNFKCClosure()
2313 new TestStruct( 0x210C, "\u0068" ), in TestFCNFKCClosure()
[all …]
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_data_view.mojom29 struct TestStruct {

12