Home
last modified time | relevance | path

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

12345678910>>...41

/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/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUData.java15 import java.io.InputStream;
107 …private static InputStream getStream(final Class<?> root, final String resourceName, boolean requi… in getStream()
108 InputStream i = null; in getStream()
110 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
112 public InputStream run() { in getStream()
130 …static InputStream getStream(final ClassLoader loader, final String resourceName, boolean required… in getStream()
131 InputStream i = null; in getStream()
133 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
135 public InputStream run() { in getStream()
150 private static void checkStreamForBinaryData(InputStream is, String resourceName) { in checkStreamForBinaryData()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUData.java16 import java.io.InputStream;
109 …private static InputStream getStream(final Class<?> root, final String resourceName, boolean requi… in getStream()
110 InputStream i = null; in getStream()
112 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
114 public InputStream run() { in getStream()
132 …static InputStream getStream(final ClassLoader loader, final String resourceName, boolean required… in getStream()
133 InputStream i = null; in getStream()
135 i = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { in getStream()
137 public InputStream run() { in getStream()
152 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/common/src/main/java/org/conscrypt/
DOpenSSLX509CertificateFactory.java20 import java.io.InputStream;
71 T generateItem(InputStream inStream) throws ParsingException { in generateItem()
125 Collection<? extends T> generateItems(InputStream inStream) in generateItems()
210 protected abstract T fromX509PemInputStream(InputStream pbis) throws ParsingException; in fromX509PemInputStream()
212 protected abstract T fromX509DerInputStream(InputStream pbis) throws ParsingException; in fromX509DerInputStream()
214 protected abstract List<? extends T> fromPkcs7PemInputStream(InputStream is) in fromPkcs7PemInputStream()
217 protected abstract List<? extends T> fromPkcs7DerInputStream(InputStream is) in fromPkcs7DerInputStream()
224 public OpenSSLX509Certificate fromX509PemInputStream(InputStream is)
230 public OpenSSLX509Certificate fromX509DerInputStream(InputStream is)
237 fromPkcs7PemInputStream(InputStream is) throws ParsingException {
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DParseExceptionsTest.java48 import java.io.InputStream;
63 DescriptorProto parse(InputStream in) throws IOException; in parse()
87 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStream()
98 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStreamAndExtensionRegistry()
109 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStream()
120 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStreamAndExtensionRegistry()
132 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStream()
143 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStreamAndExtensionRegistry()
154 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStream()
165 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry()
[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/core/src/main/java/com/google/protobuf/
DParser.java33 import java.io.InputStream;
205 public MessageType parseFrom(InputStream input) in parseFrom()
213 public MessageType parseFrom(InputStream input, in parseFrom()
222 public MessageType parsePartialFrom(InputStream input) in parsePartialFrom()
230 public MessageType parsePartialFrom(InputStream input, in parsePartialFrom()
245 public MessageType parseDelimitedFrom(InputStream input) in parseDelimitedFrom()
251 public MessageType parseDelimitedFrom(InputStream input, in parseDelimitedFrom()
260 public MessageType parsePartialDelimitedFrom(InputStream input) in parsePartialDelimitedFrom()
269 InputStream input, in parsePartialDelimitedFrom()
DAbstractParser.java36 import java.io.InputStream;
194 public MessageType parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
207 public MessageType parsePartialFrom(InputStream input) throws InvalidProtocolBufferException { in parsePartialFrom()
212 public MessageType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
219 public MessageType parseFrom(InputStream input) throws InvalidProtocolBufferException { in parseFrom()
225 InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialDelimitedFrom()
237 InputStream limitedInput = new LimitedInputStream(input, size); in parsePartialDelimitedFrom()
242 public MessageType parsePartialDelimitedFrom(InputStream input) in parsePartialDelimitedFrom()
248 public MessageType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseDelimitedFrom()
255 public MessageType parseDelimitedFrom(InputStream input) throws InvalidProtocolBufferException { in parseDelimitedFrom()
/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()
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()
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()
/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/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/libmojo/base/android/jni_generator/
DtestInputStream.javap1 Compiled from "InputStream.java"
2 public abstract class java.io.InputStream extends java.lang.Object implements java.io.Closeable
3 SourceFile: "InputStream.java"
11 const #5 = class #43; // java/io/InputStream
20 const #14 = Asciz Ljava/io/InputStream;;
44 const #38 = Asciz InputStream.java;
49 const #43 = Asciz java/io/InputStream;
56 public java.io.InputStream();
72 0 14 0 this Ljava/io/InputStream;
89 0 10 0 this Ljava/io/InputStream;
[all …]
/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()
95 private static int readInt(final InputStream in) throws IOException { in readInt()
105 public InputStream getInputStream() { in getInputStream()
/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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DCertificateFactory.java6 import java.io.InputStream;
53 private InputStream currentStream = null;
57 private InputStream currentCrlStream = null;
67 InputStream in) in readPEMCertificate()
125 InputStream in) in readPEMCRL()
180 InputStream in) in engineGenerateCertificate()
212 InputStream pis; in engineGenerateCertificate()
275 InputStream inStream) in engineGenerateCertificates()
304 InputStream in) in engineGenerateCRL()
336 InputStream pis; in engineGenerateCRL()
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRInputStream.java39 public ANTLRInputStream(InputStream input) throws IOException { in ANTLRInputStream()
43 public ANTLRInputStream(InputStream input, int size) throws IOException { in ANTLRInputStream()
47 public ANTLRInputStream(InputStream input, String encoding) throws IOException { in ANTLRInputStream()
51 public ANTLRInputStream(InputStream input, int size, String encoding) throws IOException { in ANTLRInputStream()
55 public ANTLRInputStream(InputStream input, in ANTLRInputStream()

12345678910>>...41