Searched refs:ref_ (Results 1 - 11 of 11) sorted by relevance

/external/chromium/app/sql/
H A Dstatement.cc18 // we don't have to NULL-check the ref_ to see if the statement is valid: we
21 : ref_(new Connection::StatementRef),
26 : ref_(ref),
39 ref_ = ref;
45 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_DONE;
51 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_ROW;
59 sqlite3_clear_bindings(ref_->stmt());
60 sqlite3_reset(ref_->stmt());
73 int err = CheckError(sqlite3_bind_null(ref_->stmt(), col + 1));
85 int err = CheckError(sqlite3_bind_int(ref_
[all...]
H A Dstatement.h59 bool is_valid() const { return ref_->is_valid(); }
157 scoped_refptr<Connection::StatementRef> ref_; member in class:sql::Statement
/external/chromium/base/memory/
H A Dweak_ptr.h121 // constructor by avoiding the need for a public accessor for ref_. A
123 // base class gives us a way to access ref_ in a protected fashion.
132 WeakReference ref_; member in class:base::internal::WeakPtrBase
164 T* get() const { return ref_.is_valid() ? ptr_ : NULL; }
177 ref_ = internal::WeakReference();
189 // This pointer is only valid when ref_.is_valid() is true. Otherwise, its
H A Dweak_ptr.cc67 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) {
/external/chromium/base/win/
H A Dscoped_variant_unittest.cc27 FakeComObject() : ref_(0) {
31 ref_++;
32 return ref_;
36 ref_--;
37 return ref_;
63 return ref_;
67 int ref_; member in class:base::win::__anon1675::FakeComObject
/external/regex-re2/re2/
H A Dregexp.cc20 ref_(1),
66 if (ref_ < kMaxRef)
67 return ref_;
75 if (ref_ >= kMaxRef-1) {
78 if (ref_ == kMaxRef) { // already overflowed
84 ref_ = kMaxRef;
88 ref_++;
94 if (ref_ == kMaxRef) {
99 ref_ = r;
106 ref_
[all...]
H A Dregexp.h524 // when ref_ reaches kMaxRef.
525 uint16 ref_; member in class:re2::Regexp
/external/expat/xmlwf/
H A Dxmlwin32url.cxx41 ULONG ref_; member in class:Callback
50 return ref_++;
56 if (--ref_ == 0) {
60 return ref_;
228 ref_(0),
/external/chromium/testing/gmock/include/gmock/
H A Dgmock-actions.h537 explicit ReturnRefAction(T& ref) : ref_(ref) {} // NOLINT
549 return Action<F>(new Impl<F>(ref_));
560 explicit Impl(T& ref) : ref_(ref) {} // NOLINT
563 return ref_;
567 T& ref_; member in class:testing::internal::ReturnRefAction::Impl
572 T& ref_; member in class:testing::internal::ReturnRefAction
/external/valgrind/main/drd/tests/
H A Dtsan_unittest.cpp3691 ref_ = 0;
3696 CHECK(ref_ == 0); // race may be reported here
3700 ref_ = -1;
3712 CHECK(ref_ >= 0);
3713 ref_++;
3719 CHECK(ref_ > 0);
3720 ref_--;
3721 bool do_delete = ref_ == 0;
3742 ANNOTATE_BENIGN_RACE(&this->ref_, "needs annotation");
3750 int ref_; member in struct:RefCountedClass
3932 int ref_; // used in atomic ops. member in struct:AtomicRefCountedClass
[all...]
/external/valgrind/unittest/
H A Dracecheck_unittest.cc3503 ref_ = 0;
3508 CHECK(ref_ == 0); // race may be reported here
3512 ref_ = -1;
3524 CHECK(ref_ >= 0);
3525 ref_++;
3531 CHECK(ref_ > 0);
3532 ref_--;
3533 bool do_delete = ref_ == 0;
3561 int ref_; member in struct:RefCountedClass
3562 static Mutex MU; // protects ref_
3743 int ref_; // used in atomic ops. member in struct:AtomicRefCountedClass
[all...]

Completed in 281 milliseconds