Home
last modified time | relevance | path

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

12

/external/strace/tests-m32/
Dtest_nlattr.h119 pattern_, obj_, fallback_func, ...) \ argument
122 sizeof(obj_) - 1 > DEFAULT_STRLEN \
123 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \
135 sizeof(obj_), \
136 (pattern_), sizeof(obj_) - 1, \
143 sizeof(obj_), \
144 &(obj_), sizeof(obj_), \
151 pattern_, obj_, fallback_func, ...) \ argument
155 (pattern_), (obj_), (fallback_func), \
160 nla_type_, pattern_, obj_, ...) \ argument
[all …]
Dtest_netlink.h52 obj_, fallback_func, ...) \ argument
58 sizeof(obj_) - 1 > DEFAULT_STRLEN \
59 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \
70 sizeof(obj_), \
78 sizeof(obj_), \
79 &(obj_), sizeof(obj_), \
85 obj_, fallback_func, ...) \ argument
89 (obj_), (fallback_func), __VA_ARGS__)
93 obj_, ...) \ argument
97 (obj_), print_quoted_hex, __VA_ARGS__)
Dnlattr_ifla_linkinfo.c56 obj_, objsz_, arrstrs_, ...) \ argument
89 memcpy(pos, (obj_), (objsz_)); \
111 obj_, objsz_, pattern_, fallback_func_, ...) \ argument
127 memcpy(pos, &(obj_), (objsz_)); \
143 (fallback_func_)((obj_), \
181 obj_, pattern_, fallback_func_, ...) \ argument
183 (obj_), sizeof(obj_), pattern_, fallback_func_, \
189 obj_, pattern_, ...) \ argument
227 memcpy(pos, &(obj_), MIN(sizeof(obj_), attrs[i].sz)); \
229 if (attrs[i].sz > sizeof(obj_)) \
[all …]
Dnetlink_route.c60 #define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ argument
65 sizeof(obj_) - 1, \
66 &(obj_), sizeof(obj_) - 1, \
73 sizeof(obj_), &(obj_), sizeof(obj_), \
80 sizeof(obj_), &(obj_), sizeof(obj_) - 1, \
Dnetlink_sock_diag.c53 obj_, print_family_, ...) \ argument
79 sizeof(obj_), &(obj_), sizeof(obj_), \
87 sizeof(obj_), &(obj_), sizeof(obj_) - 1, \
/external/strace/tests/
Dtest_nlattr.h119 pattern_, obj_, fallback_func, ...) \ argument
122 sizeof(obj_) - 1 > DEFAULT_STRLEN \
123 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \
135 sizeof(obj_), \
136 (pattern_), sizeof(obj_) - 1, \
143 sizeof(obj_), \
144 &(obj_), sizeof(obj_), \
151 pattern_, obj_, fallback_func, ...) \ argument
155 (pattern_), (obj_), (fallback_func), \
160 nla_type_, pattern_, obj_, ...) \ argument
[all …]
Dtest_netlink.h52 obj_, fallback_func, ...) \ argument
58 sizeof(obj_) - 1 > DEFAULT_STRLEN \
59 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \
70 sizeof(obj_), \
78 sizeof(obj_), \
79 &(obj_), sizeof(obj_), \
85 obj_, fallback_func, ...) \ argument
89 (obj_), (fallback_func), __VA_ARGS__)
93 obj_, ...) \ argument
97 (obj_), print_quoted_hex, __VA_ARGS__)
Dnlattr_ifla_linkinfo.c56 obj_, objsz_, arrstrs_, ...) \ argument
89 memcpy(pos, (obj_), (objsz_)); \
111 obj_, objsz_, pattern_, fallback_func_, ...) \ argument
127 memcpy(pos, &(obj_), (objsz_)); \
143 (fallback_func_)((obj_), \
181 obj_, pattern_, fallback_func_, ...) \ argument
183 (obj_), sizeof(obj_), pattern_, fallback_func_, \
189 obj_, pattern_, ...) \ argument
227 memcpy(pos, &(obj_), MIN(sizeof(obj_), attrs[i].sz)); \
229 if (attrs[i].sz > sizeof(obj_)) \
[all …]
Dnetlink_route.c60 #define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ argument
65 sizeof(obj_) - 1, \
66 &(obj_), sizeof(obj_) - 1, \
73 sizeof(obj_), &(obj_), sizeof(obj_), \
80 sizeof(obj_), &(obj_), sizeof(obj_) - 1, \
Dnetlink_sock_diag.c53 obj_, print_family_, ...) \ argument
79 sizeof(obj_), &(obj_), sizeof(obj_), \
87 sizeof(obj_), &(obj_), sizeof(obj_) - 1, \
/external/strace/tests-mx32/
Dtest_nlattr.h119 pattern_, obj_, fallback_func, ...) \ argument
122 sizeof(obj_) - 1 > DEFAULT_STRLEN \
123 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \
135 sizeof(obj_), \
136 (pattern_), sizeof(obj_) - 1, \
143 sizeof(obj_), \
144 &(obj_), sizeof(obj_), \
151 pattern_, obj_, fallback_func, ...) \ argument
155 (pattern_), (obj_), (fallback_func), \
160 nla_type_, pattern_, obj_, ...) \ argument
[all …]
Dtest_netlink.h52 obj_, fallback_func, ...) \ argument
58 sizeof(obj_) - 1 > DEFAULT_STRLEN \
59 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \
70 sizeof(obj_), \
78 sizeof(obj_), \
79 &(obj_), sizeof(obj_), \
85 obj_, fallback_func, ...) \ argument
89 (obj_), (fallback_func), __VA_ARGS__)
93 obj_, ...) \ argument
97 (obj_), print_quoted_hex, __VA_ARGS__)
Dnlattr_ifla_linkinfo.c56 obj_, objsz_, arrstrs_, ...) \ argument
89 memcpy(pos, (obj_), (objsz_)); \
111 obj_, objsz_, pattern_, fallback_func_, ...) \ argument
127 memcpy(pos, &(obj_), (objsz_)); \
143 (fallback_func_)((obj_), \
181 obj_, pattern_, fallback_func_, ...) \ argument
183 (obj_), sizeof(obj_), pattern_, fallback_func_, \
189 obj_, pattern_, ...) \ argument
227 memcpy(pos, &(obj_), MIN(sizeof(obj_), attrs[i].sz)); \
229 if (attrs[i].sz > sizeof(obj_)) \
[all …]
Dnetlink_route.c60 #define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ argument
65 sizeof(obj_) - 1, \
66 &(obj_), sizeof(obj_) - 1, \
73 sizeof(obj_), &(obj_), sizeof(obj_), \
80 sizeof(obj_), &(obj_), sizeof(obj_) - 1, \
Dnetlink_sock_diag.c53 obj_, print_family_, ...) \ argument
79 sizeof(obj_), &(obj_), sizeof(obj_), \
87 sizeof(obj_), &(obj_), sizeof(obj_) - 1, \
/external/libchrome/base/android/
Dscoped_java_ref.cc36 JavaRef<jobject>::JavaRef(JNIEnv* env, jobject obj) : obj_(obj) { in JavaRef()
51 if (obj_) in SetNewLocalRef()
52 env->DeleteLocalRef(obj_); in SetNewLocalRef()
53 obj_ = obj; in SetNewLocalRef()
65 if (obj_) in SetNewGlobalRef()
66 env->DeleteGlobalRef(obj_); in SetNewGlobalRef()
67 obj_ = obj; in SetNewGlobalRef()
71 if (obj_) { in ResetLocalRef()
73 env->DeleteLocalRef(obj_); in ResetLocalRef()
74 obj_ = nullptr; in ResetLocalRef()
[all …]
Dscoped_java_ref.h48 constexpr JavaRef() : obj_(nullptr) {} in JavaRef()
59 jobject obj() const { return obj_; } in obj()
61 bool is_null() const { return obj_ == nullptr; } in is_null()
71 JavaRef(JNIEnv* env, jobject obj) : obj_(obj) {}
74 void swap(JavaRef& other) { std::swap(obj_, other.obj_); } in swap()
85 jobject obj_;
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_common.h26 ScopedSLObject() : obj_(nullptr) {} in ScopedSLObject()
31 RTC_DCHECK(!obj_); in Receive()
32 return &obj_; in Receive()
35 SLDerefType operator->() { return *obj_; }
37 SLType Get() const { return obj_; } in Get()
40 if (obj_) { in Reset()
41 (*obj_)->Destroy(obj_); in Reset()
42 obj_ = nullptr; in Reset()
47 SLType obj_;
/external/perfetto/include/perfetto/tracing/
Dlocked_handle.h30 LockedHandle(std::recursive_mutex* mtx, T* obj) : lock_(*mtx), obj_(obj) {} in LockedHandle()
35 bool valid() const { return obj_; } in valid()
40 return obj_;
47 T* obj_ = nullptr; variable
/external/tensorflow/tensorflow/core/platform/
Drefcount.h75 explicit ScopedUnref(const RefCounted* o) : obj_(o) {} in ScopedUnref()
77 if (obj_) obj_->Unref(); in ~ScopedUnref()
81 const RefCounted* obj_;
/external/webrtc/webrtc/modules/utility/include/
Dhelpers_android.h73 : jni_(jni), obj_(static_cast<T>(NewGlobalRef(jni, obj))) {} in ScopedGlobalRef()
75 DeleteGlobalRef(jni_, obj_); in ~ScopedGlobalRef()
78 return obj_;
82 T obj_; variable
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.h128 : obj_(static_cast<T>(jni->NewGlobalRef(obj))) {} in ScopedGlobalRef()
130 DeleteGlobalRef(AttachCurrentThreadIfNeeded(), obj_); in ~ScopedGlobalRef()
133 return obj_;
136 T obj_;
/external/webrtc/webrtc/examples/peerconnection/client/
Dmain_wnd.h144 explicit AutoLock(T* obj) : obj_(obj) { obj_->Lock(); } in AutoLock()
145 ~AutoLock() { obj_->Unlock(); } in ~AutoLock()
147 T* obj_;
/external/webrtc/webrtc/base/
Dplatform_thread.cc98 obj_(obj), in PlatformThread()
185 if (!run_function_(obj_)) in PlatformThread()
/external/harfbuzz_ng/src/
Dhb-debug.hh277 const void *obj_, in hb_auto_trace_t()
281 : plevel (plevel_), what (what_), obj (obj_), returned (false) in hb_auto_trace_t()
329 const void *obj_, in hb_auto_trace_t()

12