/external/strace/linux/x86_64/ |
arch_sigreturn.c | 18 #define X86_64_SIGMASK_OFFSET offsetof(struct ucontext, uc_sigmask)
|
/system/bt/osi/src/socket_utils/ |
socket_local_client.c | 62 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { 75 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { 87 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { 99 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1;
|
/external/clang/test/Sema/ |
offsetof.c | 3 #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) macro 17 x = offsetof(struct external_sun3_core, c_regs); 21 x = __builtin_offsetof(int, X[42].f2); // expected-error {{offsetof requires struct}} 31 int v1 = offsetof (struct s1, a) == 0 ? 0 : f(); 54 int test1[__builtin_offsetof(struct incomplete, foo)]; // expected-error {{offsetof of incomplete type 'struct incomplete'}}
|
/external/e2fsprogs/lib/ext2fs/ |
tst_fs_struct.c | 20 #ifndef offsetof 21 #define offsetof(type, member) __builtin_offsetof (type, member) macro 24 offsetof(struct struct_ext2_filsys, x), \
|
tst_inode_size.c | 20 #ifndef offsetof 21 #define offsetof(type, member) __builtin_offsetof(type, member) macro 25 offsetof(struct ext2_inode_large, x), \
|
rbtree.h | 99 #undef offsetof macro 101 #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER) macro 103 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 108 (type *)( (char *)__mptr - offsetof(type,member) );})
|
/external/iproute2/examples/bpf/ |
bpf_prog.c | 254 return !!(load_half(skb, nh_off + offsetof(struct iphdr, frag_off)) & 266 *ip_proto = load_byte(skb, nh_off + offsetof(struct iphdr, 269 flow->src = load_word(skb, nh_off + offsetof(struct iphdr, saddr)); 270 flow->dst = load_word(skb, nh_off + offsetof(struct iphdr, daddr)); 273 ip_ver_len = load_byte(skb, nh_off + 0 /* offsetof(struct iphdr, ihl) */); 295 *ip_proto = load_byte(skb, nh_off + offsetof(struct ipv6hdr, nexthdr)); 297 flow->src = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, saddr)); 298 flow->dst = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, daddr)); 313 offsetof(struct vlan_hdr, h_vlan_encapsulated_proto)); 318 offsetof(struct vlan_hdr, h_vlan_encapsulated_proto)) [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_debugmodes.c | 56 print_mi_data(cm, mvs, "Partitions:", offsetof(MB_MODE_INFO, sb_type)); 57 print_mi_data(cm, mvs, "Modes:", offsetof(MB_MODE_INFO, mode)); 58 print_mi_data(cm, mvs, "Ref frame:", offsetof(MB_MODE_INFO, ref_frame[0])); 59 print_mi_data(cm, mvs, "Transform:", offsetof(MB_MODE_INFO, tx_size)); 60 print_mi_data(cm, mvs, "UV Modes:", offsetof(MB_MODE_INFO, uv_mode));
|
/toolchain/binutils/binutils-2.25/libiberty/ |
simple-object-xcoff.c | 326 ocr->nscns = fetch_16 (hdrbuf + offsetof (struct external_filehdr, f_nscns)); 330 + offsetof (struct external_filehdr, 332 ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, 335 + fetch_16 (hdrbuf + offsetof (struct external_filehdr, 342 + offsetof (struct external_filehdr, 344 ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, 347 + fetch_16 (hdrbuf + offsetof (struct external_filehdr, 435 scnname = scnhdr + offsetof (struct external_scnhdr, s_name); 475 scnptr = fetch_64 (scnhdr + offsetof (struct external_scnhdr, 477 size = fetch_64 (scnhdr + offsetof (struct external_scnhdr [all...] |
/external/v8/test/cctest/ |
test-assembler-mips64.cc | 291 __ ldc1(f4, MemOperand(a0, offsetof(T, a)) ); 292 __ ldc1(f6, MemOperand(a0, offsetof(T, b)) ); 294 __ sdc1(f8, MemOperand(a0, offsetof(T, c)) ); // c = a + b. 299 __ sdc1(f10, MemOperand(a0, offsetof(T, d)) ); // d = c - (-b). 301 __ sdc1(f4, MemOperand(a0, offsetof(T, b)) ); // b = a. 307 __ sdc1(f10, MemOperand(a0, offsetof(T, e)) ); // e = d * 120 = 1.8066e16. 310 __ sdc1(f12, MemOperand(a0, offsetof(T, f)) ); // f = e / a = 120.44. 313 __ sdc1(f14, MemOperand(a0, offsetof(T, g)) ); 317 __ ldc1(f4, MemOperand(a0, offsetof(T, h)) ); 318 __ ldc1(f6, MemOperand(a0, offsetof(T, i)) ) [all...] |
test-assembler-mips.cc | 282 __ ldc1(f4, MemOperand(a0, offsetof(T, a)) ); 283 __ ldc1(f6, MemOperand(a0, offsetof(T, b)) ); 285 __ sdc1(f8, MemOperand(a0, offsetof(T, c)) ); // c = a + b. 290 __ sdc1(f10, MemOperand(a0, offsetof(T, d)) ); // d = c - (-b). 292 __ sdc1(f4, MemOperand(a0, offsetof(T, b)) ); // b = a. 298 __ sdc1(f10, MemOperand(a0, offsetof(T, e)) ); // e = d * 120 = 1.8066e16. 301 __ sdc1(f12, MemOperand(a0, offsetof(T, f)) ); // f = e / a = 120.44. 304 __ sdc1(f14, MemOperand(a0, offsetof(T, g)) ); 308 __ ldc1(f4, MemOperand(a0, offsetof(T, h)) ); 309 __ ldc1(f6, MemOperand(a0, offsetof(T, i)) ) [all...] |
/external/elfutils/libelf/ |
elf_end.c | 118 || (offsetof (struct Elf, state.elf32.rawchunks) 119 == offsetof (struct Elf, state.elf64.rawchunks)) 132 || (offsetof (struct Elf, state.elf32.scns) 133 == offsetof (struct Elf, state.elf64.scns)) 190 || (offsetof (struct Elf, state.elf32.scns) 191 == offsetof (struct Elf, state.elf64.scns)) 202 || (offsetof (struct Elf, state.elf32.shdr) 203 == offsetof (struct Elf, state.elf64.shdr)) 210 || (offsetof (struct Elf, state.elf32.phdr) 211 == offsetof (struct Elf, state.elf64.phdr) [all...] |
elf_clone.c | 68 assert (offsetof (struct Elf, state.elf32.scns) 69 == offsetof (struct Elf, state.elf64.scns));
|
elf_getshdrnum.c | 61 || (offsetof (Elf, state.elf32.scns) 62 == offsetof (Elf, state.elf64.scns))
|
/external/strace/tests/ |
xstatx.c | 264 fprintf(stderr, "offsetof(%s, st_dev) = %zu" 266 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_dev), 268 fprintf(stderr, "offsetof(%s, st_ino) = %zu" 270 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_ino), 272 fprintf(stderr, "offsetof(%s, st_mode) = %zu" 274 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_mode), 276 fprintf(stderr, "offsetof(%s, st_nlink) = %zu" 278 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_nlink), 280 fprintf(stderr, "offsetof(%s, st_uid) = %zu" 282 STRUCT_STAT_STR, offsetof(STRUCT_STAT, st_uid) [all...] |
/external/google-breakpad/src/client/linux/dump_writer_common/ |
seccomp_unwinder.cc | 77 if (top - offsetof(__typeof__(seccomp_stackframe), deadbeef) < old_top || 78 top - offsetof(__typeof__(seccomp_stackframe), deadbeef) + 84 bp_addr - offsetof(__typeof__(seccomp_stackframe), deadbeef), 131 if (top - offsetof(__typeof__(seccomp_stackframe), deadbeef) < old_top || 132 top - offsetof(__typeof__(seccomp_stackframe), deadbeef) + 138 bp_addr - offsetof(__typeof__(seccomp_stackframe), deadbeef),
|
/external/fio/engines/ |
cpu.c | 22 .off1 = offsetof(struct cpu_options, cpuload), 31 .off1 = offsetof(struct cpu_options, cpucycle), 43 .off1 = offsetof(struct cpu_options, exit_io_done),
|
/external/vboot_reference/firmware/2lib/ |
2secdata.c | 20 if (sec->crc8 != vb2_crc8(sec, offsetof(struct vb2_secdata, crc8))) 37 sec->crc8 = vb2_crc8(sec, offsetof(struct vb2_secdata, crc8)); 119 sec->crc8 = vb2_crc8(sec, offsetof(struct vb2_secdata, crc8));
|
/external/elfutils/libdwfl/ |
lines.c | 43 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines]));
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/win32/ |
Win32Prereqs.h | 44 # define FIELD_OFFSET offsetof
|
/external/valgrind/VEX/priv/ |
main_util.h | 49 #if !defined(offsetof) 50 # define offsetof(type,memb) ((SizeT)(HWord)&((type*)0)->memb) macro 146 vassert(offsetof(struct align,x) <= REQ_ALIGN); 155 ALIGN = offsetof(struct align,x) - 1;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/ |
arg.h | 126 .offset = offsetof(st, f), \ 137 .offset = offsetof(st, f), \ 146 .offset = offsetof(st, f), \ 155 .offset = offsetof(st, f), \ 170 _ISL_ARG_BOOL_F(offsetof(st, f),s,l,NULL,d,h,fl) 182 .offset = offsetof(st, f), \ 193 .offset = offsetof(st, f), \ 202 .offset = offsetof(st, f), \ 211 .offset = offsetof(st, f), \ 220 .offset = offsetof(st, f), [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
arg.h | 126 .offset = offsetof(st, f), \ 137 .offset = offsetof(st, f), \ 146 .offset = offsetof(st, f), \ 155 .offset = offsetof(st, f), \ 170 _ISL_ARG_BOOL_F(offsetof(st, f),s,l,NULL,d,h,fl) 182 .offset = offsetof(st, f), \ 193 .offset = offsetof(st, f), \ 202 .offset = offsetof(st, f), \ 211 .offset = offsetof(st, f), \ 220 .offset = offsetof(st, f), [all...] |
/system/core/libcutils/ |
socket_local_client_unix.c | 76 - offsetof(struct sockaddr_un, sun_path) - 1) { 89 - offsetof(struct sockaddr_un, sun_path) - 1) { 101 - offsetof(struct sockaddr_un, sun_path) - 1) { 113 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1;
|
/external/elfutils/libdw/ |
libdw_alloc.c | 46 2 * minsize + offsetof (struct libdw_memblock, mem))); 53 newp->size = size - offsetof (struct libdw_memblock, mem);
|