Searched refs:write (Results 1 - 25 of 36) sorted by relevance

12

/bionic/libc/unistd/
H A Dperror.c39 write( 2, prefix, strlen(prefix) );
40 write( 2, ": ", 2 );
42 write( 2, buff, strlen(buff) );
43 write( 2, "\n", 1 );
H A Deventfd.c33 * if the read() or write() does not return the proper number of bytes.
47 int ret = write(fd, &counter, sizeof(counter));
/bionic/libc/arch-mips/syscalls/
H A Dwrite.S4 .globl write
6 .ent write
8 write: label
22 .end write
/bionic/libc/stdlib/
H A Dsetjmperr.c34 * write their own versions.
45 (void)write(STDERR_FILENO, ERRMSG, sizeof(ERRMSG) - 1);
/bionic/libc/arch-arm/syscalls/
H A Dwrite.S5 ENTRY(write) function
14 END(write)
/bionic/libc/arch-x86/syscalls/
H A Dwrite.S5 .type write, @function
6 .globl write
9 write: label
/bionic/libc/kernel/tools/
H A Dfind_headers.py62 sys.stderr.write( "error: directory '%s' does not exist\n" % kernel_root )
66 sys.stderr.write( "error: '%s' is not a directory\n" % kernel_root )
70 sys.stderr.write( "error: '%s' does not have an 'include/linux' directory\n" % kernel_root )
75 sys.stderr.write( "error: file '%s' does not exist\n" % wanted_config )
79 sys.stderr.write( "error: '%s' is not a file\n" % wanted_config )
104 sys.stderr.write( "error: when parsing kernel_headers, only 'arm' and 'mips' architectures are supported at the moment\n" )
111 sys.stderr.write( "error: the following requested architectures are not in the kernel tree: " )
113 sys.stderr.write( " %s" % a )
114 sys.stderr.write( "\n" )
135 sys.stderr.write( "erro
[all...]
H A Dclean_header.py20 sys.stderr.write( "warning: file does not exit: %s\n" % path )
26 sys.stderr.write( "warning: not a file: %s\n" % path )
32 sys.stderr.write( "warning: file not in 'original' ignored: %s\n" % path )
62 sys.stderr.write( "error: can't parse '%s'" % path )
78 out.write( kernel_disclaimer )
108 sys.stderr.write( "error: unrecognized option\n" )
H A Dutils.py12 sys.stderr.write( find_program_name() + ": error: " )
13 sys.stderr.write( msg )
191 def write(self,msg): member in class:Output
192 self.out.write(msg)
195 self.out.write(msg)
196 self.out.write("\n")
202 def write(self,msg): member in class:StringOutput
204 D2("write '%s'" % msg)
208 D2("write '%s\\n'"% msg)
296 f.write( newdat
[all...]
H A Dupdate_all.py31 sys.stderr.write( "error: unrecognized option\n" )
/bionic/libc/tools/
H A Dgensyscalls.py403 fp.write( "#define __NR_%-25s (__NR_SYSCALL_BASE + %d)\n" % (name,id) )
410 fp.write( "/* auto-generated by gensyscalls.py, do not touch */\n" )
411 fp.write( "#ifndef _BIONIC_LINUX_SYSCALLS_H_\n" )
412 fp.write( "#define _BIONIC_LINUX_SYSCALLS_H_\n\n" )
413 fp.write( "#if !defined __ASM_ARM_UNISTD_H && !defined __ASM_I386_UNISTD_H && !defined __ASM_MIPS_UNISTD_H\n" )
414 fp.write( "#if defined __arm__ && !defined __ARM_EABI__ && !defined __thumb__\n" )
415 fp.write( " # define __NR_SYSCALL_BASE 0x900000\n" )
416 fp.write( "#elif defined(__mips__)\n" )
417 fp.write( " # define __NR_SYSCALL_BASE 4000\n" )
418 fp.write( "#els
[all...]
H A Dgenerate-NOTICE.py105 sys.stderr.write('Searching for source files in "%s"...\n' % arg)
122 sys.stderr.write('warning: bad UTF-8 in %s\n' % path)
139 sys.stderr.write('warning: no copyright notice found in "%s" (%d lines)\n' % (path, len(lines)))
H A Dbionic_utils.py309 def write(self,msg): member in class:Output
310 self.out.write(msg)
313 self.out.write(msg)
314 self.out.write("\n")
320 def write(self,msg): member in class:StringOutput
322 D2("write '%s'" % msg)
326 D2("write '%s\\n'"% msg)
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java63 out.write(buf, 0, nbytes);
76 os.write((x >> 24) & 0xff);
77 os.write((x >> 16) & 0xff);
78 os.write((x >> 8) & 0xff);
79 os.write( x & 0xff);
148 idx.write(znameBuf);
H A Dgenerate54 ftp.retrbinary('RETR %s' % filename, open(filename, 'wb').write)
86 setup.write(link)
88 setup.write('%s\n' % zone)
105 zoneinfo_version.write('%s\n' % version)
/bionic/libc/bionic/
H A Dfdprintf.c42 ret = write(fd, buf, ret);
H A Dcpuacct.c58 n = TEMP_FAILURE_RETRY(write(fd, "0", 1));
/bionic/libc/kernel/common/linux/
H A Dsysfs.h49 ssize_t (*write)(struct kobject *, char *, loff_t, size_t); member in struct:bin_attribute
/bionic/libc/stdio/
H A Dstdio.c66 return (write(fp->_file, buf, n));
/bionic/libc/kernel/common/linux/nfsd/
H A Dxdr.h142 struct nfsd_writeargs write; member in union:nfsd_xdrstore
/bionic/libc/include/
H A Dunistd.h137 extern ssize_t write(int, const void *, size_t);
/bionic/libc/kernel/arch-mips/asm/sgi/
H A Dioc.h184 volatile u8 write; member in struct:sgioc_regs
/bionic/libc/kernel/common/linux/mtd/
H A Dmtd.h107 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf); member in struct:mtd_info
/bionic/linker/
H A Ddebugger.c220 RETRY_ON_EINTR(ret, write(s, &msg, sizeof(msg)));
222 /* if the write failed, there is no point to read on
231 /* read or write failed -- broken connection? */
/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); }

Completed in 4506 milliseconds

12