Searched defs:offset (Results 1 - 25 of 2898) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A D2008-05-07-CrazyOffsetOf.cpp8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10; variable
/external/compiler-rt/test/asan/TestCases/
H A Ddebug_mapping.cc1 // 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 Delf_rand.c41 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 Dgelf_offscn.c41 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 Dgelf_getverdaux.c1 /* 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 Dgelf_getverdef.c1 /* 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 Dgelf_getvernaux.c1 /* 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 Dgelf_getverneed.c1 /* 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 Dgelf_update_verdaux.c42 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 Dgelf_update_verdef.c42 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 Dbranch-range-07.py55 offset = 4096 + b % 500000 variable
57 print ' %%ptr%d = getelementptr i8, i8 *%%base, i64 %d' % (i, offset)
H A Dbranch-range-08.py56 offset = 4096 + b % 500000 variable
58 print ' %%ptr%d = getelementptr i8, i8 *%%base, i64 %d' % (i, offset)
/external/parameter-framework/upstream/parameter/
H A DParameterBlackboard.h46 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 Daccess.c8 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 Dchmod.c4 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 Dlseek.c41 * 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 Dreadlink.c37 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 Dlseek.c45 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 Duio.c40 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 Ddfg-inline-unused-this-method-check.js41 var offset = 0; variable
45 offset = 42;
52 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));
H A Ddfg-inline-unused-this.js41 var offset = 0; variable
45 offset = 42;
55 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));
H A Ddfg-intrinsic-unused-this-method-check.js37 var offset = 0; variable
41 offset = 42;
48 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + Math.max(i, i * 2)));
H A Ddfg-intrinsic-unused-this.js37 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 Ddwarf_offabbrev.c1 /* 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 Ddwfl_getmodules.c36 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...]

Completed in 2916 milliseconds

1234567891011>>