/external/libweave/third_party/chromium/base/memory/ |
D | scoped_ptr_unittest.cc | 113 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 115 EXPECT_TRUE(scoper.get()); in TEST() 117 EXPECT_EQ(10, scoper->SomeMeth(10)); in TEST() 118 EXPECT_EQ(10, scoper.get()->SomeMeth(10)); in TEST() 119 EXPECT_EQ(10, (*scoper).SomeMeth(10)); in TEST() 125 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 127 EXPECT_TRUE(scoper.get()); in TEST() 129 scoper.reset(new ConDecLogger(&constructed)); in TEST() 131 EXPECT_TRUE(scoper.get()); in TEST() 133 scoper.reset(); in TEST() [all …]
|
/external/libchrome/base/memory/ |
D | scoped_ptr_unittest.cc | 112 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 114 EXPECT_TRUE(scoper.get()); in TEST() 116 EXPECT_EQ(10, scoper->SomeMeth(10)); in TEST() 117 EXPECT_EQ(10, scoper.get()->SomeMeth(10)); in TEST() 118 EXPECT_EQ(10, (*scoper).SomeMeth(10)); in TEST() 124 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() local 126 EXPECT_TRUE(scoper.get()); in TEST() 128 scoper.reset(new ConDecLogger(&constructed)); in TEST() 130 EXPECT_TRUE(scoper.get()); in TEST() 132 scoper.reset(); in TEST() [all …]
|
D | scoped_vector_unittest.cc | 280 ScopedVector<T> PassThru(ScopedVector<T> scoper) { in PassThru() argument 281 return scoper; in PassThru()
|
/external/guice/core/test/com/google/inject/ |
D | BinderTestSuite.java | 121 for (final Scoper scoper : Scoper.values()) { in suite() 128 scoper.configure(abb); in suite() 131 .scoper(scoper) in suite() 139 scoper.configure(sbb); in suite() 142 .scoper(scoper) in suite() 150 scoper.configure(sbb); in suite() 153 .scoper(scoper) in suite() 161 scoper.configure(sbb); in suite() 164 .scoper(scoper) in suite() 173 scoper.configure(sbb); in suite() [all …]
|
/external/libchrome/base/ |
D | bind_helpers.h | 380 explicit PassedWrapper(T&& scoper) 381 : is_valid_(true), scoper_(std::move(scoper)) {} 400 explicit PassedWrapper(std::unique_ptr<T, D> scoper) 401 : is_valid_(true), scoper_(std::move(scoper)) {} 420 explicit PassedWrapper(std::vector<std::unique_ptr<T, D>, A> scoper) 421 : is_valid_(true), scoper_(std::move(scoper)) {} 440 explicit PassedWrapper(std::map<K, std::unique_ptr<T, D>, C, A> scoper) 441 : is_valid_(true), scoper_(std::move(scoper)) {} 692 static inline internal::PassedWrapper<T> Passed(T&& scoper) { 693 return internal::PassedWrapper<T>(std::move(scoper)); [all …]
|
D | bind_unittest.cc | 162 T PassThru(T scoper) { in PassThru() argument 163 return scoper; in PassThru()
|
/external/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 291 ScopedOpenSSLBytes scoper(buf); in TestCBBBasic() local 336 ScopedOpenSSLBytes scoper(out_buf); in TestCBBFinishChild() local 369 ScopedOpenSSLBytes scoper(buf); in TestCBBPrefixed() local 409 ScopedOpenSSLBytes scoper(buf); in TestCBBDiscardChild() local 455 ScopedOpenSSLBytes scoper(buf); in TestCBBMisuse() local 479 ScopedOpenSSLBytes scoper(buf); in TestCBBASN1() local 496 scoper.reset(buf); in TestCBBASN1() 513 scoper.reset(buf); in TestCBBASN1() 531 scoper.reset(buf); in TestCBBASN1() 554 ScopedOpenSSLBytes scoper(out); in DoBerConvert() local [all …]
|
/external/libweave/third_party/chromium/base/ |
D | bind_helpers.h | 380 explicit PassedWrapper(T&& scoper) 381 : is_valid_(true), scoper_(std::move(scoper)) {} 631 static inline internal::PassedWrapper<T> Passed(T&& scoper) { 632 return internal::PassedWrapper<T>(std::move(scoper)); 637 static inline internal::PassedWrapper<T> Passed(T* scoper) { 638 return internal::PassedWrapper<T>(std::move(*scoper));
|
D | bind_unittest.cc | 163 T PassThru(T scoper) { in PassThru() argument 164 return scoper; in PassThru()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 86 YUVScoper scoper; in refAsTexture() local 87 if (!scoper.init(this, &yuvInfo, planes, useCache)) { in refAsTexture()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | scoped_vector_unittest.cc | 277 explicit PassThru(ScopedVector<T> scoper) in PassThru() argument 278 : scoper_(scoper.DEPRECATED_Pass()) {} in PassThru()
|
/external/libchrome/base/message_loop/ |
D | message_pump_mac.mm | 105 // A scoper for autorelease pools created from message pump run loops.
|