/bionic/libc/bionic/ |
H A D | sync_file_range.cpp | 34 int sync_file_range(int fd, off64_t offset, off64_t length, unsigned int flags) { argument 36 return __sync_file_range2(fd, flags, offset, length); 38 return __sync_file_range(fd, offset, length, flags);
|
H A D | posix_fadvise.cpp | 37 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 D | posix_fallocate.cpp | 33 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 D | mmap.cpp | 37 // 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 D | sys_sendfile_test.cpp | 32 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 D | GuardData.h | 64 FrontGuardData(DebugData* debug_data, const Config& config, size_t* offset); 71 size_t offset() { return offset_; } function in class:FrontGuardData
|
H A D | MapData.h | 40 MapEntry(uintptr_t start, uintptr_t end, uintptr_t offset, const char* name, size_t name_len) argument 41 : start(start), end(end), offset(offset), name(name, name_len) {} 47 uintptr_t offset; member in struct:MapEntry
|
H A D | GuardData.cpp | 72 FrontGuardData::FrontGuardData(DebugData* debug_data, const Config& config, size_t* offset) argument 78 offset_ = *offset; 79 *offset += config.front_guard_bytes();
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | getenv.c | 34 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 D | setenv.c | 48 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/android/uapi/linux/usb/ |
H A D | f_mtp.h | 26 loff_t offset; member in struct:mtp_file_range
|
/bionic/libc/kernel/uapi/linux/ |
H A D | aspeed-lpc-ctrl.h | 30 __u32 offset; member in struct:aspeed_lpc_ctrl_mapping
|
H A D | suspend_ioctls.h | 23 __kernel_loff_t offset; member in struct:resume_swap_area
|
/bionic/libc/system_properties/include/system_properties/ |
H A D | prop_info.h | 51 // must be room left over after the error message for the offset to the new longer property value 52 // and future expansion fields if needed. Note that this value cannot ever increase. The offset 65 uint32_t offset; member in struct:prop_info::__anon1218::__anon1219 77 // `this` is data_ + some offset and long_value is data_ + some other offset, we calculate the 78 // offset from `this` to long_value and store it as long_property.offset. 79 return reinterpret_cast<const char*>(this) + long_property.offset;
|
/bionic/libc/versioner-dependencies/common/kernel_android_uapi/linux/usb/ |
H A D | f_mtp.h | 26 loff_t offset; member in struct:mtp_file_range
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | aspeed-lpc-ctrl.h | 30 __u32 offset; member in struct:aspeed_lpc_ctrl_mapping
|
H A D | suspend_ioctls.h | 23 __kernel_loff_t offset; member in struct:resume_swap_area
|
/bionic/linker/ |
H A D | linker_mapped_file_fragment.cpp | 49 off64_t offset; local 50 CHECK(safe_add(&offset, base_offset, elf_offset)); 52 off64_t page_min = page_start(offset); 55 CHECK(safe_add(&end_offset, offset, size)); 56 CHECK(safe_add(&end_offset, end_offset, page_offset(offset))); 71 data_ = map_start + page_offset(offset);
|
/bionic/tools/versioner/dependencies/common/kernel_android_uapi/linux/usb/ |
H A D | f_mtp.h | 26 loff_t offset; member in struct:mtp_file_range
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | aspeed-lpc-ctrl.h | 30 __u32 offset; member in struct:aspeed_lpc_ctrl_mapping
|
H A D | suspend_ioctls.h | 23 __kernel_loff_t offset; member in struct:resume_swap_area
|
/bionic/libc/kernel/uapi/drm/ |
H A D | armada_drm.h | 36 __u64 offset; member in struct:drm_armada_gem_mmap 44 __u32 offset; member in struct:drm_armada_gem_pwrite
|
/bionic/libc/stdio/ |
H A D | fmemopen.cpp | 44 size_t offset; member in struct:fmemopen_cookie 51 if (static_cast<size_t>(n) > ck->size - ck->offset) n = ck->size - ck->offset; 54 memmove(buf, ck->buf + ck->offset, n); 55 ck->offset += n; 68 if (ck->append) ck->offset = ck->size; 71 if (static_cast<size_t>(n) + space_for_null > ck->capacity - ck->offset) { 72 n = ck->capacity - ck->offset - space_for_null; 81 memmove(ck->buf + ck->offset, buf, n); 82 ck->offset 92 fmemopen_seek(void* cookie, fpos_t offset, int whence) argument [all...] |
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/ |
H A D | armada_drm.h | 36 __u64 offset; member in struct:drm_armada_gem_mmap 44 __u32 offset; member in struct:drm_armada_gem_pwrite
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/ |
H A D | armada_drm.h | 36 __u64 offset; member in struct:drm_armada_gem_mmap 44 __u32 offset; member in struct:drm_armada_gem_pwrite
|