Home
last modified time | relevance | path

Searched refs:PTR_ALIGN (Results 1 – 6 of 6) sorted by relevance

/external/libusb/include/libusb/
Dlibusbi.h83 #define PTR_ALIGN(v) \ macro
576 + PTR_ALIGN(sizeof(struct usbi_transfer))))
580 - PTR_ALIGN(sizeof(struct usbi_transfer))))
746 return (unsigned char *)ctx + PTR_ALIGN(sizeof(*ctx)); in usbi_get_context_priv()
751 return (unsigned char *)dev + PTR_ALIGN(sizeof(*dev)); in usbi_get_device_priv()
756 return (unsigned char *)dev_handle + PTR_ALIGN(sizeof(*dev_handle)); in usbi_get_device_handle_priv()
/external/libusb/libusb/
Dlibusbi.h83 #define PTR_ALIGN(v) \ macro
576 + PTR_ALIGN(sizeof(struct usbi_transfer))))
580 - PTR_ALIGN(sizeof(struct usbi_transfer))))
746 return (unsigned char *)ctx + PTR_ALIGN(sizeof(*ctx)); in usbi_get_context_priv()
751 return (unsigned char *)dev + PTR_ALIGN(sizeof(*dev)); in usbi_get_device_priv()
756 return (unsigned char *)dev_handle + PTR_ALIGN(sizeof(*dev_handle)); in usbi_get_device_handle_priv()
Dcore.c702 struct libusb_device *dev = calloc(1, PTR_ALIGN(sizeof(*dev)) + priv_size); in usbi_alloc_device()
1261 _dev_handle = calloc(1, PTR_ALIGN(sizeof(*_dev_handle)) + priv_size); in libusb_wrap_sys_device()
1315 _dev_handle = calloc(1, PTR_ALIGN(sizeof(*_dev_handle)) + priv_size); in libusb_open()
2277 ctx = calloc(1, PTR_ALIGN(sizeof(*ctx)) + priv_size); in libusb_init()
Dio.c1299 priv_size = PTR_ALIGN(usbi_backend.transfer_priv_size); in libusb_alloc_transfer()
1350 priv_size = PTR_ALIGN(usbi_backend.transfer_priv_size); in libusb_free_transfer()
/external/e2fsprogs/lib/ext2fs/
Dcrc32c.c39 #define PTR_ALIGN(p, a) ((__typeof__(p))ALIGN((unsigned long)(p), (a))) macro
/external/libusb/libusb/os/
Dwindows_common.c439 …itransfer = (struct usbi_transfer *)((unsigned char *)transfer_priv + PTR_ALIGN(sizeof(*transfer_p… in windows_iocp_thread()