Home
last modified time | relevance | path

Searched refs:scoper (Results 1 – 12 of 12) sorted by relevance

/external/libweave/third_party/chromium/base/memory/
Dscoped_ptr_unittest.cc113 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/
Dscoped_ptr_unittest.cc112 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 …]
Dscoped_vector_unittest.cc280 ScopedVector<T> PassThru(ScopedVector<T> scoper) { in PassThru() argument
281 return scoper; in PassThru()
/external/guice/core/test/com/google/inject/
DBinderTestSuite.java121 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/
Dbind_helpers.h380 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 …]
Dbind_unittest.cc162 T PassThru(T scoper) { in PassThru() argument
163 return scoper; in PassThru()
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc291 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/
Dbind_helpers.h380 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));
Dbind_unittest.cc163 T PassThru(T scoper) { in PassThru() argument
164 return scoper; in PassThru()
/external/skia/src/gpu/
DGrYUVProvider.cpp86 YUVScoper scoper; in refAsTexture() local
87 if (!scoper.init(this, &yuvInfo, planes, useCache)) { in refAsTexture()
/external/webrtc/webrtc/system_wrappers/source/
Dscoped_vector_unittest.cc277 explicit PassThru(ScopedVector<T> scoper) in PassThru() argument
278 : scoper_(scoper.DEPRECATED_Pass()) {} in PassThru()
/external/libchrome/base/message_loop/
Dmessage_pump_mac.mm105 // A scoper for autorelease pools created from message pump run loops.