Home
last modified time | relevance | path

Searched refs:wfile (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ltp/testcases/kernel/fs/doio/
Dwrite_log.c114 int wlog_open(struct wlog_file *wfile, int trunc, int mode) in wlog_open() argument
128 wfile->w_afd = open(wfile->w_file, oflags, mode); in wlog_open()
131 if (wfile->w_afd == -1) { in wlog_open()
134 wfile->w_file, oflags, mode, strerror(errno)); in wlog_open()
143 if ((wfile->w_rfd = open(wfile->w_file, oflags)) == -1) { in wlog_open()
146 wfile->w_file, oflags, strerror(errno)); in wlog_open()
147 close(wfile->w_afd); in wlog_open()
148 wfile->w_afd = -1; in wlog_open()
160 int wlog_close(struct wlog_file *wfile) in wlog_close() argument
162 close(wfile->w_afd); in wlog_close()
[all …]
/third_party/libsnd/programs/
Dsndfile-concat.c45 static void concat_data_fp (SNDFILE *wfile, SNDFILE *rofile, int channels) ;
46 static void concat_data_int (SNDFILE *wfile, SNDFILE *rofile, int channels) ;
136 concat_data_fp (SNDFILE *wfile, SNDFILE *rofile, int channels) in concat_data_fp() argument
143 sf_seek (wfile, 0, SEEK_END) ; in concat_data_fp()
147 sf_writef_double (wfile, data, readcount) ; in concat_data_fp()
154 concat_data_int (SNDFILE *wfile, SNDFILE *rofile, int channels) in concat_data_int() argument
161 sf_seek (wfile, 0, SEEK_END) ; in concat_data_int()
165 sf_writef_int (wfile, data, readcount) ; in concat_data_int()
/third_party/ltp/testcases/kernel/fs/doio/include/
Dwrite_log.h153 extern int wlog_open(struct wlog_file *wfile, int trunc, int mode);
154 extern int wlog_close(struct wlog_file *wfile);
155 extern int wlog_record_write(struct wlog_file *wfile,
157 extern int wlog_scan_backward(struct wlog_file *wfile, int nrecs,
/third_party/vk-gl-cts/framework/delibs/debase/
DdeDefs.c101 wchar_t wfile[128]; in deAssertFail() local
112 num = deMin32((int)strlen(file), DE_LENGTH_OF_ARRAY(wfile)-1); in deAssertFail()
114 wfile[i] = file[i]; in deAssertFail()
115 wfile[i] = 0; in deAssertFail()
118 _wassert(wreason, wfile, line); in deAssertFail()
/third_party/python/Lib/
Dsocketserver.py799 self.wfile = _SocketWriter(self.connection)
801 self.wfile = self.connection.makefile('wb', self.wbufsize)
804 if not self.wfile.closed:
806 self.wfile.flush()
811 self.wfile.close()
841 self.wfile = BytesIO()
844 self.socket.sendto(self.wfile.getvalue(), self.client_address)
Dpydoc.py2361 self.wfile.write(self.urlhandler(
/third_party/python/Lib/test/
Dtest_socketserver.py113 self.wfile.write(line)
398 self.server.wfile = self.wfile
399 self.server.wfile_fileno = self.wfile.fileno()
409 self.assertIsInstance(server.wfile, io.BufferedIOBase)
419 self.server.sent1 = self.wfile.write(b'write data\n')
423 self.server.sent2 = self.wfile.write(big_chunk)
Dtest_urllib2_localnet.py155 request_handler.wfile.write(b"Proxy Authentication Required.")
233 self.wfile.write(b"No Auth header received")
238 self.wfile.write(b"It works")
273 self.wfile.write(bytes("You've reached %s!<BR>" % self.path,
275 self.wfile.write(b"Our apologies, but our server is down due to "
410 done = self.wfile.write(body)
Dtest_httpservers.py127 self.wfile.write(body)
929 self.wfile.write(b'<html><body>Data</body></html>\r\n')
971 self.handler.wfile = output
1061 handler.wfile = output
1075 handler.wfile = output
1089 handler.wfile = output
1111 self.handler.wfile = output
Dtest_imaplib.py127 self.wfile.write(message)
265 self.wfile.write(b'* OK')
448 self.wfile.write(b'* OK ' + 11 * b'x' + b'\r\n')
707 self.wfile.write(b'* OK')
905 self.wfile.write(b'* OK ' + imaplib._MAXLINE * b'x' + b'\r\n')
Dssl_servers.py109 self.wfile.write(body)
Dtest_wsgiref.py45 self.rfile, self.wfile = self.connection
Dtest_xmlrpc.py337 self.wfile.write(response)
Dtest_logging.py1030 data = self.wfile.getvalue()
/third_party/python/Lib/http/
Dserver.py423 self.wfile.flush() #actually send the response if not already done.
489 self.wfile.write(body)
540 self.wfile.write(b"".join(self._headers_buffer))
667 self.copyfile(f, self.wfile)
1160 self.wfile.flush() # Always flush before forking
1180 os.dup2(self.wfile.fileno(), 1)
1218 self.wfile.write(stdout)
/third_party/cef/tools/
Dcrash_server.py218 self.wfile.write("<html><body><h1>GET!</h1></body></html>")
232 self.wfile.write(dump_id.encode('utf-8'))
/third_party/python/Lib/xmlrpc/
Dserver.py546 self.wfile.write(response)
572 self.wfile.write(response)
926 self.wfile.write(response)
/third_party/libsnd/tests/
Dwrite_read_test.tpl962 { SNDFILE *wfile, *rwfile ;
978 wfile = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, allow_fd, __LINE__) ;
979 sf_command (wfile, SFC_SET_UPDATE_HEADER_AUTO, NULL, SF_TRUE) ;
980 test_writef_[+ (get "data_type") +]_or_die (wfile, 1, orig, frames, __LINE__) ;
981 sf_write_sync (wfile) ;
982 test_writef_[+ (get "data_type") +]_or_die (wfile, 2, orig, frames, __LINE__) ;
983 sf_write_sync (wfile) ;
991 test_writef_[+ (get "data_type") +]_or_die (wfile, 3, orig, frames, __LINE__) ;
996 sf_close (wfile) ;
/third_party/python/Lib/wsgiref/
Dsimple_server.py130 self.rfile, self.wfile, self.get_stderr(), self.get_environ(),
/third_party/python/Doc/library/
Dsocketserver.rst429 methods, and provide :attr:`self.rfile` and :attr:`self.wfile` attributes.
430 The :attr:`self.rfile` and :attr:`self.wfile` attributes can be
436 :attr:`DatagramRequestHandler.wfile` supports the
440 :attr:`StreamRequestHandler.wfile` also supports the
491 # Likewise, self.wfile is a file-like object used to write back
493 self.wfile.write(self.data.upper())
Dhttp.server.rst122 .. attribute:: wfile
/third_party/ninja/src/
Dbrowse.py193 self.wfile.write(create_page(page_body).encode('utf-8'))
/third_party/python/Misc/NEWS.d/
D3.6.0a3.rst89 Change the socketserver.StreamRequestHandler.wfile attribute to implement
/third_party/node/deps/v8/tools/
Dgrokdump.py2640 self.wfile.write(string.encode('utf-8'))
/third_party/python/Doc/whatsnew/
D3.6.rst1437 The :attr:`~socketserver.StreamRequestHandler.wfile` attribute of

12