/external/clang/test/CodeGenCXX/ |
sanitize-dtor-trivial.cpp | 9 struct Trivial { 13 Trivial t;
|
/external/llvm/unittests/ADT/ |
FoldingSet.cpp | 50 FoldingSet<TrivialPair> Trivial; 53 Trivial.InsertNode(&T); 58 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); 64 FoldingSet<TrivialPair> Trivial; 68 Trivial.InsertNode(&T); 73 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); 79 FoldingSet<TrivialPair> Trivial; 82 Trivial.InsertNode(&T); 83 EXPECT_EQ(Trivial.size(), 1U); 85 bool WasThere = Trivial.RemoveNode(&T) [all...] |
/external/compiler-rt/test/msan/ |
dtor-trivial.cpp | 26 struct Trivial { 36 Trivial *t = new Trivial(); 37 t->~Trivial();
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
FoldingSet.cpp | 71 FoldingSet<TrivialPair> Trivial; 74 Trivial.InsertNode(&T); 79 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); 85 FoldingSet<TrivialPair> Trivial; 89 Trivial.InsertNode(&T); 94 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); 100 FoldingSet<TrivialPair> Trivial; 103 Trivial.InsertNode(&T); 104 EXPECT_EQ(Trivial.size(), 1U); 106 bool WasThere = Trivial.RemoveNode(&T) [all...] |
/external/clang/test/CXX/class/ |
p6-0x.cpp | 4 class Trivial { int n; void f(); }; 11 static_assert(__is_trivial(Trivial), "Trivial is not trivial"); 12 static_assert(!__is_trivial(NonTrivial1), "NonTrivial1 is trivial"); 13 static_assert(!__is_trivial(NonTrivial2), "NonTrivial2 is trivial"); 14 static_assert(!__is_trivial(NonTrivial3), "NonTrivial3 is trivial"); 15 static_assert(!__is_trivial(NonTrivial4), "NonTrivial4 is trivial"); 16 static_assert(!__is_trivial(NonTrivial5), "NonTrivial5 is trivial"); 31 static_assert(!__is_trivial(NonTrivial6), "NonTrivial6 is trivial"); [all...] |
/external/clang/test/Analysis/ |
temporaries.cpp | 8 struct Trivial { 9 Trivial(int x) : value(x) {} 13 struct NonTrivial : public Trivial { 14 NonTrivial(int x) : Trivial(x) {} 19 Trivial getTrivial() { 20 return Trivial(42); // no-warning 23 const Trivial &getTrivialRef() { 24 return Trivial(42); // expected-warning {{Address of stack memory associated with temporary object of type 'Trivial' returned to caller}} 37 struct TrivialSubclass : public Trivial { [all...] |
/external/clang/test/SemaCXX/ |
warn-unused-private-field.cpp | 80 class Trivial { 82 Trivial() = default; 83 Trivial(int a) {} 110 Trivial trivial_initializer_ = Trivial(); // expected-warning{{private field 'trivial_initializer_' is not used}} 111 Trivial non_trivial_initializer_ = Trivial(42); 115 Trivial trivial_; // expected-warning{{private field 'trivial_' is not used}} 116 Trivial user_constructor_;
|
/external/slf4j/log4j-over-slf4j/src/test/java/org/apache/log4j/ |
Trivial.java | 31 public class Trivial extends TestCase {
|
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/ |
non_trivial_copy_move_ABI.pass.cpp | 21 // Test that we properly provide the trivial copy operations by default. 38 #error trivial ctor ABI macro defined 82 struct Trivial { 83 Trivial(Trivial const&) = default; 85 static_assert(!HasNonTrivialABI<Trivial>::value, ""); 136 using P = std::pair<Trivial, int>;
|
trivial_copy_move_ABI.pass.cpp | 17 // Test that we properly provide the trivial copy operations by default. 33 #error Non-trivial ctor ABI macro defined 77 struct Trivial { 78 Trivial(Trivial const&) = default; 80 static_assert(HasTrivialABI<Trivial>::value, ""); 131 using P = std::pair<Trivial, int>;
|
/external/clang/test/CXX/special/class.copy/ |
p11.0x.move.cpp | 3 struct Trivial {}; 10 // -- a variant member with a non-trivial corresponding constructor 12 NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constructor}} 19 NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constructor}} 71 const Trivial ct; 84 volatile Trivial vt; // expected-note{{deleted because field 'vt' has no move constructor}}
|
p23-cxx11.cpp | 3 struct Trivial {}; 59 // -- a variant member with a non-trivial corresponding assignment operator 63 NonTrivialCopyAssign x; // expected-note {{variant field 'x' has a non-trivial copy assign}} 71 NonTrivialMoveAssign x; // expected-note {{variant field 'x' has a non-trivial move assign}} 123 const Trivial a; // expected-note 3{{field 'a' has no }} 126 volatile Trivial a; // expected-note 3{{field 'a' has no }}
|
p11.0x.copy.cpp | 3 struct Trivial {}; 10 // -- a variant member with a non-trivial corresponding constructor 12 NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant' is implicitly deleted because variant field 'NT' has a non-trivial copy constructor}} 20 NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant2' is implicitly deleted because variant field 'NT' has a non-trivial copy constructor}} 76 volatile Trivial vm; // expected-note {{has no copy}}
|
p12-0x.cpp | 17 struct Trivial {}; 18 using _ = trivially_copyable<Trivial>; 20 // A copy/move constructor for class X is trivial if it is not user-provided, 40 struct VBase : virtual Trivial {}; 43 // and the constructor selected to copy/move each [direct subobject] is trivial 53 // We can select a non-trivial copy ctor even if there is a trivial one. 67 // Both trivial and non-trivial special members. 69 TNT(const TNT &) = default; // trivial [all...] |
p25-0x.cpp | 20 struct Trivial {}; 21 using _ = trivially_assignable<Trivial>; 23 // A copy/move assignment operator for class X is trivial if it is not user-provided, 43 struct VBase : virtual Trivial {}; 46 // and the assignment operator selected to copy/move each [direct subobject] is trivial 61 // Both trivial and non-trivial special members. 63 TNT &operator=(const TNT &) = default; // trivial 64 TNT &operator=(TNT &); // non-trivial 66 TNT &operator=(TNT &&) = default; // trivial [all...] |
/external/google-breakpad/src/testing/gtest/samples/ |
sample1_unittest.cc | 127 // Tests some trivial cases. 128 TEST(IsPrimeTest, Trivial) {
|
/external/googletest/googletest/samples/ |
sample1_unittest.cc | 124 // Tests some trivial cases. 125 TEST(IsPrimeTest, Trivial) {
|
/external/pdfium/xfa/fwl/ |
cfwl_edit_embeddertest.cpp | 39 TEST_F(CFWLEditEmbeddertest, Trivial) {
|
/external/clang/test/CXX/special/class.ctor/ |
p5-0x.cpp | 22 // - X is a union-like class that has a variant member with a non-trivial 24 union Deleted1a { UserProvidedDefCtor u; }; // expected-note {{default constructor of 'Deleted1a' is implicitly deleted because variant field 'u' has a non-trivial default constructor}} 80 const UserProvidedDefCtor c; // expected-note {{because variant field 'c' has a non-trivial default constructor}} 145 class Trivial { static const int n = 42; }; 146 static_assert(__has_trivial_constructor(Trivial), "Trivial is nontrivial"); 148 // A default constructor is trivial if it is not user-provided and if: 150 static_assert(!__has_trivial_constructor(NonTrivialDefCtor1), "NonTrivialDefCtor1 is trivial"); 162 ASSERT_NONTRIVIAL(NonTrivialDefCtor3, : virtual Trivial, ) 167 // - all the direct base classes of its class have trivial default constructors, an [all...] |
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
test_native_aidl_client.cpp | 124 TEST_P(NdkBinderTest_Aidl, Trivial) {
|
/external/python/cpython3/Lib/test/ |
test_urlparse.py | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateTimeGeneratorTest.java | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateTimeGeneratorTest.java | [all...] |
/external/mockito/lib/ |
byte-buddy-1.8.15.jar | |