Home
last modified time | relevance | path

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

12

/external/chromium_org/base/android/
Dscoped_java_ref.cc31 JavaRef<jobject>::JavaRef() : obj_(NULL) {} in JavaRef()
33 JavaRef<jobject>::JavaRef(JNIEnv* env, jobject obj) : obj_(obj) { in JavaRef()
50 if (obj_) in SetNewLocalRef()
51 env->DeleteLocalRef(obj_); in SetNewLocalRef()
52 obj_ = obj; in SetNewLocalRef()
64 if (obj_) in SetNewGlobalRef()
65 env->DeleteGlobalRef(obj_); in SetNewGlobalRef()
66 obj_ = obj; in SetNewGlobalRef()
70 if (obj_) { in ResetLocalRef()
72 env->DeleteLocalRef(obj_); in ResetLocalRef()
[all …]
Djni_weak_ref.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 …]
Djni_weak_ref.h28 bool is_empty() const { return obj_ == NULL; } in is_empty()
35 jweak obj_; variable
Dscoped_java_ref.h43 jobject obj() const { return obj_; } in obj()
45 bool is_null() const { return obj_ == NULL; } in is_null()
66 jobject obj_;
/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_org/chrome/browser/profiles/
Dprofile_android.cc63 return profile_android->obj_.obj(); in GetLastUsedProfile()
100 obj_.Reset(env, jprofile.obj()); in ProfileAndroid()
104 Java_Profile_destroy(AttachCurrentThread(), obj_.obj()); in ~ProfileAndroid()
108 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
Dprofile_android.h51 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
/external/chromium_org/content/browser/web_contents/
Dweb_contents_android.cc74 obj_.Reset(env, in WebContentsAndroid()
82 Java_WebContentsImpl_destroy(AttachCurrentThread(), obj_.obj()); in ~WebContentsAndroid()
87 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
286 obj_.obj()); in WillHandleDeferAfterResponseStarted()
315 obj_.obj(), in DidDeferAfterResponseStarted()
325 env, obj_.obj(), jstring_url.obj()); in DidDeferAfterResponseStarted()
332 env, obj_.obj(), frame_id); in DidStartNavigationTransitionForFrame()
Dweb_contents_android.h97 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
/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.cc172 DomainBoundOid() : obj_(OBJ_txt2obj(kDomainBoundOidText, 1)) { CHECK(obj_); } in DomainBoundOid()
175 if (obj_) in ~DomainBoundOid()
176 ASN1_OBJECT_free(obj_); in ~DomainBoundOid()
179 ASN1_OBJECT* obj() const { return obj_; } in obj()
184 ASN1_OBJECT* obj_; member in net::x509_util::__anonbda3e77f0211::DomainBoundOid
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Dthread_win.cc27 obj_(obj), in ThreadWindows()
170 if (!run_function_(obj_)) { in Run()
Dthread_posix.cc118 obj_(obj), in ThreadPosix()
332 run = run_function_(obj_); in Run()
Dthread_win.h42 ThreadObj obj_; variable
Dthread_posix.h50 ThreadObj obj_; variable
/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_android.cc78 obj_.Reset(env, in NavigationControllerAndroid()
84 Java_NavigationControllerImpl_destroy(AttachCurrentThread(), obj_.obj()); in ~NavigationControllerAndroid()
89 return base::android::ScopedJavaLocalRef<jobject>(obj_); in GetJavaObject()
Dnavigation_controller_android.h83 base::android::ScopedJavaGlobalRef<jobject> obj_; variable
/external/chromium_org/v8/src/
Dapi.h54 return obj_.value(); in value()
66 NeanderObject obj_;
80 : obj_(obj) { } in NeanderArray()
Dapi.cc731 NeanderArray::NeanderArray(v8::internal::Isolate* isolate) : obj_(isolate, 2) { in NeanderArray()
732 obj_.set(0, i::Smi::FromInt(0)); in NeanderArray()
737 return i::Smi::cast(obj_.get(0))->value(); in length()
744 return obj_.get(offset + 1); in get()
755 int size = obj_.size(); in add()
761 obj_.value()->set_elements(*new_elms); in add()
763 obj_.set(length + 1, *value); in add()
764 obj_.set(0, i::Smi::FromInt(length + 1)); in add()
770 obj_.set(index + 1, value); in set()
Dast.h1682 Expression* obj() const { return obj_; } in obj()
1724 obj_(obj), in Property()
1733 Expression* obj_;
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc420 : jni_(jni), obj_(jni_->NewLocalRef(ref)) { in WeakRef()
424 if (obj_) { in ~WeakRef()
425 jni_->DeleteLocalRef(obj_); in ~WeakRef()
429 jobject obj() { return obj_; } in obj()
433 jobject const obj_; member in __anone098c82c0111::WeakRef
457 : obj_(static_cast<T>(jni->NewGlobalRef(obj))) {} in ScopedGlobalRef()
459 DeleteGlobalRef(AttachCurrentThreadIfNeeded(), obj_); in ~ScopedGlobalRef()
462 return obj_; in operator *()
465 T obj_; member in __anone098c82c0111::ScopedGlobalRef
/external/harfbuzz_ng/src/
Dhb-private.hh743 const void *obj_, in hb_auto_trace_t()
746 ...) : plevel (plevel_), what (what_), obj (obj_), returned (false) in hb_auto_trace_t()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-private.hh791 const void *obj_, in hb_auto_trace_t()
794 ...) : plevel (plevel_), what (what_), obj (obj_), returned (false) in hb_auto_trace_t()
/external/chromium_org/v8/src/heap/
Dheap.h425 *target = e.obj_; in remove()
452 Entry(HeapObject* obj, int size) : obj_(obj), size_(size) {} in Entry()
454 HeapObject* obj_; member
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dchannel_unittest.cc485 : obj_(obj), in CallThread()
491 bool result = (*obj_.*method_)(); in DoWork()
497 ChannelTest<T>* obj_; member in ChannelTest::CallThread

12