Home
last modified time | relevance | path

Searched refs:getResourceAsStream (Results 1 – 25 of 214) sorted by relevance

123456789

/external/emma/core/java12/com/vladium/util/
DResourceLoader.java59 public static InputStream getResourceAsStream (final String name) in getResourceAsStream() method in ResourceLoader
65 return loader.getResourceAsStream (name); in getResourceAsStream()
100 public static InputStream getResourceAsStream (final String name, final ClassLoader loader) in getResourceAsStream() method in ResourceLoader
103 return loader.getResourceAsStream (name); in getResourceAsStream()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DNFS4StringPrep.java41 … 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()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/
DYamlBase64Test.java62 .getResourceAsStream("/issues/issue99-base64_double_quoted.yaml"); in testYamlBase64Loading()
71 input = YamlDocument.class.getClassLoader().getResourceAsStream("issues/issue99.jpeg"); in checkBytes()
94 .getResourceAsStream("/issues/issue99-base64_literal.yaml"); in testYamlBase64LoadingLiteral()
114 .getResourceAsStream("/issues/issue99-base64_literal.yaml"); in testRedefineBinaryTag()
144 .getResourceAsStream("/issues/issue99-base64_literal_custom_tag.yaml"); in testLocalBinaryTag()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DNFS4StringPrep.java44 … InputStream nfscsiFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfscsi.spp"); in NFS4StringPrep()
48 … InputStream nfscssFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfscss.spp"); in NFS4StringPrep()
52 … InputStream nfscisFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfscis.spp"); in NFS4StringPrep()
56 … InputStream nfsmxpFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfsmxp.spp"); in NFS4StringPrep()
60 … InputStream nfsmxsFile = loader.getResourceAsStream("android/icu/dev/data/testdata/nfsmxs.spp"); in NFS4StringPrep()
/external/cldr/tools/java/org/unicode/cldr/util/
DFileCopier.java59 …copyAndReplace(new InputStreamReader(cls.getResourceAsStream(srcFile), charSet), replacements, out… in copyAndReplace()
119 try (InputStream is = cls.getResourceAsStream(sourceFile); in copy()
133 … copy(new InputStreamReader(cls.getResourceAsStream(sourceFile), Charset.forName("UTF-8")), out); in copy()
145 copy(new InputStreamReader(cls.getResourceAsStream(sourceFile), charset), out); in copy()
170 copyAndReplace(new InputStreamReader(cls.getResourceAsStream(srcFile)), in copyAndReplace()
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DResources.java61 InputStream is = getResourceAsStream(resourceName); in getResourceAsTempFile()
69 private static InputStream getResourceAsStream(String resourceName) throws FileNotFoundException { in getResourceAsStream() method in Resources
70 InputStream is = Resources.class.getResourceAsStream(resourceName); in getResourceAsStream()
/external/jacoco/org.jacoco.agent/src/org/jacoco/agent/
DAgentJar.java56 public static InputStream getResourceAsStream() { in getResourceAsStream() method in AgentJar
57 final InputStream stream = AgentJar.class.getResourceAsStream(RESOURCE); in getResourceAsStream()
91 InputStream inputJarStream = getResourceAsStream(); in extractTo()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUData.java115 return root.getResourceAsStream(resourceName); in getStream()
119 i = root.getResourceAsStream(resourceName); in getStream()
138 return loader.getResourceAsStream(resourceName); in getStream()
142 i = loader.getResourceAsStream(resourceName); in getStream()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUData.java113 return root.getResourceAsStream(resourceName); in getStream()
117 i = root.getResourceAsStream(resourceName); in getStream()
136 return loader.getResourceAsStream(resourceName); in getStream()
140 i = loader.getResourceAsStream(resourceName); in getStream()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DClassPath.java202 is = getClass().getClassLoader().getResourceAsStream(name + suffix); // may return null in getInputStream()
217 public InputStream getResourceAsStream(final String name) { in getResourceAsStream() method in ClassPath
220 if ((is = path.getResourceAsStream(name)) != null) { in getResourceAsStream()
364 abstract InputStream getResourceAsStream(String name); in getResourceAsStream() method in ClassPath.PathEntry
418 InputStream getResourceAsStream(final String name) { in getResourceAsStream() method in ClassPath.Dir
496 InputStream getResourceAsStream(final String name) {
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSecuritySupport.java106 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() method in SecuritySupport
111 ris = cl.getResourceAsStream(name); in getResourceAsStream()
DSecuritySupport12.java108 InputStream getResourceAsStream(final ClassLoader cl,
118 ris = cl.getResourceAsStream(name);
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DConfigMerger.java85 try (InputStream resourceAsStream = getResourceAsStream(resourceName)) { in getConfigProperties()
137 InputStream getResourceAsStream(String resourceName) { in getResourceAsStream() method in ConfigMerger
138 return getClass().getClassLoader().getResourceAsStream(resourceName); in getResourceAsStream()
/external/apache-xml/src/main/java/org/apache/xalan/xslt/
DSecuritySupport.java108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() method in SecuritySupport
113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
DSecuritySupport12.java111 InputStream getResourceAsStream(final ClassLoader cl,
121 ris = cl.getResourceAsStream(name);
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DSecuritySupport.java108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() method in SecuritySupport
113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
DSecuritySupport12.java111 InputStream getResourceAsStream(final ClassLoader cl,
121 ris = cl.getResourceAsStream(name);
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSecuritySupport.java108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() method in SecuritySupport
113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
DSecuritySupport12.java111 InputStream getResourceAsStream(final ClassLoader cl,
121 ris = cl.getResourceAsStream(name);
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DSecuritySupport.java108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() method in SecuritySupport
113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
DSecuritySupport12.java111 InputStream getResourceAsStream(final ClassLoader cl,
121 ris = cl.getResourceAsStream(name);
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DSecuritySupport.java108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() method in SecuritySupport
113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DBigFilesIT.java51 .getResourceAsStream("/8.posix.tar.gz") in readFileHeadersOfArchiveBiggerThan8GByte()
77 .getResourceAsStream(name)); in readFileBiggerThan8GByte()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DRetryPolicyTest.java52 reader = new BufferedReader(new InputStreamReader(RetryPolicyTest.class.getResourceAsStream( in getRetryPolicies()
130 reader = new BufferedReader(new InputStreamReader(RetryPolicyTest.class.getResourceAsStream( in getRetryPolicies_retryDisabled()
167 reader = new BufferedReader(new InputStreamReader(RetryPolicyTest.class.getResourceAsStream( in getThrottle()
/external/testng/src/main/java/org/testng/reporters/jq/
DMain.java74 try (InputStream header = getClass().getResourceAsStream("/header")) { in generateReport()
79 try (InputStream is = getClass().getResourceAsStream("/" + fileName)) { in generateReport()

123456789