/external/clang/test/CodeGenCXX/ |
H A D | 2008-05-07-CrazyOffsetOf.cpp | 8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10; variable
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | debug_mapping.cc | 1 // Checks that the debugging API returns correct shadow scale and offset. 14 size_t scale, offset; local 15 __asan_get_shadow_mapping(&scale, &offset); 18 fprintf(stderr, "offset: 0x%lx\n", offset); 21 // CHECK: offset: [[OFFSET]]
|
/external/elfutils/libelf/ |
H A D | elf_rand.c | 41 elf_rand (Elf *elf, size_t offset) argument 49 /* Save the old offset and set the offset. */ 50 elf->state.ar.offset = elf->start_offset + offset; 62 return offset;
|
H A D | gelf_offscn.c | 41 gelf_offscn (Elf *elf, GElf_Off offset) argument 45 if ((Elf32_Off) offset != offset) 51 return INTUSE(elf32_offscn) (elf, (Elf32_Off) offset); 54 return INTUSE(elf64_offscn) (elf, offset);
|
H A D | gelf_getverdaux.c | 1 /* Get additional symbol version definition information at the given offset. 42 gelf_getverdaux (Elf_Data *data, int offset, GElf_Verdaux *dst) argument 64 if (unlikely (offset < 0) 65 || unlikely (offset + sizeof (GElf_Verdaux) > data->d_size) 66 || unlikely (offset % __alignof__ (GElf_Verdaux) != 0)) 72 result = (GElf_Verdaux *) memcpy (dst, (char *) data->d_buf + offset,
|
H A D | gelf_getverdef.c | 1 /* Get symbol version definition information at the given offset. 42 gelf_getverdef (Elf_Data *data, int offset, GElf_Verdef *dst) argument 64 if (unlikely (offset < 0) 65 || unlikely (offset + sizeof (GElf_Verdef) > data->d_size) 66 || unlikely (offset % __alignof__ (GElf_Verdef) != 0)) 72 result = (GElf_Verdef *) memcpy (dst, (char *) data->d_buf + offset,
|
H A D | gelf_getvernaux.c | 1 /* Get additional required symbol version information at the given offset. 42 gelf_getvernaux (Elf_Data *data, int offset, GElf_Vernaux *dst) argument 67 if (unlikely (offset < 0) 68 || unlikely (offset + sizeof (GElf_Vernaux) > data->d_size) 69 || unlikely (offset % sizeof (GElf_Vernaux) != 0)) 75 result = (GElf_Vernaux *) memcpy (dst, (char *) data->d_buf + offset,
|
H A D | gelf_getverneed.c | 1 /* Get required symbol version information at the given offset. 42 gelf_getverneed (Elf_Data *data, int offset, GElf_Verneed *dst) argument 67 if (unlikely (offset < 0) 68 || unlikely (offset + sizeof (GElf_Verneed) > data->d_size) 69 || unlikely (offset % sizeof (GElf_Verneed) != 0)) 75 result = (GElf_Verneed *) memcpy (dst, (char *) data->d_buf + offset,
|
H A D | gelf_update_verdaux.c | 42 gelf_update_verdaux (Elf_Data *data, int offset, GElf_Verdaux *src) argument 54 if (unlikely (offset < 0) 55 || unlikely ((offset + sizeof (GElf_Verdaux)) > data_scn->d.d_size)) 70 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdaux));
|
H A D | gelf_update_verdef.c | 42 gelf_update_verdef (Elf_Data *data, int offset, GElf_Verdef *src) argument 54 if (unlikely (offset < 0) 55 || unlikely ((offset + sizeof (GElf_Verdef)) > data_scn->d.d_size)) 70 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdef));
|
/external/llvm/test/CodeGen/SystemZ/Large/ |
H A D | branch-range-07.py | 55 offset = 4096 + b % 500000 variable 57 print ' %%ptr%d = getelementptr i8, i8 *%%base, i64 %d' % (i, offset)
|
H A D | branch-range-08.py | 56 offset = 4096 + b % 500000 variable 58 print ' %%ptr%d = getelementptr i8, i8 *%%base, i64 %d' % (i, offset)
|
/external/parameter-framework/upstream/parameter/ |
H A D | ParameterBlackboard.h | 46 void writeInteger(const void *pvSrcData, size_t size, size_t offset); 47 void readInteger(void *pvDstData, size_t size, size_t offset) const; 49 void writeString(const std::string &input, size_t offset); 50 void readString(std::string &output, size_t offset) const; 52 void writeBuffer(const void *pvSrcData, size_t size, size_t offset); 53 void readBuffer(void *pvDstData, size_t size, size_t offset) const; 61 * @param[in] offset the destination offset in the blackboard. 64 * - This function asserts that the input vector's size + the offset 67 void writeBytes(const std::vector<uint8_t> &bytes, size_t offset); 98 atOffset(size_t offset) argument [all...] |
/external/strace/ |
H A D | access.c | 8 decode_access(struct tcb *tcp, int offset) argument 10 printpath(tcp, tcp->u_arg[offset]); 12 printflags(access_flags, tcp->u_arg[offset + 1], "?_OK");
|
H A D | chmod.c | 4 decode_chmod(struct tcb *tcp, const int offset) argument 6 printpath(tcp, tcp->u_arg[offset]); 7 tprintf(", %#lo", tcp->u_arg[offset + 1]);
|
H A D | lseek.c | 41 * fs/read_write.c::SYSCALL_DEFINE3(lseek, unsigned, fd, off_t, offset, unsigned, origin) 44 * which means that on x32 we need to use tcp->ext_arg[N] to get offset argument. 50 long long offset; local 57 offset = tcp->u_arg[1]; 60 offset = tcp->ext_arg[1]; 63 tprintf(", %llu, ", offset); 65 tprintf(", %lld, ", offset); 73 long offset; local 77 offset = tcp->u_arg[1]; 80 tprintf(", %lu, ", offset); [all...] |
H A D | readlink.c | 37 decode_readlink(struct tcb *tcp, int offset) argument 40 printpath(tcp, tcp->u_arg[offset]); 44 printaddr(tcp->u_arg[offset + 1]); 53 printstr(tcp, tcp->u_arg[offset + 1], tcp->u_rval); 54 tprintf(", %lu", tcp->u_arg[offset + 2]);
|
/external/strace/tests/ |
H A D | lseek.c | 45 const kernel_ulong_t offset = (kernel_ulong_t) 0xdefaced0badc0deULL; local 48 if (sizeof(offset) > sizeof(long)) 49 rc = lseek(-1, offset, SEEK_SET); 51 rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); 57 (unsigned long long) offset);
|
H A D | uio.c | 40 const off_t offset = 0xdefaceddeadbeefLL; local 46 assert(pread(0, buf, sizeof buf, offset) == 4); 47 assert(preadv(0, &iov, 1, offset) == 4); 51 assert(pwrite(0, buf, sizeof buf, offset) == 4); 52 assert(pwritev(0, &iov, 1, offset) == 4);
|
/external/v8/test/webkit/ |
H A D | dfg-inline-unused-this-method-check.js | 41 var offset = 0; variable 45 offset = 42; 52 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));
|
H A D | dfg-inline-unused-this.js | 41 var offset = 0; variable 45 offset = 42; 55 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));
|
H A D | dfg-intrinsic-unused-this-method-check.js | 37 var offset = 0; variable 41 offset = 42; 48 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + Math.max(i, i * 2)));
|
H A D | dfg-intrinsic-unused-this.js | 37 var offset = 0; variable 41 offset = 42; 51 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + Math.max(i, i * 2)));
|
/external/elfutils/libdw/ |
H A D | dwarf_offabbrev.c | 1 /* Get abbreviation at given offset. 38 dwarf_offabbrev (Dwarf *dbg, Dwarf_Off offset, size_t *lengthp, argument 44 Dwarf_Abbrev *abbrev = __libdw_getabbrev (dbg, NULL, offset, lengthp,
|
/external/elfutils/libdwfl/ |
H A D | dwfl_getmodules.c | 36 ptrdiff_t offset) 42 But continuing from an offset is slow that way. So when 46 choose the style of place-holder when we return an offset, 51 if ((offset & 3) == 1) 53 offset >>= 2; 54 for (ptrdiff_t pos = 0; pos < offset; ++pos) 60 else if (((offset & 3) == 2) && likely (dwfl->lookup_module != NULL)) 62 offset >>= 2; 64 if ((size_t) offset - 1 == dwfl->lookup_elts) 67 if (unlikely ((size_t) offset 32 dwfl_getmodules(Dwfl *dwfl, int (*callback) (Dwfl_Module *, void **, const char *, Dwarf_Addr, void *), void *arg, ptrdiff_t offset) argument [all...] |