/external/guava/guava-tests/test/com/google/common/io/ |
D | ResourcesTest.java | 57 URL resource = getClass().getResource("testdata/i18n.txt"); in testToString() 71 URL resource = getClass().getResource("testdata/i18n.txt"); in testReadLines() 77 URL resource = getClass().getResource("testdata/alice_in_wonderland.txt"); in testReadLines_withLineProcessor() 101 URL resource = getClass().getResource("testdata/i18n.txt"); in testCopyToOutputStream() 108 Resources.getResource("no such resource"); in testGetResource_notFound() 117 Resources.getResource("com/google/common/io/testdata/i18n.txt")); in testGetResource() 122 Resources.getResource( in testGetResource_relativePath_notFound() 133 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt")); in testGetResource_relativePath() 149 Resources.getResource(tempFile.getName()); in testGetResource_contextClassLoader() 161 URL url = Resources.getResource(tempFile.getName()); in testGetResource_contextClassLoader() [all …]
|
D | IoTestCase.java | 71 URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); in getTestDir() 101 URL resourceUrl = IoTestCase.class.getResource("testdata/" + name); in getTestFile()
|
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/ |
D | LogMessageParserTest.java | 58 Resources.getResource(LogMessageParserTest.class, "jdk6-gc.txt"), UTF_8); in gcPatten_jdk6() 66 Resources.getResource(LogMessageParserTest.class, "jdk7-gc.txt"), UTF_8); in gcPatten_jdk7() 87 Resources.getResource(LogMessageParserTest.class, "jdk6-compilation.txt"), UTF_8); in jitPattern_jdk6() 95 Resources.getResource(LogMessageParserTest.class, "jdk7-compilation.txt"), UTF_8); in jitPattern_jdk7() 103 Resources.getResource(LogMessageParserTest.class, "jdk6-flags.txt"), UTF_8); in vmOptionPattern_jdk6() 111 Resources.getResource(LogMessageParserTest.class, "jdk7-flags.txt"), UTF_8); in vmOptionPattern_jdk7()
|
/external/emma/core/java12/com/vladium/util/ |
D | ResourceLoader.java | 45 public static URL getResource (final String name) in getResource() method in ResourceLoader 51 return loader.getResource (name); in getResource() 92 public static URL getResource (final String name, final ClassLoader loader) in getResource() method in ResourceLoader 95 return loader.getResource (name); in getResource()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ReplacingClassLoader.java | 40 public URL getResource(String name) { in getResource() method in ReplacingClassLoader 42 return getParent().getResource(replacement); in getResource() 44 return super.getResource(name); in getResource()
|
/external/guava/guava/src/com/google/common/io/ |
D | Resources.java | 192 public static URL getResource(String resourceName) { in getResource() method 196 URL url = loader.getResource(resourceName); in getResource() 207 public static URL getResource(Class<?> contextClass, String resourceName) { in getResource() method 208 URL url = contextClass.getResource(resourceName); in getResource()
|
/external/deqp/framework/common/ |
D | tcuResource.hpp | 82 virtual Resource* getResource (const char* name) const = 0; 97 Resource* getResource (const char* name) const; 132 virtual Resource* getResource (const char* name) const;
|
D | tcuResource.cpp | 43 Resource* DirArchive::getResource (const char* name) const in getResource() function in tcu::DirArchive 92 Resource* ResourcePrefix::getResource (const char* name) const in getResource() function in tcu::ResourcePrefix 94 return m_archive.getResource((m_prefix + name).c_str()); in getResource()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLClassLoaderTest.java | 64 public URL getResource(String res) { in getResource() method in URLClassLoaderTest.BogusClassLoader 111 URL res = ucl.getResource("J"); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoader() 176 URL res = cl.getClassLoader().getResource("XX.class"); in test_newInstance$Ljava_net_URL() 196 URL res = ucl.getResource("J"); in test_newInstance$Ljava_net_URLLjava_lang_ClassLoader() 214 URL res = ucl.getResource("J"); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoaderLjava_net_URLStreamHandlerFactory() 395 loader.getResource(f.getName())); in testFindResource_H3461() 397 loader.getResource(f2.getName())); in testFindResource_H3461() 430 URL result = loader.getResource("dir1/file1"); in test_getResourceLjava_lang_String() 439 result = loader.getResource("/dir1/file1"); in test_getResourceLjava_lang_String()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | SandboxClassLoader.java | 88 public URL getResource(String name) { in getResource() method in SandboxClassLoader 90 return urls.getResource(name); in getResource() 92 URL fromParent = super.getResource(name); in getResource() 96 return urls.getResource(name); in getResource()
|
/external/oauth/core/src/main/java/net/oauth/ |
D | ConsumerProperties.java | 39 public static URL getResource(String name, ClassLoader loader) in getResource() method in ConsumerProperties 41 URL resource = loader.getResource(name); in getResource() 61 this(getProperties(getResource(resourceName, loader))); in ConsumerProperties()
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
D | PyErrorsTest.java | 79 String content = getResource(files[i].getName()); in testLoaderStringErrors() 97 String content = getResource(files[i].getName()); in testLoaderSingleErrors() 113 String content = getResource(files[i].getName()); in testEmitterErrors()
|
D | PyTokensTest.java | 87 String tokenFileData = getResource(name); in testTokens() 110 String data = getResource(tokensFiles[i].getName()); in testTokens() 136 String data = getResource(file.getName()); in testScanner()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/ |
D | ClassPath.java | 232 public URL getResource(final String name) { in getResource() method in ClassPath 235 if ((url = path.getResource(name)) != null) { in getResource() 252 if ((url = path.getResource(name)) != null) { in getResources() 363 abstract URL getResource(String name); in getResource() method in ClassPath.PathEntry 407 URL getResource(final String name) { in getResource() method in ClassPath.Dir 486 URL getResource(final String name) {
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | VertexDataManager.cpp | 152 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData() 169 translated[i].vertexBuffer = mStreamingBuffer->getResource(); in prepareVertexData() 199 translated[i].vertexBuffer = mCurrentValueBuffer[i]->getResource(); in prepareVertexData() 240 sw::Resource *VertexBuffer::getResource() const in getResource() function in es1::VertexBuffer
|
D | IndexDataManager.cpp | 109 sw::Resource *staticBuffer = buffer ? buffer->getResource() : NULL; in prepareIndexData() 137 translated->indexBuffer = streamingBuffer->getResource(); in prepareIndexData() 239 sw::Resource *StreamingIndexBuffer::getResource() const in getResource() function in es1::StreamingIndexBuffer
|
/external/testng/src/test/java/test/serviceloader/ |
D | ServiceLoaderTest.java | 19 URL url = getClass().getClassLoader().getResource("serviceloader.jar"); in serviceLoaderShouldWork() 32 URL url = getClass().getClassLoader().getResource("serviceloader.jar"); in serviceLoaderWithNoClassLoader()
|
/external/jacoco/org.jacoco.agent/src/org/jacoco/agent/ |
D | AgentJar.java | 43 public static URL getResource() { in getResource() method in AgentJar 44 final URL url = AgentJar.class.getResource(RESOURCE); in getResource()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | VertexDataManager.cpp | 163 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData() 180 translated[i].vertexBuffer = mStreamingBuffer->getResource(); in prepareVertexData() 214 translated[i].vertexBuffer = mCurrentValueBuffer[i]->getResource(); in prepareVertexData() 268 sw::Resource *VertexBuffer::getResource() const in getResource() function in es2::VertexBuffer
|
D | IndexDataManager.cpp | 297 sw::Resource *staticBuffer = buffer ? buffer->getResource() : NULL; in prepareIndexData() 324 translated->indexBuffer = streamingBuffer->getResource(); in prepareIndexData() 350 translated->indexBuffer = streamingBuffer->getResource(); in prepareIndexData() 458 sw::Resource *StreamingIndexBuffer::getResource() const in getResource() function in es2::StreamingIndexBuffer
|
/external/conscrypt/openjdk/src/main/java/org/conscrypt/ |
D | NativeLibraryLoader.java | 170 URL url = loader.getResource(path); in loadFromWorkdir() 173 url = loader.getResource(NATIVE_RESOURCE_HOME + "lib" + name + ".dynlib"); in loadFromWorkdir() 175 url = loader.getResource(NATIVE_RESOURCE_HOME + "lib" + name + ".jnilib"); in loadFromWorkdir() 372 URL classUrl = clazz.getResource(fileName + ".class");
|
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/ |
D | NativeLibraryLoader.java | 171 URL url = loader.getResource(path); in loadFromWorkdir() 174 url = loader.getResource(NATIVE_RESOURCE_HOME + "lib" + name + ".dynlib"); in loadFromWorkdir() 176 url = loader.getResource(NATIVE_RESOURCE_HOME + "lib" + name + ".jnilib"); in loadFromWorkdir() 373 URL classUrl = clazz.getResource(fileName + ".class");
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlLexerTest.java | 48 Resources.getResource(getClass(), "htmllexerinput1.html"), in testHtmlLexer() 55 Resources.getResource(getClass(), "htmllexergolden1.txt"), in testHtmlLexer()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 71 virtual ResourceT& getResource() const = 0; 79 ResourceT& getResource() const override { return *ResourcePtr; } in getResource() function 254 Module &SrcM = LMResources.SourceModule->getResource(); in addLogicalModule() 390 Module &SrcM = LMResources.SourceModule->getResource(); in extractAndCompile() 428 Module &SrcM = LMResources.SourceModule->getResource(); in emitPartition()
|
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
D | AnalysisTest.java | 132 URL resUrl = Resources.getResource(resource); in findResource() 138 URL url = Resources.getResource(resource); in readResource()
|