/external/clang/test/Analysis/ |
D | dtor.cpp | 23 class SmartPointer { class 26 SmartPointer(void *x) : X(x) {} in SmartPointer() function in SmartPointer 27 ~SmartPointer() { in ~SmartPointer() 35 SmartPointer Deleter(mem); in testSmartPointer() 46 SmartPointer Deleter(mem); in testSmartPointer2() 55 class Subclass : public SmartPointer { 57 Subclass(void *x) : SmartPointer(x) {} in Subclass() 72 class MultipleInheritance : public Subclass, public SmartPointer { 74 MultipleInheritance(void *a, void *b) : Subclass(a), SmartPointer(b) {} in MultipleInheritance() 112 SmartPointer P;
|
D | retain-release.mm | 277 class SmartPointer { 280 SmartPointer(id x) : x(x) {} 281 ~SmartPointer() { [x release]; } 293 SmartPointer foo(x); 298 SmartPointer foo(0); 306 SmartPointer foo(0); 312 SmartPointer *foo = new SmartPointer(x);
|
/external/llvm-project/clang/test/Analysis/ |
D | dtor.cpp | 23 class SmartPointer { class 26 SmartPointer(void *x) : X(x) {} in SmartPointer() function in SmartPointer 27 ~SmartPointer() { in ~SmartPointer() 35 SmartPointer Deleter(mem); in testSmartPointer() 46 SmartPointer Deleter(mem); in testSmartPointer2() 55 class Subclass : public SmartPointer { 57 Subclass(void *x) : SmartPointer(x) {} in Subclass() 72 class MultipleInheritance : public Subclass, public SmartPointer { 74 MultipleInheritance(void *a, void *b) : Subclass(a), SmartPointer(b) {} in MultipleInheritance() 112 SmartPointer P;
|
D | retain-release.mm | 277 class SmartPointer { 280 SmartPointer(id x) : x(x) {} 281 ~SmartPointer() { [x release]; } 293 SmartPointer foo(x); 298 SmartPointer foo(0); 306 SmartPointer foo(0); 312 SmartPointer *foo = new SmartPointer(x);
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | performance-unnecessary-value-param-allowed-types.cpp | 3 struct SmartPointer { struct 4 ~SmartPointer(); 45 void negativeSmartPointer(SmartPointer P) { in negativeSmartPointer()
|
D | performance-unnecessary-copy-initialization-allowed-types.cpp | 3 struct SmartPointer { struct 4 ~SmartPointer(); 45 const SmartPointer &getSmartPointer();
|
D | performance-for-range-copy-allowed-types.cpp | 24 struct SmartPointer { struct 25 ~SmartPointer(); 67 for (auto P : View<Iterator<SmartPointer>>()) { in negativeSmartPointer()
|
/external/abseil-cpp/absl/memory/ |
D | memory_test.cc | 206 TEST(RawPtrTest, SmartPointer) { in TEST() argument 293 struct SmartPointer { struct 301 using rebind = SmartPointer<U>; 320 std::is_same<TraitsWith::rebind<int64_t>, SmartPointer<int64_t>>::value)); in TEST() 359 using pointer = SmartPointer<X>; in TEST() 361 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 369 SmartPointer<const X>, in TEST() 384 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 396 EXPECT_TRUE((std::is_same<SmartPointer<const void>, in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/memory/ |
D | memory_test.cc | 206 TEST(RawPtrTest, SmartPointer) { in TEST() argument 293 struct SmartPointer { struct 301 using rebind = SmartPointer<U>; 320 std::is_same<TraitsWith::rebind<int64_t>, SmartPointer<int64_t>>::value)); in TEST() 359 using pointer = SmartPointer<X>; in TEST() 361 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 369 SmartPointer<const X>, in TEST() 384 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 396 EXPECT_TRUE((std::is_same<SmartPointer<const void>, in TEST()
|
/external/angle/third_party/abseil-cpp/absl/memory/ |
D | memory_test.cc | 204 TEST(RawPtrTest, SmartPointer) { in TEST() argument 291 struct SmartPointer { struct 299 using rebind = SmartPointer<U>; 318 std::is_same<TraitsWith::rebind<int64_t>, SmartPointer<int64_t>>::value)); in TEST() 357 using pointer = SmartPointer<X>; in TEST() 359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 367 SmartPointer<const X>, in TEST() 382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 394 EXPECT_TRUE((std::is_same<SmartPointer<const void>, in TEST()
|
/external/openscreen/third_party/abseil/src/absl/memory/ |
D | memory_test.cc | 204 TEST(RawPtrTest, SmartPointer) { in TEST() argument 291 struct SmartPointer { struct 299 using rebind = SmartPointer<U>; 318 std::is_same<TraitsWith::rebind<int64_t>, SmartPointer<int64_t>>::value)); in TEST() 357 using pointer = SmartPointer<X>; in TEST() 359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 367 SmartPointer<const X>, in TEST() 382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 394 EXPECT_TRUE((std::is_same<SmartPointer<const void>, in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/memory/ |
D | memory_test.cc | 204 TEST(RawPtrTest, SmartPointer) { in TEST() argument 291 struct SmartPointer { struct 299 using rebind = SmartPointer<U>; 318 std::is_same<TraitsWith::rebind<int64_t>, SmartPointer<int64_t>>::value)); in TEST() 357 using pointer = SmartPointer<X>; in TEST() 359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 367 SmartPointer<const X>, in TEST() 382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 394 EXPECT_TRUE((std::is_same<SmartPointer<const void>, in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/memory/ |
D | memory_test.cc | 204 TEST(RawPtrTest, SmartPointer) { in TEST() argument 291 struct SmartPointer { struct 299 using rebind = SmartPointer<U>; 318 std::is_same<TraitsWith::rebind<int64_t>, SmartPointer<int64_t>>::value)); in TEST() 357 using pointer = SmartPointer<X>; in TEST() 359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 367 SmartPointer<const X>, in TEST() 382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 394 EXPECT_TRUE((std::is_same<SmartPointer<const void>, in TEST()
|
/external/sfntly/cpp/src/test/ |
D | smart_pointer_test.cc | 77 TEST(SmartPointer, All) { in TEST() argument
|
/external/llvm/unittests/Support/ |
D | IteratorTest.cpp | 60 TEST(PointeeIteratorTest, SmartPointer) { in TEST() argument
|
/external/llvm-project/llvm/unittests/ADT/ |
D | IteratorTest.cpp | 108 TEST(PointeeIteratorTest, SmartPointer) { in TEST() argument
|
/external/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 3731 TEST(PointeeTest, SmartPointer) { in TEST() argument 3770 TEST(PointerTest, SmartPointer) { in TEST() argument
|