HomeSort by relevance Sort by last modified time
    Searched refs:inputStream (Results 26 - 50 of 271) sorted by null

12 3 4 5 6 7 8 91011

  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_crc.h 84 uint32 getbits_crc(tmp3Bits *inputStream,
s_tmp3dec_file.h 96 tmp3Bits inputStream;
pvmp3_get_side_info.cpp 114 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream,
128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection);
134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection);
142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection);
153 si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection);
154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
195 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
207 tmp = getbits_crc(inputStream, 3, crc, info->error_protection);
216 si->main_data_begin = getbits_crc(inputStream, 8, crc, info->error_protection)
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetManagerTest.java 20 import java.io.InputStream;
51 InputStream inputStream = mAssets.open(fileName);
52 assertNotNull(inputStream);
54 assertContextEquals(expect, inputStream);
55 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER);
56 assertNotNull(inputStream);
57 assertContextEquals(expect, inputStream);
118 private void assertContextEquals(final String expect, final InputStream inputStream)
    [all...]
AssetFileDescriptor_AutoCloseOutputStreamTest.java 71 FileInputStream inputStream = mAssetFileDes.createInputStream();
73 assertEquals(FILE_DATA[i], inputStream.read());
76 assertEquals(FILE_DATA[i], inputStream.read());
78 assertEquals(FILE_END, inputStream.read());
  /libcore/benchmarks/src/benchmarks/
XmlParseBenchmark.java 43 ByteArrayInputStream inputStream;
59 inputStream = new ByteArrayInputStream(xmlBytes);
60 inputStream.mark(xmlBytes.length);
88 inputStream.reset();
90 saxParser.parse(inputStream, elementCounterSaxHandler);
107 inputStream.reset();
108 Document document = documentBuilder.parse(inputStream);
137 inputStream.reset();
139 xmlPullParser.setInput(inputStream, "UTF-8");
  /libcore/luni/src/main/java/java/nio/channels/
Channels.java 21 import java.io.InputStream;
55 * the channel to be wrapped by an InputStream.
56 * @return an InputStream that takes bytes from the given byte channel.
58 public static InputStream newInputStream(ReadableByteChannel channel) {
91 * @param inputStream
95 public static ReadableByteChannel newChannel(InputStream inputStream) {
96 return new InputStreamChannel(inputStream);
204 private static class ChannelInputStream extends InputStream {
288 private final InputStream inputStream
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
ByteUtils.java 37 import java.io.InputStream;
49 * Takes an InputStream and returns the complete byte content of it
51 * @param inputStream
58 public static byte[] getByteContent(InputStream inputStream)
67 while ((byteCount = inputStream.read(buffer)) > 0) {
111 * Read in a short from an InputStream
113 * @param inputStream
114 * The InputStream used to read the short
115 * @return A short, which is the next 2 bytes converted from the InputStream
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/audio/plugins/
WAVLoader.java 44 import java.io.InputStream;
126 private AudioData load(InputStream inputStream, boolean stream) throws IOException{
127 this.in = new LittleEndien(inputStream);
177 InputStream inputStream = null;
179 inputStream = info.openStream();
180 data = load(inputStream, ((AudioKey)info.getKey()).isStream());
182 inputStream = null;
186 if (inputStream != null)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarShareActionProviderActivity.java 33 import java.io.InputStream;
95 InputStream inputStream = null;
98 inputStream = getResources().openRawResource(R.raw.robot);
104 while ((length = inputStream.read(buffer)) > 0){
114 inputStream.close();
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
BlenderLoader.java 181 BlenderInputStream inputStream = new BlenderInputStream(assetInfo.openStream(), assetInfo.getManager());
187 blenderContext.setBlenderVersion(inputStream.getVersionNumber());
189 blenderContext.setInputStream(inputStream);
193 blenderContext.putHelper(ArmatureHelper.class, new ArmatureHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
194 blenderContext.putHelper(TextureHelper.class, new TextureHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
195 blenderContext.putHelper(MeshHelper.class, new MeshHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
196 blenderContext.putHelper(ObjectHelper.class, new ObjectHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
197 blenderContext.putHelper(CurvesHelper.class, new CurvesHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
198 blenderContext.putHelper(LightHelper.class, new LightHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
199 blenderContext.putHelper(CameraHelper.class, new CameraHelper(inputStream.getVersionNumber(), blenderKey.isFixUpAxis()));
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
Structure.java 79 * @param inputStream
90 public Structure(BlenderInputStream inputStream, String[] names, String[] types, BlenderContext blenderContext) throws BlenderFileException {
91 int nameIndex = inputStream.readShort();
94 int fieldsAmount = inputStream.readShort();
101 int typeIndex = inputStream.readShort();
102 nameIndex = inputStream.readShort();
111 * @param inputStream
117 public void fill(BlenderInputStream inputStream) throws BlenderFileException {
118 int position = inputStream.getPosition();
119 inputStream.setPosition(position - 8 - inputStream.getPointerSize())
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardParserTests.java 27 import java.io.InputStream;
93 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1);
103 parser.parse(inputStream);
106 inputStream.close();
111 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest);
131 parser.parse(inputStream);
134 inputStream.close();
139 * Tests if {@link VCardParser#parse(InputStream)} parses the whole vCard file an
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AssetManagerTest.java 13 import java.io.InputStream;
75 InputStream inputStream;
78 inputStream = assetManager.open(testPath);
79 fileContents = Strings.fromStream(inputStream);
83 inputStream = assetManager.open(testPath);
84 fileContents = Strings.fromStream(inputStream);
  /external/nist-sip/java/gov/nist/javax/sip/parser/
PipelinedMsgParser.java 181 private String readLine(InputStream inputStream) throws IOException {
185 int i = inputStream.read();
213 Pipeline inputStream = this.rawInputStream;
214 // inputStream = new MyFilterInputStream(this.rawInputStream);
231 line1 = readLine(inputStream);
255 line2 = readLine(inputStream);
321 int readlength = inputStream.read(message_body,
352 inputStream.close();
  /libcore/luni/src/main/java/java/sql/
PreparedStatement.java 20 import java.io.InputStream;
147 * {@code InputStream}, which has a specified number of bytes.
151 * InputStream} until end-of-file is reached or the specified number of
158 * the ASCII {@code InputStream} carrying the data to which the
161 * the number of bytes in the {@code InputStream} to copy to the
166 public void setAsciiStream(int parameterIndex, InputStream theInputStream,
188 * binary {@code InputStream}, which has a specified number of bytes.
197 * the binary {@code InputStream} carrying the data to update the
200 * the number of bytes in the {@code InputStream} to copy to the
205 public void setBinaryStream(int parameterIndex, InputStream theInputStream
    [all...]
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DefaultVideoPosterRequestHandler.java 14 import java.io.InputStream;
28 private static InputStream getInputStream(final AwContentsClient contentClient)
30 final PipedInputStream inputStream = new PipedInputStream();
31 final PipedOutputStream outputStream = new PipedOutputStream(inputStream);
60 return inputStream;
  /external/proguard/src/proguard/io/
DataEntryCopier.java 65 InputStream inputStream = dataEntry.getInputStream();
68 copyData(inputStream, outputStream);
86 protected void copyData(InputStream inputStream,
92 int count = inputStream.read(buffer);
ClassReader.java 76 InputStream inputStream = dataEntry.getInputStream();
79 DataInputStream dataInputStream = new DataInputStream(inputStream);
DataEntryRewriter.java 53 protected void copyData(InputStream inputStream,
57 Reader reader = new BufferedReader(new InputStreamReader(inputStream));
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLInputStream.h 34 // The InputStream is made up of a sequence of SegmentedStrings:
40 // The current segmented string is stored in InputStream. Each of the
44 // We remove characters from the "current" string in the InputStream.
49 // The network adds data at the end of the InputStream, which appends
98 // We used to only have one SegmentedString in the InputStream
110 // the InputStream. Now that it's been merged into m_first,
129 explicit InsertionPointRecord(HTMLInputStream& inputStream)
130 : m_inputStream(&inputStream)
  /external/objenesis/tck/src/org/objenesis/tck/
CandidateLoader.java 19 import java.io.InputStream;
81 * @param inputStream Stream containing the properties
84 public void loadFrom(InputStream inputStream) throws IOException {
96 properties.load(inputStream);
107 InputStream candidatesConfig = cls.getResourceAsStream(resource);
  /external/smack/src/org/jivesoftware/smack/compression/
JzlibInputOutputStream.java 18 import java.io.InputStream;
55 public InputStream getInputStream(InputStream inputStream) throws SecurityException, NoSuchMethodException,
57 Constructor<?> constructor = ziClass.getConstructor(InputStream.class);
58 Object in = constructor.newInstance(inputStream);
62 return (InputStream) in;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/io/
GraphReader.java 25 import java.io.InputStream;
42 InputStream inputStream = context.getResources().openRawResource(resourceId);
43 InputStreamReader reader = new InputStreamReader(inputStream);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/
DexFile.java 288 InputStream inputStream = null;
308 inputStream = new BufferedInputStream(zipFile.getInputStream(zipEntry));
310 inputStream.mark(8);
312 magic[i] = (byte)inputStream.read();
314 inputStream.reset();
325 inputStream = new FileInputStream(file);
348 byte[] odexHeaderBytes = FileUtils.readStream(inputStream, 40);
358 FileUtils.readStream(inputStream, odexHeader.dexOffset - 40);
361 in = new ByteArrayInput(FileUtils.readStream(inputStream, odexHeader.dexLength))
    [all...]

Completed in 3621 milliseconds

12 3 4 5 6 7 8 91011