/external/ltp/testcases/kernel/fs/doio/ |
D | write_log.c | 114 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/ |
D | write_log.h | 153 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/ |
D | deDefs.c | 101 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/ |
D | platform_StackProtector.py | 14 wfile = open(os.path.join(self.bindir, 'whitelist')) 15 whitelist = wfile.read().splitlines() 16 wfile.close()
|
/external/python/cpython3/Lib/ |
D | socketserver.py | 772 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/ |
D | httpd.py | 87 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/ |
D | SocketServer.py | 703 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)
|
D | BaseHTTPServer.py | 329 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")
|
D | CGIHTTPServer.py | 228 self.wfile.flush() # Always flush before forking 247 os.dup2(self.wfile.fileno(), 1) 286 self.wfile.write(stdout)
|
/external/python/oauth2client/oauth2client/ |
D | tools.py | 131 self.wfile.write( 133 self.wfile.write( 135 self.wfile.write(b"</body></html>")
|
/external/python/cpython3/Lib/test/ |
D | test_socketserver.py | 112 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)
|
D | test_urllib2_localnet.py | 153 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)
|
D | test_httpservers.py | 123 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/ |
D | test_server.py | 41 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/ |
D | port_server.py | 158 self.wfile.write('%d' % p) 178 self.wfile.write(_MY_VERSION) 195 self.wfile.write(out)
|
/external/autotest/client/site_tests/login_ChromeProfileSanitary/ |
D | login_ChromeProfileSanitary.py | 27 handler.wfile.write('Got form data:\n') 28 handler.wfile.write('%s:\n' % url_args)
|
/external/linux-kselftest/tools/testing/selftests/cpufreq/ |
D | cpufreq.sh | 87 local wfile=$(ls -l $1/$file | awk '$1 ~ /^.*w.*/ { print $NF; }') 89 if [ ! -z $wfile ]; then
|
/external/python/cpython2/Lib/test/ |
D | test_imaplib.py | 64 self.wfile.write(message) 161 self.wfile.write('* OK') 172 self.wfile.write('* OK ' + imaplib._MAXLINE*'x' + '\r\n')
|
D | test_urllib2_localnet.py | 113 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/ |
D | gcs_file_system_test.cc | 643 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/ |
D | server.py | 415 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/ |
D | simple_heartbeat_server.py | 137 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/ |
D | coverage-report-server.py | 148 self.wfile.write(response.encode('UTF-8', 'replace')) 174 self.wfile.write(response.encode('UTF-8', 'replace'))
|
/external/autotest/client/cros/cellular/ |
D | test_endpoint.py | 38 self.wfile.write('0' * int(parsed_query[self.SIZE_PARAM][0]))
|
D | forward_8960_screen | 101 self.wfile.write(PAGE % {'ssh_tunnel_port': ssh_tunnel_port,
|