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

/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.h537 ref_.AddRef();
541 if (ref_.Release() == 0)
554 typename ThreadTraits::RefCount ref_; member in class:pp::CompletionCallbackFactory::BackPointer
/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_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/
H A Dwidget.js25 cvox.Widget.ref_;
55 if (!cvox.Widget.ref_ || !cvox.Widget.ref_.isActive()) {
56 cvox.Widget.ref_ = this;
194 return (cvox.Widget.ref_ && cvox.Widget.ref_.isActive()) || false;
/external/chromium_org/content/browser/android/java/
H A Dgin_java_bound_object.h34 JavaObjectWeakGlobalRef& GetWeakRef() { return ref_; }
36 return ref_.get(env);
71 JavaObjectWeakGlobalRef ref_; member in class:content::GinJavaBoundObject
H A Dgin_java_bound_object.cc54 : ref_(ref),
65 : ref_(ref),
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dvariance_test.cc146 ref_ = new uint8_t[block_size_];
148 ASSERT_TRUE(ref_ != NULL);
153 delete[] ref_;
164 uint8_t* ref_; member in class:__anon13007::VarianceTest
176 memset(ref_, j, block_size_);
180 var = variance_(src_, width_, ref_, width_, &sse));
191 ref_[j] = rnd_.Rand8();
196 var1 = variance_(src_, width_, ref_, width_, &sse1));
197 const unsigned int var2 = variance_ref(src_, ref_, log2width_,
208 memset(ref_, 25
252 uint8_t* ref_; member in class:__anon13007::MseTest
376 uint8_t *ref_; member in class:__anon13007::SubpelVarianceTest
[all...]
/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.cc94 ref_ = new uint8_t[block_size_];
96 ASSERT_TRUE(ref_ != NULL);
101 delete[] ref_;
112 uint8_t* ref_; member in class:__anon24800::VarianceTest
124 memset(ref_, j, block_size_);
127 REGISTER_STATE_CHECK(var = variance_(src_, width_, ref_, width_, &sse));
138 ref_[j] = rnd.Rand8();
142 REGISTER_STATE_CHECK(var1 = variance_(src_, width_, ref_, width_, &sse1));
143 const unsigned int var2 = variance_ref(src_, ref_, log2width_,
154 memset(ref_, 25
229 uint8_t *ref_; member in class:__anon24800::SubpelVarianceTest
[all...]
/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::__anon2615::FakeComObject
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtransport.h404 ChannelMapEntry() : impl_(NULL), candidates_allocated_(false), ref_(0) {}
408 ref_(0) {
411 void AddRef() { ++ref_; }
413 ASSERT(ref_ > 0);
414 --ref_;
416 int ref() const { return ref_; }
428 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/deqp/modules/gles3/functional/
H A Des3fTextureShadowTests.cpp188 FilterCase (const glu::Texture2D* tex_, const float ref_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_) argument
192 , ref (ref_)
439 FilterCase (const glu::TextureCube* tex_, const float ref_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_) argument
443 , ref (ref_)
732 FilterCase (const glu::Texture2DArray* tex_, float ref_, const tcu::Vec3& minCoord_, const tcu::Vec3& maxCoord_) argument
736 , ref (ref_)
/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.cc235 ref_(1) {
247 ++ref_;
252 if (--ref_ == 0) {
265 int ref_; member in class:ui::__anon16685::XCustomCursorCache::XCustomCursor
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder.cc349 TextureRef* ref_; member in class:gpu::gles2::ScopedModifyPixels
352 ScopedModifyPixels::ScopedModifyPixels(TextureRef* ref) : ref_(ref) {
353 if (ref_)
354 ref_->texture()->OnWillModifyPixels();
358 if (ref_)
359 ref_->texture()->OnDidModifyPixels();
/external/deqp/framework/common/
H A DtcuTexture.cpp1202 static inline float execCompare (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx, float ref_, bool isFixedPoint) argument
1206 const float ref = (clampValues) ? (de::clamp(ref_, 0.0f, 1.0f)) : (ref_);
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromeBackgroundScript.js1274 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};
1277 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.MathmlStore=function(){cvox.MathStore.call(this)};goog.inherits(cvox.MathmlStore,cvox.MathStore);goog.addSingletonGetter(cvox.MathmlStore);cvox.MathmlStore.prototype.defineDefaultMathmlRule=function(a,b){this.defineRule(a,"default.default",b,"self::mathml:"+a)};cvox.SpeechRuleEngine=function(){this.activeStore_=null;this.dynamicCstr={};this.dynamicCstr[cvox.SpeechRule.DynamicCstrAttrib.STYLE]="short"};goog.addSingletonGetter(cvox.SpeechRuleEngine);cvox.SpeechRuleEngine.prototype.parameterize=function(a){try{a.initialize()}catch(b){if("StoreError"==b.name)console.log("Store Error:",b.message);else throw b;}this.activeStore_=a};cvox.SpeechRuleEngine.prototype.setDynamicConstraint=function(a){a&&(this.dynamicCstr=a)};

Completed in 2977 milliseconds