HomeSort by relevance Sort by last modified time
    Searched refs:scoper (Results 1 - 14 of 14) sorted by null

  /external/libchrome/base/memory/
scoped_ptr_unittest.cc 97 // return a temporarily constructed version of the scoper.
112 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed));
114 EXPECT_TRUE(scoper.get());
116 EXPECT_EQ(10, scoper->SomeMeth(10));
117 EXPECT_EQ(10, scoper.get()->SomeMeth(10));
118 EXPECT_EQ(10, (*scoper).SomeMeth(10));
124 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed));
126 EXPECT_TRUE(scoper.get());
128 scoper.reset(new ConDecLogger(&constructed));
130 EXPECT_TRUE(scoper.get())
307 scoped_ptr<ConDecLogger[]> scoper; local
    [all...]
scoped_vector_unittest.cc 280 ScopedVector<T> PassThru(ScopedVector<T> scoper) {
281 return scoper;
  /external/libweave/third_party/chromium/base/memory/
scoped_ptr_unittest.cc 98 // return a temporarily constructed version of the scoper.
113 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed));
115 EXPECT_TRUE(scoper.get());
117 EXPECT_EQ(10, scoper->SomeMeth(10));
118 EXPECT_EQ(10, scoper.get()->SomeMeth(10));
119 EXPECT_EQ(10, (*scoper).SomeMeth(10));
125 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed));
127 EXPECT_TRUE(scoper.get());
129 scoper.reset(new ConDecLogger(&constructed));
131 EXPECT_TRUE(scoper.get())
308 scoped_ptr<ConDecLogger[]> scoper; local
    [all...]
  /external/guice/core/test/com/google/inject/
BinderTestSuite.java 121 for (final Scoper scoper : Scoper.values()) {
128 scoper.configure(abb);
131 .scoper(scoper)
139 scoper.configure(sbb);
142 .scoper(scoper)
150 scoper.configure(sbb)
350 private Builder scoper(Scoper scoper) { method in class:BinderTestSuite.Builder
    [all...]
  /external/libchrome/base/
bind_helpers.h 354 // PassedWrapper is a copyable adapter for a scoper that ignores const.
376 // scoper to a Callback and allow the Callback to execute once.
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)) {}
    [all...]
bind_unittest.cc 162 T PassThru(T scoper) {
163 return scoper;
721 // - Passed() can be constructed from a pointer to scoper.
722 // - Passed() can be constructed from a scoper rvalue.
  /frameworks/base/core/java/android/hardware/camera2/utils/
CloseableLock.java 119 ScopedLock scoper = acquireExclusiveLock(); local
121 if (scoper == null) {
  /external/libweave/third_party/chromium/base/
bind_helpers.h 354 // PassedWrapper is a copyable adapter for a scoper that ignores const.
376 // scoper to a Callback and allow the Callback to execute once.
380 explicit PassedWrapper(T&& scoper)
381 : is_valid_(true), scoper_(std::move(scoper)) {}
622 // rvalues. The second takes a pointer to the scoper and is just syntactic sugar
623 // to avoid having to write Passed(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));
    [all...]
bind_unittest.cc 163 T PassThru(T scoper) {
164 return scoper;
722 // - Passed() can be constructed from a pointer to scoper.
723 // - Passed() can be constructed from a scoper rvalue.
  /external/skia/src/gpu/
GrYUVProvider.cpp 86 YUVScoper scoper; local
87 if (!scoper.init(this, &yuvInfo, planes, useCache)) {
  /external/boringssl/src/crypto/bytestring/
bytestring_test.cc 291 ScopedOpenSSLBytes scoper(buf);
336 ScopedOpenSSLBytes scoper(out_buf);
369 ScopedOpenSSLBytes scoper(buf);
409 ScopedOpenSSLBytes scoper(buf);
455 ScopedOpenSSLBytes scoper(buf);
479 ScopedOpenSSLBytes scoper(buf);
496 scoper.reset(buf);
513 scoper.reset(buf);
531 scoper.reset(buf);
554 ScopedOpenSSLBytes scoper(out)
    [all...]
  /external/webrtc/webrtc/system_wrappers/source/
scoped_vector_unittest.cc 277 explicit PassThru(ScopedVector<T> scoper)
278 : scoper_(scoper.DEPRECATED_Pass()) {}
  /frameworks/base/media/jni/
android_media_ExifInterface.cpp 401 ScopedLocalRef<jbyteArray> scoper(env, byteArray);
402 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, jinputStream, scoper.get()));
  /frameworks/base/core/jni/android/graphics/
Movie.cpp 96 ScopedLocalRef<jbyteArray> scoper(env, byteArray);

Completed in 3353 milliseconds