/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | setenv.c | 35 char *__findenv(const char *name, int len, int *offset); 50 int offset = 0; in putenv() local 59 if (__findenv(str, (int)(cp - str), &offset) != NULL) { in putenv() 60 environ[offset++] = str; in putenv() 62 while (__findenv(str, (int)(cp - str), &offset)) { in putenv() 63 for (P = &environ[offset];; ++P) in putenv() 95 int l_value, offset = 0; in setenv() local 109 if ((C = __findenv(name, (int)(np - name), &offset)) != NULL) { in setenv() 110 int tmpoff = offset + 1; in setenv() 138 offset = cnt; in setenv() [all …]
|
D | getenv.c | 34 char *__findenv(const char *name, int len, int *offset); 47 __findenv(const char *name, int len, int *offset) in __findenv() argument 56 for (p = environ + *offset; (cp = *p) != NULL; ++p) { in __findenv() 61 *offset = p - environ; in __findenv() 75 int offset = 0; in getenv() local 80 return (__findenv(name, (int)(np - name), &offset)); in getenv()
|
/bionic/libc/bionic/ |
D | posix_fadvise.cpp | 37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { in posix_fadvise() argument 38 return posix_fadvise64(fd, offset, length, advice); in posix_fadvise() 42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64() argument 44 return (__arm_fadvise64_64(fd, advice, offset, length) == 0) ? 0 : errno; in posix_fadvise64() 47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64() argument 49 return (__fadvise64(fd, offset, length, advice) == 0) ? 0 : errno; in posix_fadvise64()
|
D | mmap.cpp | 42 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { in mmap64() argument 43 if (offset < 0 || (offset & ((1UL << MMAP2_SHIFT)-1)) != 0) { in mmap64() 49 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT); in mmap64() 62 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap() argument 63 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset)); in mmap()
|
D | posix_fallocate.cpp | 33 int posix_fallocate(int fd, off_t offset, off_t length) { in posix_fallocate() argument 35 return (fallocate(fd, 0, offset, length) == 0) ? 0 : errno; in posix_fallocate() 38 int posix_fallocate64(int fd, off64_t offset, off64_t length) { in posix_fallocate64() argument 40 return (fallocate64(fd, 0, offset, length) == 0) ? 0 : errno; in posix_fallocate64()
|
D | legacy_32_bit_support.cpp | 71 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { in pread() argument 72 return pread64(fd, buf, byte_count, static_cast<off64_t>(offset)); in pread() 76 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { in pwrite() argument 77 return pwrite64(fd, buf, byte_count, static_cast<off64_t>(offset)); in pwrite() 81 int fallocate(int fd, int mode, off_t offset, off_t length) { in fallocate() argument 82 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length)); in fallocate()
|
D | __pread_chk.cpp | 33 extern "C" ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk() argument 42 return pread(fd, buf, count, offset); in __pread_chk()
|
D | __pread64_chk.cpp | 33 extern "C" ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { in __pread64_chk() argument 42 return pread64(fd, buf, count, offset); in __pread64_chk()
|
D | debug_stacktrace.cpp | 131 uintptr_t offset = 0; in log_backtrace() local 136 offset = reinterpret_cast<uintptr_t>(info.dli_saddr); in log_backtrace() 140 uintptr_t rel_pc = offset; in log_backtrace() 152 i, rel_pc, soname, best_name, frames[i] - offset); in log_backtrace()
|
D | debug_mapinfo.cpp | 50 uintptr_t offset; in parse_maps_line() local 54 &end, permissions, &offset, &name_pos) < 2) { in parse_maps_line() 71 mi->offset = offset; in parse_maps_line() 148 if (phdr.p_type == PT_LOAD && phdr.p_offset == mi->offset) { in mapinfo_read_loadbase()
|
/bionic/linker/ |
D | linker_debug.h | 88 #define MARK(offset) \ argument 90 if ((((offset) >> 12) >> 5) < 4096) \ 91 bitmask[((offset) >> 12) >> 5] |= (1 << (((offset) >> 12) & 31)); \ 94 #define MARK(offset) \ argument 96 bitmask[((offset) >> 12) >> 3] |= (1 << (((offset) >> 12) & 7)); \
|
/bionic/tests/ |
D | sys_sendfile_test.cpp | 32 off_t offset = 2; in TEST() local 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); in TEST() 36 ASSERT_EQ(4, offset); in TEST() 51 off64_t offset = 2; in TEST() local 53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); in TEST() 55 ASSERT_EQ(4, offset); in TEST()
|
D | stack_unwinding_test.cpp | 44 int offset = 0; in FrameCounter() local 51 … offset = static_cast<int>(reinterpret_cast<char*>(ip) - reinterpret_cast<char*>(info.dli_saddr)); in FrameCounter() 55 …fprintf(stderr, " #%02d %p %s%+d (%s)\n", *count_ptr, ip, symbol, offset, info.dli_fname ? info.dl… in FrameCounter()
|
/bionic/libc/kernel/uapi/linux/ |
D | bcache.h | 22 #define BITMASK(name,type,field,offset,size) static inline __u64 name(const type * k) \ argument 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) argument 34 #define PTR_FIELD(name,offset,size) static inline __u64 name(const struct bkey * k, unsigned i) \ argument 35 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k,… 36 { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \ 41 #define KEY(inode,offset,size) \ argument 42 ((struct bkey) {.high = (1ULL << 63) | ((__u64) (size) << 20) | (inode),.low = (offset) \ 54 #define PTR(gen,offset,dev) ((((__u64) dev) << 51) | ((__u64) offset) << 8 | gen) argument [all …]
|
/bionic/libc/include/sys/ |
D | sendfile.h | 38 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64); 40 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count); 42 extern ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count);
|
/bionic/libc/kernel/uapi/drm/ |
D | sis_drm.h | 41 unsigned long offset; member 47 unsigned long offset, size; member 51 unsigned long offset, size; member
|
D | armada_drm.h | 36 uint64_t offset; member 46 uint32_t offset; member
|
D | tegra_drm.h | 34 __u32 offset; member 85 __u32 offset; member 94 __u32 offset; member 99 __u32 offset; member 107 __u32 offset; member
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | ftell.c | 90 off_t offset = ftello(fp); in ftell() local 91 if (offset > LONG_MAX) { in ftell() 95 return ((long)offset); in ftell()
|
D | fseek.c | 49 fseeko(FILE *fp, off_t offset, int whence) in fseeko() argument 99 offset += curoff; in fseeko() 144 target = offset; in fseeko() 148 target = st.st_size + offset; in fseeko() 232 (*seekfn)(fp->_cookie, (fpos_t)offset, whence) == POS_ERR) { in fseeko() 248 fseek(FILE *fp, long offset, int whence) in fseek() argument 250 return (fseeko(fp, offset, whence)); in fseek()
|
/bionic/libc/arch-arm/cortex-a15/bionic/ |
D | memset.S | 104 .irp offset, #0, #8, #16, #24, #32, #40, #48, #56 105 strd r0, r1, [r3, \offset] 118 .irp offset, #0, #8, #16, #24 119 strd r0, r1, [r3, \offset] 126 .irp offset, #0, #8 127 strd r0, r1, [r3, \offset]
|
D | memcpy_base.S | 221 .irp offset, #0, #8, #16, #24, #32 222 ldrd r4, r5, [r1, \offset] 223 strd r4, r5, [r0, \offset] 252 .irp offset, #0, #8, #16, #24 253 ldrd r4, r5, [r1, \offset] 254 strd r4, r5, [r0, \offset] 264 .irp offset, #0, #8 265 ldrd r4, r5, [r1, \offset] 266 strd r4, r5, [r0, \offset]
|
/bionic/libc/arch-x86/bionic/ |
D | __restore.S | 84 #define cfi_def_cfa(offset) \ argument 88 .sleb128 offset; \ 92 #define cfi_offset(reg_number,offset) \ argument 97 .sleb128 offset; \
|
/bionic/libc/arch-x86_64/bionic/ |
D | __restore_rt.S | 102 #define cfi_def_cfa(offset) \ argument 106 .sleb128 offset; \ 110 #define cfi_offset(reg_number,offset) \ argument 115 .sleb128 offset; \
|
/bionic/libc/stdio/ |
D | stdio.c | 71 __sseek(void *cookie, fpos_t offset, int whence) in __sseek() argument 76 ret = TEMP_FAILURE_RETRY(lseek(fp->_file, (off_t)offset, whence)); in __sseek()
|