Home
last modified time | relevance | path

Searched refs:ref_ (Results 1 – 17 of 17) sorted by relevance

/external/libvpx/libvpx/test/
Dvariance_test.cc236 ref_ = new uint8_t[block_size_ * 2]; in SetUp()
241 ref_ = CONVERT_TO_BYTEPTR(new uint16_t[block_size_ * 2]); in SetUp()
245 ASSERT_TRUE(ref_ != NULL); in SetUp()
251 delete[] ref_; in TearDown()
255 delete[] CONVERT_TO_SHORTPTR(ref_); in TearDown()
269 uint8_t *ref_; member in __anon7ccc78850111::VarianceTest
292 memset(ref_, j, block_size_); in ZeroTest()
295 vpx_memset16(CONVERT_TO_SHORTPTR(ref_), j << (bit_depth_ - 8), in ZeroTest()
302 var = variance_(src_, width_, ref_, width_, &sse)); in ZeroTest()
314 ref_[j] = rnd_.Rand8(); in RefTest()
[all …]
/external/webrtc/webrtc/p2p/base/
Dtransportcontroller.h129 RefCountedChannel() : impl_(nullptr), ref_(0) {} in RefCountedChannel()
131 : impl_(impl), ref_(0) {} in RefCountedChannel()
133 void AddRef() { ++ref_; } in AddRef()
135 ASSERT(ref_ > 0); in DecRef()
136 --ref_; in DecRef()
138 int ref() const { return ref_; } in ref()
145 int ref_; member
/external/regex-re2/re2/
Dregexp.cc20 ref_(1), in Regexp()
66 if (ref_ < kMaxRef) in Ref()
67 return ref_; in Ref()
80 if (ref_ >= kMaxRef-1) { in Incref()
86 if (ref_ == kMaxRef) { in Incref()
92 ref_ = kMaxRef; in Incref()
98 ref_++; in Incref()
104 if (ref_ == kMaxRef) { in Decref()
109 ref_ = r; in Decref()
117 ref_--; in Decref()
[all …]
Dregexp.h526 uint16 ref_; variable
/external/libchrome/base/memory/
Dweak_ptr.h148 WeakReference ref_; variable
177 return WeakPtr<Derived>(ptr.ref_, static_cast<Derived*>(ptr.ptr_)); in AsWeakPtrImpl()
210 T* get() const { return ref_.is_valid() ? ptr_ : NULL; } in get()
235 ref_ = internal::WeakReference(); in reset()
Dweak_ptr.cc73 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) { in WeakPtrBase()
/external/libweave/third_party/chromium/base/memory/
Dweak_ptr.h145 WeakReference ref_; variable
174 return WeakPtr<Derived>(ptr.ref_, static_cast<Derived*>(ptr.ptr_)); in AsWeakPtrImpl()
207 T* get() const { return ref_.is_valid() ? ptr_ : NULL; } in get()
232 ref_ = internal::WeakReference(); in reset()
Dweak_ptr.cc63 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) { in WeakPtrBase()
/external/libweave/third_party/chromium/base/
Dbind_helpers.h473 MaybeScopedRefPtr(T* o, const Rest&...) : ref_(o) {}
474 scoped_refptr<T> ref_;
486 MaybeScopedRefPtr(const T* o, const Rest&...) : ref_(o) {}
487 scoped_refptr<const T> ref_;
Dbind_internal.h407 ref_(bound_args...),
411 MaybeScopedRefPtr<HasIsMethodTag<Runnable>::value, BoundArgs...> ref_;
/external/gmock/include/gmock/
Dgmock-actions.h539 explicit ReturnRefAction(T& ref) : ref_(ref) {} // NOLINT in ReturnRefAction()
551 return Action<F>(new Impl<F>(ref_));
562 explicit Impl(T& ref) : ref_(ref) {} // NOLINT in Impl()
565 return ref_; in Perform()
569 T& ref_;
574 T& ref_; variable
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h539 explicit ReturnRefAction(T& ref) : ref_(ref) {} // NOLINT in ReturnRefAction()
551 return Action<F>(new Impl<F>(ref_));
562 explicit Impl(T& ref) : ref_(ref) {} // NOLINT in Impl()
565 return ref_; in Perform()
569 T& ref_;
574 T& ref_; variable
/external/libchrome/base/
Dbind_helpers.h534 MaybeScopedRefPtr(T* o, const Rest&...) : ref_(o) {}
535 scoped_refptr<T> ref_;
547 MaybeScopedRefPtr(const T* o, const Rest&...) : ref_(o) {}
548 scoped_refptr<const T> ref_;
Dbind_internal.h407 ref_(bound_args...),
411 MaybeScopedRefPtr<HasIsMethodTag<Runnable>::value, BoundArgs...> ref_;
/external/deqp/modules/gles3/functional/
Des3fTextureShadowTests.cpp188 …FilterCase (const glu::Texture2D* tex_, const float ref_, const tcu::Vec2& minCoord_, const tcu::V… in FilterCase()
192 , ref (ref_) in FilterCase()
439 …FilterCase (const glu::TextureCube* tex_, const float ref_, const tcu::Vec2& bottomLeft_, const tc… in FilterCase()
443 , ref (ref_) in FilterCase()
732 …FilterCase (const glu::Texture2DArray* tex_, float ref_, const tcu::Vec3& minCoord_, const tcu::Ve… in FilterCase()
736 , ref (ref_) in FilterCase()
/external/valgrind/drd/tests/
Dtsan_unittest.cpp3695 ref_ = 0; in RefCountedClass()
3700 CHECK(ref_ == 0); // race may be reported here in ~RefCountedClass()
3704 ref_ = -1; in ~RefCountedClass()
3716 CHECK(ref_ >= 0); in Ref()
3717 ref_++; in Ref()
3723 CHECK(ref_ > 0); in Unref()
3724 ref_--; in Unref()
3725 bool do_delete = ref_ == 0; in Unref()
3746 ANNOTATE_BENIGN_RACE(&this->ref_, "needs annotation"); in Annotate_Race()
3754 int ref_; member
[all …]
/external/deqp/framework/common/
DtcuTexture.cpp1660 … (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx, float ref_, bool isFixedPoint) in execCompare() argument
1664 const float ref = (clampValues) ? (de::clamp(ref_, 0.0f, 1.0f)) : (ref_); in execCompare()