/bionic/libc/bionic/ |
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 | 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 | 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 | legacy_32_bit_support.cpp | 74 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { argument 75 return pread64(fd, buf, byte_count, static_cast<off64_t>(offset)); 79 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { argument 80 return pwrite64(fd, buf, byte_count, static_cast<off64_t>(offset)); 87 ssize_t preadv(int fd, const struct iovec* ios, int count, off_t offset) { argument 88 return __preadv64(fd, ios, count, offset, 0); 90 ssize_t preadv64(int fd, const struct iovec* ios, int count, off64_t offset) { argument 91 return __preadv64(fd, ios, count, offset, offset >> 32); 93 ssize_t pwritev(int fd, const struct iovec* ios, int count, off_t offset) { argument 96 pwritev64(int fd, const struct iovec* ios, int count, off64_t offset) argument 101 fallocate(int fd, int mode, off_t offset, off_t length) argument [all...] |
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/linker/ |
H A D | linker_debug.h | 89 #define MARK(offset) \ 91 if ((((offset) >> 12) >> 5) < 4096) \ 92 bitmask[((offset) >> 12) >> 5] |= (1 << (((offset) >> 12) & 31)); \ 95 #define MARK(offset) \ 97 bitmask[((offset) >> 12) >> 3] |= (1 << (((offset) >> 12) & 7)); \
|
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/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/include/sys/ |
H A D | sendfile.h | 38 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64) 41 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count); 43 ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count) __INTRODUCED_IN(21);
|
/bionic/tools/versioner/current/sys/ |
H A D | sendfile.h | 38 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64) 41 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count); 43 ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count) __INTRODUCED_IN(21);
|
/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/kernel/uapi/drm/ |
H A D | sis_drm.h | 45 unsigned long offset; member in struct:__anon203 51 unsigned long offset, size; member in struct:__anon204 55 unsigned long offset, size; member in struct:__anon205
|
H A D | armada_drm.h | 40 uint64_t offset; member in struct:drm_armada_gem_mmap 50 uint32_t offset; member in struct:drm_armada_gem_pwrite
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/ |
H A D | sis_drm.h | 45 unsigned long offset; member in struct:__anon1276 51 unsigned long offset, size; member in struct:__anon1277 55 unsigned long offset, size; member in struct:__anon1278
|
H A D | armada_drm.h | 40 uint64_t offset; member in struct:drm_armada_gem_mmap 50 uint32_t offset; member in struct:drm_armada_gem_pwrite
|
/bionic/libc/kernel/uapi/linux/ |
H A D | ion_test.h | 26 __u64 offset; member in struct:ion_test_rw_data
|
H A D | bcache.h | 22 #define BITMASK(name,type,field,offset,size) static inline __u64 name(const type * k) \ 23 { return(k->field >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(type * k, __u64 v) \ 24 { k->field &= ~(~(~0ULL << size) << offset); k->field |= (v & ~(~0ULL << size)) << offset; \ 33 #define KEY_FIELD(name,field,offset,size) BITMASK(name, struct bkey, field, offset, size) 34 #define PTR_FIELD(name,offset,size) static inline __u64 name(const struct bkey * k, unsigned i) \ 35 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned i, __u64 v) \ 36 { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \ 75 __u64 offset; member in struct:cache_sb [all...] |
H A D | atm_zatm.h | 32 int offset, next_off; member in struct:zatm_pool_info
|
/bionic/libc/malloc_debug/ |
H A D | MapData.h | 41 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 D | BacktraceData.h | 43 BacktraceData(DebugData* debug_data, const Config& config, size_t* offset);
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | ion_test.h | 26 __u64 offset; member in struct:ion_test_rw_data
|
H A D | bcache.h | 22 #define BITMASK(name,type,field,offset,size) static inline __u64 name(const type * k) \ 23 { return(k->field >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(type * k, __u64 v) \ 24 { k->field &= ~(~(~0ULL << size) << offset); k->field |= (v & ~(~0ULL << size)) << offset; \ 33 #define KEY_FIELD(name,field,offset,size) BITMASK(name, struct bkey, field, offset, size) 34 #define PTR_FIELD(name,offset,size) static inline __u64 name(const struct bkey * k, unsigned i) \ 35 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned i, __u64 v) \ 36 { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \ 75 __u64 offset; member in struct:cache_sb [all...] |
/bionic/libc/arch-arm/cortex-a15/bionic/ |
H A D | memset.S | 87 .irp offset, #0, #8, #16, #24, #32, #40, #48, #56 88 strd r0, r1, [r3, \offset] 101 .irp offset, #0, #8, #16, #24 102 strd r0, r1, [r3, \offset] 109 .irp offset, #0, #8 110 strd r0, r1, [r3, \offset]
|
/bionic/libc/kernel/android/uapi/linux/usb/ |
H A D | f_mtp.h | 26 loff_t offset; member in struct:mtp_file_range
|