/external/chromium_org/base/android/ |
D | scoped_java_ref.cc | 13 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 …]
|
D | jni_helper.cc | 13 : 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 …]
|
D | scoped_java_ref.h | 26 jobject obj() const { return obj_; } in obj() 28 bool is_null() const { return obj_ == NULL; } in is_null() 49 jobject obj_;
|
D | jni_helper.h | 33 jweak obj_; variable
|
/external/chromium_org/media/audio/android/ |
D | opensles_util.h | 17 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/ |
D | task.h | 149 : 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 …]
|
D | bind_helpers.h | 185 explicit UnretainedWrapper(T* o) : obj_(o) {} 186 T* get() { return obj_; } 188 T* obj_;
|
D | callback_old.h | 59 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/ |
D | profile_android.cc | 63 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()
|
D | profile_android.h | 33 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
|
/external/chromium_org/content/browser/web_contents/ |
D | web_contents_android.cc | 42 obj_.Reset(env, in WebContentsAndroid() 50 Java_WebContentsImpl_destroy(AttachCurrentThread(), obj_.obj()); in ~WebContentsAndroid() 55 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
|
D | web_contents_android.h | 39 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
|
/external/chromium_org/content/browser/frame_host/ |
D | navigation_controller_android.cc | 24 obj_.Reset(env, in NavigationControllerAndroid() 30 Java_NavigationControllerImpl_destroy(AttachCurrentThread(), obj_.obj()); in ~NavigationControllerAndroid() 35 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
|
D | navigation_controller_android.h | 46 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
|
/external/chromium/base/memory/ |
D | scoped_callback_factory.h | 103 : 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/ |
D | main_wnd.h | 160 explicit AutoLock(T* obj) : obj_(obj) { obj_->Lock(); } in AutoLock() 161 ~AutoLock() { obj_->Unlock(); } in ~AutoLock() 163 T* obj_;
|
/external/chromium_org/net/cert/ |
D | x509_util_openssl.cc | 153 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/ |
D | liveobjectlist.cc | 394 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 …]
|
D | liveobjectlist-inl.h | 118 return element->obj_; in GetElementObj()
|
D | api.h | 78 return obj_.value(); in value() 90 NeanderObject obj_; 104 : obj_(obj) { } in NeanderArray()
|
D | liveobjectlist.h | 119 HeapObject* obj_; member
|
/external/chromium/net/http/ |
D | disk_cache_based_ssl_host_info.cc | 19 : obj_(obj), in CallbackImpl() 29 if (!obj_) { in RunWithParams() 32 DispatchToMethod(obj_.get(), meth_, params); in RunWithParams()
|
D | disk_cache_based_ssl_host_info.h | 71 base::WeakPtr<DiskCacheBasedSSLHostInfo> obj_;
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/jni/ |
D | peerconnection_jni.cc | 363 : 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/ |
D | api.h | 78 return obj_.value(); in value() 90 NeanderObject obj_; 104 : obj_(obj) { } in NeanderArray()
|