/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 | 21 static ConstantRange Empty; member in __anon10950d6f0111::ConstantRangeTest 28 ConstantRange ConstantRangeTest::Empty(16, false); member in __anon10950d6f0111::ConstantRangeTest 44 EXPECT_FALSE(Empty.isFullSet()); in TEST_F() 45 EXPECT_TRUE(Empty.isEmptySet()); in TEST_F() 46 EXPECT_TRUE(Empty.inverse().isFullSet()); in TEST_F() 47 EXPECT_FALSE(Empty.isWrappedSet()); in TEST_F() 48 EXPECT_FALSE(Empty.contains(APInt(16, 0x0))); in TEST_F() 49 EXPECT_FALSE(Empty.contains(APInt(16, 0x9))); in TEST_F() 50 EXPECT_FALSE(Empty.contains(APInt(16, 0xa))); in TEST_F() 51 EXPECT_FALSE(Empty.contains(APInt(16, 0xaa9))); in TEST_F() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | empty-classes.cpp | 3 struct Empty { }; struct 11 struct B : A, Empty { 12 B() : A(), Empty() { } in B() 15 struct C : A, Empty { 16 C() : A(), Empty() { } in C() 17 C(const C& other) : A(0x12345678), Empty(other) { } in C() 20 struct D : A, Empty { 23 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 | 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/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/lib/Serialization/ |
D | ASTReaderStmt.cpp | 2271 Stmt::EmptyShell Empty; in ReadStmtFromStream() local 2310 S = new (Context) NullStmt(Empty); in ReadStmtFromStream() 2314 S = new (Context) CompoundStmt(Empty); in ReadStmtFromStream() 2318 S = new (Context) CaseStmt(Empty); in ReadStmtFromStream() 2322 S = new (Context) DefaultStmt(Empty); in ReadStmtFromStream() 2326 S = new (Context) LabelStmt(Empty); in ReadStmtFromStream() 2336 S = new (Context) IfStmt(Empty); in ReadStmtFromStream() 2340 S = new (Context) SwitchStmt(Empty); in ReadStmtFromStream() 2344 S = new (Context) WhileStmt(Empty); in ReadStmtFromStream() 2348 S = new (Context) DoStmt(Empty); in ReadStmtFromStream() [all …]
|
/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 | 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() 103 explicit ObjCBoxedExpr(EmptyShell Empty) in ObjCBoxedExpr() argument 104 : Expr(ObjCBoxedExprClass, Empty) {} in ObjCBoxedExpr() 151 explicit ObjCArrayLiteral(EmptyShell Empty, unsigned NumElements) in ObjCArrayLiteral() argument 152 : Expr(ObjCArrayLiteralClass, Empty), NumElements(NumElements) {} in ObjCArrayLiteral() 274 explicit ObjCDictionaryLiteral(EmptyShell Empty, unsigned NumElements, 276 : Expr(ObjCDictionaryLiteralClass, Empty), NumElements(NumElements), [all …]
|
D | Stmt.h | 454 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) { } in DeclStmt() argument 527 explicit NullStmt(EmptyShell Empty) : Stmt(NullStmtClass, Empty), in NullStmt() argument 567 explicit CompoundStmt(EmptyShell Empty) in CompoundStmt() argument 568 : Stmt(CompoundStmtClass, Empty), Body(nullptr) { in CompoundStmt() 703 explicit CaseStmt(EmptyShell Empty) : SwitchCase(CaseStmtClass, Empty) { } in CaseStmt() argument 755 explicit DefaultStmt(EmptyShell Empty) in DefaultStmt() argument 756 : SwitchCase(DefaultStmtClass, Empty) { } in DefaultStmt() 801 explicit LabelStmt(EmptyShell Empty) : Stmt(LabelStmtClass, Empty) { } in LabelStmt() argument 841 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument 842 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { in AttributedStmt() [all …]
|
D | Expr.h | 840 explicit OpaqueValueExpr(EmptyShell Empty) in OpaqueValueExpr() argument 841 : Expr(OpaqueValueExprClass, Empty) { } in OpaqueValueExpr() 948 explicit DeclRefExpr(EmptyShell Empty) in DeclRefExpr() argument 949 : Expr(DeclRefExprClass, Empty) { } in DeclRefExpr() 1196 explicit PredefinedExpr(EmptyShell Empty) in PredefinedExpr() argument 1197 : Expr(PredefinedExprClass, Empty), Loc(), Type(Func), FnName(nullptr) {} in PredefinedExpr() 1280 explicit IntegerLiteral(EmptyShell Empty) in IntegerLiteral() argument 1281 : Expr(IntegerLiteralClass, Empty) { } in IntegerLiteral() 1296 static IntegerLiteral *Create(const ASTContext &C, EmptyShell Empty); 1337 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. NULL 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/openfst/src/include/fst/ |
D | queue.h | 86 bool Empty() const { return Empty_(); } in Empty() function 121 bool Empty() const { return front_ == kNoStateId; } in Empty() function 133 virtual bool Empty_() const { return Empty(); } in Empty_() 157 bool Empty() const { return empty(); } in Empty() function 168 virtual bool Empty_() const { return Empty(); } in Empty_() 190 bool Empty() const { return empty(); } in Empty() function 201 virtual bool Empty_() const { return Empty(); } in Empty_() 249 bool Empty() const { return heap_.Empty(); } in Empty() function 267 virtual bool Empty_() const { return Empty(); } in Empty_() 356 bool Empty() const { return front_ > back_; } in Empty() function [all …]
|
/external/webrtc/src/system_wrappers/source/ |
D | list_unittest.cc | 50 bool Empty() const { in Empty() function in ListWrapperSimple 51 return list_.Empty(); in Empty() 314 if (lhs->Empty()) { in CompareLists() 315 return rhs->Empty(); in CompareLists() 343 ASSERT_FALSE(descending_list->Empty()); in TEST() 349 ASSERT_FALSE(ascending_list->Empty()); in TEST() 377 ASSERT_FALSE(ascending_list->Empty()); in TEST() 392 ASSERT_FALSE(interleave_list->Empty()); in TEST() 407 while (!descending_list->Empty()) in TEST() 430 ASSERT_FALSE(interleaved_list->Empty()); in TEST() [all …]
|
D | list_stl.cc | 50 if (!Empty()) in ~ListWrapper() 61 bool ListWrapper::Empty() const in Empty() function in webrtc::ListWrapper 186 if (!existing_previous_item && !Empty()) in Insert() 197 if (!Empty()) in Insert() 216 if (!existing_next_item && !Empty()) in InsertBefore() 226 if (!Empty()) in InsertBefore()
|
D | list_no_stl.cc | 57 if (!Empty()) in ~ListWrapper() 69 bool ListWrapper::Empty() const in Empty() function in webrtc::ListWrapper 158 if (!existing_previous_item && !Empty()) in Insert() 194 if (!existing_next_item && !Empty()) in InsertBefore() 260 if (Empty()) in PushBackImpl() 276 if (Empty()) in PushFrontImpl()
|
/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/v8/test/mjsunit/harmony/ |
D | array-of.js | 141 function Empty() {} class 142 Empty.of = Array.of; 143 Object.defineProperty(Empty.prototype, "length", {get: function() { return 0; }}); 145 var nothing = new Empty; 148 assertThrows(function() { Empty.of(); }, TypeError);
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | copy.pass.cpp | 22 struct Empty {}; struct 61 typedef std::tuple<Empty> T; in main() 64 constexpr Empty e = std::get<0>(t); in main()
|