/external/deqp/framework/delibs/destream/ |
D | deIOStream.h | 74 const deIOStreamVFTable* vfTable; member 89 DE_ASSERT(stream->vfTable); in deIOStream_write() 90 DE_ASSERT(stream->vfTable->writeFunc); in deIOStream_write() 92 return stream->vfTable->writeFunc(stream->streamData, buf, bufSize, numWritten); in deIOStream_write() 98 DE_ASSERT(stream->vfTable); in deIOStream_read() 99 DE_ASSERT(stream->vfTable->readFunc); in deIOStream_read() 101 return stream->vfTable->readFunc(stream->streamData, buf, bufSize, numRead); in deIOStream_read() 107 DE_ASSERT(stream->vfTable); in deIOStream_getError() 108 DE_ASSERT(stream->vfTable->getErrorFunc); in deIOStream_getError() 110 return stream->vfTable->getErrorFunc(stream->streamData); in deIOStream_getError() [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | microsoft-abi-vtables-virtual-inheritance.cpp | 17 // CHECK-LABEL: VFTable for 'A' in 'C' (2 entries) 21 // CHECK-LABEL: VFTable indices for 'C' (1 entry) 34 // CHECK-LABEL: VFTable for 'D' (1 entry). 37 // CHECK-LABEL: VFTable for 'A' in 'D' (2 entries). 41 // CHECK-LABEL: VFTable indices for 'D' (2 entries). 67 // CHECK-LABEL: VFTable for 'A' in 'Test1::Y' in 'Test1::Z' (2 entries). 71 // CHECK-NOT: VFTable indices for 'Test1::Z' 82 // CHECK-LABEL: VFTable for 'Test2::X' (1 entry). 85 // CHECK-LABEL: VFTable for 'A' in 'Test2::X' (2 entries). 89 // CHECK-LABEL: VFTable for 'B' in 'Test2::X' (1 entry). [all …]
|
D | microsoft-abi-vtables-single-inheritance.cpp | 2 // RUN: FileCheck --check-prefix=EMITS-VFTABLE %s < %t.ll 3 // RUN: FileCheck --check-prefix=NO-VFTABLE %s < %t.ll 7 // CHECK-LABEL: VFTable for 'A' (3 entries) 11 // CHECK-LABEL: VFTable indices for 'A' (3 entries) 22 // EMITS-VFTABLE-DAG: @"??_7A@@6B@" = linkonce_odr unnamed_addr constant { [3 x i8*] } 26 // CHECK-LABEL: VFTable for 'A' in 'B' (5 entries) 32 // CHECK-LABEL: VFTable indices for 'B' (3 entries) 42 // EMITS-VFTABLE-DAG: @"??_7B@@6B@" = linkonce_odr unnamed_addr constant { [5 x i8*] } 46 // CHECK-LABEL: VFTable for 'C' (2 entries) 49 // CHECK-LABEL: VFTable indices for 'C' (2 entries). [all …]
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp | 17 // CHECK-LABEL: VFTable for 'test1::A' in 'test1::X' (1 entry) 20 // CHECK-LABEL: VFTable for 'test1::B' in 'test1::X' (2 entries) 24 // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry) 48 // CHECK-LABEL: VFTable for 'test2::A' in 'test2::X' (1 entry) 51 // CHECK-LABEL: VFTable for 'test2::B' in 'test2::X' (2 entries) 55 // CHECK-LABEL: VFTable indices for 'test2::X' (1 entry). 78 // CHECK-LABEL: VFTable for 'test3::A' in 'test3::X' (2 entries) 82 // CHECK-LABEL: VFTable for 'test3::B' in 'test3::X' (2 entries) 86 // CHECK-LABEL: VFTable indices for 'test3::X' (1 entry). 101 struct Empty { }; // Doesn't have a vftable! [all …]
|
D | microsoft-abi-vtables-ambiguous.cpp | 6 virtual A *foo(); // in vftable slot #0. 7 virtual A *bar(); // in vftable slot #1. 11 // appended to the A subobject's vftable in slot #2. 16 // appended to the A subobject's vftable in slot #2. 20 struct D : B, C { D(); }; // expected-error{{ambiguous vftable component}} 26 virtual A *foo(); // in vftable slot #0 30 // appended to the A subobject's vftable in slot #1. 35 // appended to the A subobject's vftable in slot #1. 39 struct D : B, C { // expected-error{{ambiguous vftable component}}
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-vdtors.cpp | 14 // CHECK-LABEL: VFTable for 'A' in 'C' (2 entries). 18 // CHECK-LABEL: VFTable for 'B' in 'C' (1 entry). 25 // CHECK-LABEL: VFTable indices for 'C' (1 entry). 40 // CHECK-LABEL: VFTable for 'D' in 'E' (1 entry). 43 // CHECK-LABEL: VFTable for 'B' in 'E' (1 entry). 50 // CHECK-LABEL: VFTable indices for 'E' (1 entry). 60 // CHECK-LABEL: VFTable for 'D' in 'F' (1 entry). 63 // CHECK-LABEL: VFTable for 'B' in 'F' (1 entry). 70 // CHECK-LABEL: VFTable indices for 'F' (1 entry). 78 // CHECK-LABEL: VFTable for 'D' in 'F' in 'G' (1 entry). [all …]
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-return-adjustment.cpp | 27 // CHECK-LABEL: VFTable for 'test1::D' in 'test1::X' (3 entries). 36 // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry). 74 // CHECK-LABEL: VFTable for 'test2::D' in 'test2::E' in 'test2::X' (4 entries). 86 // CHECK-LABEL: VFTable indices for 'test2::X' (1 entry). 119 // CHECK-LABEL: VFTable for 'test3::D' in 'test3::E' in 'test3::X' (4 entries). 131 // CHECK-LABEL: VFTable indices for 'test3::X' (1 entry). 166 // CHECK-LABEL: VFTable for 'test4::D' in 'test4::X' (3 entries). 175 // CHECK-LABEL: VFTable for 'test4::D' in 'test4::E' in 'test4::X' (4 entries). 195 // CHECK-LABEL: VFTable indices for 'test4::X' (1 entry). 224 // CHECK-LABEL: VFTable for 'test5::A' in 'test5::X' (2 entries). [all …]
|
/external/clang/test/CodeGenCXX/ |
D | microsoft-abi-vtables-virtual-inheritance.cpp | 17 // CHECK-LABEL: VFTable for 'A' in 'C' (2 entries) 21 // CHECK-LABEL: VFTable indices for 'C' (1 entry) 34 // CHECK-LABEL: VFTable for 'D' (1 entry). 37 // CHECK-LABEL: VFTable for 'A' in 'D' (2 entries). 41 // CHECK-LABEL: VFTable indices for 'D' (2 entries). 67 // CHECK-LABEL: VFTable for 'A' in 'Test1::Y' in 'Test1::Z' (2 entries). 71 // CHECK-NOT: VFTable indices for 'Test1::Z' 82 // CHECK-LABEL: VFTable for 'Test2::X' (1 entry). 85 // CHECK-LABEL: VFTable for 'A' in 'Test2::X' (2 entries). 89 // CHECK-LABEL: VFTable for 'B' in 'Test2::X' (1 entry). [all …]
|
D | microsoft-abi-vtables-single-inheritance.cpp | 2 // RUN: FileCheck --check-prefix=EMITS-VFTABLE %s < %t.ll 3 // RUN: FileCheck --check-prefix=NO-VFTABLE %s < %t.ll 7 // CHECK-LABEL: VFTable for 'A' (3 entries) 11 // CHECK-LABEL: VFTable indices for 'A' (3 entries) 22 // EMITS-VFTABLE-DAG: @"\01??_7A@@6B@" = linkonce_odr unnamed_addr constant [3 x i8*] 26 // CHECK-LABEL: VFTable for 'A' in 'B' (5 entries) 32 // CHECK-LABEL: VFTable indices for 'B' (3 entries) 42 // EMITS-VFTABLE-DAG: @"\01??_7B@@6B@" = linkonce_odr unnamed_addr constant [5 x i8*] 46 // CHECK-LABEL: VFTable for 'C' (2 entries) 49 // CHECK-LABEL: VFTable indices for 'C' (2 entries). [all …]
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp | 17 // CHECK-LABEL: VFTable for 'test1::A' in 'test1::X' (1 entry) 20 // CHECK-LABEL: VFTable for 'test1::B' in 'test1::X' (2 entries) 24 // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry) 48 // CHECK-LABEL: VFTable for 'test2::A' in 'test2::X' (1 entry) 51 // CHECK-LABEL: VFTable for 'test2::B' in 'test2::X' (2 entries) 55 // CHECK-LABEL: VFTable indices for 'test2::X' (1 entry). 78 // CHECK-LABEL: VFTable for 'test3::A' in 'test3::X' (2 entries) 82 // CHECK-LABEL: VFTable for 'test3::B' in 'test3::X' (2 entries) 86 // CHECK-LABEL: VFTable indices for 'test3::X' (1 entry). 101 struct Empty { }; // Doesn't have a vftable! [all …]
|
D | microsoft-abi-vtables-ambiguous.cpp | 6 virtual A *foo(); // in vftable slot #0. 7 virtual A *bar(); // in vftable slot #1. 11 // appended to the A subobject's vftable in slot #2. 16 // appended to the A subobject's vftable in slot #2. 20 struct D : B, C { D(); }; // expected-error{{ambiguous vftable component}} 26 virtual A *foo(); // in vftable slot #0 30 // appended to the A subobject's vftable in slot #1. 35 // appended to the A subobject's vftable in slot #1. 39 struct D : B, C { // expected-error{{ambiguous vftable component}}
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-vdtors.cpp | 14 // CHECK-LABEL: VFTable for 'A' in 'C' (2 entries). 18 // CHECK-LABEL: VFTable for 'B' in 'C' (1 entry). 25 // CHECK-LABEL: VFTable indices for 'C' (1 entry). 40 // CHECK-LABEL: VFTable for 'D' in 'E' (1 entry). 43 // CHECK-LABEL: VFTable for 'B' in 'E' (1 entry). 50 // CHECK-LABEL: VFTable indices for 'E' (1 entry). 60 // CHECK-LABEL: VFTable for 'D' in 'F' (1 entry). 63 // CHECK-LABEL: VFTable for 'B' in 'F' (1 entry). 70 // CHECK-LABEL: VFTable indices for 'F' (1 entry). 78 // CHECK-LABEL: VFTable for 'D' in 'F' in 'G' (1 entry). [all …]
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-return-adjustment.cpp | 27 // CHECK-LABEL: VFTable for 'test1::D' in 'test1::X' (3 entries). 36 // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry). 74 // CHECK-LABEL: VFTable for 'test2::D' in 'test2::E' in 'test2::X' (4 entries). 86 // CHECK-LABEL: VFTable indices for 'test2::X' (1 entry). 119 // CHECK-LABEL: VFTable for 'test3::D' in 'test3::E' in 'test3::X' (4 entries). 131 // CHECK-LABEL: VFTable indices for 'test3::X' (1 entry). 166 // CHECK-LABEL: VFTable for 'test4::D' in 'test4::X' (3 entries). 175 // CHECK-LABEL: VFTable for 'test4::D' in 'test4::E' in 'test4::X' (4 entries). 195 // CHECK-LABEL: VFTable indices for 'test4::X' (1 entry). 224 // CHECK-LABEL: VFTable for 'test5::A' in 'test5::X' (2 entries). [all …]
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp | 18 // CHECK-LABEL: VFTable for 'test1::A' in 'test1::X' (2 entries). 22 // CHECK-LABEL: VFTable for 'test1::B' in 'test1::X' (1 entry). 29 // CHECK-LABEL: VFTable indices for 'test1::X' (1 entry). 56 // CHECK-LABEL: VFTable for 'test2::A' in 'test2::X' (1 entry). 59 // CHECK-LABEL: VFTable for 'test2::B' in 'test2::X' (2 entries). 63 // CHECK-LABEL: VFTable for 'test2::C' in 'test2::X' (1 entry). 70 // CHECK-LABEL: VFTable indices for 'test2::X' (1 entry). 107 // CHECK-LABEL: VFTable for 'test3::A' in 'test3::C' in 'test3::X' (1 entry). 110 // CHECK-LABEL: VFTable for 'test3::B' in 'test3::C' in 'test3::X' (2 entries). 114 // CHECK-LABEL: VFTable for 'test3::A' in 'test3::D' in 'test3::X' (1 entry). [all …]
|
/external/clang/test/Layout/ |
D | ms-x86-primary-bases.cpp | 23 // CHECK-NEXT: 4 | (B0 vftable pointer) 32 // CHECK-X64-NEXT: 8 | (B0 vftable pointer) 45 // CHECK-NEXT: 4 | (B0 vftable pointer) 53 // CHECK-X64-NEXT: 8 | (B0 vftable pointer) 64 // CHECK-NEXT: 0 | (C vftable pointer) 67 // CHECK-NEXT: 8 | (B0 vftable pointer) 73 // CHECK-X64-NEXT: 0 | (C vftable pointer) 76 // CHECK-X64-NEXT: 16 | (B0 vftable pointer) 89 // CHECK-NEXT: 0 | (D vftable pointer) 94 // CHECK-NEXT: 12 | (B0 vftable pointer) [all …]
|
D | ms-x86-vtordisp.cpp | 36 // CHECK-NEXT: 0 | (A vftable pointer) 41 // CHECK-NEXT: 20 | (B0 vftable pointer) 45 // CHECK-NEXT: 48 | (B1 vftable pointer) 53 // CHECK-X64-NEXT: 0 | (A vftable pointer) 58 // CHECK-X64-NEXT: 40 | (B0 vftable pointer) 62 // CHECK-X64-NEXT: 80 | (B1 vftable pointer) 78 // CHECK-NEXT: 0 | (C vftable pointer) 84 // CHECK-NEXT: 68 | (B0 vftable pointer) 88 // CHECK-NEXT: 112 | (B1 vftable pointer) 97 // CHECK-X64-NEXT: 0 | (C vftable pointer) [all …]
|
D | ms-vtordisp-local.cpp | 25 // CHECK-NEXT: 0 | (HasVtorDisp vftable pointer) in f() 29 // CHECK-NEXT: 24 | (Base vftable pointer) in f() 47 // CHECK-NEXT: 0 | (NoVtorDisp1 vftable pointer) 50 // CHECK-NEXT: 16 | (Base vftable pointer) 69 // CHECK-NEXT: 0 | (HasVtorDisp1 vftable pointer) in f1() 73 // CHECK-NEXT: 24 | (Base vftable pointer) in f1() 90 // CHECK-NEXT: 0 | (HasVtorDisp2 vftable pointer) in f1() 94 // CHECK-NEXT: 24 | (Base vftable pointer) in f1() 111 // CHECK-NEXT: 0 | (NoVtorDisp2 vftable pointer) in f1() 114 // CHECK-NEXT: 16 | (Base vftable pointer) in f1() [all …]
|
D | ms-x86-basic-layout.cpp | 106 // CHECK-NEXT: 12 | (C4 vftable pointer) 118 // CHECK-X64-NEXT: 24 | (C4 vftable pointer) 136 // CHECK-NEXT: 16 | (C16 vftable pointer) 148 // CHECK-X64-NEXT: 32 | (C16 vftable pointer) 169 // CHECK-NEXT: 32 | (C16 vftable pointer) 184 // CHECK-X64-NEXT: 32 | (C16 vftable pointer) 197 // CHECK-NEXT: 0 | (TestF5 vftable pointer) 207 // CHECK-NEXT: 48 | (C16 vftable pointer) 213 // CHECK-X64-NEXT: 0 | (TestF5 vftable pointer) 223 // CHECK-X64-NEXT: 48 | (C16 vftable pointer) [all …]
|
D | ms-x86-vfvb-alignment.cpp | 22 // CHECK-NEXT: 0 | (A vftable pointer) 35 // CHECK-X64-NEXT: 0 | (A vftable pointer) 51 // CHECK-NEXT: 0 | (A vftable pointer) 68 // CHECK-X64-NEXT: 0 | (A vftable pointer) 88 // CHECK-NEXT: 0 | (C vftable pointer) 101 // CHECK-X64-NEXT: 0 | (C vftable pointer) 116 // CHECK-NEXT: 0 | (C vftable pointer) 129 // CHECK-X64-NEXT: 0 | (C vftable pointer) 150 // CHECK-NEXT: 48 | (C vftable pointer) 165 // CHECK-X64-NEXT: 48 | (C vftable pointer) [all …]
|
/external/llvm-project/clang/test/Layout/ |
D | ms-x86-primary-bases.cpp | 23 // CHECK-NEXT: 4 | (B0 vftable pointer) 32 // CHECK-X64-NEXT: 8 | (B0 vftable pointer) 45 // CHECK-NEXT: 4 | (B0 vftable pointer) 53 // CHECK-X64-NEXT: 8 | (B0 vftable pointer) 64 // CHECK-NEXT: 0 | (C vftable pointer) 67 // CHECK-NEXT: 8 | (B0 vftable pointer) 73 // CHECK-X64-NEXT: 0 | (C vftable pointer) 76 // CHECK-X64-NEXT: 16 | (B0 vftable pointer) 89 // CHECK-NEXT: 0 | (D vftable pointer) 94 // CHECK-NEXT: 12 | (B0 vftable pointer) [all …]
|
D | ms-x86-vtordisp.cpp | 36 // CHECK-NEXT: 0 | (A vftable pointer) 41 // CHECK-NEXT: 20 | (B0 vftable pointer) 45 // CHECK-NEXT: 48 | (B1 vftable pointer) 53 // CHECK-X64-NEXT: 0 | (A vftable pointer) 58 // CHECK-X64-NEXT: 40 | (B0 vftable pointer) 62 // CHECK-X64-NEXT: 80 | (B1 vftable pointer) 78 // CHECK-NEXT: 0 | (C vftable pointer) 84 // CHECK-NEXT: 68 | (B0 vftable pointer) 88 // CHECK-NEXT: 112 | (B1 vftable pointer) 97 // CHECK-X64-NEXT: 0 | (C vftable pointer) [all …]
|
D | ms-vtordisp-local.cpp | 25 // CHECK-NEXT: 0 | (HasVtorDisp vftable pointer) in f() 29 // CHECK-NEXT: 24 | (Base vftable pointer) in f() 47 // CHECK-NEXT: 0 | (NoVtorDisp1 vftable pointer) 50 // CHECK-NEXT: 16 | (Base vftable pointer) 69 // CHECK-NEXT: 0 | (HasVtorDisp1 vftable pointer) in f1() 73 // CHECK-NEXT: 24 | (Base vftable pointer) in f1() 90 // CHECK-NEXT: 0 | (HasVtorDisp2 vftable pointer) in f1() 94 // CHECK-NEXT: 24 | (Base vftable pointer) in f1() 111 // CHECK-NEXT: 0 | (NoVtorDisp2 vftable pointer) in f1() 114 // CHECK-NEXT: 16 | (Base vftable pointer) in f1() [all …]
|
D | ms-x86-basic-layout.cpp | 106 // CHECK-NEXT: 12 | (C4 vftable pointer) 118 // CHECK-X64-NEXT: 24 | (C4 vftable pointer) 136 // CHECK-NEXT: 16 | (C16 vftable pointer) 148 // CHECK-X64-NEXT: 32 | (C16 vftable pointer) 169 // CHECK-NEXT: 32 | (C16 vftable pointer) 184 // CHECK-X64-NEXT: 32 | (C16 vftable pointer) 197 // CHECK-NEXT: 0 | (TestF5 vftable pointer) 207 // CHECK-NEXT: 48 | (C16 vftable pointer) 213 // CHECK-X64-NEXT: 0 | (TestF5 vftable pointer) 223 // CHECK-X64-NEXT: 48 | (C16 vftable pointer) [all …]
|
/external/clang/test/Sema/ |
D | ms_class_layout.cpp | 164 // CHECK-NEXT: 0 | (D vftable pointer) 173 // CHECK-NEXT: 0 | (B vftable pointer) 183 // CHECK-NEXT: 0 | (B vftable pointer) 193 // CHECK-NEXT: 0 | (D vftable pointer) 196 // CHECK-NEXT: 16 | (B vftable pointer) 205 // CHECK-NEXT: 64 | (B vftable pointer) 223 // CHECK-NEXT: 16 | (D vftable pointer) 226 // CHECK-NEXT: 32 | (B vftable pointer) 235 // CHECK-NEXT: 80 | (B vftable pointer) 250 // CHECK-NEXT: 16 | (D vftable pointer) [all …]
|
/external/llvm-project/clang/test/Sema/ |
D | ms_class_layout.cpp | 164 // CHECK-NEXT: 0 | (D vftable pointer) 173 // CHECK-NEXT: 0 | (B vftable pointer) 183 // CHECK-NEXT: 0 | (B vftable pointer) 193 // CHECK-NEXT: 0 | (D vftable pointer) 196 // CHECK-NEXT: 16 | (B vftable pointer) 205 // CHECK-NEXT: 64 | (B vftable pointer) 223 // CHECK-NEXT: 16 | (D vftable pointer) 226 // CHECK-NEXT: 32 | (B vftable pointer) 235 // CHECK-NEXT: 80 | (B vftable pointer) 250 // CHECK-NEXT: 16 | (D vftable pointer) [all …]
|