/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 78 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestSizeOnEmptyANTLRInputStream() 79 Assert.AreEqual(0, inputStream.Count); in TestSizeOnEmptyANTLRInputStream() 89 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestSizeOnANTLRInputStream() 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); in TestSizeOnANTLRInputStream() 100 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestConsumeAndIndexOnANTLRInputStream() 101 Assert.AreEqual(0, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 103 inputStream.Consume(); in TestConsumeAndIndexOnANTLRInputStream() 104 Assert.AreEqual(1, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 106 inputStream.Consume(); in TestConsumeAndIndexOnANTLRInputStream() 107 Assert.AreEqual(2, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() [all …]
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
D | IncomingFileTransfer.java | 51 private InputStream inputStream; field in IncomingFileTransfer 68 if (inputStream != null) { in recieveFile() 73 inputStream = negotiateStream(); in recieveFile() 80 return inputStream; in recieveFile() 124 inputStream = negotiateStream(); in recieveFile() 135 writeToStream(inputStream, outputStream); in recieveFile() 151 if (inputStream != null) { in recieveFile() 153 inputStream.close(); in recieveFile() 191 InputStream inputStream; in negotiateStream() local 193 inputStream = streamNegotiatorTask.get(15, TimeUnit.SECONDS); in negotiateStream() [all …]
|
D | OutgoingFileTransfer.java | 230 InputStream inputStream = null; in sendFile() 232 inputStream = new FileInputStream(file); in sendFile() 233 writeToStream(inputStream, outputStream); in sendFile() 243 if (inputStream != null) { in sendFile() 244 inputStream.close(); in sendFile()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | AACTrackImpl.java | 76 private BufferedInputStream inputStream; field in AACTrackImpl 83 public AACTrackImpl(InputStream inputStream, String lang) throws IOException { in AACTrackImpl() argument 85 parse(inputStream); in AACTrackImpl() 88 public AACTrackImpl(InputStream inputStream) throws IOException { in AACTrackImpl() argument 89 parse(inputStream); in AACTrackImpl() 92 private void parse(InputStream inputStream) throws IOException { in parse() argument 93 this.inputStream = new BufferedInputStream(inputStream); in parse() 217 inputStream.mark(100); in readVariables() 218 if (100 != inputStream.read(data, 0, 100)) { in readVariables() 221 inputStream.reset(); // Rewind in readVariables() [all …]
|
D | H264TrackImpl.java | 58 public H264TrackImpl(InputStream inputStream, String lang, long timescale) throws IOException { in H264TrackImpl() argument 67 parse(inputStream); in H264TrackImpl() 70 public H264TrackImpl(InputStream inputStream, String lang) throws IOException { in H264TrackImpl() argument 72 parse(inputStream); in H264TrackImpl() 75 public H264TrackImpl(InputStream inputStream) throws IOException { in H264TrackImpl() argument 76 parse(inputStream); in H264TrackImpl() 79 private void parse(InputStream inputStream) throws IOException { in parse() argument 80 this.reader = new ReaderWrapper(inputStream); in parse() 514 private InputStream inputStream; field in H264TrackImpl.ReaderWrapper 520 private ReaderWrapper(InputStream inputStream) { in ReaderWrapper() argument [all …]
|
D | AC3TrackImpl.java | 35 private InputStream inputStream; field in AC3TrackImpl 51 inputStream = fin; in parse() 133 inputStream.mark(100); in readVariables() 134 if (100 != inputStream.read(data, 0, 100)) { in readVariables() 137 inputStream.reset(); // Rewind in readVariables() 261 inputStream.mark(5); in readSamples() 262 while (-1 != inputStream.read(header)) { in readSamples() 266 inputStream.reset(); in readSamples() 268 inputStream.read(data); in readSamples() 271 inputStream.mark(5); in readSamples()
|
D | EC3TrackImpl.java | 35 private BufferedInputStream inputStream; field in EC3TrackImpl 50 inputStream = new BufferedInputStream(fin); in parse() 53 inputStream.mark(10000); in parse() 66 long skipped = inputStream.skip(bsi.frameSize); in parse() 71 inputStream.reset(); in parse() 171 inputStream.mark(200); in readVariables() 172 if (200 != inputStream.read(data, 0, 200)) { in readVariables() 175 inputStream.reset(); // Rewind in readVariables() 398 read = inputStream.read(data); in readSamples()
|
/external/proguard/src/proguard/io/ |
D | FileDataEntry.java | 36 private InputStream inputStream; field in FileDataEntry 68 if (inputStream == null) in getInputStream() 70 inputStream = new BufferedInputStream(new FileInputStream(file)); in getInputStream() 73 return inputStream; in getInputStream() 79 inputStream.close(); in closeInputStream() 80 inputStream = null; in closeInputStream()
|
D | DataEntryCopier.java | 65 InputStream inputStream = dataEntry.getInputStream(); in read() local 70 copyData(inputStream, outputStream); in read() 95 protected void copyData(InputStream inputStream, in copyData() argument 101 int count = inputStream.read(buffer); in copyData()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | MediaStoreThumbFetcher.java | 29 private InputStream inputStream; field in MediaStoreThumbFetcher 56 inputStream = fetcher.open(context, mediaStoreUri); in loadData() 59 if (inputStream != null) { in loadData() 60 return inputStream; in loadData() 68 if (inputStream != null) { in cleanup() 70 inputStream.close(); in cleanup() 132 InputStream inputStream = null; in open() local 151 inputStream = context.getContentResolver().openInputStream(thumbnailUri); in open() 153 return inputStream; in open()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | PipelinedMsgParser.java | 181 private String readLine(InputStream inputStream) throws IOException { in readLine() argument 185 int i = inputStream.read(); in readLine() 213 Pipeline inputStream = this.rawInputStream; in run() local 231 line1 = readLine(inputStream); in run() 255 line2 = readLine(inputStream); in run() 321 int readlength = inputStream.read(message_body, in run() 352 inputStream.close(); in run()
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/ |
D | InBandBytestreamSession.java | 67 private IBBInputStream inputStream; field in InBandBytestreamSession 99 this.inputStream = new IQIBBInputStream(); in InBandBytestreamSession() 103 this.inputStream = new MessageIBBInputStream(); in InBandBytestreamSession() 111 return this.inputStream; in getInputStream() 119 return this.inputStream.readTimeout; in getReadTimeout() 126 this.inputStream.readTimeout = timeout; in setReadTimeout() 168 this.inputStream.closeInternal(); in closeByPeer() 169 this.inputStream.cleanup(); in closeByPeer() 190 this.inputStream.closeInternal(); in closeByLocal() 195 this.inputStream.closeInternal(); in closeByLocal() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AssetManagerTest.java | 75 InputStream inputStream; in assetsInputStreams() local 78 inputStream = assetManager.open(testPath); in assetsInputStreams() 79 fileContents = Strings.fromStream(inputStream); in assetsInputStreams() 83 inputStream = assetManager.open(testPath); in assetsInputStreams() 84 fileContents = Strings.fromStream(inputStream); in assetsInputStreams()
|
D | BitmapFactoryTest.java | 49 …InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("… in decodeStream_shouldSetDescription() local 50 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in decodeStream_shouldSetDescription() 121 …InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("… in decodeStream_shouldGetWidthAndHeightFromHints() local 122 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in decodeStream_shouldGetWidthAndHeightFromHints()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpServerTest.java | 57 ByteArrayInputStream inputStream = new ByteArrayInputStream(request.getBytes()); in invokeServer() local 59 …NanoHTTPD.HTTPSession session = testServer.createSession(tempFileManager, inputStream, outputStrea… in invokeServer() 112 …public HTTPSession createSession(TempFileManager tempFileManager, InputStream inputStream, OutputS… in createSession() argument 113 return new HTTPSession(tempFileManager, inputStream, outputStream); in createSession() 116 …public HTTPSession createSession(TempFileManager tempFileManager, InputStream inputStream, OutputS… in createSession() argument 117 return new HTTPSession(tempFileManager, inputStream, outputStream, inetAddress); in createSession()
|
/external/chromium_org/third_party/libxml/src/ |
D | parserInternals.c | 1414 xmlParserInputPtr inputStream; in xmlNewIOInputStream() local 1419 inputStream = xmlNewInputStream(ctxt); in xmlNewIOInputStream() 1420 if (inputStream == NULL) { in xmlNewIOInputStream() 1423 inputStream->filename = NULL; in xmlNewIOInputStream() 1424 inputStream->buf = input; in xmlNewIOInputStream() 1425 inputStream->base = inputStream->buf->buffer->content; in xmlNewIOInputStream() 1426 inputStream->cur = inputStream->buf->buffer->content; in xmlNewIOInputStream() 1427 inputStream->end = &inputStream->base[inputStream->buf->buffer->use]; in xmlNewIOInputStream() 1432 return(inputStream); in xmlNewIOInputStream() 1541 xmlParserInputPtr inputStream; in xmlNewInputFromFile() local [all …]
|
/external/skia/tools/ |
D | gpuveto.cpp | 37 SkFILEStream inputStream(FLAGS_readFile[0]); in tool_main() local 38 if (!inputStream.isValid()) { in tool_main() 47 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc)); in tool_main()
|
/external/chromium_org/third_party/skia/tools/ |
D | gpuveto.cpp | 37 SkFILEStream inputStream(FLAGS_readFile[0]); in tool_main() local 38 if (!inputStream.isValid()) { in tool_main() 47 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc)); in tool_main()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowDrawable.java | 34 private InputStream inputStream; field in ShadowDrawable 132 return inputStream; in getInputStream() 135 public void setInputStream(InputStream inputStream) { in setInputStream() argument 136 this.inputStream = inputStream; in setInputStream()
|
/external/libxml2/ |
D | parserInternals.c | 1377 xmlParserInputPtr inputStream; in xmlNewIOInputStream() local 1382 inputStream = xmlNewInputStream(ctxt); in xmlNewIOInputStream() 1383 if (inputStream == NULL) { in xmlNewIOInputStream() 1386 inputStream->filename = NULL; in xmlNewIOInputStream() 1387 inputStream->buf = input; in xmlNewIOInputStream() 1388 xmlBufResetInput(inputStream->buf->buffer, inputStream); in xmlNewIOInputStream() 1394 return(inputStream); in xmlNewIOInputStream() 1503 xmlParserInputPtr inputStream; in xmlNewInputFromFile() local 1523 inputStream = xmlNewInputStream(ctxt); in xmlNewInputFromFile() 1524 if (inputStream == NULL) in xmlNewInputFromFile() [all …]
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | DefaultVideoPosterRequestHandler.java | 30 final PipedInputStream inputStream = new PipedInputStream(); in getInputStream() local 31 final PipedOutputStream outputStream = new PipedOutputStream(inputStream); in getInputStream() 60 return inputStream; in getInputStream()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
D | DesignerPlugin.java | 96 public static String readFile(InputStream inputStream, Charset charset) { in readFile() argument 97 if (inputStream == null) { in readFile() 100 Closeable closeMe = inputStream; in readFile() 102 final InputStreamReader isr = new InputStreamReader(inputStream, charset); in readFile()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
D | Strings.java | 8 public static String fromStream(InputStream inputStream) throws IOException { in fromStream() argument 13 while ((inSize = inputStream.read(buffer)) > 0) { in fromStream()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/ |
D | DexFileFactory.java | 95 InputStream inputStream = new BufferedInputStream(new FileInputStream(dexFile)); in loadDexFile() local 98 return DexBackedDexFile.fromInputStream(opcodes, inputStream); in loadDexFile() 106 return DexBackedOdexFile.fromInputStream(opcodes, inputStream); in loadDexFile()
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 165 final InputStream inputStream = finalAccept.getInputStream(); in start() 173 …HTTPSession session = new HTTPSession(tempFileManager, inputStream, outputStream, finalAccept.getI… in start() 185 safeClose(inputStream); in start() 850 private PushbackInputStream inputStream; field in NanoHTTPD.HTTPSession 860 …public HTTPSession(TempFileManager tempFileManager, InputStream inputStream, OutputStream outputSt… in HTTPSession() argument 862 this.inputStream = new PushbackInputStream(inputStream, BUFSIZE); in HTTPSession() 866 …public HTTPSession(TempFileManager tempFileManager, InputStream inputStream, OutputStream outputSt… in HTTPSession() argument 868 this.inputStream = new PushbackInputStream(inputStream, BUFSIZE); in HTTPSession() 890 read = inputStream.read(buf, 0, BUFSIZE); in execute() 892 safeClose(inputStream); in execute() [all …]
|