Home
last modified time | relevance | path

Searched refs:instream (Results 1 – 20 of 20) 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/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/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/bench/
Djsmin.py83 c = self.instream.read(1)
213 def minify(self, instream, outstream): argument
214 self.instream = instream
221 self.instream.close()
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
/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/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/robolectric/lib/main/
Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-commons-net.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/google-breakpad/src/third_party/curl/
Dcurl.h207 typedef int (*curl_seek_callback)(void *instream,
221 void *instream);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.httpclient_3.1.0.v201005080502.jar ... java.io.IOException java.io.InputStream inStream byte[] buffer static java.lang.Class ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...