Searched refs:offset (Results 1 - 25 of 55) sorted by relevance

123

/bionic/libc/bionic/
H A Dpread.c31 ssize_t pread(int fd, void *buf, size_t nbytes, off_t offset) argument
33 return pread64(fd, buf, nbytes, (off64_t)offset);
H A Dpwrite.c31 ssize_t pwrite(int fd, const void *buf, size_t nbytes, off_t offset) argument
33 return pwrite64(fd, buf, nbytes, (off64_t)offset);
H A Dmmap.cpp35 // mmap2(2) is like mmap(2), but the offset is in 4096-byte blocks, not bytes.
40 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { argument
41 if (offset & ((1UL << MMAP2_SHIFT)-1)) {
46 size_t unsigned_offset = static_cast<size_t>(offset); // To avoid sign extension.
/bionic/libc/stdlib/
H A Dsetenv.c34 char *__findenv(const char *name, int *offset);
48 int l_value, offset; local
53 if ((C = __findenv(name, &offset))) { /* find if already exists */
74 offset = cnt;
79 if (!(environ[offset] = /* name + `=' + value */
82 for (C = environ[offset]; (*C = *name++) && *C != '='; ++C)
97 int offset; local
99 while (__findenv(name, &offset)) /* if set multiple times */
100 for (P = &environ[offset];; ++P)
H A Dgetenv.c34 char *__findenv(const char *name, int *offset);
39 * Sets offset to be the offset of the name/value combination in the
46 __findenv(const char *name, int *offset) argument
63 *offset = p - environ;
77 int offset; local
79 return (__findenv(name, &offset));
/bionic/libc/include/sys/
H A Dsendfile.h36 extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
/bionic/libc/kernel/arch-mips/asm/
H A Dscatterlist.h25 unsigned int offset; member in struct:scatterlist
H A Dio.h67 #define ioremap(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED)
69 #define ioremap_nocache(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED)
70 #define ioremap_cachable(offset, size) __ioremap_mode((offset), (size), _page_cachable_default)
71 #define ioremap_cacheable_cow(offset, size) __ioremap_mode((offset), (size), _CACHE_CACHABLE_COW)
72 #define ioremap_uncached_accelerated(offset, size) __ioremap_mode((offset), (siz
[all...]
/bionic/libc/kernel/common/linux/
H A Defs_dir.h45 #define EFS_REALOFF(offset) ((offset << 1))
H A Domap_ion.h31 size_t offset; member in struct:omap_ion_tiler_alloc_data
H A Dublock.h67 __u64 offset; member in struct:ublock_read_in
77 __u64 offset; member in struct:ublock_write_in
H A Dandroid_pmem.h45 unsigned long offset; member in struct:pmem_region
H A Dashmem.h32 __u32 offset; member in struct:ashmem_pin
/bionic/libc/kernel/arch-arm/asm/arch/
H A Dio.h36 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon85
37 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1]
40 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon86
41 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0]
44 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon87
45 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
/bionic/libc/kernel/arch-arm/asm/
H A Dscatterlist.h26 unsigned int offset; member in struct:scatterlist
/bionic/libc/kernel/arch-x86/asm/
H A Dscatterlist_32.h25 unsigned int offset; member in struct:scatterlist
/bionic/libc/kernel/common/linux/usb/
H A Df_mtp.h24 loff_t offset; member in struct:mtp_file_range
/bionic/libc/kernel/common/linux/mtd/
H A Dpartitions.h26 u_int32_t offset; member in struct:mtd_partition
/bionic/libc/arch-arm/include/machine/
H A Dcpu-features.h146 * value of the pc register, including ldm { ...,pc } or 'add pc, #offset'
194 # define PLD(reg,offset) pld [reg, offset]
196 # define PLD(reg,offset) /* nothing */
/bionic/libc/stdio/
H A Dfseek.c45 * Seek the given file to the given offset.
49 fseeko(FILE *fp, off_t offset, int whence) argument
78 * In order to seek relative to the current stream offset,
79 * we have to first find the current stream offset a la
82 __sflush(fp); /* may adjust seek offset on append stream */
99 offset += curoff;
144 target = offset;
148 target = st.st_size + offset;
167 * offset backwards by this count so that it represents the
168 * file offset fo
254 fseek(FILE *fp, long offset, int whence) argument
[all...]
/bionic/libc/arch-arm/cortex-a15/bionic/
H A Dmemset.S112 .irp offset, #0, #8, #16, #24, #32, #40, #48, #56
113 strd r0, r1, [r3, \offset]
126 .irp offset, #0, #8, #16, #24
127 strd r0, r1, [r3, \offset]
134 .irp offset, #0, #8
135 strd r0, r1, [r3, \offset]
H A Dmemcpy_base.S230 .irp offset, #0, #8, #16, #24, #32
231 ldrd r4, r5, [r1, \offset]
232 strd r4, r5, [r0, \offset]
261 .irp offset, #0, #8, #16, #24
262 ldrd r4, r5, [r1, \offset]
263 strd r4, r5, [r0, \offset]
273 .irp offset, #0, #8
274 ldrd r4, r5, [r1, \offset]
275 strd r4, r5, [r0, \offset]
/bionic/libc/kernel/common/linux/nfsd/
H A Dxdr.h42 __u32 offset; member in struct:nfsd_readargs
51 __u32 offset; member in struct:nfsd_writeargs
131 u32 * offset; member in struct:nfsd_readdirres
/bionic/libc/arch-arm/bionic/
H A Dmemcpy.a15.S126 .irp offset, #0, #8, #16, #24, #32, #40, #48, #56
127 ldrd r4, r5, [r1, \offset]
128 strd r4, r5, [r0, \offset]
200 Assumes that dst is word aligned, src is at offset "pull" bits from
231 .irp offset, #0, #8, #16, #24, #32, #40, #48, #56
233 ldrd r4, r5, [r1, \offset]
237 strd r6, r7, [r0, \offset]
279 /* Restore src offset from word-align. */
289 /* Restore src offset from word-align. */
306 i.e., ip is the offset o
[all...]
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java32 private int offset = 0; field in class:ZoneCompactor.ByteArrayBufferIteratorBE
36 this.offset = 0;
39 public void seek(int offset) { argument
40 this.offset = offset;
44 this.offset += byteCount;
48 System.arraycopy(bytes, offset, dst, dstOffset, byteCount);
49 offset += byteCount;
53 return bytes[offset++];

Completed in 946 milliseconds

123