Home
last modified time | relevance | path

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

12

/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, \
/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, \
/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, \
/external/libchrome/base/android/
Djni_weak_ref.cc14 JavaObjectWeakGlobalRef::JavaObjectWeakGlobalRef() : obj_(nullptr) {} in JavaObjectWeakGlobalRef()
18 : obj_(nullptr) { in JavaObjectWeakGlobalRef()
24 : obj_(orig.obj_) { in JavaObjectWeakGlobalRef()
25 orig.obj_ = nullptr; in JavaObjectWeakGlobalRef()
29 : obj_(env->NewWeakGlobalRef(obj)) { in JavaObjectWeakGlobalRef()
35 : obj_(env->NewWeakGlobalRef(obj.obj())) { in JavaObjectWeakGlobalRef()
47 std::swap(obj_, rhs.obj_); in operator =()
51 if (obj_) { in reset()
52 AttachCurrentThread()->DeleteWeakGlobalRef(obj_); in reset()
53 obj_ = nullptr; in reset()
[all …]
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/sdk/android/native_api/jni/
Dscoped_java_ref.h37 jobject obj() const { return obj_; } in obj()
45 return obj_ == nullptr; in is_null()
49 constexpr JavaRef() : obj_(nullptr) {} in JavaRef()
50 explicit JavaRef(jobject obj) : obj_(obj) {} in JavaRef()
51 jobject obj_; variable
60 T obj() const { return static_cast<T>(obj_); } in obj()
121 if (obj_ != nullptr) in ~ScopedJavaLocalRef()
122 env_->DeleteLocalRef(obj_); in ~ScopedJavaLocalRef()
136 T obj = static_cast<T>(obj_); in Release()
137 obj_ = nullptr; in Release()
[all …]
/external/webrtc/modules/audio_device/android/
Dopensles_common.h34 ScopedSLObject() : obj_(nullptr) {} in ScopedSLObject()
39 RTC_DCHECK(!obj_); in Receive()
40 return &obj_; in Receive()
43 SLDerefType operator->() { return *obj_; }
45 SLType Get() const { return obj_; } in Get()
48 if (obj_) { in Reset()
49 (*obj_)->Destroy(obj_); in Reset()
50 obj_ = nullptr; in Reset()
55 SLType obj_;
/external/webrtc/sdk/android/src/jni/audio_device/
Dopensles_common.h39 ScopedSLObject() : obj_(nullptr) {} in ScopedSLObject()
44 RTC_DCHECK(!obj_); in Receive()
45 return &obj_; in Receive()
48 SLDerefType operator->() { return *obj_; }
50 SLType Get() const { return obj_; } in Get()
53 if (obj_) { in Reset()
54 (*obj_)->Destroy(obj_); in Reset()
55 obj_ = nullptr; in Reset()
60 SLType obj_;
/external/openscreen/third_party/abseil/src/absl/types/
Dany.h214 : obj_(other.has_value() ? other.obj_->Clone() in any()
232 any(T&& value) : obj_(new Obj<VT>(in_place, std::forward<T>(value))) {} in any()
241 : obj_(new Obj<VT>(in_place, std::forward<Args>(args)...)) {} in any()
255 : obj_(new Obj<VT>(in_place, ilist, std::forward<Args>(args)...)) {} in any()
304 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
328 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
336 void reset() noexcept { obj_ = nullptr; } in reset()
341 void swap(any& other) noexcept { obj_.swap(other.obj_); } in swap()
349 bool has_value() const noexcept { return obj_ != nullptr; } in has_value()
356 return obj_->Type(); in type()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/types/
Dany.h214 : obj_(other.has_value() ? other.obj_->Clone() in any()
232 any(T&& value) : obj_(new Obj<VT>(in_place, std::forward<T>(value))) {} in any()
241 : obj_(new Obj<VT>(in_place, std::forward<Args>(args)...)) {} in any()
255 : obj_(new Obj<VT>(in_place, ilist, std::forward<Args>(args)...)) {} in any()
304 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
328 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
336 void reset() noexcept { obj_ = nullptr; } in reset()
341 void swap(any& other) noexcept { obj_.swap(other.obj_); } in swap()
349 bool has_value() const noexcept { return obj_ != nullptr; } in has_value()
356 return obj_->Type(); in type()
[all …]
/external/abseil-cpp/absl/types/
Dany.h214 : obj_(other.has_value() ? other.obj_->Clone() in any()
232 any(T&& value) : obj_(new Obj<VT>(in_place, std::forward<T>(value))) {} in any()
241 : obj_(new Obj<VT>(in_place, std::forward<Args>(args)...)) {} in any()
255 : obj_(new Obj<VT>(in_place, ilist, std::forward<Args>(args)...)) {} in any()
304 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
328 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
336 void reset() noexcept { obj_ = nullptr; } in reset()
341 void swap(any& other) noexcept { obj_.swap(other.obj_); } in swap()
349 bool has_value() const noexcept { return obj_ != nullptr; } in has_value()
356 return obj_->Type(); in type()
[all …]
/external/angle/third_party/abseil-cpp/absl/types/
Dany.h205 : obj_(other.has_value() ? other.obj_->Clone() in any()
223 any(T&& value) : obj_(new Obj<VT>(in_place, std::forward<T>(value))) {} in any()
232 : obj_(new Obj<VT>(in_place, std::forward<Args>(args)...)) {} in any()
246 : obj_(new Obj<VT>(in_place, ilist, std::forward<Args>(args)...)) {} in any()
295 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
319 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
327 void reset() noexcept { obj_ = nullptr; } in reset()
332 void swap(any& other) noexcept { obj_.swap(other.obj_); } in swap()
340 bool has_value() const noexcept { return obj_ != nullptr; } in has_value()
347 return obj_->Type(); in type()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dany.h214 : obj_(other.has_value() ? other.obj_->Clone() in any()
232 any(T&& value) : obj_(new Obj<VT>(in_place, std::forward<T>(value))) {} in any()
241 : obj_(new Obj<VT>(in_place, std::forward<Args>(args)...)) {} in any()
255 : obj_(new Obj<VT>(in_place, ilist, std::forward<Args>(args)...)) {} in any()
304 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
328 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
336 void reset() noexcept { obj_ = nullptr; } in reset()
341 void swap(any& other) noexcept { obj_.swap(other.obj_); } in swap()
349 bool has_value() const noexcept { return obj_ != nullptr; } in has_value()
356 return obj_->Type(); in type()
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/
Dany.h214 : obj_(other.has_value() ? other.obj_->Clone() in any()
232 any(T&& value) : obj_(new Obj<VT>(in_place, std::forward<T>(value))) {} in any()
241 : obj_(new Obj<VT>(in_place, std::forward<Args>(args)...)) {} in any()
255 : obj_(new Obj<VT>(in_place, ilist, std::forward<Args>(args)...)) {} in any()
304 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
328 obj_ = std::unique_ptr<ObjInterface>(object_ptr); in emplace()
336 void reset() noexcept { obj_ = nullptr; } in reset()
341 void swap(any& other) noexcept { obj_.swap(other.obj_); } in swap()
349 bool has_value() const noexcept { return obj_ != nullptr; } in has_value()
356 return obj_->Type(); in type()
[all …]
/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

12