/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CertFactoryImplTest.java | 47 * engineGenerateCertificate(InputStream inStream) method testing. 84 * engineGenerateCertificates(InputStream inStream) method testing. 104 * engineGenerateCRL(InputStream inStream) method testing. 142 * engineGenerateCRLs(InputStream inStream) method testing. 162 * engineGenerateCertPath(InputStream inStream) method testing. 179 * engineGenerateCertPath(InputStream inStream, String encoding) method
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/shader/plugins/ |
GLSLLoader.java | 41 import java.io.InputStream; 80 private class GlslDependKey extends AssetKey<InputStream> { 90 private DependencyNode loadNode(InputStream in, String nodeName) throws IOException{ 114 InputStream stream = (InputStream) owner.loadAsset(key); 201 // and needs data as 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);
|
/external/sfntly/cpp/src/sfntly/ |
font_factory.cc | 41 void FontFactory::LoadFonts(InputStream* is, FontArray* output) { 69 void FontFactory::LoadFontsForBuilding(InputStream* is, 111 CALLER_ATTACH Font* FontFactory::LoadSingleOTF(InputStream* is) { 123 void FontFactory::LoadCollection(InputStream* is, FontArray* output) { 149 Font::Builder* FontFactory::LoadSingleOTFForBuilding(InputStream* is) { 166 void FontFactory::LoadCollectionForBuilding(InputStream* is,
|
font_factory.h | 50 void LoadFonts(InputStream* is, FontArray* output); 67 void LoadFontsForBuilding(InputStream* is, FontBuilderArray* output); 115 CALLER_ATTACH Font* LoadSingleOTF(InputStream* is); 118 void LoadCollection(InputStream* is, FontArray* output); 121 CALLER_ATTACH Font::Builder* LoadSingleOTFForBuilding(InputStream* is); 126 void LoadCollectionForBuilding(InputStream* is, FontBuilderArray* builders);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 20 import java.io.InputStream; 136 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException { 175 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException { 217 private static CertPath fromEncoding(InputStream inStream, Encoding encoding) 229 public static CertPath fromEncoding(InputStream inStream, String encoding) 243 public static CertPath fromEncoding(InputStream inStream) throws CertificateException {
|
/libcore/luni/src/main/java/java/util/zip/ |
GZIPInputStream.java | 22 import java.io.InputStream; 37 * InputStream is = ... 76 * the {@code InputStream} to read data from. 80 public GZIPInputStream(InputStream is) throws IOException { 89 * the {@code InputStream} to read data from. 95 public GZIPInputStream(InputStream is, int size) throws IOException {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
TeeInputStream.java | 20 import java.io.InputStream;
24 * InputStream proxy that transparently writes a copy of all bytes read
52 * Creates a TeeInputStream that proxies the given {@link InputStream}
59 public TeeInputStream(InputStream input, OutputStream branch) {
64 * Creates a TeeInputStream that proxies the given {@link InputStream}
75 InputStream input, OutputStream branch, boolean closeBranch) {
|
CountingInputStream.java | 20 import java.io.InputStream;
40 * @param in the InputStream to delegate to
42 public CountingInputStream(InputStream in) {
54 * @see java.io.InputStream#read(byte[])
71 * @see java.io.InputStream#read(byte[], int, int)
85 * @see java.io.InputStream#read()
100 * @see java.io.InputStream#skip(long)
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
AC3TrackImpl.java | 10 import java.io.InputStream; 35 private InputStream inputStream; 41 public AC3TrackImpl(InputStream fin, String lang) throws IOException { 46 public AC3TrackImpl(InputStream fin) throws IOException { 50 private void parse(InputStream fin) throws IOException { 51 inputStream = fin; 133 inputStream.mark(100); 134 if (100 != inputStream.read(data, 0, 100)) { 137 inputStream.reset(); // Rewin [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
SAXParser.java | 24 import java.io.InputStream; 109 * <p>Parse the content of the given {@link java.io.InputStream} 114 * @param is InputStream containing the content to be parsed. 117 * @throws IllegalArgumentException If the given InputStream is null. 120 * <code>InputStream</code>. 124 public void parse(InputStream is, HandlerBase hb) 127 throw new IllegalArgumentException("InputStream cannot be null"); 135 * <p>Parse the content of the given {@link java.io.InputStream} 140 * @param is InputStream containing the content to be parsed. 144 * @throws IllegalArgumentException If the given <code>InputStream</code> i [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
EndianUtils.java | 21 import java.io.InputStream;
292 * Reads a "short" value from an InputStream. The value is
294 * @param input source InputStream
298 public static short readSwappedShort(InputStream input)
306 * Reads a unsigned short (16-bit) from an InputStream. The value is
308 * @param input source InputStream
312 public static int readSwappedUnsignedShort(InputStream input)
339 * Reads a "int" value from an InputStream. The value is
341 * @param input source InputStream
345 public static int readSwappedInteger(InputStream input) [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 38 import java.io.InputStream; 268 InputStream inputStream = null; 271 inputStream = entity.getContent(); 274 copy(inputStream, outputStream); 280 // FIXME : Should use BitmapFactory.decodeStream(inputStream) instead. 281 //final Bitmap bitmap = BitmapFactory.decodeStream(inputStream); 286 if (inputStream != null) { 287 inputStream.close(); 338 public void copy(InputStream in, OutputStream out) throws IOException [all...] |
/external/chromium_org/android_webview/native/ |
android_protocol_handler.cc | 26 using android_webview::InputStream; 63 virtual scoped_ptr<InputStream> OpenInputStream( 72 InputStream* stream, 77 InputStream* stream, 134 scoped_ptr<InputStream> 152 return scoped_ptr<InputStream>(); 154 return make_scoped_ptr<InputStream>(new InputStreamImpl(stream)); 168 android_webview::InputStream* stream, 195 android_webview::InputStream* stream, 212 // unable to open the InputStream for that request the request is marked a [all...] |
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 41 public InputStream openClassfile(String classname) { 93 public InputStream openClassfile(String classname) throws NotFoundException { 96 InputStream is = jars[i].openClassfile(classname); 137 public InputStream openClassfile(String classname) 285 InputStream fin = openClassfile(classname); 307 InputStream fin = openClassfile(classname); 324 InputStream openClassfile(String classname) 331 InputStream ins = null; 384 public static byte[] readStream(InputStream fin) throws IOException { 419 public static void copyStream(InputStream fin, OutputStream fout [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPMetaFactory.java | 12 import java.io.InputStream; 24 * Creates <code>XMPMeta</code>-instances from an <code>InputStream</code> 64 * @see XMPMetaFactory#parse(InputStream, ParseOptions) 66 * @param in an <code>InputStream</code> 70 public static XMPMeta parse(InputStream in) throws XMPException 82 * <code>parseFromBuffer()</code> parses RDF from an <code>InputStream</code>. The encoding 85 * @param in an <code>InputStream</code> 97 public static XMPMeta parse(InputStream in, ParseOptions options) 106 * @see XMPMetaFactory#parse(InputStream) 150 * @see XMPMetaFactory#parse(InputStream, ParseOptions [all...] |
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
DocumentBuilderTest.java | 41 import java.io.InputStream; 292 * javax.xml.parsers.DocumentBuilder#parse(java.io.InputStream) 299 InputStream is = getClass().getResourceAsStream("/simple.xml"); 319 db.parse((InputStream)null); 352 * javax.xml.parsers.DocumentBuilder#parse(java.io.InputStream) 359 InputStream stream = getClass().getResourceAsStream("/simple.xml"); 414 * javax.xml.parsers.DocumentBuilder#parse(java.io.InputStream, 422 InputStream is = getClass().getResourceAsStream("/systemid.xml"); 446 db.parse((InputStream)null, SAXParserTestSupport.XML_SYSTEM_ID); 527 InputStream source = new ByteArrayInputStream("<a>&foo;</a>".getBytes()) [all...] |
/prebuilts/devtools/adt/lib/ |
sdktestutils.jar | |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
UsbAccessoryTestActivity.java | 48 import java.io.InputStream; 157 FileInputStream inputStream = new FileInputStream(fileDescriptor); 159 new MessageThread(inputStream, outputStream, mHandler).start(); 167 private final InputStream mInputStream; 175 MessageThread(InputStream inputStream, OutputStream outputStream, MessageHandler handler) { 176 this.mInputStream = inputStream;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ClassLoaderTest.java | 20 import java.io.InputStream; 171 java.io.InputStream is = null; 185 // Test for method java.io.InputStream 189 java.io.InputStream is = null; 206 java.io.InputStream is = cl.getResourceAsStream("hyts_Foo.c"); 229 InputStream in = this.getClass().getClassLoader().getResourceAsStream( 264 InputStream is = getResourceAsStream(path + "A.class");
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSUtils.java | 4 import java.io.InputStream; 61 InputStream input) 301 InputStream in) 308 InputStream in, 333 static InputStream attachDigestsToInputStream(Collection digests, InputStream s) 335 InputStream result = s;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
DesignerPlugin.java | 28 import java.io.InputStream; 92 * @param inputStream the input stream to be read from 96 public static String readFile(InputStream inputStream, Charset charset) { 97 if (inputStream == null) { 100 Closeable closeMe = inputStream; 102 final InputStreamReader isr = new InputStreamReader(inputStream, charset);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
MimeStreamParser.java | 26 import java.io.InputStream;
83 public void parse(InputStream is) throws IOException {
102 * {@link ContentHandler#raw(InputStream)} handler method only.
136 private void parseEntity(InputStream is) throws IOException {
195 private void parseMessage(InputStream is) throws IOException {
209 private void parseBodyPart(InputStream is) throws IOException {
226 private BodyDescriptor parseHeader(InputStream is) throws IOException {
|
/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...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
DiskBasedCache.java | 30 import java.io.InputStream; 313 * Reads the contents of an InputStream into a byte[]. 315 private static byte[] streamToBytes(InputStream in, int length) throws IOException { 373 * Reads the header off of an InputStream and returns a CacheHeader object. 374 * @param is The InputStream to read from. 377 public static CacheHeader readHeader(InputStream is) throws IOException { 436 private CountingInputStream(InputStream in) { 467 * Simple wrapper around {@link InputStream#read()} that throws EOFException 470 private static int read(InputStream is) throws IOException { 485 static int readInt(InputStream is) throws IOException [all...] |