Home
last modified time | relevance | path

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

/external/chromium/app/sql/
Dstatement.cc21 : ref_(new Connection::StatementRef), in Statement()
26 : ref_(ref), in Statement()
39 ref_ = ref; in Assign()
45 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_DONE; in Run()
51 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_ROW; in Step()
59 sqlite3_clear_bindings(ref_->stmt()); in Reset()
60 sqlite3_reset(ref_->stmt()); in Reset()
73 int err = CheckError(sqlite3_bind_null(ref_->stmt(), col + 1)); in BindNull()
85 int err = CheckError(sqlite3_bind_int(ref_->stmt(), col + 1, val)); in BindInt()
93 int err = CheckError(sqlite3_bind_int64(ref_->stmt(), col + 1, val)); in BindInt64()
[all …]
Dstatement.h59 bool is_valid() const { return ref_->is_valid(); } in is_valid()
157 scoped_refptr<Connection::StatementRef> ref_; variable
/external/chromium/base/win/
Dscoped_variant_unittest.cc27 FakeComObject() : ref_(0) { in FakeComObject()
31 ref_++; in STDMETHOD_()
32 return ref_; in STDMETHOD_()
36 ref_--; in STDMETHOD_()
37 return ref_; in STDMETHOD_()
63 return ref_; in ref_count()
67 int ref_; member in base::win::__anon1c8f44b60111::FakeComObject
/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/chromium/base/memory/
Dweak_ptr.h132 WeakReference ref_; variable
164 T* get() const { return ref_.is_valid() ? ptr_ : NULL; } in get()
177 ref_ = internal::WeakReference(); in reset()
Dweak_ptr.cc67 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) { in WeakPtrBase()
/external/expat/xmlwf/
Dxmlwin32url.cxx41 ULONG ref_; member in Callback
50 return ref_++; in STDMETHODIMP_()
56 if (--ref_ == 0) { in STDMETHODIMP_()
60 return ref_; in STDMETHODIMP_()
228 ref_(0), in Callback()
/external/chromium/testing/gmock/include/gmock/
Dgmock-actions.h537 explicit ReturnRefAction(T& ref) : ref_(ref) {} // NOLINT in ReturnRefAction()
549 return Action<F>(new Impl<F>(ref_));
560 explicit Impl(T& ref) : ref_(ref) {} // NOLINT in Impl()
563 return ref_; in Perform()
567 T& ref_;
572 T& ref_; variable
/external/valgrind/main/drd/tests/
Dtsan_unittest.cpp3691 ref_ = 0; in RefCountedClass()
3696 CHECK(ref_ == 0); // race may be reported here in ~RefCountedClass()
3700 ref_ = -1; in ~RefCountedClass()
3712 CHECK(ref_ >= 0); in Ref()
3713 ref_++; in Ref()
3719 CHECK(ref_ > 0); in Unref()
3720 ref_--; in Unref()
3721 bool do_delete = ref_ == 0; in Unref()
3742 ANNOTATE_BENIGN_RACE(&this->ref_, "needs annotation"); in Annotate_Race()
3750 int ref_; member
[all …]
/external/valgrind/unittest/
Dracecheck_unittest.cc3503 ref_ = 0; in RefCountedClass()
3508 CHECK(ref_ == 0); // race may be reported here in ~RefCountedClass()
3512 ref_ = -1; in ~RefCountedClass()
3524 CHECK(ref_ >= 0); in Ref()
3525 ref_++; in Ref()
3531 CHECK(ref_ > 0); in Unref()
3532 ref_--; in Unref()
3533 bool do_delete = ref_ == 0; in Unref()
3561 int ref_; member
3696 ref_ = 0; in AtomicRefCountedClass()
[all …]
/external/ceres-solver/internal/ceres/gmock/
Dgmock.h1405 explicit ReturnRefAction(T& ref) : ref_(ref) {} // NOLINT
1417 return Action<F>(new Impl<F>(ref_));
1428 explicit Impl(T& ref) : ref_(ref) {} // NOLINT
1431 return ref_;
1435 T& ref_;
1440 T& ref_;