/system/bt/osi/src/socket_utils/ |
D | socket_local_client.c | 62 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { in osi_socket_make_sockaddr_un() 75 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { in osi_socket_make_sockaddr_un() 87 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { in osi_socket_make_sockaddr_un() 99 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in osi_socket_make_sockaddr_un()
|
/system/core/libcutils/ |
D | socket_local_client_unix.c | 76 - offsetof(struct sockaddr_un, sun_path) - 1) { in socket_make_sockaddr_un() 89 - offsetof(struct sockaddr_un, sun_path) - 1) { in socket_make_sockaddr_un() 101 - offsetof(struct sockaddr_un, sun_path) - 1) { in socket_make_sockaddr_un() 113 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in socket_make_sockaddr_un()
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 26 #ifndef offsetof 27 #define offsetof(TYPE,MEMBER) ((size_t) & ((TYPE *) 0)->MEMBER) macro 31 …eof(((type *) 0)->member) * __mptr = (ptr); (type *) ((char *) __mptr - offsetof(type, member)); })
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 14 #ifndef offsetof 15 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 28 (type *)((char *)__mptr - offsetof(type, member)); })
|
/system/core/libmemunreachable/ |
D | ThreadCapture.cpp | 232 offsetof(struct pt_regs, rsp) / sizeof(uintptr_t) in PtraceThreadInfo() 234 offsetof(struct pt_regs, esp) / sizeof(uintptr_t) in PtraceThreadInfo() 236 offsetof(struct pt_regs, ARM_sp) / sizeof(uintptr_t) in PtraceThreadInfo() 238 offsetof(struct user_pt_regs, sp) / sizeof(uintptr_t) in PtraceThreadInfo() 240 offsetof(struct pt_regs, regs[29]) / sizeof(uintptr_t) in PtraceThreadInfo()
|
/system/core/liblog/ |
D | logd_reader.c | 166 - offsetof(struct sockaddr_un, sun_path) - 1) { in socket_make_sockaddr_un() 179 - offsetof(struct sockaddr_un, sun_path) - 1) { in socket_make_sockaddr_un() 191 - offsetof(struct sockaddr_un, sun_path) - 1) { in socket_make_sockaddr_un() 204 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in socket_make_sockaddr_un()
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper.cpp | 38 static_assert(offsetof(TrustyGateKeeperDevice, device_) == 0, in TrustyGateKeeperDevice() 40 static_assert(offsetof(TrustyGateKeeperDevice, device_.common) == 0, in TrustyGateKeeperDevice()
|
/system/core/include/cutils/ |
D | list.h | 33 (container *) (((char*) (node)) - offsetof(container, member))
|
/system/extras/ext4_utils/ |
D | jbd2.h | 70 #define JBD2_TAG_SIZE32 (offsetof(journal_block_tag_t, t_blocknr_high))
|
D | ext4.h | 305 #define EXT4_FITS_IN_INODE(ext4_inode, einode, field) ((offsetof(typeof(*ext4_inode), field) + …
|
D | ext4_utils.c | 513 crc = ext4_crc16(crc, &aux_info.bg_desc[i], offsetof(struct ext2_group_desc, bg_checksum)); in ext4_update_free()
|
/system/extras/boot_control_copy/ |
D | bootinfo.c | 124 #define BOOTINFO_OFFSET offsetof(struct bootloader_message, slot_suffix)
|
/system/extras/perfprofd/quipper/ |
D | perf_utils.cc | 119 offset = offsetof(event_t, sample.array); in GetPerfSampleDataOffset()
|
D | perf_reader.cc | 915 size_t attr_size_offset = attr_offset + offsetof(perf_event_attr, size); in ReadPerfEventAttrSize()
|
/system/vold/ |
D | secdiscard.cpp | 169 size_t allocsize = offsetof(struct fiemap, fm_extents[extent_count]); in alloc_fiemap()
|
D | CommandListener.cpp | 361 size_t dirent_len = offsetof(struct dirent, d_name) + in listAsecsInDirectory()
|
/system/media/audio_utils/ |
D | echo_reference.c | 80 offsetof(struct echo_reference, provider)); in echo_reference_get_next_buffer() 107 offsetof(struct echo_reference, provider)); in echo_reference_release_buffer()
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 432 + offsetof(struct f2fs_checkpoint, sit_nat_version_bitmap), in generate_f2fs_info()
|
/system/core/libsparse/ |
D | output_file.c | 60 ((outer_t *)((char *)inner - offsetof(outer_t, elem)))
|
/system/update_engine/common/ |
D | utils.cc | 884 if (size < offsetof(Elf32_Ehdr, e_machine) + sizeof(hdr->e_machine)) in GetFileFormatELF()
|
/system/bt/stack/btm/ |
D | btm_inq.c | 1193 p_ent = (tINQ_DB_ENT *) ((UINT8 *)p_cur - offsetof (tINQ_DB_ENT, inq_info)); in BTM_InqDbNext()
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 41 offsetof(struct _AlignasStruct, field); })
|