Home
last modified time | relevance | path

Searched refs:rfile (Results 1 – 25 of 52) sorted by relevance

123

/external/python/cpython2/Lib/
DCGIHTTPServer.py234 while select.select([self.rfile], [], [], 0)[0]:
235 if not self.rfile.read(1):
246 os.dup2(self.rfile.fileno(), 0)
278 data = self.rfile.read(nbytes)
282 while select.select([self.rfile._sock], [], [], 0)[0]:
283 if not self.rfile._sock.recv(1):
DSocketServer.py702 self.rfile = self.connection.makefile('rb', self.rbufsize)
714 self.rfile.close()
727 self.rfile = StringIO(self.packet)
DBaseHTTPServer.py291 self.headers = self.MessageClass(self.rfile, 0)
310 self.raw_requestline = self.rfile.readline(65537)
/external/autotest/client/common_lib/cros/fake_device_server/
Dcommon_util_unittest.py32 cherrypy.request.rfile = json_file
39 cherrypy.request.rfile = json_file
Dcommon_util.py18 data = cherrypy.request.rfile.read(body_length)
Doauth.py72 body = cherrypy.request.rfile.read(body_length)
/external/ltp/testcases/lib/
Dtst_net.sh628 local rfile="tst_netload.res"
656 d) rfile="$OPTARG" ;;
701 c_opts="${cs_opts}${c_opts}-a $c_num -r $c_requests -d $rfile -g $port"
727 if [ ! -f $rfile ]; then
730 tst_brk_ TFAIL "can't read $rfile"
733 tst_res_ TPASS "netstress passed, time spent '$(cat $rfile)' ms"
/external/python/cpython3/Lib/http/
Dserver.py337 self.headers = http.client.parse_headers(self.rfile,
395 self.raw_requestline = self.rfile.readline(65537)
1159 while select.select([self.rfile], [], [], 0)[0]:
1160 if not self.rfile.read(1):
1172 os.dup2(self.rfile.fileno(), 0)
1203 data = self.rfile.read(nbytes)
1207 while select.select([self.rfile._sock], [], [], 0)[0]:
1208 if not self.rfile._sock.recv(1):
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py116 self.raw_requestline = self.rfile.readline(65537)
128 self.rfile, self.wfile, self.get_stderr(), self.get_environ()
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py118 self.raw_requestline = self.rfile.readline(65537)
130 self.rfile, self.wfile, self.get_stderr(), self.get_environ(),
/external/autotest/client/cros/
Dhttpd.py61 fp=self.rfile,
145 fp=self.rfile,
264 self.rfile = socket._fileobject(self.request, 'rb', self.rbufsize)
/external/libpcap/
Dsavefile.c243 if (p->rfile != stdin) in sf_cleanup()
244 (void)fclose(p->rfile); in sf_cleanup()
538 p->rfile = fp; in pcap_fopen_offline_with_tstamp_precision()
Dpcap-int.h230 FILE *rfile; /* null if live capture, non-null if savefile */ member
/external/python/cpython3/Lib/
Dsocketserver.py770 self.rfile = self.connection.makefile('rb', self.rbufsize)
785 self.rfile.close()
813 self.rfile = BytesIO(self.packet)
/external/ppp/pppd/include/
Dpcap-int.h45 FILE *rfile; member
/external/grpc-grpc/test/core/http/
Dtest_server.py49 content = self.rfile.read(int(self.headers.getheader('content-length')))
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system_test.cc980 std::unique_ptr<RandomAccessFile> rfile; in TEST() local
982 fs.NewRandomAccessFile("gs://bucket/path/writeable", nullptr, &rfile)); in TEST()
985 TF_EXPECT_OK(rfile->Read(0, 4, &result, scratch)); in TEST()
998 TF_EXPECT_OK(rfile->Read(0, 4, &result, scratch)); in TEST()
1146 std::unique_ptr<RandomAccessFile> rfile; in TEST() local
1148 fs.NewRandomAccessFile("gs://bucket/path/writeable", nullptr, &rfile)); in TEST()
1151 TF_EXPECT_OK(rfile->Read(0, 4, &result, scratch)); in TEST()
1162 TF_EXPECT_OK(rfile->Read(4, 4, &result, scratch)); in TEST()
1168 TF_EXPECT_OK(rfile->Read(0, 8, &result, scratch)); in TEST()
1411 std::unique_ptr<RandomAccessFile> rfile; in TEST() local
[all …]
/external/autotest/client/site_tests/policy_ProxySettings/
Dpolicy_ProxySettings.py29 data = self.rfile.readline(40).strip()
/external/autotest/client/site_tests/platform_MetricsUploader/
Dplatform_MetricsUploader.py40 message = self.rfile.read(int(self.headers['Content-Length']))
/external/python/cpython2/Lib/test/
Dtest_imaplib.py76 part = self.rfile.read(1)
Dssl_servers.py95 sock = self.rfile.raw._sock
/external/python/cpython3/Lib/test/
Dtest_socketserver.py110 line = self.rfile.readline()
409 self.server.received = self.rfile.readline()
Dssl_servers.py95 sock = self.rfile.raw._sock
/external/python/cpython3/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
434 The :attr:`rfile` attributes of both classes support the
486 # self.rfile is a file-like object created by the handler;
488 self.data = self.rfile.readline().strip()
/external/autotest/client/site_tests/network_ProxyResolver/
Dnetwork_ProxyResolver.py37 data = self.rfile.readline(40).strip()

123