Home
last modified time | relevance | path

Searched refs:inputStream (Results 1 – 25 of 247) sorted by relevance

12345678910

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DANTLRxxxxStreamFixture.cs78 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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DDnaBlockData.java64 …public DnaBlockData(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderF… in DnaBlockData() argument
68 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16 in DnaBlockData()
69 | inputStream.readByte() << 8 | inputStream.readByte(); in DnaBlockData()
76 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16 in DnaBlockData()
77 | inputStream.readByte() << 8 | inputStream.readByte(); in DnaBlockData()
81 int amount = inputStream.readInt(); in DnaBlockData()
87 names[i] = inputStream.readString(); in DnaBlockData()
91 inputStream.alignPosition(4); in DnaBlockData()
92 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16 in DnaBlockData()
93 | inputStream.readByte() << 8 | inputStream.readByte(); in DnaBlockData()
[all …]
DFileBlockHeader.java86 …public FileBlockHeader(BlenderInputStream inputStream, BlenderContext blenderContext) throws Blend… in FileBlockHeader() argument
87 inputStream.alignPosition(4); in FileBlockHeader()
88 code = inputStream.readByte() << 24 | inputStream.readByte() << 16 in FileBlockHeader()
89 | inputStream.readByte() << 8 | inputStream.readByte(); in FileBlockHeader()
90 size = inputStream.readInt(); in FileBlockHeader()
91 oldMemoryAddress = inputStream.readPointer(); in FileBlockHeader()
92 sdnaIndex = inputStream.readInt(); in FileBlockHeader()
93 count = inputStream.readInt(); in FileBlockHeader()
94 blockPosition = inputStream.getPosition(); in FileBlockHeader()
96 blenderContext.setBlockData(new DnaBlockData(inputStream, blenderContext)); in FileBlockHeader()
[all …]
DPointer.java75 public void fill(BlenderInputStream inputStream) { in fill() argument
76 oldMemoryAddress = inputStream.readPointer(); in fill()
87 public List<Structure> fetchData(BlenderInputStream inputStream) throws BlenderFileException { in fetchData() argument
94 …int pointersAmount = dataFileBlock.getSize() / inputStream.getPointerSize() * dataFileBlock.getCou… in fetchData()
96inputStream.setPosition(dataFileBlock.getBlockPosition() + inputStream.getPointerSize() * i); in fetchData()
97 long oldMemoryAddress = inputStream.readPointer(); in fetchData()
102 structures = p.fetchData(inputStream); in fetchData()
104 structures.addAll(p.fetchData(inputStream)); in fetchData()
109 inputStream.setPosition(dataFileBlock.getBlockPosition()); in fetchData()
113 structure.fill(inputStream); in fetchData()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DImageLoader.java64 public Image loadImage(BlenderInputStream inputStream, int startPosition, boolean flipY) { in loadImage() argument
66 inputStream.setPosition(startPosition); in loadImage()
67 Image result = this.loadImage(inputStream, ImageType.AWT, flipY); in loadImage()
70 inputStream.setPosition(startPosition); in loadImage()
71 result = this.loadImage(inputStream, ImageType.TGA, flipY); in loadImage()
75 inputStream.setPosition(startPosition); in loadImage()
76 result = this.loadImage(inputStream, ImageType.DDS, flipY); in loadImage()
97 public Image loadImage(InputStream inputStream, ImageType imageType, boolean flipY) { in loadImage() argument
102 result = this.load(inputStream, flipY); in loadImage()
109 result = ddsLoader.load(inputStream); in loadImage()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/
DYamlBase64Test.java61 InputStream inputStream = YamlBase64Test.class in testYamlBase64Loading() local
63 Map<String, Object> bean = (Map<String, Object>) yaml.load(inputStream); in testYamlBase64Loading()
66 inputStream.close(); in testYamlBase64Loading()
93 InputStream inputStream = YamlBase64Test.class in testYamlBase64LoadingLiteral() local
96 yaml.load(inputStream); in testYamlBase64LoadingLiteral()
102 inputStream.close(); in testYamlBase64LoadingLiteral()
113 InputStream inputStream = YamlBase64Test.class in testRedefineBinaryTag() local
115 Map<String, Object> bean = (Map<String, Object>) yaml.load(inputStream); in testRedefineBinaryTag()
118 inputStream.close(); in testRedefineBinaryTag()
143 InputStream inputStream = YamlBase64Test.class in testLocalBinaryTag() local
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DAACTrackImpl.java76 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 …]
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/socket/
DStubSocket.java36 private InputStream inputStream; field in StubSocket
44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
45 this(null, inputStream, outputStream); in StubSocket()
54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument
56 this.inputStream = inputStream; in StubSocket()
83 return inputStream; in getInputStream()

12345678910