/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
PositionInputStream.java | 23 import java.io.InputStream;
26 public class PositionInputStream extends InputStream {
28 private final InputStream inputStream;
32 public PositionInputStream(InputStream inputStream) {
33 this.inputStream = inputStream;
41 return inputStream.available();
45 int b = inputStream.read(); [all...] |
PartialInputStream.java | 23 import java.io.InputStream;
29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException {
30 super(inputStream);
31 inputStream.skip(offset);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
DnaBlockData.java | 57 * @param inputStream
64 public DnaBlockData(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException {
68 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16
69 | inputStream.readByte() << 8 | inputStream.readByte();
76 identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16
77 | inputStream.readByte() << 8 | inputStream.readByte(); [all...] |
FileBlockHeader.java | 79 * @param inputStream
86 public FileBlockHeader(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException {
87 inputStream.alignPosition(4);
88 code = inputStream.readByte() << 24 | inputStream.readByte() << 16
89 | inputStream.readByte() << 8 | inputStream.readByte();
90 size = inputStream.readInt();
91 oldMemoryAddress = inputStream.readPointer();
92 sdnaIndex = inputStream.readInt(); [all...] |
Pointer.java | 72 * @param inputStream
75 public void fill(BlenderInputStream inputStream) {
76 oldMemoryAddress = inputStream.readPointer();
81 * @param inputStream
87 public List<Structure> fetchData(BlenderInputStream inputStream) throws BlenderFileException {
94 int pointersAmount = dataFileBlock.getSize() / inputStream.getPointerSize() * dataFileBlock.getCount();
96 inputStream.setPosition(dataFileBlock.getBlockPosition() + inputStream.getPointerSize() * i);
97 long oldMemoryAddress = inputStream.readPointer();
102 structures = p.fetchData(inputStream);
[all...] |
BlenderInputStream.java | 39 import java.io.InputStream;
47 public class BlenderInputStream extends InputStream {
71 protected InputStream inputStream;
75 * @param inputStream
82 public BlenderInputStream(InputStream inputStream, AssetManager assetManager) throws BlenderFileException {
84 this.inputStream = inputStream;
87 size = inputStream.available(); [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_seek_synch.cpp | 140 pVars->inputStream.pBuffer = pExt->pInputBuffer; 141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits 144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits 146 err = pvmp3_header_sync(&pVars->inputStream); 153 uint32 temp = getNbits(&pVars->inputStream, 21); 155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH; 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) 202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3; 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3) [all...] |
pvmp3_decode_header.h | 89 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream,
|
pvmp3_get_side_info.h | 89 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream,
|
pvmp3_seek_synch.h | 94 ERROR_CODE pvmp3_header_sync(tmp3Bits *inputStream);
|
pvmp3_decode_header.cpp | 38 tbits *inputStream, bit stream 115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, 128 if (inputStream->inputBufferCurrentLength < ((SYNC_WORD_LNGTH + 21) >> 3)) 136 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH); 139 err = pvmp3_header_sync(inputStream); 147 temp = getNbits(inputStream, 21); // to avoid multiple bitstream accesses
|
pvmp3_crc.cpp | 44 tbits *inputStream, bit stream structure 123 uint32 getbits_crc(tmp3Bits *inputStream, /* bit stream structure */ 128 uint32 bits = getNbits(inputStream, neededBits);
|
/external/proguard/src/proguard/io/ |
FileDataEntry.java | 36 private InputStream inputStream; 66 public InputStream getInputStream() throws IOException 68 if (inputStream == null) 70 inputStream = new BufferedInputStream(new FileInputStream(file)); 73 return inputStream; 79 inputStream.close(); 80 inputStream = null;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
HprofBinaryToAscii.java | 26 import java.io.InputStream; 89 DataInputStream inputStream = null; 91 inputStream = new DataInputStream(new BufferedInputStream(new FileInputStream(file))); 92 return BinaryHprof.readMagic(inputStream) != null; 96 closeQuietly(inputStream); 104 InputStream inputStream = null; 106 inputStream = new BufferedInputStream(new FileInputStream(file)); 107 return read(inputStream); 109 closeQuietly(inputStream); [all...] |
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
StreamSource.java | 23 import java.io.InputStream; 31 * <p><em>Note:</em> Due to their internal use of either a {@link Reader} or {@link InputStream} instance, 49 * {@link #setInputStream(java.io.InputStream inputStream)} or 52 * create an empty source {@link java.io.InputStream} using 53 * {@link java.io.InputStream#InputStream() new InputStream()}.</p> 69 * @param inputStream A valid InputStream reference to an XML stream [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ANTLRxxxxStreamFixture.cs | 78 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); 79 Assert.AreEqual(0, inputStream.Count); 89 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); 100 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); 101 Assert.AreEqual(0, inputStream.Index); 103 inputStream.Consume(); 104 Assert.AreEqual(1, inputStream.Index); 106 inputStream.Consume(); 107 Assert.AreEqual(2, inputStream.Index) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
ImageLoader.java | 39 import java.io.InputStream; 56 * @param inputStream 64 public Image loadImage(BlenderInputStream inputStream, int startPosition, boolean flipY) { 66 inputStream.setPosition(startPosition); 67 Image result = this.loadImage(inputStream, ImageType.AWT, flipY); 70 inputStream.setPosition(startPosition); 71 result = this.loadImage(inputStream, ImageType.TGA, flipY); 75 inputStream.setPosition(startPosition); 76 result = this.loadImage(inputStream, ImageType.DDS, flipY); 89 * @param inputStream [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLScriptRunnerHost.h | 47 virtual HTMLInputStream& inputStream() = 0;
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
IncomingFileTransfer.java | 37 * method and then returns the <b><i>InputStream</b></i> to read the file
51 private InputStream inputStream;
63 * @return The negotiated InputStream from which to read the data.
67 public InputStream recieveFile() throws XMPPException {
68 if (inputStream != null) {
73 inputStream = negotiateStream();
80 return inputStream;
124 inputStream = negotiateStream();
135 writeToStream(inputStream, outputStream); [all...] |
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/ |
AccessPrivateDataTest.java | 61 FileInputStream inputStream = new FileInputStream(privateFilePath); 62 inputStream.read(); 63 inputStream.close(); 91 DataInputStream inputStream = new DataInputStream(new FileInputStream(publicFilePath)); 92 int otherAppUid = (int)inputStream.readInt(); 93 inputStream.close();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
Strings.java | 4 import java.io.InputStream; 8 public static String fromStream(InputStream inputStream) throws IOException { 13 while ((inSize = inputStream.read(buffer)) > 0) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
ClassLoaderObjectInputStream.java | 20 import java.io.InputStream;
44 * @param inputStream the InputStream to work on
49 ClassLoader classLoader, InputStream inputStream)
51 super(inputStream);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
AACTrackImpl.java | 28 import java.io.InputStream; 76 private BufferedInputStream inputStream; 83 public AACTrackImpl(InputStream inputStream, String lang) throws IOException { 85 parse(inputStream); 88 public AACTrackImpl(InputStream inputStream) throws IOException { 89 parse(inputStream); 92 private void parse(InputStream inputStream) throws IOException [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
Token.as | 59 function get inputStream():CharStream; 60 function set inputStream(input:CharStream):void;
|
/external/smack/src/org/jivesoftware/smack/compression/ |
XMPPInputOutputStream.java | 18 import java.io.InputStream; 30 public abstract InputStream getInputStream(InputStream inputStream) throws Exception;
|