Searched refs:read (Results 1 - 25 of 27) sorted by relevance

12

/bionic/libc/arch-mips/syscalls/
H A Dread.S4 .globl read
6 .ent read
8 read: label
22 .end read
/bionic/libc/arch-arm/syscalls/
H A Dread.S5 ENTRY(read) function
14 END(read)
/bionic/libc/arch-x86/syscalls/
H A Dread.S5 .type read, @function
6 .globl read
9 read: label
/bionic/libc/unistd/
H A Deventfd.c33 * if the read() or write() does not return the proper number of bytes.
37 int ret = read(fd, counter, sizeof(*counter));
/bionic/libc/bionic/
H A Dssp.c48 ssize_t len = read(fd, &__stack_chk_guard,
H A Darc4random.c118 read(fd, rdat.rnd, sizeof(rdat.rnd));
/bionic/libc/kernel/common/linux/
H A Dsysfs.h47 ssize_t (*read)(struct kobject *, char *, loff_t, size_t); member in struct:bin_attribute
H A Dnfs_xdr.h597 int (*read) (struct nfs_read_data *); member in struct:nfs_rpc_ops
/bionic/libc/stdio/
H A Dstdio.c49 ret = read(fp->_file, buf, n);
50 /* if the read succeeded, update the current offset */
/bionic/libc/tools/
H A Dgenerate-NOTICE.py119 content = open(path, 'r').read().decode('utf-8')
123 content = open(path, 'r').read().decode('iso-8859-1')
/bionic/libc/kernel/common/linux/nfsd/
H A Dxdr.h141 struct nfsd_readargs read; member in union:nfsd_xdrstore
/bionic/libc/include/
H A Dunistd.h136 extern ssize_t read(int, void *, size_t);
/bionic/libc/kernel/arch-mips/asm/sgi/
H A Dioc.h157 volatile u8 read; member in struct:sgioc_regs
/bionic/libc/kernel/common/linux/mtd/
H A Dmtd.h106 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); member in struct:mtd_info
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java59 int nbytes = in.read(buf);
/bionic/linker/
H A Ddebugger.c222 /* if the write failed, there is no point to read on
224 RETRY_ON_EINTR(ret, read(s, &tid, 1));
231 /* read or write failed -- broken connection? */
H A Dlinker.cpp660 int rc = TEMP_FAILURE_RETRY(read(fd, &info, sizeof(info)));
662 DL_ERR("could not read prelink_info_t structure for \"%s\":", name, strerror(errno));
751 int ret = TEMP_FAILURE_RETRY(read(fd.fd, (void*)header, sizeof(header)));
753 DL_ERR("can't read file \"%s\": %s", name, strerror(errno));
1253 /* Please read the "Initialization and Termination functions" functions.
1679 * read-only. */
/bionic/libc/kernel/tools/
H A Dutils.py277 olddata = f.read()
280 D("update_file: cannot read existing file '%s'" % path)
329 olddata = f.read()
/bionic/libc/kernel/arch-mips/asm/
H A Dio.h76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); }
H A Dsgiarcs.h221 LONG read; member in struct:linux_romvec
/bionic/libc/netbsd/resolv/
H A Dres_send.c826 while ((n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0) {
833 Perror(statp, stderr, "read failed", errno);
872 while (len != 0 && (n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0){
878 Perror(statp, stderr, "read(vc)", errno);
891 n = read(statp->_vcsock, junk,
/bionic/libc/arch-arm/
H A Dsyscalls.mk44 syscall_src += arch-arm/syscalls/read.S
/bionic/libc/arch-mips/
H A Dsyscalls.mk48 syscall_src += arch-mips/syscalls/read.S
/bionic/libc/arch-x86/
H A Dsyscalls.mk48 syscall_src += arch-x86/syscalls/read.S
/bionic/libc/tzcode/
H A Dlocaltime.c484 while (read(fidix, buf, sizeof(buf)) == sizeof(buf)) {
515 nread = read(fid, u.buf, toread);
517 XLOG(( "tzload: could not read content of '%s'\n", DATAFILE ));

Completed in 2109 milliseconds

12