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

12

/bionic/libc/bionic/
H A Deventfd_write.cpp33 return (write(fd, &value, sizeof(value)) == sizeof(value)) ? 0 : -1;
H A Dpthread_setname_np.cpp74 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len));
/bionic/libc/arch-arm/syscalls/
H A Dwrite.S5 ENTRY(write) function
14 END(write)
/bionic/libc/arch-arm64/syscalls/
H A Dwrite.S5 ENTRY(write) function
14 END(write)
/bionic/libc/arch-mips/syscalls/
H A Dwrite.S5 ENTRY(write) function
19 END(write)
/bionic/libc/arch-x86_64/syscalls/
H A Dwrite.S5 ENTRY(write) function
15 END(write)
/bionic/libc/tools/
H A Dgenlibgcc_compat.py121 fres.write(libgcc_compat_header)
124 fres.write("extern char "+sym_name+";\n")
125 fres.write("\n");
127 fres.write("void* __bionic_libgcc_compat_symbols[] = {\n");
129 fres.write(" &"+sym_name+",\n")
130 fres.write("};\n");
H A Dcheck-symbols.py13 sys.stderr.write('Checking symbols for arch "%s"...\n' % arch)
23 #sys.stdout.write('%d %s in %s for %s\n' % (len(symbols), functions_or_variables, library, arch))
53 sys.stderr.write('%d missing %s in %s for %s:\n' % (len(missing), functions_or_variables, library, arch))
55 sys.stderr.write(' %s\n' % miss)
H A Dgensyscalls.py425 # and write out equivalent SYS_* constants for glibc source compatibility.
434 fp.write("#define SYS_%s %s\n" % (syscall, make__NR_name(syscall)))
442 glibc_fp.write("/* %s */\n" % warning)
443 glibc_fp.write("#ifndef _BIONIC_GLIBC_SYSCALLS_H_\n")
444 glibc_fp.write("#define _BIONIC_GLIBC_SYSCALLS_H_\n")
446 glibc_fp.write("#if defined(__aarch64__)\n")
448 glibc_fp.write("#elif defined(__arm__)\n")
450 glibc_fp.write("#elif defined(__mips__)\n")
452 glibc_fp.write("#elif defined(__i386__)\n")
454 glibc_fp.write("#eli
[all...]
H A Dgenerate-NOTICE.py108 sys.stderr.write('Searching for source files in "%s"...\n' % arg)
125 sys.stderr.write('warning: bad UTF-8 in %s\n' % path)
142 sys.stderr.write('warning: no copyright notice found in "%s" (%d lines)\n' % (path, len(lines)))
/bionic/libc/arch-mips64/syscalls/
H A Dwrite.S5 ENTRY(write) function
25 END(write)
/bionic/libc/arch-x86/syscalls/
H A Dwrite.S5 ENTRY(write) function
31 END(write)
/bionic/tests/
H A Dsys_mman_test.cpp59 ASSERT_EQ(STR_SSIZE(STRING_MSG), write(tf.fd, STRING_MSG, sizeof(STRING_MSG)));
73 ASSERT_EQ(STR_SSIZE(INITIAL_MSG), write(tf.fd, INITIAL_MSG, sizeof(INITIAL_MSG)));
102 ASSERT_EQ(STR_SSIZE(PAGE0_MSG), write(tf.fd, PAGE0_MSG, sizeof(PAGE0_MSG)));
104 ASSERT_EQ(STR_SSIZE(PAGE1_MSG), write(tf.fd, PAGE1_MSG, sizeof(PAGE1_MSG)));
106 ASSERT_EQ(STR_SSIZE(PAGE2_MSG), write(tf.fd, PAGE2_MSG, sizeof(PAGE2_MSG)));
108 ASSERT_EQ(STR_SSIZE(END_MSG), write(tf.fd, END_MSG, sizeof(END_MSG)));
138 ASSERT_EQ(STR_SSIZE(PAGE0_MSG), write(tf.fd, PAGE0_MSG, sizeof(PAGE0_MSG)));
140 ASSERT_EQ(STR_SSIZE(PAGE1_MSG), write(tf.fd, PAGE1_MSG, sizeof(PAGE1_MSG)));
142 ASSERT_EQ(STR_SSIZE(PAGE2_MSG), write(tf.fd, PAGE2_MSG, sizeof(PAGE2_MSG)));
144 ASSERT_EQ(STR_SSIZE(END_MSG), write(t
[all...]
H A Dsys_sendfile_test.cpp28 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5)));
47 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5)));
H A Dsys_epoll_test.cpp59 ASSERT_EQ(1, write(fds[1], "\n", 1));
/bionic/libc/kernel/tools/
H A Dclean_header.py93 sys.stderr.write( "warning: file does not exit: %s\n" % path )
99 sys.stderr.write( "warning: not a file: %s\n" % path )
105 sys.stderr.write( "warning: file not in 'original' ignored: %s\n" % path )
146 sys.stderr.write( "error: can't parse '%s'" % path )
165 out.write( kernel_disclaimer )
195 sys.stderr.write( "error: unrecognized option\n" )
H A Dutils.py12 sys.stderr.write( find_program_name() + ": error: " )
13 sys.stderr.write( msg )
54 def write(self,msg): member in class:StringOutput
56 D2("write '%s'" % msg)
182 f.write(self.new_data[dst])
H A Dupdate_all.py26 sys.stderr.write( "error: unrecognized option\n" )
/bionic/linker/
H A Dlinker_debug.h69 if (g_ld_debug_verbosity > (v)) { __libc_format_fd(1, x); write(1, "\n", 1); } \
H A Dlinker_environ.cpp54 write(2, msg, strlen(msg));
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dvdprintf.c47 return (write(*fdp, buf, n));
H A Dstdio.c66 return (write(fp->_file, buf, n));
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java50 out.write(buf, 0, nbytes);
111 f.write(toAscii(new byte[12], version));
141 f.write(toAscii(new byte[MAXNAME], zoneName));
150 f.write(allData.toByteArray());
159 f.write('\n');
H A Dupdate-tzdata.py63 setup.write('%s\n' % link)
65 setup.write('%s\n' % zone)
76 ftp.retrbinary('RETR %s' % filename, open(filename, 'wb').write)
92 f.write(http.getresponse().read())
/bionic/libc/include/
H A Dunistd.h138 extern ssize_t write(int, const void *, size_t);

Completed in 1342 milliseconds

12