Home
last modified time | relevance | path

Searched refs:InputStream (Results 1 – 25 of 1062) sorted by relevance

12345678910>>...43

/external/messageformat/java/com/ibm/icu/impl/
DICUData.java12 import java.io.InputStream;
42 …private static InputStream getStream(final Class<?> root, final String resourceName, boolean requi… in getStream()
43 InputStream i = null; in getStream()
46 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
47 public InputStream run() { in getStream()
61 …private static InputStream getStream(final ClassLoader loader, final String resourceName, boolean … in getStream()
62 InputStream i = null; in getStream()
64 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
65 public InputStream run() { in getStream()
78 public static InputStream getStream(ClassLoader loader, String resourceName){ in getStream()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUData.java14 import java.io.InputStream;
106 …private static InputStream getStream(final Class<?> root, final String resourceName, boolean requi… in getStream()
107 InputStream i = null; in getStream()
109 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
110 public InputStream run() { in getStream()
128 …static InputStream getStream(final ClassLoader loader, final String resourceName, boolean required… in getStream()
129 InputStream i = null; in getStream()
131 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
132 public InputStream run() { in getStream()
147 private static void checkStreamForBinaryData(InputStream is, String resourceName) { in checkStreamForBinaryData()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUData.java13 import java.io.InputStream;
104 …private static InputStream getStream(final Class<?> root, final String resourceName, boolean requi… in getStream()
105 InputStream i = null; in getStream()
107 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
108 public InputStream run() { in getStream()
126 …static InputStream getStream(final ClassLoader loader, final String resourceName, boolean required… in getStream()
127 InputStream i = null; in getStream()
129 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
130 public InputStream run() { in getStream()
145 private static void checkStreamForBinaryData(InputStream is, String resourceName) { in checkStreamForBinaryData()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/
DGifTypeRequest.java10 import java.io.InputStream;
21 private final ModelLoader<ModelType, InputStream> streamModelLoader;
24 … private static <A, R> FixedLoadProvider<A, InputStream, GifDrawable, R> buildProvider(Glide glide, in buildProvider()
25 ModelLoader<A, InputStream> streamModelLoader, Class<R> transcodeClass, in buildProvider()
34 …DataLoadProvider<InputStream, GifDrawable> dataLoadProvider = glide.buildDataProvider(InputStream.… in buildProvider()
36 …return new FixedLoadProvider<A, InputStream, GifDrawable, R>(streamModelLoader, transcoder, dataLo… in buildProvider()
40 …ModelLoader<ModelType, InputStream> streamModelLoader, RequestManager.OptionsApplier optionsApplie… in GifTypeRequest()
61 public <R> GenericRequestBuilder<ModelType, InputStream, GifDrawable, R> transcode( in transcode()
63 …FixedLoadProvider<ModelType, InputStream, GifDrawable, R> provider = buildProvider(glide, streamMo… in transcode()
65 …return optionsApplier.apply(new GenericRequestBuilder<ModelType, InputStream, GifDrawable, R>(prov… in transcode()
[all …]
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLX509CertificateFactory.java20 import java.io.InputStream;
65 public T generateItem(InputStream inStream) throws ParsingException { in generateItem()
119 public Collection<? extends T> generateItems(InputStream inStream) in generateItems()
204 protected abstract T fromX509PemInputStream(InputStream pbis) throws ParsingException; in fromX509PemInputStream()
206 protected abstract T fromX509DerInputStream(InputStream pbis) throws ParsingException; in fromX509DerInputStream()
208 protected abstract List<? extends T> fromPkcs7PemInputStream(InputStream is) in fromPkcs7PemInputStream()
211 protected abstract List<? extends T> fromPkcs7DerInputStream(InputStream is) in fromPkcs7DerInputStream()
218 public OpenSSLX509Certificate fromX509PemInputStream(InputStream is)
224 public OpenSSLX509Certificate fromX509DerInputStream(InputStream is)
231 fromPkcs7PemInputStream(InputStream is) throws ParsingException {
[all …]
/external/guava/guava/src/com/google/common/io/
DByteSource.java33 import java.io.InputStream;
84 public abstract InputStream openStream() throws IOException; in openStream()
98 public InputStream openBufferedStream() throws IOException { in openBufferedStream()
99 InputStream in = openStream(); in openBufferedStream()
125 InputStream in = closer.register(openStream()); in isEmpty()
152 InputStream in = closer.register(openStream()); in size()
162 InputStream in = closer.register(openStream()); in size()
175 private long countBySkipping(InputStream in) throws IOException { in countBySkipping()
198 private long countByReading(InputStream in) throws IOException { in countByReading()
219 InputStream in = closer.register(openStream()); in copyTo()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DParser.java33 import java.io.InputStream;
194 public MessageType parseFrom(InputStream input) in parseFrom()
202 public MessageType parseFrom(InputStream input, in parseFrom()
211 public MessageType parsePartialFrom(InputStream input) in parsePartialFrom()
219 public MessageType parsePartialFrom(InputStream input, in parsePartialFrom()
234 public MessageType parseDelimitedFrom(InputStream input) in parseDelimitedFrom()
240 public MessageType parseDelimitedFrom(InputStream input, in parseDelimitedFrom()
249 public MessageType parsePartialDelimitedFrom(InputStream input) in parsePartialDelimitedFrom()
258 InputStream input, in parsePartialDelimitedFrom()
DAbstractParser.java36 import java.io.InputStream;
188 public MessageType parsePartialFrom(InputStream input, in parsePartialFrom()
201 public MessageType parsePartialFrom(InputStream input) in parsePartialFrom()
206 public MessageType parseFrom(InputStream input, in parseFrom()
213 public MessageType parseFrom(InputStream input) in parseFrom()
219 InputStream input, in parsePartialDelimitedFrom()
232 InputStream limitedInput = new LimitedInputStream(input, size); in parsePartialDelimitedFrom()
236 public MessageType parsePartialDelimitedFrom(InputStream input) in parsePartialDelimitedFrom()
242 InputStream input, in parseDelimitedFrom()
249 public MessageType parseDelimitedFrom(InputStream input) in parseDelimitedFrom()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
DStreams.java5 import java.io.InputStream;
21 public static void drain(InputStream inStr) in drain()
37 public static byte[] readAll(InputStream inStr) in readAll()
54 public static byte[] readAllLimited(InputStream inStr, int limit) in readAllLimited()
70 public static int readFully(InputStream inStr, byte[] buf) in readFully()
86 public static int readFully(InputStream inStr, byte[] buf, int off, int len) in readFully()
109 public static void pipeAll(InputStream inStr, OutputStream outStr) in pipeAll()
128 public static long pipeAllLimited(InputStream inStr, long limit, OutputStream outStr) in pipeAllLimited()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DStreamUriLoader.java16 import java.io.InputStream;
23 public class StreamUriLoader extends UriLoader<InputStream> implements StreamModelLoader<Uri> {
28 public static class Factory implements ModelLoaderFactory<Uri, InputStream> {
31 … public ModelLoader<Uri, InputStream> build(Context context, GenericLoaderFactory factories) { in build()
32 …return new StreamUriLoader(context, factories.buildModelLoader(GlideUrl.class, InputStream.class)); in build()
45 public StreamUriLoader(Context context, ModelLoader<GlideUrl, InputStream> urlLoader) { in StreamUriLoader()
50 protected DataFetcher<InputStream> getLocalUriFetcher(Context context, Uri uri) { in getLocalUriFetcher()
55 protected DataFetcher<InputStream> getAssetPathFetcher(Context context, String assetPath) { in getAssetPathFetcher()
DStreamUrlLoader.java11 import java.io.InputStream;
19 public class StreamUrlLoader extends UrlLoader<InputStream> {
24 public static class Factory implements ModelLoaderFactory<URL, InputStream> {
26 … public ModelLoader<URL, InputStream> build(Context context, GenericLoaderFactory factories) { in build()
27 … return new StreamUrlLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class)); in build()
36 public StreamUrlLoader(ModelLoader<GlideUrl, InputStream> glideUrlLoader) { in StreamUrlLoader()
DStreamStringLoader.java12 import java.io.InputStream;
18 public class StreamStringLoader extends StringLoader<InputStream> implements StreamModelLoader<Stri…
23 public static class Factory implements ModelLoaderFactory<String, InputStream> {
25 … public ModelLoader<String, InputStream> build(Context context, GenericLoaderFactory factories) { in build()
26 return new StreamStringLoader(factories.buildModelLoader(Uri.class, InputStream.class)); in build()
39 public StreamStringLoader(ModelLoader<Uri, InputStream> uriLoader) { in StreamStringLoader()
DStreamResourceLoader.java12 import java.io.InputStream;
17 public class StreamResourceLoader extends ResourceLoader<InputStream> implements StreamModelLoader<…
22 public static class Factory implements ModelLoaderFactory<Integer, InputStream> {
25 … public ModelLoader<Integer, InputStream> build(Context context, GenericLoaderFactory factories) { in build()
26 …return new StreamResourceLoader(context, factories.buildModelLoader(Uri.class, InputStream.class)); in build()
39 public StreamResourceLoader(Context context, ModelLoader<Uri, InputStream> uriLoader) { in StreamResourceLoader()
DStreamFileLoader.java13 import java.io.InputStream;
18 public class StreamFileLoader extends FileLoader<InputStream> implements StreamModelLoader<File> {
23 public static class Factory implements ModelLoaderFactory<File, InputStream> {
25 … public ModelLoader<File, InputStream> build(Context context, GenericLoaderFactory factories) { in build()
26 return new StreamFileLoader(factories.buildModelLoader(Uri.class, InputStream.class)); in build()
39 public StreamFileLoader(ModelLoader<Uri, InputStream> uriLoader) { in StreamFileLoader()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
DStreamFileDataLoadProvider.java12 import java.io.InputStream;
18 public class StreamFileDataLoadProvider implements DataLoadProvider<InputStream, File> {
22 private final Encoder<InputStream> encoder;
35 public ResourceDecoder<InputStream, File> getSourceDecoder() { in getSourceDecoder()
40 public Encoder<InputStream> getSourceEncoder() { in getSourceEncoder()
49 private static class ErrorSourceDecoder implements ResourceDecoder<InputStream, File> {
51 public Resource<File> decode(InputStream source, int width, int height) { in decode()
DFileToStreamDecoder.java10 import java.io.InputStream;
20 private ResourceDecoder<InputStream, T> streamDecoder;
23 public FileToStreamDecoder(ResourceDecoder<InputStream, T> streamDecoder) { in FileToStreamDecoder() argument
28 FileToStreamDecoder(ResourceDecoder<InputStream, T> streamDecoder, FileOpener fileOpener) { in FileToStreamDecoder() argument
35 InputStream is = null; in decode()
59 public InputStream open(File file) throws FileNotFoundException { in open()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
DImpl_RowSet.java20 import java.io.InputStream;
109 public void setAsciiStream(int parameterIndex, InputStream theInputStream, in setAsciiStream()
117 public void setBinaryStream(int parameterIndex, InputStream theInputStream, in setBinaryStream()
289 public InputStream getAsciiStream(int columnIndex) throws SQLException { in getAsciiStream()
293 public InputStream getAsciiStream(String columnName) throws SQLException { in getAsciiStream()
315 public InputStream getBinaryStream(int columnIndex) throws SQLException { in getBinaryStream()
319 public InputStream getBinaryStream(String columnName) throws SQLException { in getBinaryStream()
527 public InputStream getUnicodeStream(int columnIndex) throws SQLException { in getUnicodeStream()
531 public InputStream getUnicodeStream(String columnName) throws SQLException { in getUnicodeStream()
615 public void updateAsciiStream(int columnIndex, InputStream x, int length) in updateAsciiStream()
[all …]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
DMyCertificateFactorySpi.java25 import java.io.InputStream;
64 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate()
72 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates()
80 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL()
87 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs()
95 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath()
107 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) in engineGenerateCertPath()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/
DContentTypeDetector.java16 import java.io.InputStream;
42 private final InputStream in;
56 public ContentTypeDetector(final InputStream in) throws IOException { in ContentTypeDetector()
67 private static int determineType(final InputStream in) throws IOException { in determineType()
94 private static int readInt(final InputStream in) throws IOException { in readInt()
104 public InputStream getInputStream() { in getInputStream()
/external/libweave/src/
Dstreams.h17 class MemoryStream : public InputStream, public OutputStream {
40 StreamCopier(InputStream* source, OutputStream* destination);
42 void Copy(const InputStream::ReadCallback& callback);
45 void OnWriteDone(const InputStream::ReadCallback& callback, ErrorPtr error);
46 void OnReadDone(const InputStream::ReadCallback& callback,
50 InputStream* source_{nullptr};
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DLZMAInputStream.java13 import java.io.InputStream;
37 public class LZMAInputStream extends InputStream {
49 private InputStream in;
181 public LZMAInputStream(InputStream in) throws IOException { in LZMAInputStream()
215 public LZMAInputStream(InputStream in, int memoryLimit) in LZMAInputStream()
289 public LZMAInputStream(InputStream in, long uncompSize, byte propsByte, in LZMAInputStream()
326 public LZMAInputStream(InputStream in, long uncompSize, byte propsByte, in LZMAInputStream()
364 public LZMAInputStream(InputStream in, long uncompSize, in LZMAInputStream()
371 private void initialize(InputStream in, long uncompSize, byte propsByte, in initialize()
400 private void initialize(InputStream in, long uncompSize, in initialize()
DSingleXZInputStream.java12 import java.io.InputStream;
42 public class SingleXZInputStream extends InputStream {
43 private InputStream in;
59 private static byte[] readStreamHeader(InputStream in) throws IOException { in readStreamHeader()
92 public SingleXZInputStream(InputStream in) throws IOException { in SingleXZInputStream()
126 public SingleXZInputStream(InputStream in, int memoryLimit) in SingleXZInputStream()
183 public SingleXZInputStream(InputStream in, int memoryLimit, in SingleXZInputStream()
188 SingleXZInputStream(InputStream in, int memoryLimit, boolean verifyCheck, in SingleXZInputStream()
/external/conscrypt/src/main/java/org/conscrypt/ct/
DSerialization.java21 import java.io.InputStream;
37 public static byte[] readDEROctetString(InputStream input) in readDEROctetString()
67 public static byte[][] readList(InputStream input, int listWidth, int elemWidth) in readList()
89 public static byte[] readVariableBytes(InputStream input, int width) in readVariableBytes()
100 public static byte[] readFixedBytes(InputStream input, int length) in readFixedBytes()
126 public static int readNumber(InputStream input, int width) throws SerializationException { in readNumber()
146 public static long readLong(InputStream input, int width) throws SerializationException { in readLong()
163 public static byte readByte(InputStream input) throws SerializationException { in readByte()
/external/sfntly/cpp/src/sfntly/
Dfont_factory.h50 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);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DDigestInputStreamTest.java26 import java.io.InputStream;
91 InputStream is = new ByteArrayInputStream(myMessage); in testDigestInputStream01()
92 InputStream dis = new DigestInputStream(is, md); in testDigestInputStream01()
109 InputStream dis = new DigestInputStream(null, null); in testDigestInputStream02()
124 InputStream is = new ByteArrayInputStream(myMessage); in testRead01()
157 InputStream is = new ByteArrayInputStream(myMessage); in testRead02()
192 InputStream is = new ByteArrayInputStream(myMessage); in testRead03()
252 InputStream is = new ByteArrayInputStream(myMessage); in testRead05()
276 InputStream is = new ByteArrayInputStream(myMessage); in testRead06()
301 InputStream is = new ByteArrayInputStream(myMessage); in testReadbyteArrayintint01()
[all …]

12345678910>>...43