/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | list.h | 48 #define offset_of(type, member) ((char *)&((type *)0)->member) argument 50 #define container_of(ptr, type, member) ({ \ argument 51 const typeof(((type *)0)->member) *__mptr = (ptr); \ 52 (type *)((char *)__mptr - offset_of(type, member)); }) 54 #define list_entry(ptr, type, member) \ argument 55 container_of(ptr, type, member) 57 #define list_for_each_entry(ref, head, member) \ argument 58 for (ref = list_entry((head)->next, typeof(*ref), member); \ 59 ref->member.next, &ref->member != (head); \ 60 ref = list_entry(ref->member.next, typeof(*ref), member)) [all …]
|
/hardware/libhardware/tests/hardware/ |
D | struct-last.cpp | 29 #define CHECK_LAST_MEMBER(type, member) \ argument 31 static constexpr size_t calc_size = offsetof(type, member) + sizeof(((type *)0)->member); \ 33 "" #member " is not the last element of " #type); \
|
D | struct-offset.cpp | 33 #define CHECK_MEMBER_AT(type, member, off32, off64) \ argument 34 check_member<offsetof(type, member), off64>() 36 #define CHECK_MEMBER_AT(type, member, off32, off64) \ argument 37 check_member<offsetof(type, member), off32>()
|
/hardware/st/secure_element2/secure_element/1.0/esehal/src/ |
D | compiler.h | 32 #define container_of(ptr, type, member) \ argument 33 ({ const typeof(((type *)0)->member) * __mp = (ptr); \ 34 (type *)((char *)__mp - offsetof(type, member)); })
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | cam_list.h | 40 #define member_of(ptr, type, member) ({ \ argument 41 const typeof(((type *)0)->member) *__mptr = (ptr); \ 42 (type *)((char *)__mptr - offsetof(type,member));})
|
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
D | Gralloc1On0Adapter.h | 152 gralloc1_error_t (Descriptor::*member)(Args...), Args... args) { in callDescriptorFunction() 157 auto error = ((*descriptor).*member)(std::forward<Args>(args)...); in callDescriptorFunction() 276 gralloc1_error_t (Buffer::*member)(Args...) const, Args... args) { in callBufferFunction() 281 auto error = ((*buffer).*member)(std::forward<Args>(args)...); in callBufferFunction() 362 template <typename OUT, gralloc1_error_t (Gralloc1On0Adapter::*member)( 414 auto error = ((*adapter).*member)(buffer, producerUsage, consumerUsage, in lockHook()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_session.h | 49 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() 58 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 65 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() 77 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_session.h | 50 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() 59 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 66 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() 78 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_buf_mgr.h | 55 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() 63 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_buf_mgr.h | 57 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() 65 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_buf_mgr.h | 55 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() 63 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_buf_mgr.h | 57 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() 65 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_session.h | 79 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() 92 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 99 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() 111 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_session.h | 88 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() 102 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 109 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() 122 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_device_impl.h | 130 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() 138 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_device_impl.h | 130 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction() 138 (descriptor.get()->*member)(std::forward<Args>(args)...); in CallBufferDescriptorFunction()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_session.h | 100 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() 114 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 121 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() 138 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/hardware/google/av/codec2/include/ |
D | C2Param.h | 1407 #define DESCRIBE_C2FIELD(member, name) \ 1408 C2FieldDescriptor(&((_type*)(nullptr))->member, name), 1410 #define C2FIELD(member, name) _C2FIELD(member, name, __C2_GENERATE_GLOBAL_VARS__) 1412 #define _C2FIELD(member, name, enabled) __C2FIELD(member, name, enabled) 1413 #define __C2FIELD(member, name, enabled) DESCRIBE_C2FIELD##enabled(member, name) 1414 #define DESCRIBE_C2FIELD__C2_GENERATE_GLOBAL_VARS__(member, name)
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_session.h | 137 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() 151 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 158 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() 175 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/ |
D | HWC2On1Adapter.h | 467 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction() 473 auto error = ((*display).*member)(std::forward<Args>(args)...); in callDisplayFunction() 617 HWC2::Error (Layer::*member)(Args...), Args... args) { in callLayerFunction() 622 error = ((*layer).*member)(std::forward<Args>(args)...); in callLayerFunction()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | HWC2On1Adapter.h | 401 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction() 407 auto error = ((*display).*member)(std::forward<Args>(args)...); in callDisplayFunction() 584 HWC2::Error (Layer::*member)(Args...), Args... args) { in callLayerFunction() 589 error = ((*layer).*member)(std::forward<Args>(args)...); in callLayerFunction()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 637 #define OFFSETOF(type, member) offsetof(type, member) argument 639 #define OFFSETOF(type, member) ((uint)(uintptr)&((type *)0)->member) argument
|
/hardware/google/interfaces/media/c2/1.0/ |
D | types.hal | 285 * Note: the last member of a param struct can be of arbitrary length (e.g. 377 * Data structure for ordering Work objects. Each member is used for comparing 554 * BaseBlocks in the member `blocks` of the containing `WorkBundle`. 559 * BaseBlocks in the member `blocks` of the containing `WorkBundle`.
|
/hardware/interfaces/health/2.0/ |
D | types.hal | 134 * If a member is unsupported, it is filled with:
|
/hardware/interfaces/health/2.1/ |
D | types.hal | 76 * If a member is unsupported, it is filled with:
|