/external/llvm/unittests/ADT/ |
D | FoldingSet.cpp | 50 FoldingSet<TrivialPair> Trivial; in TEST() local 53 Trivial.InsertNode(&T); in TEST() 58 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST() 64 FoldingSet<TrivialPair> Trivial; in TEST() local 68 Trivial.InsertNode(&T); in TEST() 73 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST() 79 FoldingSet<TrivialPair> Trivial; in TEST() local 82 Trivial.InsertNode(&T); in TEST() 83 EXPECT_EQ(Trivial.size(), 1U); in TEST() 85 bool WasThere = Trivial.RemoveNode(&T); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/ADT/ |
D | FoldingSet.cpp | 70 FoldingSet<TrivialPair> Trivial; in TEST() local 73 Trivial.InsertNode(&T); in TEST() 78 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST() 84 FoldingSet<TrivialPair> Trivial; in TEST() local 88 Trivial.InsertNode(&T); in TEST() 93 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST() 99 FoldingSet<TrivialPair> Trivial; in TEST() local 102 Trivial.InsertNode(&T); in TEST() 103 EXPECT_EQ(Trivial.size(), 1U); in TEST() 105 bool WasThere = Trivial.RemoveNode(&T); in TEST() [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | sanitize-dtor-zero-size-field.cpp | 10 struct Trivial { struct 14 static_assert(sizeof(Trivial) == 8); argument 25 Trivial f1; 40 Trivial f1; 52 Trivial f1; 66 Trivial f1; 80 Trivial f1; 95 Trivial f1; 109 Trivial f1; 121 Trivial f1; [all …]
|
D | debug-info-composite-triviality.cpp | 36 struct Trivial { struct 38 } Trivial; argument 57 struct Trivial x; 95 struct NonTrivialE : Trivial, NonTrivial {
|
D | lambda-to-function-pointer-conversion.cpp | 10 struct Trivial { struct 14 void (*fnptr)(Trivial); argument 17 fnptr = [](Trivial a){ (void)a; }; in test()
|
D | trivial_abi.cpp | 26 struct Trivial { struct 38 Trivial m; argument 209 Trivial testReturnHasTrivial() { in testReturnHasTrivial() 210 Trivial t; in testReturnHasTrivial()
|
/external/clang/test/Analysis/ |
D | temporaries.cpp | 8 struct Trivial { struct 9 Trivial(int x) : value(x) {} in Trivial() function 13 struct NonTrivial : public Trivial { argument 14 NonTrivial(int x) : Trivial(x) {} in NonTrivial() 19 Trivial getTrivial() { in getTrivial() 20 return Trivial(42); // no-warning in getTrivial() 23 const Trivial &getTrivialRef() { in getTrivialRef() 24 …return Trivial(42); // expected-warning {{Address of stack memory associated with temporary object… in getTrivialRef() 37 struct TrivialSubclass : public Trivial { 38 TrivialSubclass(int x) : Trivial(x), anotherValue(-x) {} in TrivialSubclass() [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-unused-lambda-capture.cpp | 19 class Trivial { class 21 Trivial() = default; 22 Trivial(int a) {} in Trivial() function in Trivial 58 …auto explicit_initialized_value_trivial_init = [j = Trivial()]{}; // expected-warning{{lambda capt… in test() 59 auto explicit_initialized_value_non_trivial_init = [j = Trivial(42)]{}; in test() 67 Trivial trivial; in test() 83 class TrivialThis : Trivial { 164 …auto explicit_initialized_value_trivial_init = [j = Trivial()]{}; // expected-warning{{lambda capt… in test_templated() 165 auto explicit_initialized_value_non_trivial_init = [j = Trivial(42)]{}; in test_templated() 175 Trivial trivial; in test_templated()
|
D | warn-unused-private-field.cpp | 81 class Trivial { class 83 Trivial() = default; 84 Trivial(int a) {} in Trivial() function in Trivial 111 …Trivial trivial_initializer_ = Trivial(); // expected-warning{{private field 'trivial_initializer_… 112 Trivial non_trivial_initializer_ = Trivial(42); 116 Trivial trivial_; // expected-warning{{private field 'trivial_' is not used}} 117 Trivial user_constructor_;
|
/external/clang/test/SemaCXX/ |
D | warn-unused-private-field.cpp | 80 class Trivial { class 82 Trivial() = default; 83 Trivial(int a) {} in Trivial() function in Trivial 110 …Trivial trivial_initializer_ = Trivial(); // expected-warning{{private field 'trivial_initializer_… 111 Trivial non_trivial_initializer_ = Trivial(42); 115 Trivial trivial_; // expected-warning{{private field 'trivial_' is not used}} 116 Trivial user_constructor_;
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | cert-oop57-cpp.cpp | 21 struct Trivial { struct 37 bool operator==(const Trivial &Other) const { in operator ==() argument 40 bool operator!=(const Trivial &Other) const { in operator !=() 45 void foo(const Trivial &Other) { in foo() 46 Trivial Data; in foo() 49 std::memset(&Data, 0, sizeof(Trivial)); in foo()
|
/external/rust/cxx/src/ |
D | extern_type.rs | 1 use self::kind::{Kind, Opaque, Trivial}; 168 pub enum Trivial {} enum 172 impl Kind for Trivial {} implementation 178 impl Sealed for super::Trivial {} implementation 200 [Trivial]
|
/external/libtextclassifier/abseil-cpp/absl/meta/ |
D | type_traits_test.cc | 175 class Trivial { class 406 EXPECT_TRUE(absl::is_trivially_destructible<Trivial*>::value); in TEST() 408 EXPECT_TRUE(absl::is_trivially_destructible<const Trivial*>::value); in TEST() 410 EXPECT_TRUE(absl::is_trivially_destructible<Trivial**>::value); in TEST() 413 EXPECT_TRUE(absl::is_trivially_destructible<Trivial>::value); in TEST() 426 simple_pair<Trivial, TrivialDestructor>>::value)); in TEST() 442 using Trivial10 = Trivial[10]; in TEST() 469 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial*>::value); in TEST() 472 EXPECT_TRUE(absl::is_trivially_default_constructible<const Trivial*>::value); in TEST() 474 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial**>::value); in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/meta/ |
D | type_traits_test.cc | 175 class Trivial { class 406 EXPECT_TRUE(absl::is_trivially_destructible<Trivial*>::value); in TEST() 408 EXPECT_TRUE(absl::is_trivially_destructible<const Trivial*>::value); in TEST() 410 EXPECT_TRUE(absl::is_trivially_destructible<Trivial**>::value); in TEST() 413 EXPECT_TRUE(absl::is_trivially_destructible<Trivial>::value); in TEST() 426 simple_pair<Trivial, TrivialDestructor>>::value)); in TEST() 442 using Trivial10 = Trivial[10]; in TEST() 469 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial*>::value); in TEST() 472 EXPECT_TRUE(absl::is_trivially_default_constructible<const Trivial*>::value); in TEST() 474 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial**>::value); in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/meta/ |
D | type_traits_test.cc | 175 class Trivial { class 406 EXPECT_TRUE(absl::is_trivially_destructible<Trivial*>::value); in TEST() 408 EXPECT_TRUE(absl::is_trivially_destructible<const Trivial*>::value); in TEST() 410 EXPECT_TRUE(absl::is_trivially_destructible<Trivial**>::value); in TEST() 413 EXPECT_TRUE(absl::is_trivially_destructible<Trivial>::value); in TEST() 426 simple_pair<Trivial, TrivialDestructor>>::value)); in TEST() 442 using Trivial10 = Trivial[10]; in TEST() 469 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial*>::value); in TEST() 472 EXPECT_TRUE(absl::is_trivially_default_constructible<const Trivial*>::value); in TEST() 474 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial**>::value); in TEST() [all …]
|
/external/abseil-cpp/absl/meta/ |
D | type_traits_test.cc | 175 class Trivial { class 406 EXPECT_TRUE(absl::is_trivially_destructible<Trivial*>::value); in TEST() 408 EXPECT_TRUE(absl::is_trivially_destructible<const Trivial*>::value); in TEST() 410 EXPECT_TRUE(absl::is_trivially_destructible<Trivial**>::value); in TEST() 413 EXPECT_TRUE(absl::is_trivially_destructible<Trivial>::value); in TEST() 426 simple_pair<Trivial, TrivialDestructor>>::value)); in TEST() 442 using Trivial10 = Trivial[10]; in TEST() 469 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial*>::value); in TEST() 472 EXPECT_TRUE(absl::is_trivially_default_constructible<const Trivial*>::value); in TEST() 474 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial**>::value); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/meta/ |
D | type_traits_test.cc | 175 class Trivial { class 406 EXPECT_TRUE(absl::is_trivially_destructible<Trivial*>::value); in TEST() 408 EXPECT_TRUE(absl::is_trivially_destructible<const Trivial*>::value); in TEST() 410 EXPECT_TRUE(absl::is_trivially_destructible<Trivial**>::value); in TEST() 413 EXPECT_TRUE(absl::is_trivially_destructible<Trivial>::value); in TEST() 426 simple_pair<Trivial, TrivialDestructor>>::value)); in TEST() 442 using Trivial10 = Trivial[10]; in TEST() 469 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial*>::value); in TEST() 472 EXPECT_TRUE(absl::is_trivially_default_constructible<const Trivial*>::value); in TEST() 474 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial**>::value); in TEST() [all …]
|
/external/llvm-project/compiler-rt/test/msan/ |
D | dtor-trivial.cpp | 26 struct Trivial { struct 36 Trivial *t = new Trivial(); in main() argument 37 t->~Trivial(); in main()
|
/external/compiler-rt/test/msan/ |
D | dtor-trivial.cpp | 26 struct Trivial { struct 36 Trivial *t = new Trivial(); in main() argument 37 t->~Trivial(); in main()
|
/external/llvm-project/clang/test/SemaObjC/ |
D | warn-nontrivial-struct-memaccess.m | 8 struct Trivial { struct 26 void testTrivial(struct Trivial *d, struct Trivial *s) { argument 27 memset(d, 0, sizeof(struct Trivial)); 28 bzero(d, sizeof(struct Trivial)); 29 memcpy(d, s, sizeof(struct Trivial)); 30 memmove(d, s, sizeof(struct Trivial));
|
/external/angle/third_party/abseil-cpp/absl/meta/ |
D | type_traits_test.cc | 175 class Trivial { class 406 EXPECT_TRUE(absl::is_trivially_destructible<Trivial*>::value); in TEST() 408 EXPECT_TRUE(absl::is_trivially_destructible<const Trivial*>::value); in TEST() 410 EXPECT_TRUE(absl::is_trivially_destructible<Trivial**>::value); in TEST() 413 EXPECT_TRUE(absl::is_trivially_destructible<Trivial>::value); in TEST() 426 simple_pair<Trivial, TrivialDestructor>>::value)); in TEST() 442 using Trivial10 = Trivial[10]; in TEST() 469 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial*>::value); in TEST() 472 EXPECT_TRUE(absl::is_trivially_default_constructible<const Trivial*>::value); in TEST() 474 EXPECT_TRUE(absl::is_trivially_default_constructible<Trivial**>::value); in TEST() [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | temporaries.cpp | 30 struct Trivial { struct 31 Trivial(int x) : value(x) {} in Trivial() function 35 struct NonTrivial : public Trivial { argument 36 NonTrivial(int x) : Trivial(x) {} in NonTrivial() 41 Trivial getTrivial() { in getTrivial() 42 return Trivial(42); // no-warning in getTrivial() 45 const Trivial &getTrivialRef() { in getTrivialRef() 46 …return Trivial(42); // expected-warning {{Address of stack memory associated with temporary object… in getTrivialRef() 59 struct TrivialSubclass : public Trivial { 60 TrivialSubclass(int x) : Trivial(x), anotherValue(-x) {} in TrivialSubclass() [all …]
|
/external/llvm-project/clang/test/SemaObjCXX/ |
D | property-synthesis-error.mm | 46 class Trivial 49 Trivial(const Trivial& inObj); 50 Trivial(); 51 ~Trivial(); 61 Trivial _tcppObject; 65 @property (assign, readwrite) const Trivial& tcppObject;
|
/external/clang/test/SemaObjCXX/ |
D | property-synthesis-error.mm | 46 class Trivial 49 Trivial(const Trivial& inObj); 50 Trivial(); 51 ~Trivial(); 61 Trivial _tcppObject; 65 @property (assign, readwrite) const Trivial& tcppObject;
|
/external/llvm-project/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/ |
D | trivial_copy_move_ABI.pass.cpp | 74 struct Trivial { struct 75 Trivial(Trivial const&) = default; 77 static_assert(HasTrivialABI<Trivial>::value, ""); 128 using P = std::pair<Trivial, int>; in test_trivial()
|