/external/python/cpython2/Lib/ |
D | shlex.py | 23 def __init__(self, instream=None, infile=None, posix=False): argument 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)) 71 self.instream = newstream 77 print 'shlex: pushing to stream %s' % (self.instream,) [all …]
|
D | netrc.py | 50 lexer.instream.seek(-pos, 1) 51 lexer.instream.readline() 62 line = lexer.instream.readline()
|
/external/python/cpython3/Lib/ |
D | shlex.py | 21 def __init__(self, instream=None, infile=None, posix=False, argument 23 if isinstance(instream, str): 24 instream = StringIO(instream) 25 if instream is not None: 26 self.instream = instream 29 self.instream = sys.stdin 82 self.filestack.appendleft((self.infile, self.instream, self.lineno)) 84 self.instream = newstream 90 print('shlex: pushing to stream %s' % (self.instream,)) 94 self.instream.close() [all …]
|
D | netrc.py | 44 lexer.instream.readline() 55 line = lexer.instream.readline()
|
/external/apache-http/src/org/apache/http/entity/ |
D | InputStreamEntity.java | 60 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()
|
D | BasicHttpEntity.java | 121 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()
|
D | FileEntity.java | 83 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/ |
D | AbstractTestHttpServer.java | 47 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/ |
D | EntityUtils.java | 69 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/ |
D | Wire.java | 58 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/ |
D | AbstractSessionInputBuffer.java | 60 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/common/py_vulcanize/third_party/rjsmin/bench/ |
D | jsmin_2_0_9.py | 68 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
|
D | jsmin.py | 83 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/ |
D | FilePart.java | 221 InputStream instream = source.createInputStream(); in sendData() local 224 while ((len = instream.read(tmp)) >= 0) { in sendData() 229 instream.close(); in sendData()
|
/external/python/dateutil/dateutil/parser/ |
D | _parser.py | 62 def __init__(self, instream): argument 66 if isinstance(instream, (bytes, bytearray)): 67 instream = instream.decode() 69 if getattr(instream, 'decode', None) is not None: 70 instream = instream.decode() 72 if isinstance(instream, text_type): 73 instream = StringIO(instream) 74 elif getattr(instream, 'read', None) is None: 76 '{itype}'.format(itype=instream.__class__.__name__)) 78 self.instream = instream [all …]
|
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/ |
D | TestNanolets.java | 300 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/curl/lib/ |
D | mime.c | 59 void *instream, bool *hasread); 642 void *instream) in mime_mem_read() argument 644 curl_mimepart *part = (curl_mimepart *) instream; in mime_mem_read() 660 static int mime_mem_seek(void *instream, curl_off_t offset, int whence) in mime_mem_seek() argument 662 curl_mimepart *part = (curl_mimepart *) instream; in mime_mem_seek() 699 void *instream) in mime_file_read() argument 701 curl_mimepart *part = (curl_mimepart *) instream; in mime_file_read() 712 static int mime_file_seek(void *instream, curl_off_t offset, int whence) in mime_file_seek() argument 714 curl_mimepart *part = (curl_mimepart *) instream; in mime_file_seek() 1005 void *instream, bool *hasread) in mime_subparts_read() argument [all …]
|
D | mime.h | 151 void *instream);
|
/external/curl/src/ |
D | tool_formparse.h | 61 int tool_mime_stdin_seek(void *instream, curl_off_t offset, int whence);
|
D | tool_formparse.c | 219 int tool_mime_stdin_seek(void *instream, curl_off_t offset, int whence) in tool_mime_stdin_seek() argument 221 struct tool_mime *sip = (struct tool_mime *) instream; in tool_mime_stdin_seek()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 403 …<name>(InputType* instream<recognizer.grammar.delegators:{g|, <g.recognizerName>* <g:delegateName(… 404 …<name>(InputType* instream, RecognizerSharedStateType* state<recognizer.grammar.delegators:{g|, <g… 406 …void init(InputType* instream <recognizer.grammar.delegators:{g|, <g.recognizerName>* <g:delegateN… 622 * \param[in] instream Pointer to an initialized input stream 627 <name>::<name>(StreamType* instream<grammar.delegators:{g|, <g.recognizerName>* <g:delegateName()>}… 628 :<name>ImplTraits::BaseLexerType(ANTLR_SIZE_HINT, instream, NULL) 632 this->init(instream <grammar.delegators:{g|, <g:delegateName()>}>); 637 * \param[in] instream Pointer to an initialized input stream 643 <name>::<name>(StreamType* instream, RecognizerSharedStateType* state<grammar.delegators:{g|, <g.re… 644 :<name>ImplTraits::BaseLexerType(ANTLR_SIZE_HINT, instream, state) [all …]
|
/external/curl/tests/libtest/ |
D | mk-lib1521.pl | 98 void *instream)
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | CodeMangler.java | 360 InputStream instream = new FileInputStream(infile); in processFile() local 362 BufferedReader reader = new BufferedReader(new InputStreamReader(instream)); in processFile() 583 instream.close(); in processFile()
|
/external/python/cpython2/Doc/library/ |
D | shlex.rst | 52 .. class:: shlex([instream[, infile[, posix]]]) 61 attribute. If the *instream* argument is omitted or equal to ``sys.stdin``, 223 .. attribute:: shlex.instream
|
/external/antlr/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 …]
|