Searched refs:write (Results 1 - 25 of 32) 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.c5 * if the read() or write() does not return the proper number of bytes.
19 int ret = write(fd, &counter, sizeof(counter));
/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" )
H A Dcpp.py1679 out.write(str(self) + "\n")
1682 out.write(warning)
1687 out.write(str(tok))
1691 out.write(warning)
1801 def write(self,out): member in class:BlockList
1802 out.write(str(self))
2247 list.write(out)
/bionic/libc/tools/
H A Dgensyscalls.py386 fp.write( "#define __NR_%-25s (__NR_SYSCALL_BASE + %d)\n" % (name,id) )
393 fp.write( "/* auto-generated by gensyscalls.py, do not touch */\n" )
394 fp.write( "#ifndef _BIONIC_LINUX_SYSCALLS_H_\n\n" )
395 fp.write( "#if !defined __ASM_ARM_UNISTD_H && !defined __ASM_I386_UNISTD_H\n" )
396 fp.write( "#if defined __arm__ && !defined __ARM_EABI__ && !defined __thumb__\n" )
397 fp.write( " # define __NR_SYSCALL_BASE 0x900000\n" )
398 fp.write( " #else\n" )
399 fp.write( " # define __NR_SYSCALL_BASE 0\n" )
400 fp.write( " #endif\n\n" )
411 fp.write( "\
[all...]
H A Dbionic_utils.py290 def write(self,msg): member in class:Output
291 self.out.write(msg)
294 self.out.write(msg)
295 self.out.write("\n")
301 def write(self,msg): member in class:StringOutput
303 D2("write '%s'" % msg)
307 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);
/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
H A Dcdrom.h617 __u8 write : 1; member in struct:mrw_feature_desc
620 __u8 write : 1; member in struct:mrw_feature_desc
/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.h136 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.c178 RETRY_ON_EINTR(ret, write(s, &msg, sizeof(msg)));
180 /* if the write failed, there is no point to read on
189 /* 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); }
H A Dsgiarcs.h224 LONG write; member in struct:linux_romvec

Completed in 498 milliseconds

12