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

12

/bionic/libc/unistd/
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.c35 void* mmap(void *addr, size_t size, int prot, int flags, int fd, long offset) argument
39 if (offset & ((1UL << MMAP2_SHIFT)-1)) {
44 ret = __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT);
/bionic/libc/kernel/arch-arm/asm/
H A Dscatterlist.h26 unsigned int offset; member in struct:scatterlist
/bionic/libc/kernel/arch-mips/asm/
H A Dscatterlist.h25 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/stdlib/
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));
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)
/bionic/libc/kernel/common/linux/mtd/
H A Dpartitions.h26 u_int32_t offset; member in struct:mtd_partition
/bionic/libc/kernel/common/linux/usb/
H A Df_mtp.h24 loff_t offset; member in struct:mtp_file_range
/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...]
H A Dstdio.c41 * These maintain the `known seek offset' for seek optimisation.
50 /* if the read succeeded, update the current offset */
70 __sseek(void *cookie, fpos_t offset, int whence) argument
75 ret = lseek(fp->_file, (off_t)offset, whence);
/bionic/libc/kernel/common/linux/
H A Dandroid_pmem.h45 unsigned long offset; member in struct:pmem_region
H A Dashmem.h32 __u32 offset; member in struct:ashmem_pin
H A Domap_ion.h31 size_t offset; member in struct:omap_ion_tiler_alloc_data
H A Drelay.h37 size_t offset; member in struct:rchan_buf
H A Dublock.h67 __u64 offset; member in struct:ublock_read_in
77 __u64 offset; member in struct:ublock_write_in
H A Dif_arcnet.h85 offset[2]; member in struct:arc_hardware
H A Dmsm_ion.h90 unsigned int offset; member in struct:ion_flush_data
H A Dproc_fs.h76 loff_t offset; member in struct:vmcore
H A Dtegrafb.h66 __u32 offset; member in struct:tegra_fb_windowattr
/bionic/libc/kernel/arch-arm/asm/arch/
H A Dio.h36 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon53
37 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1]
40 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon54
41 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0]
44 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon55
45 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
/bionic/libc/bionic/
H A Dmd5.c211 size_t offset; local
216 offset = (old_sz / 8) % 64;
218 size_t l = min(len, 64 - offset);
219 memcpy(m->save + offset, p, l);
220 offset += l;
223 if(offset == 64){
236 offset = 0;
245 unsigned offset = (m->sz[0] / 8) % 64; local
246 unsigned int dstart = (120 - offset - 1) % 64 + 1;
/bionic/libc/kernel/arch-mips/asm/sn/
H A Dkldir.h82 off_t offset; member in struct:kldir_ent_s
/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

Completed in 309 milliseconds

12