Home
last modified time | relevance | path

Searched refs:obj_ (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/base/android/
Dscoped_java_ref.cc13 JavaRef<jobject>::JavaRef() : obj_(NULL) {} in JavaRef()
15 JavaRef<jobject>::JavaRef(JNIEnv* env, jobject obj) : obj_(obj) { in JavaRef()
32 if (obj_) in SetNewLocalRef()
33 env->DeleteLocalRef(obj_); in SetNewLocalRef()
34 obj_ = obj; in SetNewLocalRef()
46 if (obj_) in SetNewGlobalRef()
47 env->DeleteGlobalRef(obj_); in SetNewGlobalRef()
48 obj_ = obj; in SetNewGlobalRef()
52 if (obj_) { in ResetLocalRef()
54 env->DeleteLocalRef(obj_); in ResetLocalRef()
[all …]
Djni_helper.cc13 : obj_(NULL) { in JavaObjectWeakGlobalRef()
18 : obj_(NULL) { in JavaObjectWeakGlobalRef()
23 : obj_(env->NewWeakGlobalRef(obj)) { in JavaObjectWeakGlobalRef()
24 DCHECK(obj_); in JavaObjectWeakGlobalRef()
36 if (obj_) { in reset()
37 AttachCurrentThread()->DeleteWeakGlobalRef(obj_); in reset()
38 obj_ = NULL; in reset()
44 return GetRealObject(env, obj_); in get()
63 if (obj_) in Assign()
64 env->DeleteWeakGlobalRef(obj_); in Assign()
[all …]
Dscoped_java_ref.h26 jobject obj() const { return obj_; } in obj()
28 bool is_null() const { return obj_ == NULL; } in is_null()
49 jobject obj_;
Djni_helper.h33 jweak obj_; variable
/external/chromium_org/media/audio/android/
Dopensles_util.h17 ScopedSLObject() : obj_(NULL) {} in ScopedSLObject()
22 DCHECK(!obj_); in Receive()
23 return &obj_; in Receive()
26 SLDerefType operator->() { return *obj_; }
28 SLType Get() const { return obj_; } in Get()
31 if (obj_) { in Reset()
32 (*obj_)->Destroy(obj_); in Reset()
33 obj_ = NULL; in Reset()
38 SLType obj_;
/external/chromium/base/
Dtask.h149 : obj_(obj), in RunnableMethod()
158 if (obj_) in Run()
159 DispatchToMethod(obj_.get(), meth_, params_); in Run()
163 obj_.reset(); in Cancel()
167 base::WeakPtr<T> obj_;
184 explicit DeleteTask(const T* obj) : obj_(obj) { in DeleteTask()
187 delete obj_; in Run() local
190 obj_ = NULL; in Cancel()
194 const T* obj_;
201 explicit ReleaseTask(const T* obj) : obj_(obj) { in ReleaseTask()
[all …]
Dbind_helpers.h185 explicit UnretainedWrapper(T* o) : obj_(o) {}
186 T* get() { return obj_; }
188 T* obj_;
Dcallback_old.h59 CallbackStorage(T* obj, Method meth) : obj_(obj), meth_(meth) { in CallbackStorage()
63 T* obj_;
119 DispatchToMethod(this->obj_, this->meth_, params); in RunWithParams()
240 return (this->obj_->*(this->meth_))(); in Run()
/external/chromium_org/chrome/browser/profiles/
Dprofile_android.cc63 return profile_android->obj_.obj(); in GetLastUsedProfile()
76 obj_.Reset(env, jprofile.obj()); in ProfileAndroid()
81 Java_Profile_destroy(AttachCurrentThread(), obj_.obj()); in ~ProfileAndroid()
85 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
Dprofile_android.h33 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
/external/chromium_org/content/browser/web_contents/
Dweb_contents_android.cc42 obj_.Reset(env, in WebContentsAndroid()
50 Java_WebContentsImpl_destroy(AttachCurrentThread(), obj_.obj()); in ~WebContentsAndroid()
55 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
Dweb_contents_android.h39 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_android.cc24 obj_.Reset(env, in NavigationControllerAndroid()
30 Java_NavigationControllerImpl_destroy(AttachCurrentThread(), obj_.obj()); in ~NavigationControllerAndroid()
35 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
Dnavigation_controller_android.h46 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
/external/chromium/base/memory/
Dscoped_callback_factory.h103 : obj_(obj), in CallbackStorage()
108 WeakPtr<T> obj_;
122 if (!this->obj_) in RunWithParams()
124 DispatchToMethod(this->obj_.get(), this->meth_, params); in RunWithParams()
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
Dmain_wnd.h160 explicit AutoLock(T* obj) : obj_(obj) { obj_->Lock(); } in AutoLock()
161 ~AutoLock() { obj_->Unlock(); } in ~AutoLock()
163 T* obj_;
/external/chromium_org/net/cert/
Dx509_util_openssl.cc153 DomainBoundOid() : obj_(OBJ_txt2obj(kDomainBoundOidText, 1)) { CHECK(obj_); } in DomainBoundOid()
156 if (obj_) in ~DomainBoundOid()
157 ASN1_OBJECT_free(obj_); in ~DomainBoundOid()
160 ASN1_OBJECT* obj() const { return obj_; } in obj()
165 ASN1_OBJECT* obj_; member in net::x509_util::__anonaca516120211::DomainBoundOid
/external/v8/src/
Dliveobjectlist.cc394 return elements_[index_].obj_; in Obj()
953 HeapObject* heap_obj = elements[i].obj_; in GetTotalObjCountAndSize()
984 element.obj_ = obj; in Add()
991 const HeapObject* obj1 = a->obj_; in CompareElement()
992 const HeapObject* obj2 = b->obj_; in CompareElement()
1006 key.obj_ = obj; in Find()
1028 key.obj_ = obj; in NullifyMostRecent()
1049 HeapObject* curr_obj = element->obj_; in NullifyMostRecent()
1057 NullifyNonLivePointer(&result->obj_); in NullifyMostRecent()
1645 return Object::cast(element->obj_); in GetObj()
[all …]
Dliveobjectlist-inl.h118 return element->obj_; in GetElementObj()
Dapi.h78 return obj_.value(); in value()
90 NeanderObject obj_;
104 : obj_(obj) { } in NeanderArray()
Dliveobjectlist.h119 HeapObject* obj_; member
/external/chromium/net/http/
Ddisk_cache_based_ssl_host_info.cc19 : obj_(obj), in CallbackImpl()
29 if (!obj_) { in RunWithParams()
32 DispatchToMethod(obj_.get(), meth_, params); in RunWithParams()
Ddisk_cache_based_ssl_host_info.h71 base::WeakPtr<DiskCacheBasedSSLHostInfo> obj_;
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc363 : jni_(jni), obj_(jni_->NewLocalRef(ref)) { in WeakRef()
367 if (obj_) { in ~WeakRef()
368 jni_->DeleteLocalRef(obj_); in ~WeakRef()
372 jobject obj() { return obj_; } in obj()
376 jobject const obj_; member in __anonf81907ff0111::WeakRef
385 : jni_(jni), obj_(obj) {} in ScopedLocalRef()
387 jni_->DeleteLocalRef(obj_); in ~ScopedLocalRef()
390 return obj_; in operator *()
394 T obj_; member in __anonf81907ff0111::ScopedLocalRef
402 : obj_(static_cast<T>(jni->NewGlobalRef(obj))) {} in ScopedGlobalRef()
[all …]
/external/chromium_org/v8/src/
Dapi.h78 return obj_.value(); in value()
90 NeanderObject obj_;
104 : obj_(obj) { } in NeanderArray()

12