Searched refs:instream (Results 1 – 8 of 8) sorted by relevance
/external/apache-http/src/org/apache/http/entity/ |
D | InputStreamEntity.java | 55 public InputStreamEntity(final InputStream instream, long length) { in InputStreamEntity() argument 57 if (instream == null) { in InputStreamEntity() 60 this.content = instream; in InputStreamEntity() 80 InputStream instream = this.content; in writeTo() local 85 while ((l = instream.read(buffer)) != -1) { in writeTo() 92 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in writeTo()
|
D | BasicHttpEntity.java | 116 public void setContent(final InputStream instream) { in setContent() argument 117 this.content = instream; in setContent() 126 InputStream instream = getContent(); in writeTo() local 129 while ((l = instream.read(tmp)) != -1) { in writeTo()
|
D | FileEntity.java | 78 InputStream instream = new FileInputStream(this.file); in writeTo() local 82 while ((l = instream.read(tmp)) != -1) { in writeTo() 87 instream.close(); in writeTo()
|
/external/apache-http/src/org/apache/http/util/ |
D | EntityUtils.java | 64 InputStream instream = entity.getContent(); in toByteArray() local 65 if (instream == null) { in toByteArray() 79 while((l = instream.read(tmp)) != -1) { in toByteArray() 83 instream.close(); in toByteArray() 112 InputStream instream = entity.getContent(); in toString() local 113 if (instream == null) { in toString() 130 Reader reader = new InputStreamReader(instream, charset); in toString()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | Wire.java | 53 private void wire(String header, InputStream instream) in wire() argument 57 while ((ch = instream.read()) != -1) { in wire() 95 public void input(InputStream instream) in input() argument 97 if (instream == null) { in input() 100 wire("<< ", instream); in input()
|
/external/apache-http/src/org/apache/http/impl/io/ |
D | AbstractSessionInputBuffer.java | 55 private InputStream instream; field in AbstractSessionInputBuffer 68 protected void init(final InputStream instream, int buffersize, final HttpParams params) { in init() argument 69 if (instream == null) { in init() 78 this.instream = instream; in init() 103 l = this.instream.read(this.buffer, off, len); in fillBuffer()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 752 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 …]
|
D | AST.stg | 44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
|