Home
last modified time | relevance | path

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

/device/linaro/dragonboard/shared/utils/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/shared/utils/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/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/shared/utils/qrtr/src/
Dlist.h6 #ifndef offsetof
7 #define offsetof(type, md) ((size_t)&((type *)0)->md) macro
12 ((type *)((char *)(ptr) - offsetof(type, member)))
/device/linaro/dragonboard/shared/utils/qrtr/lib/
Dlibqrtr.h14 #ifndef offsetof
15 #define offsetof(type, md) ((size_t)&((type *)0)->md) macro
20 ((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/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-opengl/system/codecs/omx/plugin/include/
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/trusty/dhcp/client/
Dnetlink.h11 size_t offset = NLMSG_ALIGN(r.hdr.nlmsg_len) - offsetof(Request, buf); in addRouterAttribute()
/device/linaro/dragonboard/shared/utils/tqftpserv/
Dlist.h40 (type *)((char *)__mptr - offsetof(type, member)); \
/device/generic/trusty/dhcp/common/include/
Dmessage.h114 static_assert(offsetof(Message::Dhcp, htype) == sizeof(Message::Dhcp::op),
/device/google/cuttlefish/host/commands/secure_env/
Din_process_tpm.cpp59 auto offset = offsetof(Impl, tcti_context_); in FromContext()
Dtpm_keymaster_enforcement.cpp162 static_assert(offsetof(hw_auth_token_t, hmac) == hashable_length, in ValidateTokenSignature()
/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/linaro/hikey/power/
Dpower_hikey.c103 ((struct_name *)((char *)(addr) - offsetof(struct_name, field_name)))
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp372 *len = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in MakeAddress()