Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/dragonboard/qcom/rmtfs/
Dqmi_rmtfs.c10 .offset = offsetof(struct rmtfs_qmi_result, result),
16 .offset = offsetof(struct rmtfs_qmi_result, error),
26 .offset = offsetof(struct rmtfs_iovec_entry, sector_addr),
32 .offset = offsetof(struct rmtfs_iovec_entry, phys_offset),
38 .offset = offsetof(struct rmtfs_iovec_entry, num_sector),
50 .offset = offsetof(struct rmtfs_open_req, path)
61 .offset = offsetof(struct rmtfs_open_resp, result),
69 .offset = offsetof(struct rmtfs_open_resp, caller_id_valid),
76 .offset = offsetof(struct rmtfs_open_resp, caller_id),
87 .offset = offsetof(struct rmtfs_close_req, caller_id),
[all …]
/device/linaro/dragonboard/qcom/pd-mapper/
Dservreg_loc.c10 .offset = offsetof(struct servreg_loc_qmi_result, result),
16 .offset = offsetof(struct servreg_loc_qmi_result, error),
26 .offset = offsetof(struct servreg_loc_domain_list_entry, name)
32 .offset = offsetof(struct servreg_loc_domain_list_entry, instance_id),
38 .offset = offsetof(struct servreg_loc_domain_list_entry, service_data_valid),
44 .offset = offsetof(struct servreg_loc_domain_list_entry, service_data),
56 .offset = offsetof(struct servreg_loc_get_domain_list_req, name)
63 .offset = offsetof(struct servreg_loc_get_domain_list_req, offset_valid),
70 .offset = offsetof(struct servreg_loc_get_domain_list_req, offset),
81 .offset = offsetof(struct servreg_loc_get_domain_list_resp, result),
[all …]
/device/google/contexthub/util/common/
Dring.cpp121 memcpy(&mData[mWritePos], ev, offsetof(sensors_event_t, reserved0)); in write()
123 memcpy(reinterpret_cast<char *>(&mData[mWritePos]) + offsetof(sensors_event_t, timestamp), in write()
124 reinterpret_cast<const char *>(ev) + offsetof(sensors_event_t, timestamp), in write()
125 sizeof(sensors_event_t) - offsetof(sensors_event_t, timestamp)); in write()
/device/google/contexthub/firmware/os/platform/stm32/
Dpwr.c100 offsetof(struct StmRcc, AHB1##_type), \
101 offsetof(struct StmRcc, AHB2##_type), \
102 offsetof(struct StmRcc, AHB3##_type), \
103 offsetof(struct StmRcc, APB1##_type), \
104 offsetof(struct StmRcc, APB2##_type) \
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
Daddress_space_graphics_types.h137 offsetof(struct asg_ring_storage, to_host)); in asg_context_create()
141 offsetof(struct asg_ring_storage, to_host_large_xfer)); in asg_context_create()
145 offsetof(struct asg_ring_storage, from_host_large_xfer)); in asg_context_create()
/device/google/contexthub/firmware/os/inc/
Dutil.h30 #define alignof(type) offsetof(struct { char x; type field; }, field)
45 ((struct_name *)((char *)(addr) - offsetof(struct_name, field_name)))
/device/linaro/dragonboard/qcom/qrtr/lib/
Dlibqrtr.h13 #ifndef offsetof
14 #define offsetof(type, md) ((unsigned long)&((type *)0)->md) macro
19 ((type *)((char *)(ptr) - offsetof(type, member)))
Dqmi.c853 .offset = offsetof(struct qmi_response_type_v01, result),
862 .offset = offsetof(struct qmi_response_type_v01, error),
/device/linaro/dragonboard/qcom/qrtr/src/
Dlist.h4 #ifndef offsetof
5 #define offsetof(type, md) ((unsigned long)&((type *)0)->md) macro
10 ((type *)((char *)(ptr) - offsetof(type, member)))
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h123 #define FLASH_RELOC_OFFSET offsetof(struct AppHdr, sect) // used by appSupport.c at run time
124 #define BINARY_RELOC_OFFSET offsetof(struct BinHdr, sect) // used by postprocess at build time
/device/generic/goldfish/dhcp/client/
Dnetlink.h14 size_t offset = NLMSG_ALIGN(r.hdr.nlmsg_len) - offsetof(Request, buf); in addRouterAttribute()
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DGoldfishOMXComponent.h173 static_assert(offsetof(typeof(*a), nSize) == 0, "nSize not at offset 0"); in isValidOMXParam()
175 static_assert(offsetof(typeof(*a), nVersion) == 4, "nVersion not at offset 4"); in isValidOMXParam()
/device/generic/goldfish-opengl/android-emu/android/base/containers/
DSmallVector.h292 static_assert(offsetof(base, mCapacity) + sizeof(base::mCapacity) == in SmallFixedVector()
293 offsetof(SmallFixedVector, mData) && in SmallFixedVector()
294 offsetof(Data, array) == 0, in SmallFixedVector()
/device/google/cuttlefish/host/commands/secure_env/
Din_process_tpm.cpp46 auto offset = offsetof(InProcessTpm, tcti_context_); in TpmFromContext()
/device/linaro/dragonboard/qcom/tqftpserv/
Dlist.h40 (type *)((char *)__mptr - offsetof(type, member)); \
/device/generic/goldfish/dhcp/common/include/
Dmessage.h130 static_assert(offsetof(Message::Dhcp, htype) == sizeof(Message::Dhcp::op),
/device/generic/goldfish/radio/ril/
Dipv6_monitor.cpp80 static constexpr uint32_t kIpTypeOffset = offsetof(ip6_hdr, ip6_nxt);
82 offsetof(icmp6_hdr, icmp6_type);
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess_elf.c553 .offset = offsetof(struct ElfNanoApp, flash), in elfExtractSectionPointer()
557 .offset = offsetof(struct ElfNanoApp, data), in elfExtractSectionPointer()
561 .offset = offsetof(struct ElfNanoApp, relocs), in elfExtractSectionPointer()
565 .offset = offsetof(struct ElfNanoApp, symtab), in elfExtractSectionPointer()
/device/amlogic/yukawa/hal/bootctrl/
Dboot_control.cc55 offsetof(bootloader_control, crc32_le)); in GetBootloaderControlCRC()
Dbootloader_message.cpp36 constexpr off_t kBootloaderControlOffset = offsetof(bootloader_message_ab, slot_suffix);
/device/linaro/poplar/wifi/wifi_hal/
Dgscan.cpp786 if ((ie_len + offsetof(wifi_gscan_full_result_t, ie_data)) > len) { in wifi_handle_full_scan_event()
788 ie_len, offsetof(wifi_gscan_full_result_t, ie_data)); in wifi_handle_full_scan_event()
791 full_scan_result = (wifi_scan_result *) malloc((ie_len + offsetof(wifi_scan_result, ie_data))); in wifi_handle_full_scan_event()
1806 … byte *anqp = (byte *)drv_res + offsetof(wifi_gscan_full_result_t, ie_data) + drv_res->ie_length; in handleEvent()
1808 int anqp_len = offsetof(wifi_anqp_gas_resp, data) + gas->data_len; in handleEvent()
/device/linaro/hikey/power/
Dpower_hikey.c103 ((struct_name *)((char *)(addr) - offsetof(struct_name, field_name)))
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp201 *len = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in MakeAddress()
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_kgsl.h303 offsetof(struct kgsl_devmemstore, field))
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_kgsl.h183 #define KGSL_MEMSTORE_OFFSET(ctxt_id,field) ((ctxt_id) * sizeof(struct kgsl_devmemstore) + offsetof

12