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

12

/bionic/libc/unistd/
H A Dpread.c28 extern int __pread64(int fd, void *buf, size_t nbytes, loff_t offset);
30 ssize_t pread(int fd, void *buf, size_t nbytes, off_t offset) argument
32 return __pread64(fd, buf, nbytes, offset);
H A Dpwrite.c31 extern int __pwrite64(int fd, void *buf, size_t nbytes, loff_t offset);
33 ssize_t pwrite(int fd, void *buf, size_t nbytes, off_t offset) argument
35 return __pwrite64(fd, buf, nbytes, offset);
H A Dmmap.c35 void* mmap( void* addr, size_t size, int prot, int flags, int fd, long offset )
37 if ( offset & ((1UL << MMAP2_SHIFT)-1) ) {
42 return __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT);
/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-sh/asm/
H A Dscatterlist.h19 unsigned int offset; member in struct:scatterlist
H A Dio_trapped.h32 #define __ioremap_trapped(offset, size) NULL
33 #define __ioport_map_trapped(offset, size) NULL
/bionic/libc/kernel/common/linux/
H A Defs_dir.h42 #define EFS_REALOFF(offset) ((offset << 1))
H A Dandroid_pmem.h44 unsigned long offset; member in struct:pmem_region
H A Dashmem.h29 __u32 offset; member in struct:ashmem_pin
H A Dif_arcnet.h76 offset[2]; member in struct:arc_hardware
/bionic/libc/kernel/arch-arm/asm/arch/
H A Dio.h34 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon63
35 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1]
38 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon64
39 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0]
42 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon65
43 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
/bionic/libc/kernel/arch-arm/asm/
H A Dscatterlist.h20 unsigned int offset; member in struct:scatterlist
/bionic/libc/kernel/arch-x86/asm/
H A Dscatterlist_32.h19 unsigned int offset; member in struct:scatterlist
H A Dpgtable-2level.h36 #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 1) | ((offset) << 8) })
/bionic/libc/kernel/common/linux/mtd/
H A Dpartitions.h20 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'
193 # define PLD(reg,offset) pld [reg, offset]
195 # 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
77 * In order to seek relative to the current stream offset,
78 * we have to first find the current stream offset a la
81 __sflush(fp); /* may adjust seek offset on append stream */
96 offset += curoff;
140 target = offset;
144 target = st.st_size + offset;
163 * offset backwards by this count so that it represents the
164 * file offset fo
246 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/nfsd/
H A Dxdr.h36 __u32 offset; member in struct:nfsd_readargs
44 __u32 offset; member in struct:nfsd_writeargs
120 u32 * offset; member in struct:nfsd_readdirres
/bionic/libc/kernel/common/asm-generic/bitops/
H A Dle.h33 #define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset)
/bionic/linker/
H A Dlinker_debug.h137 #define MARK(offset) do { \
138 bitmask[((offset) >> 12) >> 3] |= (1 << (((offset) >> 12) & 7)); \
146 DEBUG("\t\tphdr->offset = 0x%08x\n", (unsigned)((phdr)->p_offset)); \
/bionic/libc/tzcode/
H A Dlocaltime.c142 long tt_gmtoff; /* UTC offset in seconds */
211 static struct tm * gmtsub P((const time_t * timep, long offset,
213 static struct tm * localsub P((const time_t * timep, long offset,
226 long offset));
230 long offset, int * okayp));
234 long offset, int * okayp, int do_norm_secs));
235 static struct tm * timesub P((const time_t * timep, long offset,
240 const struct rule * rulep, long offset));
490 XLOG(( "tzload: invalid offset (%d)\n", off ));
812 ** Given a pointer into a time zone string, extract an offset, i
[all...]
/bionic/libc/bionic/
H A Dmd5.c207 size_t offset; local
212 offset = (old_sz / 8) % 64;
214 size_t l = min(len, 64 - offset);
215 memcpy(m->save + offset, p, l);
216 offset += l;
219 if(offset == 64){
232 offset = 0;
241 unsigned offset = (m->sz[0] / 8) % 64; local
242 unsigned int dstart = (120 - offset - 1) % 64 + 1;

Completed in 1029 milliseconds

12