/external/clang/test/SemaCXX/ |
D | empty-class-layout.cpp | 24 struct Empty { Empty(); }; struct 26 struct I : Empty { 27 Empty e; 31 struct J : Empty { 32 Empty e[2]; 36 template<int N> struct Derived : Empty, Derived<N - 1> { 38 template<> struct Derived<0> : Empty { }; 41 Empty e; 46 Empty e[2]; 51 Empty e; [all …]
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 22 static ConstantRange Empty; member in __anon10950d6f0111::ConstantRangeTest 29 ConstantRange ConstantRangeTest::Empty(16, false); member in __anon10950d6f0111::ConstantRangeTest 45 EXPECT_FALSE(Empty.isFullSet()); in TEST_F() 46 EXPECT_TRUE(Empty.isEmptySet()); in TEST_F() 47 EXPECT_TRUE(Empty.inverse().isFullSet()); in TEST_F() 48 EXPECT_FALSE(Empty.isWrappedSet()); in TEST_F() 49 EXPECT_FALSE(Empty.contains(APInt(16, 0x0))); in TEST_F() 50 EXPECT_FALSE(Empty.contains(APInt(16, 0x9))); in TEST_F() 51 EXPECT_FALSE(Empty.contains(APInt(16, 0xa))); in TEST_F() 52 EXPECT_FALSE(Empty.contains(APInt(16, 0xaa9))); in TEST_F() [all …]
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
D | is_nothrow_constructible.pass.cpp | 47 class Empty class 81 Tuple(Empty&&) noexcept {} in Tuple() 89 test_is_nothrow_constructible<Empty> (); in main() 90 test_is_nothrow_constructible<Empty, const Empty&> (); in main() 92 test_is_nothrow_constructible<Tuple &&, Empty> (); // See bug #19616. in main() 100 static_assert(!std::is_constructible<Tuple&, Empty>::value, ""); in main() 101 test_is_not_nothrow_constructible<Tuple &, Empty> (); // See bug #19616. in main()
|
D | is_trivially_copy_assignable.pass.cpp | 28 class Empty class 58 test_has_trivially_copy_assignable<Empty>(); in main() 69 test_has_not_trivially_copy_assignable<const Empty>(); in main()
|
D | is_trivially_move_assignable.pass.cpp | 28 class Empty class 58 test_has_trivial_assign<Empty>(); in main() 69 test_has_not_trivial_assign<const Empty>(); in main()
|
/external/clang/test/CodeGenCXX/ |
D | empty-classes.cpp | 5 struct Empty { }; struct 13 struct B : A, Empty { 14 B() : A(), Empty() { } in B() 17 struct C : A, Empty { 18 C() : A(), Empty() { } in C() 19 C(const C& other) : A(0x12345678), Empty(other) { } in C() 22 struct D : A, Empty { 25 Empty::operator=(other); in operator =()
|
D | empty-nontrivially-copyable.cpp | 8 struct Empty; 10 struct Empty { struct 11 Empty(const Empty &e); 15 bool foo(Empty e) { in foo() 21 void caller(Empty &e) { in caller()
|
D | arm-vaarg.cpp | 2 struct Empty {}; struct 4 Empty emptyvar; 11 emptyvar = __builtin_va_arg(l, Empty); in take_args()
|
D | arm64-empty-struct.cpp | 2 struct Empty {}; struct 4 Empty emptyvar; 11 emptyvar = __builtin_va_arg(l, Empty); in take_args()
|
D | sanitize-dtor-bit-field.cpp | 24 struct Empty { struct 26 ~Empty() {} in ~Empty() argument 28 Empty e;
|
D | rtti-layout.cpp | 71 struct Empty { }; struct 74 struct SI2 : Empty { }; 75 struct SI3 : Empty { virtual void f() { } }; in f() 80 struct VMI4 : A, Empty { }; 119 CHECK(to<__si_class_type_info>(typeid(SI2)).__base_type == &typeid(Empty)); in f() 124 CHECK(to<__si_class_type_info>(typeid(SI3)).__base_type == &typeid(Empty)); in f()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 2515 Stmt::EmptyShell Empty; in ReadStmtFromStream() local 2554 S = new (Context) NullStmt(Empty); in ReadStmtFromStream() 2558 S = new (Context) CompoundStmt(Empty); in ReadStmtFromStream() 2562 S = new (Context) CaseStmt(Empty); in ReadStmtFromStream() 2566 S = new (Context) DefaultStmt(Empty); in ReadStmtFromStream() 2570 S = new (Context) LabelStmt(Empty); in ReadStmtFromStream() 2580 S = new (Context) IfStmt(Empty); in ReadStmtFromStream() 2584 S = new (Context) SwitchStmt(Empty); in ReadStmtFromStream() 2588 S = new (Context) WhileStmt(Empty); in ReadStmtFromStream() 2592 S = new (Context) DoStmt(Empty); in ReadStmtFromStream() [all …]
|
/external/clang/test/Analysis/ |
D | padding_cpp.cpp | 121 class Empty {}; // no-warning class 124 Empty e1; 126 Empty e2; 129 class EBO1 : public Empty { // xxxexpected-warning{{Excessive padding in 'class EBO1'}} 135 class EBO2 : public Empty { // xxxexpected-warning{{Excessive padding in 'class EBO2'}} 136 Empty c1; 138 Empty c2;
|
/external/compiler-rt/test/msan/ |
D | dtor-bit-fields.cc | 29 struct Empty { struct 31 ~Empty() {} in ~Empty() argument 57 Empty *e = new Empty(); in main() 58 e->~Empty(); in main()
|
/external/clang/include/clang/AST/ |
D | StmtObjC.h | 32 explicit ObjCForCollectionStmt(EmptyShell Empty) : in ObjCForCollectionStmt() argument 33 Stmt(ObjCForCollectionStmtClass, Empty) { } in ObjCForCollectionStmt() 87 explicit ObjCAtCatchStmt(EmptyShell Empty) : in ObjCAtCatchStmt() argument 88 Stmt(ObjCAtCatchStmtClass, Empty) { } in ObjCAtCatchStmt() 129 explicit ObjCAtFinallyStmt(EmptyShell Empty) : in ObjCAtFinallyStmt() argument 130 Stmt(ObjCAtFinallyStmtClass, Empty) { } in ObjCAtFinallyStmt() 179 explicit ObjCAtTryStmt(EmptyShell Empty, unsigned NumCatchStmts, in ObjCAtTryStmt() argument 181 : Stmt(ObjCAtTryStmtClass, Empty), NumCatchStmts(NumCatchStmts), in ObjCAtTryStmt() 276 explicit ObjCAtSynchronizedStmt(EmptyShell Empty) : in ObjCAtSynchronizedStmt() argument 277 Stmt(ObjCAtSynchronizedStmtClass, Empty) { } in ObjCAtSynchronizedStmt() [all …]
|
D | ExprCXX.h | 74 explicit CXXOperatorCallExpr(ASTContext& C, EmptyShell Empty) : in CXXOperatorCallExpr() argument 75 CallExpr(C, CXXOperatorCallExprClass, Empty) { } in CXXOperatorCallExpr() 130 CXXMemberCallExpr(ASTContext &C, EmptyShell Empty) in CXXMemberCallExpr() argument 131 : CallExpr(C, CXXMemberCallExprClass, Empty) { } in CXXMemberCallExpr() 167 CUDAKernelCallExpr(ASTContext &C, EmptyShell Empty) in CUDAKernelCallExpr() argument 168 : CallExpr(C, CUDAKernelCallExprClass, END_PREARG, Empty) { } in CUDAKernelCallExpr() 246 explicit CXXStaticCastExpr(EmptyShell Empty, unsigned PathSize) in CXXStaticCastExpr() argument 247 : CXXNamedCastExpr(CXXStaticCastExprClass, Empty, PathSize) { } in CXXStaticCastExpr() 277 explicit CXXDynamicCastExpr(EmptyShell Empty, unsigned pathSize) in CXXDynamicCastExpr() argument 278 : CXXNamedCastExpr(CXXDynamicCastExprClass, Empty, pathSize) { } in CXXDynamicCastExpr() [all …]
|
D | Stmt.h | 441 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) { } in DeclStmt() argument 514 explicit NullStmt(EmptyShell Empty) : Stmt(NullStmtClass, Empty), in NullStmt() argument 556 explicit CompoundStmt(EmptyShell Empty) in CompoundStmt() argument 557 : Stmt(CompoundStmtClass, Empty), Body(nullptr) { in CompoundStmt() 693 explicit CaseStmt(EmptyShell Empty) : SwitchCase(CaseStmtClass, Empty) { } in CaseStmt() argument 745 explicit DefaultStmt(EmptyShell Empty) in DefaultStmt() argument 746 : SwitchCase(DefaultStmtClass, Empty) { } in DefaultStmt() 791 explicit LabelStmt(EmptyShell Empty) : Stmt(LabelStmtClass, Empty) { } in LabelStmt() argument 831 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument 832 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { in AttributedStmt() [all …]
|
D | ExprObjC.h | 37 explicit ObjCStringLiteral(EmptyShell Empty) in ObjCStringLiteral() argument 38 : Expr(ObjCStringLiteralClass, Empty) {} in ObjCStringLiteral() 68 explicit ObjCBoolLiteralExpr(EmptyShell Empty) in ObjCBoolLiteralExpr() argument 69 : Expr(ObjCBoolLiteralExprClass, Empty) { } in ObjCBoolLiteralExpr() 105 explicit ObjCBoxedExpr(EmptyShell Empty) in ObjCBoxedExpr() argument 106 : Expr(ObjCBoxedExprClass, Empty) {} in ObjCBoxedExpr() 153 explicit ObjCArrayLiteral(EmptyShell Empty, unsigned NumElements) in ObjCArrayLiteral() argument 154 : Expr(ObjCArrayLiteralClass, Empty), NumElements(NumElements) {} in ObjCArrayLiteral() 276 explicit ObjCDictionaryLiteral(EmptyShell Empty, unsigned NumElements, 278 : Expr(ObjCDictionaryLiteralClass, Empty), NumElements(NumElements), [all …]
|
D | Expr.h | 863 explicit OpaqueValueExpr(EmptyShell Empty) in OpaqueValueExpr() argument 864 : Expr(OpaqueValueExprClass, Empty) { } in OpaqueValueExpr() 973 explicit DeclRefExpr(EmptyShell Empty) in DeclRefExpr() argument 974 : Expr(DeclRefExprClass, Empty) { } in DeclRefExpr() 1227 explicit PredefinedExpr(EmptyShell Empty) in PredefinedExpr() argument 1228 : Expr(PredefinedExprClass, Empty), Loc(), Type(Func), FnName(nullptr) {} in PredefinedExpr() 1311 explicit IntegerLiteral(EmptyShell Empty) in IntegerLiteral() argument 1312 : Expr(IntegerLiteralClass, Empty) { } in IntegerLiteral() 1327 static IntegerLiteral *Create(const ASTContext &C, EmptyShell Empty); 1370 CharacterLiteral(EmptyShell Empty) : Expr(CharacterLiteralClass, Empty) { } in CharacterLiteral() argument [all …]
|
/external/skia/src/core/ |
D | SkTDynamicHash.h | 50 } while (!this->done() && (this->current() == Empty() || this->current() == Deleted())); 77 } while (!this->done() && (this->current() == Empty() || this->current() == Deleted())); 95 if (Empty() == candidate) { in find() 149 if (Empty() == candidate || Deleted() == candidate || GetKey(*candidate) == key) { in countCollisions() 160 static T* Empty() { return reinterpret_cast<T*>(0); } // i.e. nullptr in Empty() function 178 } else if (Empty() != fArray[i]) { in validate() 191 if (Empty() == fArray[i] || Deleted() == fArray[i]) { in validate() 195 if (Empty() == fArray[j] || Deleted() == fArray[j]) { in validate() 213 if (Empty() == candidate || Deleted() == candidate) { in innerAdd() 260 if (Empty() != entry && Deleted() != entry) { in resize()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | packet_buffer.cc | 53 bool PacketBuffer::Empty() const { in Empty() function in webrtc::PacketBuffer 148 if (Empty()) { in NextTimestamp() 160 if (Empty()) { in NextHigherTimestamp() 178 if (Empty()) { in NextRtpHeader() 185 if (Empty()) { in GetNextPacket() 199 while (!Empty() && in GetNextPacket() 216 if (Empty()) { in DiscardNextPacket() 228 while (!Empty() && timestamp_limit != buffer_.front()->header.timestamp && in DiscardOldPackets()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue116/ |
D | NoFieldsTest.java | 26 Empty empty = new Empty(); in testEmptyClass() 31 assertTrue(emptyParsed instanceof Empty); in testEmptyClass() 64 class Empty { class
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
D | get_const.pass.cpp | 24 struct Empty {}; struct 47 typedef std::tuple<Empty> T; in main() 48 constexpr T t{Empty()}; in main() 49 constexpr Empty e = std::get<0>(t); in main()
|
D | get_non_const.pass.cpp | 26 struct Empty {}; struct 29 std::tuple<int, Empty> a; 31 Empty e; 32 constexpr S() : a{1,Empty{}}, k(std::get<0>(a)), e(std::get<1>(a)) {} in S()
|
/external/llvm/test/tools/dsymutil/X86/ |
D | submodules.m | 7 module Empty { 8 header "Empty.h" 46 // CHECK-NEXT: DW_AT_name{{.*}}"Empty" 50 @import Parent.Empty;
|