HomeSort by relevance Sort by last modified time
    Searched defs:offset (Results 1 - 25 of 7301) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fseek.c 61 * Seek the given file to the given offset.
62 * Zero extend the offset if SEEK_SET to allow access to 4GB files
67 off_t offset; local
70 offset = (off_t)((UINT64)l_offset); // Coerce to unsigned to prevent sign extension
72 offset = (off_t)l_offset; // OK for this one to be negative
73 return fseeko(fp, offset, whence);
  /external/strace/
lseek.c 41 * fs/read_write.c::SYSCALL_DEFINE3(lseek, unsigned, fd, off_t, offset, unsigned, origin)
50 kernel_long_t offset; local
54 offset = (int) tcp->u_arg[1];
58 offset = tcp->u_arg[1];
61 tprintf(", %" PRI_kld ", ", offset);
rtnl_dcb.c 47 size_t offset = sizeof(dcb.dcb_family); local
54 if (!umoven_or_printaddr(tcp, addr + offset,
55 sizeof(dcb) - offset,
56 (char *) &dcb + offset)) {
65 offset = NLMSG_ALIGN(sizeof(dcb));
66 if (decode_nla && len > offset) {
68 decode_nlattr(tcp, addr + offset, len - offset,
rtnl_netconf.c 60 const size_t offset = NLMSG_ALIGN(sizeof(ncm)); local
61 if (len > offset) {
63 decode_nlattr(tcp, addr + offset, len - offset,
rtnl_nsid.c 53 const size_t offset = NLMSG_ALIGN(sizeof(rtgenmsg)); local
54 if (len > offset) {
56 decode_nlattr(tcp, addr + offset, len - offset,
rtnl_tc_action.c 56 const size_t offset = NLMSG_ALIGN(sizeof(tca)); local
57 if (len > offset) {
59 decode_nlattr(tcp, addr + offset, len - offset,
  /art/libartbase/base/unix_file/
random_access_file_utils.cc 29 int64_t offset = 0; local
31 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) {
32 if (dst->Write(&buf[0], n, offset) != n) {
35 offset += n;
  /external/clang/test/CodeGenCXX/
2008-05-07-CrazyOffsetOf.cpp 8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10; variable
  /external/compiler-rt/test/asan/TestCases/
debug_mapping.cc 1 // Checks that the debugging API returns correct shadow scale and offset.
11 // CHECK: SHADOW_OFFSET: [[OFFSET:0x[0-9a-f]+]]
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/libdw/
dwarf_haspc.c 46 ptrdiff_t offset = 0; local
47 while ((offset = INTUSE(dwarf_ranges) (die, offset, &base,
52 return offset;
  /external/llvm/test/CodeGen/SystemZ/Large/
branch-range-07.py 55 offset = 4096 + b % 500000 variable
57 print ' %%ptr%d = getelementptr i8, i8 *%%base, i64 %d' % (i, offset)
branch-range-08.py 56 offset = 4096 + b % 500000 variable
58 print ' %%ptr%d = getelementptr i8, i8 *%%base, i64 %d' % (i, offset)
  /external/strace/tests/
lseek.c 39 const kernel_ulong_t offset = (kernel_ulong_t) 0xfacefeeddeadbeefULL; local
41 if (sizeof(offset) > sizeof(long)) {
46 long long rc = lseek(-1, offset, SEEK_SET);
48 (long long) offset, rc, errno2name());
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET);
52 (long) offset, rc, errno2name());
uio.c 41 const off_t offset = 0xdefaceddeadbeefLL; local
47 assert(pread(0, buf, sizeof(buf), offset) == 4);
48 assert(preadv(0, &iov, 1, offset) == 4);
52 assert(pwrite(0, buf, sizeof(buf), offset) == 4);
53 assert(pwritev(0, &iov, 1, offset) == 4);
  /external/strace/tests-m32/
lseek.c 39 const kernel_ulong_t offset = (kernel_ulong_t) 0xfacefeeddeadbeefULL; local
41 if (sizeof(offset) > sizeof(long)) {
46 long long rc = lseek(-1, offset, SEEK_SET);
48 (long long) offset, rc, errno2name());
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET);
52 (long) offset, rc, errno2name());
uio.c 41 const off_t offset = 0xdefaceddeadbeefLL; local
47 assert(pread(0, buf, sizeof(buf), offset) == 4);
48 assert(preadv(0, &iov, 1, offset) == 4);
52 assert(pwrite(0, buf, sizeof(buf), offset) == 4);
53 assert(pwritev(0, &iov, 1, offset) == 4);
  /external/strace/tests-mx32/
lseek.c 39 const kernel_ulong_t offset = (kernel_ulong_t) 0xfacefeeddeadbeefULL; local
41 if (sizeof(offset) > sizeof(long)) {
46 long long rc = lseek(-1, offset, SEEK_SET);
48 (long long) offset, rc, errno2name());
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET);
52 (long) offset, rc, errno2name());
uio.c 41 const off_t offset = 0xdefaceddeadbeefLL; local
47 assert(pread(0, buf, sizeof(buf), offset) == 4);
48 assert(preadv(0, &iov, 1, offset) == 4);
52 assert(pwrite(0, buf, sizeof(buf), offset) == 4);
53 assert(pwritev(0, &iov, 1, offset) == 4);
  /external/swiftshader/third_party/subzero/src/DartARM32/
assembler_arm.cc 35 uint32_t offset = encoding_ & kOffset12Mask;
36 ASSERT(offset < 256);
38 ((offset & 0xf0) << 4) | (offset & 0xf);
47 uint32_t offset = encoding_ & kOffset12Mask; local
48 ASSERT(offset < (1 << 10)); // In the range 0 to +1020.
49 ASSERT(Utils::IsAligned(offset, 4)); // Multiple of 4.
51 ASSERT((mode == Offset) || (mode == NegOffset));
52 uint32_t vencoding = (encoding_ & (0xf << kRnShift)) | (offset >> 2);
53 if (mode == Offset) {
    [all...]
  /external/syslinux/com32/gpllib/disk/
swsusp.c 16 int offset; local
20 offset = ptab->start_lba;
21 if (read_sectors(drive_info, &header_p, offset, PAGE_SIZE / SECTOR) == -1) {
  /external/syslinux/core/fs/xfs/
xfs_dinode.c 34 uint64_t offset; local
39 offset = XFS_INO_TO_OFFSET(XFS_INFO(fs), ino) << XFS_INFO(fs)->inode_shift;
40 if (offset > BLOCK_SIZE(fs)) {
41 xfs_error("Invalid inode offset in block!");
42 xfs_debug("offset: 0x%llx", offset);
46 xfs_debug("blk %llu block offset 0x%llx", blk, blk << BLOCK_SHIFT(fs));
47 xfs_debug("inode offset in block (in bytes) is 0x%llx", offset);
49 core = (xfs_dinode_t *)((uint8_t *)get_cache(fs->fs_dev, blk) + offset);
    [all...]
  /external/dtc/tests/
node_check_compatible.c 34 int offset, err; local
36 offset = fdt_path_offset(fdt, path);
37 if (offset < 0)
38 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(offset));
40 err = fdt_node_check_compatible(fdt, offset, compat);
path_offset_aliases.c 33 int offset, offset_a; local
35 offset = fdt_path_offset(fdt, full_path);
38 if (offset != offset_a)
40 full_path, offset, alias_path, offset_a);
  /external/elfutils/libelf/
elf_getshdrstrndx.c 92 size_t offset; local
107 offset = elf->state.elf32.ehdr->e_shoff;
113 + elf->start_offset + offset))
118 if (unlikely (elf->maximum_size - offset
129 + offset))->sh_link;
138 sizeof (Elf32_Shdr), offset)
168 size_t offset = elf->state.elf64.ehdr->e_shoff; local
174 + elf->start_offset + offset))
179 if (unlikely (elf->maximum_size - offset
190 + offset))->sh_link
    [all...]
  /external/elfutils/tests/
dwfl-bug-getmodules.c 55 ptrdiff_t offset = dwfl_getmodules (dwfl, &iterate, dwfl, 0); local
56 if (offset <= 0)
59 offset = dwfl_getmodules (dwfl, &iterate, NULL, offset);
60 if (offset != 0)
61 error (1, 0, "dwfl_getmodules (%d): %s", (int) offset, dwfl_errmsg (-1));

Completed in 408 milliseconds

1 2 3 4 5 6 7 8 91011>>