/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/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/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/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/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/sm7250/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/graphics/common/libacryl/ |
D | acrylic_formats.cpp | 219 #define DEFINE_HALFMT_PROPERTY_GETTER(rettype, funcname, member) \ argument 224 return __halfmt_plane_bpp[i].member; \
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_session.h | 109 HWC2::Error (HWCDisplay::*member)(Args...), Args... args) { in CallDisplayFunction() 131 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 138 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction() 163 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/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedCameraProviderHWLImpl.cpp | 612 for (const auto& member : members) { in ParseCharacteristics() local 614 auto stat = GetTagFromName(member.c_str(), &tag_id); in ParseCharacteristics() 616 ALOGE("%s: tag %s not supported, skipping!", __func__, member.c_str()); in ParseCharacteristics() 621 auto tag_value = value[member.c_str()]; in ParseCharacteristics()
|
/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/qcom/sm7250/display/composer/ |
D | hwc_session.h | 114 int32_t CallDisplayFunction(hwc2_display_t display, HWC2::Error (HWCDisplay::*member)(Args...), in CallDisplayFunction() 132 status = (hwc_display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 139 HWC2::Error (HWCLayer::*member)(Args...), Args... args) { in CallLayerFunction() 158 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/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.1/ |
D | types.hal | 76 * If a member is unsupported, it is filled with:
|