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

1234

/bionic/libc/bionic/
H A D__pread64_chk.cpp33 extern "C" ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { argument
42 return pread64(fd, buf, count, offset);
H A D__pread_chk.cpp33 extern "C" ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { argument
42 return pread(fd, buf, count, offset);
H A D__pwrite64_chk.cpp33 extern "C" ssize_t __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, argument
43 return pwrite64(fd, buf, count, offset);
H A D__pwrite_chk.cpp33 extern "C" ssize_t __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, argument
43 return pwrite(fd, buf, count, offset);
H A Dposix_fadvise.cpp37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { argument
38 return posix_fadvise64(fd, offset, length, advice);
42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { argument
44 return (__arm_fadvise64_64(fd, advice, offset, length) == 0) ? 0 : errno;
47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { argument
49 return (__fadvise64(fd, offset, length, advice) == 0) ? 0 : errno;
H A Dposix_fallocate.cpp33 int posix_fallocate(int fd, off_t offset, off_t length) { argument
35 return (fallocate(fd, 0, offset, length) == 0) ? 0 : errno;
38 int posix_fallocate64(int fd, off64_t offset, off64_t length) { argument
40 return (fallocate64(fd, 0, offset, length) == 0) ? 0 : errno;
H A Dmmap.cpp37 // mmap2(2) is like mmap(2), but the offset is in 4096-byte blocks, not bytes.
44 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { argument
45 if (offset < 0 || (offset & ((1UL << MMAP2_SHIFT)-1)) != 0) {
61 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT);
75 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { argument
76 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset));
/bionic/tests/
H A Dsys_sendfile_test.cpp32 off_t offset = 2; local
34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count);
36 ASSERT_EQ(4, offset);
51 off64_t offset = 2; local
53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count);
55 ASSERT_EQ(4, offset);
/bionic/libc/malloc_debug/
H A DBacktraceData.cpp44 BacktraceData::BacktraceData(const Config& config, size_t* offset) { argument
46 alloc_offset_ = *offset;
47 *offset += BIONIC_ALIGN(hdr_len, MINIMUM_ALIGNMENT_BYTES);
H A DGuardData.h63 FrontGuardData(const Config& config, size_t* offset);
70 size_t offset() { return offset_; } function in class:FrontGuardData
H A DGuardData.cpp73 FrontGuardData::FrontGuardData(const Config& config, size_t* offset) argument
79 offset_ = *offset;
80 *offset += config.front_guard_bytes;
H A DMapData.h41 MapEntry(uintptr_t start, uintptr_t end, uintptr_t offset, const char* name, size_t name_len) argument
42 : start(start), end(end), offset(offset), name(name, name_len) {}
48 uintptr_t offset; member in struct:MapEntry
H A DMapData.cpp46 uintptr_t offset; local
50 &end, permissions, &offset, &name_pos) < 2) {
60 MapEntry* entry = new MapEntry(start, end, offset, name, name_len);
102 if (phdr.p_type == PT_LOAD && phdr.p_offset == entry->offset) {
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dgetenv.c34 char *__findenv(const char *name, int len, int *offset);
39 * Starts searching within the environmental array at offset.
40 * Sets offset to be the offset of the name/value combination in the
47 __findenv(const char *name, int len, int *offset) argument
56 for (p = environ + *offset; (cp = *p) != NULL; ++p) {
61 *offset = p - environ;
75 int offset = 0; local
80 return (__findenv(name, (int)(np - name), &offset));
H A Dsetenv.c48 int offset = 0; local
57 if (__findenv(str, (int)(cp - str), &offset) != NULL) {
58 environ[offset++] = str;
60 while (__findenv(str, (int)(cp - str), &offset)) {
61 for (P = &environ[offset];; ++P)
94 int l_value, offset = 0; local
108 if ((C = __findenv(name, (int)(np - name), &offset)) != NULL) {
109 int tmpoff = offset + 1;
137 offset = cnt;
140 if (!(environ[offset]
160 int offset = 0; local
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dion_test.h26 __u64 offset; member in struct:ion_test_rw_data
H A Dsuspend_ioctls.h24 __kernel_loff_t offset; member in struct:resume_swap_area
H A Dashmem.h31 __u32 offset; member in struct:ashmem_pin
H A Datm_zatm.h32 int offset, next_off; member in struct:zatm_pool_info
/bionic/libc/kernel/uapi/linux/usb/
H A Df_mtp.h26 loff_t offset; member in struct:mtp_file_range
/bionic/linker/
H A Dlinker_mapped_file_fragment.cpp37 off64_t offset; local
38 CHECK(safe_add(&offset, base_offset, elf_offset));
40 off64_t page_min = page_start(offset);
43 CHECK(safe_add(&end_offset, offset, size));
44 CHECK(safe_add(&end_offset, end_offset, page_offset(offset)));
59 data_ = map_start + page_offset(offset);
H A Dlinker_block_allocator.cpp79 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes; local
81 if (offset % block_size_ != 0) {
/bionic/libc/kernel/uapi/drm/
H A Darmada_drm.h36 uint64_t offset; member in struct:drm_armada_gem_mmap
46 uint32_t offset; member in struct:drm_armada_gem_pwrite
H A Dsis_drm.h41 unsigned long offset; member in struct:__anon177
47 unsigned long offset, size; member in struct:__anon178
51 unsigned long offset, size; member in struct:__anon179
/bionic/libc/kernel/uapi/xen/
H A Dgntdev.h47 __u64 offset; member in struct:ioctl_gntdev_get_offset_for_vaddr

Completed in 353 milliseconds

1234