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

12

/external/chromium_org/sql/
H A Dstatement.cc15 // we don't have to NULL-check the ref_ to see if the statement is valid: we
18 : ref_(new Connection::StatementRef(NULL, NULL, false)),
24 : ref_(ref),
38 ref_ = ref;
49 DLOG_IF(FATAL, !ref_->was_valid())
56 ref_->AssertIOAllowed();
61 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_DONE;
65 ref_->AssertIOAllowed();
70 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_ROW;
74 ref_
[all...]
H A Dstatement.h66 bool is_valid() const { return ref_->is_valid(); }
179 scoped_refptr<Connection::StatementRef> ref_; member in class:sql::Statement
/external/chromium_org/ppapi/utility/
H A Dcompletion_callback_factory_thread_traits.h43 RefCount() : ref_(0) {
51 return ++ref_;
59 PP_DCHECK(ref_ > 0);
60 return --ref_;
65 int32_t ref_; member in class:pp::ThreadSafeThreadTraits::RefCount
85 RefCount() : ref_(0) {
101 return ++ref_;
109 return --ref_;
113 int32_t ref_; member in class:pp::NonThreadSafeThreadTraits::RefCount
H A Dcompletion_callback_factory.h649 ref_.AddRef();
653 if (ref_.Release() == 0)
666 typename ThreadTraits::RefCount ref_; member in class:pp::CompletionCallbackFactory::BackPointer
/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_org/ppapi/proxy/
H A Dproxy_completion_callback_factory.h22 RefCount() : ref_(0) {
38 return ++ref_;
45 DCHECK(ref_ > 0);
46 return --ref_;
50 int32_t ref_; member in class:ppapi::proxy::ProxyNonThreadSafeThreadTraits::RefCount
/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_org/base/memory/
H A Dweak_ptr.cc73 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) {
H A Dweak_ptr.h130 // constructor by avoiding the need for a public accessor for ref_. A
132 // base class gives us a way to access ref_ in a protected fashion.
141 WeakReference ref_; member in class:base::internal::WeakPtrBase
170 return WeakPtr<Derived>(ptr.ref_, static_cast<Derived*>(ptr.ptr_));
203 T* get() const { return ref_.is_valid() ? ptr_ : NULL; }
228 ref_ = internal::WeakReference();
248 // This pointer is only valid when ref_.is_valid() is true. Otherwise, its
/external/libvpx/libvpx/test/
H A Dvariance_test.cc96 ref_ = new uint8_t[block_size_];
98 ASSERT_TRUE(ref_ != NULL);
103 delete[] ref_;
114 uint8_t* ref_; member in class:__anon21506::VarianceTest
126 memset(ref_, j, block_size_);
129 REGISTER_STATE_CHECK(var = variance_(src_, width_, ref_, width_, &sse));
140 ref_[j] = rnd.Rand8();
144 REGISTER_STATE_CHECK(var1 = variance_(src_, width_, ref_, width_, &sse1));
145 const unsigned int var2 = variance_ref(src_, ref_, log2width_,
156 memset(ref_, 25
231 uint8_t *ref_; member in class:__anon21506::SubpelVarianceTest
[all...]
/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::__anon1842::FakeComObject
/external/chromium_org/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::__anon4096::FakeComObject
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtransport.h391 ChannelMapEntry() : impl_(NULL), candidates_allocated_(false), ref_(0) {}
395 ref_(0) {
398 void AddRef() { ++ref_; }
400 ASSERT(ref_ > 0);
401 --ref_;
403 int ref() const { return ref_; }
415 int ref_; member in struct:cricket::Transport::ChannelMapEntry
/external/chromium_org/third_party/re2/re2/
H A Dregexp.cc20 ref_(1),
66 if (ref_ < kMaxRef)
67 return ref_;
80 if (ref_ >= kMaxRef-1) {
86 if (ref_ == kMaxRef) {
92 ref_ = kMaxRef;
98 ref_++;
104 if (ref_ == kMaxRef) {
109 ref_ = r;
117 ref_
[all...]
H A Dregexp.h525 // when ref_ reaches kMaxRef.
526 uint16 ref_; member in class:re2::Regexp
/external/regex-re2/re2/
H A Dregexp.cc20 ref_(1),
66 if (ref_ < kMaxRef)
67 return ref_;
80 if (ref_ >= kMaxRef-1) {
86 if (ref_ == kMaxRef) {
92 ref_ = kMaxRef;
98 ref_++;
104 if (ref_ == kMaxRef) {
109 ref_ = r;
117 ref_
[all...]
H A Dregexp.h525 // when ref_ reaches kMaxRef.
526 uint16 ref_; member in class:re2::Regexp
/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/chromium_org/ui/base/x/
H A Dx11_util.cc213 ref_(1) {
225 ++ref_;
230 if (--ref_ == 0) {
239 int ref_; member in class:ui::__anon15129::XCustomCursorCache::XCustomCursor
/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...]
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder.cc360 TextureRef* ref_; member in class:gpu::gles2::ScopedModifyPixels
363 ScopedModifyPixels::ScopedModifyPixels(TextureRef* ref) : ref_(ref) {
364 if (ref_)
365 ref_->texture()->OnWillModifyPixels();
369 if (ref_)
370 ref_->texture()->OnDidModifyPixels();
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromeOptionsScript.js915 cvox.SpokenMessages.andRawMessage=function(a){var b=new cvox.SpokenMessage;b.raw=a;cvox.SpokenMessages.messages.push(b);return cvox.SpokenMessages};cvox.SpokenMessages.andPause=function(){return cvox.SpokenMessages.andMessage("pause")};cvox.$m=cvox.SpokenMessages.andMessage;cvox.Widget=function(){this.active=!1;this.initialNode=null;cvox.Widget.ref_&&cvox.Widget.ref_.isActive()||(cvox.Widget.ref_=this)};cvox.Widget.prototype.isActive=function(){return this.active};
919 this.active=!1};cvox.Widget.prototype.toggle=function(){this.isActive()?this.hide():this.show()};cvox.Widget.prototype.onKeyDown=function(a){if(27==a.keyCode)return this.hide(),a.preventDefault(),!0;if(9==a.keyCode)return this.hide(),!0;17==a.keyCode&&cvox.ChromeVox.tts.stop();a.stopPropagation();return!0};cvox.Widget.prototype.onKeyPress=function(){return!1};cvox.Widget.isActive=function(){return cvox.Widget.ref_&&cvox.Widget.ref_.isActive()||!1};cvox.NavDescription=function(a){this.context=a.context?a.context:"";this.text=a.text?a.text:"";this.userValue=a.userValue?a.userValue:"";this.annotation=a.annotation?a.annotation:"";this.earcons=a.earcons?a.earcons:[];this.personality=a.personality};cvox.NavDescription.prototype.isEmpty=function(){return 0==this.context.length&&0==this.earcons.length&&0==this.text.length&&0==this.userValue.length&&0==this.annotation.length};

Completed in 1302 milliseconds

12