Home
last modified time | relevance | path

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

123

/external/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 …]
/external/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,
/external/deqp/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()
/external/autotest/client/site_tests/platform_StackProtector/
Dplatform_StackProtector.py14 wfile = open(os.path.join(self.bindir, 'whitelist'))
15 whitelist = wfile.read().splitlines()
16 wfile.close()
/external/python/cpython3/Lib/
Dsocketserver.py772 self.wfile = _SocketWriter(self.connection)
774 self.wfile = self.connection.makefile('wb', self.wbufsize)
777 if not self.wfile.closed:
779 self.wfile.flush()
784 self.wfile.close()
814 self.wfile = BytesIO()
817 self.socket.sendto(self.wfile.getvalue(), self.client_address)
/external/autotest/client/cros/
Dhttpd.py87 self.wfile.write('Hello from Autotest!\nClient: %s\n' %
89 self.wfile.write('Request for path: %s\n' % self.path)
90 self.wfile.write('Got form data:\n')
99 self.wfile.write('\tUploaded %s (%d bytes)<br>' %
105 self.wfile.write('\t%s=%s<br>' % (field, form[field].value))
263 self.wfile = socket._fileobject(self.request, 'wb', self.wbufsize)
/external/python/cpython2/Lib/
DSocketServer.py703 self.wfile = self.connection.makefile('wb', self.wbufsize)
706 if not self.wfile.closed:
708 self.wfile.flush()
713 self.wfile.close()
728 self.wfile = StringIO()
731 self.socket.sendto(self.wfile.getvalue(), self.client_address)
DBaseHTTPServer.py329 self.wfile.flush() #actually send the response if not already done.
384 self.wfile.write(content)
403 self.wfile.write("%s %d %s\r\n" %
412 self.wfile.write("%s: %s\r\n" % (keyword, value))
423 self.wfile.write("\r\n")
DCGIHTTPServer.py228 self.wfile.flush() # Always flush before forking
247 os.dup2(self.wfile.fileno(), 1)
286 self.wfile.write(stdout)
/external/python/oauth2client/oauth2client/
Dtools.py131 self.wfile.write(
133 self.wfile.write(
135 self.wfile.write(b"</body></html>")
/external/python/cpython3/Lib/test/
Dtest_socketserver.py112 self.wfile.write(line)
389 self.server.wfile = self.wfile
390 self.server.wfile_fileno = self.wfile.fileno()
400 self.assertIsInstance(server.wfile, io.BufferedIOBase)
410 self.server.sent1 = self.wfile.write(b'write data\n')
414 self.server.sent2 = self.wfile.write(big_chunk)
Dtest_urllib2_localnet.py153 request_handler.wfile.write(b"Proxy Authentication Required.")
231 self.wfile.write(b"No Auth header received")
236 self.wfile.write(b"It works")
271 self.wfile.write(bytes("You've reached %s!<BR>" % self.path,
273 self.wfile.write(b"Our apologies, but our server is down due to "
408 done = self.wfile.write(body)
Dtest_httpservers.py123 self.wfile.write(body)
804 self.wfile.write(b'<html><body>Data</body></html>\r\n')
846 self.handler.wfile = output
936 handler.wfile = output
950 handler.wfile = output
964 handler.wfile = output
986 self.handler.wfile = output
/external/grpc-grpc/test/core/http/
Dtest_server.py41 self.wfile.write('<html><head><title>Hello world!</title></head>')
42 self.wfile.write('<body><p>This is a test</p></body></html>')
/external/grpc-grpc/tools/run_tests/python_utils/
Dport_server.py158 self.wfile.write('%d' % p)
178 self.wfile.write(_MY_VERSION)
195 self.wfile.write(out)
/external/autotest/client/site_tests/login_ChromeProfileSanitary/
Dlogin_ChromeProfileSanitary.py27 handler.wfile.write('Got form data:\n')
28 handler.wfile.write('%s:\n' % url_args)
/external/linux-kselftest/tools/testing/selftests/cpufreq/
Dcpufreq.sh87 local wfile=$(ls -l $1/$file | awk '$1 ~ /^.*w.*/ { print $NF; }')
89 if [ ! -z $wfile ]; then
/external/python/cpython2/Lib/test/
Dtest_imaplib.py64 self.wfile.write(message)
161 self.wfile.write('* OK')
172 self.wfile.write('* OK ' + imaplib._MAXLINE*'x' + '\r\n')
Dtest_urllib2_localnet.py113 self.wfile.write("No Auth Header Received")
116 self.wfile.write("It works!")
195 request_handler.wfile.write("Proxy Authentication Required.")
270 self.wfile.write("You've reached %s!<BR>" % self.path)
271 self.wfile.write("Our apologies, but our server is down due to "
406 self.wfile.write(body)
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system_test.cc643 std::unique_ptr<WritableFile> wfile; in TEST() local
644 TF_EXPECT_OK(fs.NewWritableFile("gs://bucket/path/writeable", &wfile)); in TEST()
645 TF_EXPECT_OK(wfile->Append("content1,")); in TEST()
647 TF_EXPECT_OK(wfile->Tell(&pos)); in TEST()
649 TF_EXPECT_OK(wfile->Append("content2")); in TEST()
650 TF_EXPECT_OK(wfile->Flush()); in TEST()
656 TF_EXPECT_OK(wfile->Flush()); in TEST()
657 TF_EXPECT_OK(wfile->Sync()); in TEST()
658 TF_EXPECT_OK(wfile->Close()); in TEST()
807 std::unique_ptr<WritableFile> wfile; in TEST() local
[all …]
/external/python/cpython3/Lib/http/
Dserver.py415 self.wfile.flush() #actually send the response if not already done.
481 self.wfile.write(body)
532 self.wfile.write(b"".join(self._headers_buffer))
653 self.copyfile(f, self.wfile)
1150 self.wfile.flush() # Always flush before forking
1169 os.dup2(self.wfile.fileno(), 1)
1207 self.wfile.write(stdout)
/external/autotest/scheduler/shard/
Dsimple_heartbeat_server.py137 self.wfile.write('Serialize: %s,\nJob query: %s\nHost query: %s\n'
142 self.wfile.write(json_encoder.encode(heartbeat_packet))
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dcoverage-report-server.py148 self.wfile.write(response.encode('UTF-8', 'replace'))
174 self.wfile.write(response.encode('UTF-8', 'replace'))
/external/autotest/client/cros/cellular/
Dtest_endpoint.py38 self.wfile.write('0' * int(parsed_query[self.SIZE_PARAM][0]))
Dforward_8960_screen101 self.wfile.write(PAGE % {'ssh_tunnel_port': ssh_tunnel_port,

123