Home
last modified time | relevance | path

Searched refs:instream (Results 1 – 16 of 16) sorted by relevance

/external/apache-http/src/org/apache/http/entity/
DInputStreamEntity.java60 public InputStreamEntity(final InputStream instream, long length) { in InputStreamEntity() argument
62 if (instream == null) { in InputStreamEntity()
65 this.content = instream; in InputStreamEntity()
85 InputStream instream = this.content; in writeTo() local
90 while ((l = instream.read(buffer)) != -1) { in writeTo()
97 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in writeTo()
DBasicHttpEntity.java121 public void setContent(final InputStream instream) { in setContent() argument
122 this.content = instream; in setContent()
131 InputStream instream = getContent(); in writeTo() local
134 while ((l = instream.read(tmp)) != -1) { in writeTo()
DFileEntity.java83 InputStream instream = new FileInputStream(this.file); in writeTo() local
87 while ((l = instream.read(tmp)) != -1) { in writeTo()
92 instream.close(); in writeTo()
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
DAbstractTestHttpServer.java47 InputStream instream = entity.getContent(); in readContents() local
48 return readContents(instream); in readContents()
51 protected byte[] readContents(InputStream instream) throws IOException { in readContents() argument
57 while ((count = instream.read(buffer)) >= 0) { in readContents()
62 instream.close(); in readContents()
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java69 InputStream instream = entity.getContent(); in toByteArray() local
70 if (instream == null) { in toByteArray()
84 while((l = instream.read(tmp)) != -1) { in toByteArray()
88 instream.close(); in toByteArray()
117 InputStream instream = entity.getContent(); in toString() local
118 if (instream == null) { in toString()
135 Reader reader = new InputStreamReader(instream, charset); in toString()
/external/apache-http/src/org/apache/http/impl/conn/
DWire.java58 private void wire(String header, InputStream instream) in wire() argument
62 while ((ch = instream.read()) != -1) { in wire()
100 public void input(InputStream instream) in input() argument
102 if (instream == null) { in input()
105 wire("<< ", instream); in input()
/external/apache-http/src/org/apache/http/impl/io/
DAbstractSessionInputBuffer.java60 private InputStream instream; field in AbstractSessionInputBuffer
73 protected void init(final InputStream instream, int buffersize, final HttpParams params) { in init() argument
74 if (instream == null) { in init()
83 this.instream = instream; in init()
108 l = this.instream.read(this.buffer, off, len); in fillBuffer()
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
Djsmin_2_0_9.py68 def __init__(self, instream=None, outstream=None): argument
69 self.ins = instream
72 def minify(self, instream=None, outstream=None): argument
73 if instream and outstream:
74 self.ins, self.outs = instream, outstream
Djsmin.py83 c = self.instream.read(1)
213 def minify(self, instream, outstream): argument
214 self.instream = instream
221 self.instream.close()
/external/apache-http/android/src/com/android/internal/http/multipart/
DFilePart.java221 InputStream instream = source.createInputStream(); in sendData() local
224 while ((len = instream.read(tmp)) >= 0) { in sendData()
229 instream.close(); in sendData()
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
DTestNanolets.java300 InputStream instream = entity.getContent(); in readContents() local
301 return readContents(instream); in readContents()
304 private byte[] readContents(InputStream instream) throws IOException { in readContents() argument
311 while ((count = instream.read(buffer)) >= 0) { in readContents()
316 instream.close(); in readContents()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCodeMangler.java358 InputStream instream = new FileInputStream(infile); in processFile() local
360 BufferedReader reader = new BufferedReader(new InputStreamReader(instream)); in processFile()
581 instream.close(); in processFile()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg752 ANTLR3_API p<name> <name>New (<inputType()> instream<recognizer.grammar.delegators:{g|, p<g…
753 ANTLR3_API p<name> <name>NewSSD (<inputType()> instream, pANTLR3_RECOGNIZER_SHARED_STATE state…
939 * \param[in] instream Pointer to an initialized input stream
945 (<inputType()> instream<grammar.delegators:{g|, p<g.recognizerName> <g:delegateName()>}>)
949 return <name>NewSSD(instream, NULL<grammar.delegators:{g|, <g:delegateName()>}>);
954 * \param[in] instream Pointer to an initialized input stream
961 (pANTLR3_INPUT_STREAM instream, pANTLR3_RECOGNIZER_SHARED_STATE state<grammar.delegators:{g|, p<g.r…
986 ctx->pLexer = antlr3LexerNewStream(ANTLR3_SIZE_HINT, instream, state);
1026 …{g|ctx-><g:delegateName()> = <g.recognizerName>NewSSD(instream, ctx->pLexer->rec->state, ctx<gramm…
1246 * \param[in] instream Pointer to an input stream interface.
[all …]
DAST.stg44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
/external/google-breakpad/src/third_party/curl/
Dcurl.h207 typedef int (*curl_seek_callback)(void *instream,
221 void *instream);
/external/curl/include/curl/
Dcurl.h297 typedef int (*curl_seek_callback)(void *instream,
311 void *instream);