Home
last modified time | relevance | path

Searched refs:InputStream (Results 1 - 25 of 228) sorted by relevance

12345678910

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUData.java15 import java.io.InputStream;
81 * For testing (otherwise false): When reading an InputStream from a Class or ClassLoader
107 private static InputStream getStream(final Class<?> root, final String resourceName, boolean required) { 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 ru in getStream()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DICUData.java16 import java.io.InputStream;
83 * For testing (otherwise false): When reading an InputStream from a Class or ClassLoader
109 private static InputStream getStream(final Class<?> root, final String resourceName, boolean required) { 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 ru in getStream()
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DParseExceptionsTest.java43 import java.io.InputStream;
61 DescriptorProto parse(InputStream in) throws IOException; in parse()
86 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStream()
98 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStreamAndExtensionRegistry()
110 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStream()
122 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStreamAndExtensionRegistry()
135 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStream()
147 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStreamAndExtensionRegistry()
159 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStream()
171 public DescriptorProto parse(InputStream i in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry()
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DParser.java33 import java.io.InputStream;
187 * #parseDelimitedFrom(InputStream)} to read it.
191 public MessageType parseFrom(InputStream input) throws InvalidProtocolBufferException; in parseFrom()
197 public MessageType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
201 * Like {@link #parseFrom(InputStream)}, but does not throw an exception if the message is missing
204 public MessageType parsePartialFrom(InputStream input) throws InvalidProtocolBufferException; in parsePartialFrom()
207 * Like {@link #parseFrom(InputStream, ExtensionRegistryLite)}, but does not throw an exception if
210 public MessageType parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
214 * Like {@link #parseFrom(InputStream)}, but does not read until EOF. Instead, the size of message
222 public MessageType parseDelimitedFrom(InputStream inpu
[all...]
H A DAbstractParser.java35 import java.io.InputStream;
212 public MessageType parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
225 public MessageType parsePartialFrom(InputStream input) throws InvalidProtocolBufferException { in parsePartialFrom()
230 public MessageType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
236 public MessageType parseFrom(InputStream input) throws InvalidProtocolBufferException { in parseFrom()
242 InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialDelimitedFrom()
254 InputStream limitedInput = new LimitedInputStream(input, size); in parsePartialDelimitedFrom()
259 public MessageType parsePartialDelimitedFrom(InputStream input) in parsePartialDelimitedFrom()
265 public MessageType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseDelimitedFrom()
271 public MessageType parseDelimitedFrom(InputStream inpu
[all...]
H A DMessageLite.java37 import java.io.InputStream;
105 * receiving end (e.g. by wrapping the InputStream in one which limits the input). Alternatively,
114 * Builder#mergeDelimitedFrom(InputStream)} (or the static method {@code
115 * YourMessageType.parseDelimitedFrom(InputStream)}) to parse messages written by this method.
248 * #mergeDelimitedFrom(InputStream)} to read it.
254 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom()
263 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
285 * Like {@link #mergeFrom(InputStream)}, but does not read until EOF. Instead, the size of the
292 boolean mergeDelimitedFrom(InputStream input) throws IOException; in mergeDelimitedFrom()
294 /** Like {@link #mergeDelimitedFrom(InputStream)} bu
[all...]
H A DMessage.java37 import java.io.InputStream;
267 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom()
270 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
274 boolean mergeDelimitedFrom(InputStream input) throws IOException; in mergeDelimitedFrom()
277 boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
H A DBrotliInputStreamTest.java16 import java.io.InputStream;
27 static InputStream getBundle() throws IOException { in getBundle()
34 InputStream bundle = getBundle(); in suite()
61 InputStream bundle = getBundle(); in run()
72 InputStream src = new ByteArrayInputStream(compressed); in run()
73 InputStream decoder = new BrotliInputStream(src); in run()
H A DDecoderTest.java16 import java.io.InputStream;
27 static InputStream getBundle() throws IOException { in getBundle()
34 InputStream bundle = getBundle(); in suite()
61 InputStream bundle = getBundle(); in run()
H A DBrotliDecoderChannelTest.java16 import java.io.InputStream;
29 static InputStream getBundle() throws IOException { in getBundle()
36 InputStream bundle = getBundle(); in suite()
63 InputStream bundle = getBundle(); in run()
H A DBrotliInputStream.java10 import java.io.InputStream;
14 * InputStream that wraps native brotli decoder.
16 public class BrotliInputStream extends InputStream {
28 public BrotliInputStream(InputStream source, int bufferSize) in BrotliInputStream()
33 public BrotliInputStream(InputStream source) throws IOException { in BrotliInputStream()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
H A Dfont_factory.h50 void LoadFonts(InputStream* is, FontArray* output);
67 void LoadFontsForBuilding(InputStream* is, FontBuilderArray* output);
109 CALLER_ATTACH Font* LoadSingleOTF(InputStream* is);
112 void LoadCollection(InputStream* is, FontArray* output);
115 CALLER_ATTACH Font::Builder* LoadSingleOTFForBuilding(InputStream* is);
120 void LoadCollectionForBuilding(InputStream* is, FontBuilderArray* builders);
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/
H A DEncoderTest.java11 import java.io.InputStream;
21 static InputStream getBundle() throws IOException { in getBundle()
28 InputStream bundle = getBundle(); in suite()
55 InputStream bundle = getBundle(); in run()
70 InputStream decoder = new BrotliInputStream(new ByteArrayInputStream(compressed)); in run()
H A DBrotliEncoderChannelTest.java12 import java.io.InputStream;
34 static InputStream getBundle() throws IOException { in getBundle()
41 InputStream bundle = getBundle(); in suite()
71 InputStream bundle = getBundle(); in run()
109 InputStream decoder = new BrotliInputStream(new ByteArrayInputStream(dst.toByteArray())); in run()
H A DBrotliOutputStreamTest.java12 import java.io.InputStream;
32 static InputStream getBundle() throws IOException { in getBundle()
39 InputStream bundle = getBundle(); in suite()
70 InputStream bundle = getBundle(); in run()
109 InputStream decoder = new BrotliInputStream(new ByteArrayInputStream(dst.toByteArray())); in run()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
H A Dfont_input_stream.h45 // an InputStream within. In C++, we directly do the wrapping without
49 class FontInputStream : public InputStream {
53 explicit FontInputStream(InputStream* is);
58 FontInputStream(InputStream* is, size_t length);
89 InputStream* stream_;
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
H A DNFS4StringPrep.java13 import java.io.InputStream;
44 InputStream nfscsiFile = loader.getResourceAsStream("ohos/global/icu/dev/data/testdata/nfscsi.spp"); in NFS4StringPrep()
48 InputStream nfscssFile = loader.getResourceAsStream("ohos/global/icu/dev/data/testdata/nfscss.spp"); in NFS4StringPrep()
52 InputStream nfscisFile = loader.getResourceAsStream("ohos/global/icu/dev/data/testdata/nfscis.spp"); in NFS4StringPrep()
56 InputStream nfsmxpFile = loader.getResourceAsStream("ohos/global/icu/dev/data/testdata/nfsmxp.spp"); in NFS4StringPrep()
60 InputStream nfsmxsFile = loader.getResourceAsStream("ohos/global/icu/dev/data/testdata/nfsmxs.spp"); in NFS4StringPrep()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DNFS4StringPrep.java12 import java.io.InputStream;
41 InputStream nfscsiFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscsi.spp"); in NFS4StringPrep()
45 InputStream nfscssFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscss.spp"); in NFS4StringPrep()
49 InputStream nfscisFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscis.spp"); in NFS4StringPrep()
53 InputStream nfsmxpFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfsmxp.spp"); in NFS4StringPrep()
57 InputStream nfsmxsFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfsmxs.spp"); in NFS4StringPrep()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
H A DFontFactory.java26 import java.io.InputStream;
127 public Font[] loadFonts(InputStream is) throws IOException { in loadFonts()
148 public Builder[] loadFontsForBuilding(InputStream is) throws IOException { in loadFontsForBuilding()
157 private Font loadSingleOTF(InputStream is) throws IOException { in loadSingleOTF()
161 private Font[] loadCollection(InputStream is) throws IOException { in loadCollection()
170 private Font.Builder loadSingleOTFForBuilding(InputStream is) throws IOException { in loadSingleOTFForBuilding()
188 private Font.Builder[] loadCollectionForBuilding(InputStream is) throws IOException { in loadCollectionForBuilding()
/third_party/skia/third_party/externals/brotli/java/org/brotli/integration/
H A DBundleHelper.java11 import java.io.InputStream;
24 public static List<String> listEntries(InputStream input) throws IOException { in listEntries()
41 public static byte[] readStream(InputStream input) throws IOException { in readStream()
51 public static byte[] readEntry(InputStream input, String entryName) throws IOException { in readEntry()
95 public static long fingerprintStream(InputStream input) throws IOException { in fingerprintStream()
/third_party/skia/third_party/externals/oboe/samples/parselib/src/main/cpp/stream/
H A DInputStream.h26 class InputStream { class
28 InputStream() {} in InputStream() function in parselib::InputStream
29 virtual ~InputStream() {} in ~InputStream()
/third_party/ffmpeg/fftools/
H A Dffmpeg_qsv.c36 InputStream *ist = s->opaque; in qsv_get_buffer()
43 InputStream *ist = s->opaque; in qsv_uninit()
47 static int qsv_device_init(InputStream *ist) in qsv_device_init()
74 InputStream *ist = s->opaque; in qsv_init()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/metadata/init/
H A DMetadataParserTest.java27 import java.io.InputStream;
48 final InputStream emptyInput = new ByteArrayInputStream(new byte[0]); in test_parse_shouldThrowExceptionForEmptyInput()
61 final InputStream invalidInput = new ByteArrayInputStream("Some random input".getBytes(UTF_8)); in test_parse_shouldThrowExceptionForInvalidInput()
74 InputStream input = PhoneMetadataCollectionUtil.toInputStream( in test_parse_shouldParseValidInput()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DBrotliInputStream.java10 import java.io.InputStream;
13 * {@link InputStream} decorator that decompresses brotli data.
17 public class BrotliInputStream extends InputStream {
42 * Creates a {@link InputStream} wrapper that decompresses brotli data.
53 public BrotliInputStream(InputStream source) throws IOException { in BrotliInputStream()
58 * Creates a {@link InputStream} wrapper that decompresses brotli data.
71 public BrotliInputStream(InputStream source, int byteReadBufferSize) throws IOException { in BrotliInputStream()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/metadata/init/
H A DClassPathResourceMetadataLoader.java20 import java.io.InputStream;
34 public InputStream loadMetadata(String metadataFileName) { in loadMetadata()
35 InputStream inputStream = in loadMetadata()

Completed in 263 milliseconds

12345678910