HomeSort by relevance Sort by last modified time
    Searched refs:instream (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
AbstractTestHttpServer.java 47 InputStream instream = entity.getContent(); local
48 return readContents(instream);
51 protected byte[] readContents(InputStream instream) throws IOException {
57 while ((count = instream.read(buffer)) >= 0) {
62 instream.close();
  /external/apache-http/src/org/apache/http/entity/
BasicHttpEntity.java 118 * @param instream the stream to return with the next call to
121 public void setContent(final InputStream instream) {
122 this.content = instream;
131 InputStream instream = getContent(); local
134 while ((l = instream.read(tmp)) != -1) {
InputStreamEntity.java 60 public InputStreamEntity(final InputStream instream, long length) {
62 if (instream == null) {
65 this.content = instream;
85 InputStream instream = this.content; local
90 while ((l = instream.read(buffer)) != -1) {
97 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
FileEntity.java 83 InputStream instream = new FileInputStream(this.file); local
87 while ((l = instream.read(tmp)) != -1) {
92 instream.close();
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
shlex.py 23 def __init__(self, instream=None, infile=None, posix=False):
24 if isinstance(instream, basestring):
25 instream = StringIO(instream)
26 if instream is not None:
27 self.instream = instream
30 self.instream = sys.stdin
57 % (self.instream, self.lineno)
69 self.filestack.appendleft((self.infile, self.instream, self.lineno))
    [all...]
netrc.py 47 lexer.instream.seek(-pos, 1)
48 lexer.instream.readline()
59 line = lexer.instream.readline()
  /external/python/cpython2/Lib/
shlex.py 23 def __init__(self, instream=None, infile=None, posix=False):
24 if isinstance(instream, basestring):
25 instream = StringIO(instream)
26 if instream is not None:
27 self.instream = instream
30 self.instream = sys.stdin
57 % (self.instream, self.lineno)
69 self.filestack.appendleft((self.infile, self.instream, self.lineno)
    [all...]
netrc.py 50 lexer.instream.seek(-pos, 1)
51 lexer.instream.readline()
62 line = lexer.instream.readline()
  /external/python/cpython3/Lib/
shlex.py 21 def __init__(self, instream=None, infile=None, posix=False,
23 if isinstance(instream, str):
24 instream = StringIO(instream)
25 if instream is not None:
26 self.instream = instream
29 self.instream = sys.stdin
78 self.filestack.appendleft((self.infile, self.instream, self.lineno))
80 self.instream = newstrea
    [all...]
netrc.py 47 lexer.instream.readline()
58 line = lexer.instream.readline()
  /prebuilts/gdb/darwin-x86/lib/python2.7/
shlex.py 23 def __init__(self, instream=None, infile=None, posix=False):
24 if isinstance(instream, basestring):
25 instream = StringIO(instream)
26 if instream is not None:
27 self.instream = instream
30 self.instream = sys.stdin
57 % (self.instream, self.lineno)
69 self.filestack.appendleft((self.infile, self.instream, self.lineno)
    [all...]
netrc.py 47 lexer.instream.seek(-pos, 1)
48 lexer.instream.readline()
59 line = lexer.instream.readline()
  /prebuilts/gdb/linux-x86/lib/python2.7/
shlex.py 23 def __init__(self, instream=None, infile=None, posix=False):
24 if isinstance(instream, basestring):
25 instream = StringIO(instream)
26 if instream is not None:
27 self.instream = instream
30 self.instream = sys.stdin
57 % (self.instream, self.lineno)
69 self.filestack.appendleft((self.infile, self.instream, self.lineno)
    [all...]
netrc.py 47 lexer.instream.seek(-pos, 1)
48 lexer.instream.readline()
59 line = lexer.instream.readline()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
shlex.py 23 def __init__(self, instream=None, infile=None, posix=False):
24 if isinstance(instream, basestring):
25 instream = StringIO(instream)
26 if instream is not None:
27 self.instream = instream
30 self.instream = sys.stdin
57 % (self.instream, self.lineno)
69 self.filestack.appendleft((self.infile, self.instream, self.lineno)
    [all...]
netrc.py 47 lexer.instream.seek(-pos, 1)
48 lexer.instream.readline()
59 line = lexer.instream.readline()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
shlex.py 23 def __init__(self, instream=None, infile=None, posix=False):
24 if isinstance(instream, basestring):
25 instream = StringIO(instream)
26 if instream is not None:
27 self.instream = instream
30 self.instream = sys.stdin
57 % (self.instream, self.lineno)
69 self.filestack.appendleft((self.infile, self.instream, self.lineno)
    [all...]
netrc.py 47 lexer.instream.seek(-pos, 1)
48 lexer.instream.readline()
59 line = lexer.instream.readline()
  /external/apache-http/src/org/apache/http/util/
EntityUtils.java 69 InputStream instream = entity.getContent(); local
70 if (instream == null) {
84 while((l = instream.read(tmp)) != -1) {
88 instream.close();
117 InputStream instream = entity.getContent(); local
118 if (instream == null) {
135 Reader reader = new InputStreamReader(instream, charset);
  /external/apache-http/src/org/apache/http/impl/conn/
Wire.java 58 private void wire(String header, InputStream instream)
62 while ((ch = instream.read()) != -1) {
100 public void input(InputStream instream)
102 if (instream == null) {
105 wire("<< ", instream);
  /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
jsmin_2_0_9.py 68 def __init__(self, instream=None, outstream=None):
69 self.ins = instream
72 def minify(self, instream=None, outstream=None):
73 if instream and outstream:
74 self.ins, self.outs = instream, outstream
  /external/apache-http/android/src/com/android/internal/http/multipart/
FilePart.java 221 InputStream instream = source.createInputStream(); local
224 while ((len = instream.read(tmp)) >= 0) {
229 instream.close();
  /development/samples/BackupRestore/src/com/example/android/backuprestore/
MultiRecordExampleAgent.java 87 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); local
88 DataInputStream in = new DataInputStream(instream);
175 ByteArrayInputStream instream = new ByteArrayInputStream(dataBuf); local
176 DataInputStream in = new DataInputStream(instream);
ExampleAgent.java 146 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); local
147 DataInputStream in = new DataInputStream(instream);
  /external/apache-http/src/org/apache/http/impl/io/
AbstractSessionInputBuffer.java 60 private InputStream instream; field in class:AbstractSessionInputBuffer
73 protected void init(final InputStream instream, int buffersize, final HttpParams params) {
74 if (instream == null) {
83 this.instream = instream;
108 l = this.instream.read(this.buffer, off, len);

Completed in 4524 milliseconds

1 2 3 4 5 6