/external/wpa_supplicant_8/src/utils/ |
D | platform.h | 10 #define get_unaligned(p) \ macro 18 #define get_unaligned_le16(p) le16_to_cpu(get_unaligned((le16 *)(p))) 19 #define get_unaligned_le32(p) le32_to_cpu(get_unaligned((le32 *)(p)))
|
/external/u-boot/lib/zstd/ |
D | mem.h | 50 ZSTD_STATIC U16 ZSTD_read16(const void *memPtr) { return get_unaligned((const U16 *)memPtr); } in ZSTD_read16() 52 ZSTD_STATIC U32 ZSTD_read32(const void *memPtr) { return get_unaligned((const U32 *)memPtr); } in ZSTD_read32() 54 ZSTD_STATIC U64 ZSTD_read64(const void *memPtr) { return get_unaligned((const U64 *)memPtr); } in ZSTD_read64() 56 ZSTD_STATIC size_t ZSTD_readST(const void *memPtr) { return get_unaligned((const size_t *)memPtr); } in ZSTD_readST()
|
/external/u-boot/arch/arm/include/asm/ |
D | unaligned.h | 12 #define get_unaligned __get_unaligned_le macro 15 #define get_unaligned __get_unaligned_be macro
|
/external/u-boot/arch/sh/include/asm/ |
D | unaligned.h | 13 #define get_unaligned __get_unaligned_be macro 16 #define get_unaligned __get_unaligned_le macro
|
D | unaligned-sh4a.h | 251 # define get_unaligned __get_unaligned_le macro 254 # define get_unaligned __get_unaligned_be macro
|
/external/u-boot/arch/mips/include/asm/ |
D | unaligned.h | 10 #define get_unaligned __get_unaligned_be macro 13 #define get_unaligned __get_unaligned_le macro
|
/external/u-boot/include/asm-generic/ |
D | unaligned.h | 14 #define get_unaligned __get_unaligned_le macro 17 #define get_unaligned __get_unaligned_be macro
|
/external/puffin/src/ |
D | utils.cc | 30 inline T get_unaligned(const void* address) { in get_unaligned() function 258 if (get_unaligned<uint32_t>(data.data() + pos) != 0x04034b50) { in LocateDeflatesInZipArchive() 276 auto compression_method = get_unaligned<uint16_t>(data.data() + pos + 8); in LocateDeflatesInZipArchive() 282 auto compressed_size = get_unaligned<uint32_t>(data.data() + pos + 18); in LocateDeflatesInZipArchive() 283 auto file_name_length = get_unaligned<uint16_t>(data.data() + pos + 26); in LocateDeflatesInZipArchive() 284 auto extra_field_length = get_unaligned<uint16_t>(data.data() + pos + 28); in LocateDeflatesInZipArchive()
|
/external/u-boot/lib/ |
D | hexdump.c | 87 get_unaligned(ptr8 + j)); in hex_dump_to_buffer() 98 get_unaligned(ptr4 + j)); in hex_dump_to_buffer() 109 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
|
/external/kmod/shared/ |
D | hash.c | 101 hash += get_unaligned((uint16_t *) key); in hash_superfast() 102 tmp = (get_unaligned((uint16_t *)(key + 2)) << 11) ^ hash; in hash_superfast() 111 hash += get_unaligned((uint16_t *) key); in hash_superfast() 118 hash += get_unaligned((uint16_t *) key); in hash_superfast()
|
D | util.h | 49 #define get_unaligned(ptr) \ macro
|
/external/u-boot/arch/powerpc/include/asm/ |
D | unaligned.h | 12 #define get_unaligned __get_unaligned_be macro
|
/external/u-boot/arch/m68k/include/asm/ |
D | unaligned.h | 12 #define get_unaligned __get_unaligned_be macro
|
/external/u-boot/drivers/usb/gadget/ |
D | epautoconf.c | 118 max = 0x7ff & le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in ep_matches() 134 if ((get_unaligned(&desc->wMaxPacketSize) & in ep_matches()
|
D | rndis.c | 784 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_init_response() 829 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_query_response() 878 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_set_response() 932 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_keepalive_response() 1273 != get_unaligned(tmp++)) in rndis_rm_hdr()
|
D | dwc2_udc_otg.c | 625 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize))) { in dwc2_ep_enable() 642 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)) > in dwc2_ep_enable() 643 ep_maxpacket(ep)) || !get_unaligned(&desc->wMaxPacketSize)) { in dwc2_ep_enable() 659 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in dwc2_ep_enable()
|
D | pxa25x_udc.c | 304 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize))) { in pxa25x_ep_enable() 319 && le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)) in pxa25x_ep_enable() 321 || !get_unaligned(&desc->wMaxPacketSize)) { in pxa25x_ep_enable() 335 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in pxa25x_ep_enable() 475 max = le16_to_cpu(get_unaligned(&ep->desc->wMaxPacketSize)); in write_fifo() 756 le16_to_cpu(get_unaligned(&ep->desc->wMaxPacketSize)))) in pxa25x_ep_queue()
|
/external/u-boot/fs/btrfs/ |
D | compression.c | 24 tot_len = le32_to_cpu(get_unaligned((u32 *)cbuf)); in decompress_lzo() 37 in_len = le32_to_cpu(get_unaligned((u32 *)cbuf)); in decompress_lzo()
|
/external/u-boot/doc/ |
D | README.unaligned-memory-access.txt | 197 The easiest way to avoid unaligned access is to use the get_unaligned() and 220 The get_unaligned() macro works similarly. Assuming 'data' is a pointer to 223 u32 value = get_unaligned((u32 *) data);
|
/external/u-boot/common/ |
D | usb_hub.c | 646 put_unaligned(le16_to_cpu(get_unaligned( in usb_hub_configure() 667 hubCharacteristics = get_unaligned(&hub->desc.wHubCharacteristics); in usb_hub_configure()
|
/external/u-boot/lib/lzo/ |
D | lzo1x_decompress.c | 25 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
|
/external/u-boot/drivers/usb/host/ |
D | xhci.c | 590 (get_unaligned(&endpt_desc->wMaxPacketSize))); in xhci_set_configuration() 1223 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init() 1228 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init()
|
/external/u-boot/lib/zlib/ |
D | inffast.c | 273 PUP(sout) = get_unaligned(++sfrom); in inflate_fast()
|
/external/kmod/libkmod/ |
D | libkmod-signature.c | 345 sig_len = be32toh(get_unaligned(&modsig->sig_len)); in kmod_module_signature_info()
|
/external/u-boot/drivers/mtd/ |
D | cfi_flash.c | 1652 tmp = get_unaligned(&qry->erase_region_info[i]); in cfi_reverse_geometry() 1653 put_unaligned(get_unaligned(&qry->erase_region_info[j]), in cfi_reverse_geometry() 2096 info->vendor = le16_to_cpu(get_unaligned(&qry.p_id)); in flash_get_size() 2097 info->ext_addr = le16_to_cpu(get_unaligned(&qry.p_adr)); in flash_get_size() 2186 tmp = le32_to_cpu(get_unaligned( in flash_get_size()
|