Home
last modified time | relevance | path

Searched refs:getResource (Results 1 – 25 of 168) sorted by relevance

1234567

/external/jetty/src/java/org/eclipse/jetty/webapp/
DWebDescriptor.java72 URL dtd22=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_2.dtd",true); in newParser()
73 URL dtd23=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_3.dtd",true); in newParser()
74 URL j2ee14xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/j2ee_1_4.xsd",true); in newParser()
75 … URL webapp24xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_4.xsd",true); in newParser()
76 … URL webapp25xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_5.xsd",true); in newParser()
77 … URL webapp30xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_3_0.xsd",true); in newParser()
78 …URL webcommon30xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-common_3_0.xsd",t… in newParser()
79 …URL webfragment30xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-fragment_3_0.xs… in newParser()
80 … URL schemadtd=Loader.getResource(Servlet.class,"javax/servlet/resources/XMLSchema.dtd",true); in newParser()
81 URL xmlxsd=Loader.getResource(Servlet.class,"javax/servlet/resources/xml.xsd",true); in newParser()
[all …]
DStandardDescriptorProcessor.java166 …IllegalStateException("Conflicting context-param "+name+"="+value+" in "+descriptor.getResource()); in visitContextParam()
254 … IllegalStateException("Mismatching init-param "+pname+"="+pvalue+" in "+descriptor.getResource()); in visitServlet()
321 … IllegalStateException("Conflicting servlet-class "+servlet_class+" in "+descriptor.getResource()); in visitServlet()
387 … throw new IllegalStateException("Conflicting load-on-startup value in "+descriptor.getResource()); in visitServlet()
427 …g role-link for role-name "+roleName+" for servlet "+servlet_name+" in "+descriptor.getResource()); in visitServlet()
472 …("Conflicting run-as role "+roleName+" for servlet "+servlet_name+" in "+descriptor.getResource()); in visitServlet()
509 …"Conflicting async-supported="+async+" for servlet "+servlet_name+" in "+descriptor.getResource()); in visitServlet()
545 …("Conflicting value of servlet enabled for servlet "+servlet_name+" in "+descriptor.getResource()); in visitServlet()
596 …licting multipart-config max-file-size for servlet "+servlet_name+" in "+descriptor.getResource()); in visitServlet()
598 …ting multipart-config max-request-size for servlet "+servlet_name+" in "+descriptor.getResource()); in visitServlet()
[all …]
DTagLibConfiguration.java358 … taglib11=jsp_page.getResource("javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd"); in newParser()
359 … taglib12=jsp_page.getResource("javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd"); in newParser()
360 … taglib20=jsp_page.getResource("javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd"); in newParser()
361 … taglib21=jsp_page.getResource("javax/servlet/jsp/resources/web-jsptaglibrary_2_1.xsd"); in newParser()
370 …taglib11=Loader.getResource(Servlet.class,"javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd",… in newParser()
372 …taglib12=Loader.getResource(Servlet.class,"javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd",… in newParser()
374 …taglib20=Loader.getResource(Servlet.class,"javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd",… in newParser()
376 …taglib21=Loader.getResource(Servlet.class,"javax/servlet/jsp/resources/web-jsptaglibrary_2_1.xsd",… in newParser()
/external/guava/guava-tests/test/com/google/common/io/
DResourcesTest.java57 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 …]
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/
DLogMessageParserTest.java58 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/
DResourceLoader.java45 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/guava/guava/src/com/google/common/io/
DResources.java192 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/
DtcuResource.hpp82 virtual Resource* getResource (const char* name) const = 0;
97 Resource* getResource (const char* name) const;
132 virtual Resource* getResource (const char* name) const;
DtcuResource.cpp43 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/skia/include/gpu/
DGrGpuResourceRef.h41 GrGpuResource* getResource() const { return fResource; } in getResource() function
99 T* get() const { return static_cast<T*>(this->getResource()); } in get()
117 GrSurface* surface = static_cast<GrSurface*>(this->getResource()); in get()
138 GrSurface* surface = static_cast<GrSurface*>(this->getResource()); in get()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderTest.java64 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/jetty/src/java/org/eclipse/jetty/util/resource/
DResource.java225 url = loader.getResource(resource); in newSystemResource()
227 url = loader.getResource(resource.substring(1)); in newSystemResource()
242 url=loader.getResource(resource); in newSystemResource()
244 url=loader.getResource(resource.substring(1)); in newSystemResource()
283 URL url=Resource.class.getResource(name); in newClassPathResource()
286 url=Loader.getResource(Resource.class,name,checkParents); in newClassPathResource()
435 public Resource getResource(String path) in getResource() method in Resource
/external/oauth/core/src/main/java/net/oauth/
DConsumerProperties.java39 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/
DPyErrorsTest.java79 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()
/external/opencv3/samples/java/sbt/src/main/scala/
DScalaDetectFaceDemo.scala18 …val faceDetector = new CascadeClassifier(getClass.getResource("/lbpcascade_frontalface.xml").getPa…
19 val image = Imgcodecs.imread(getClass.getResource("/AverageMaleFace.jpg").getPath)
DScalaCorrespondenceMatchingDemo.scala48 val leftImage = Imgcodecs.imread(getClass.getResource("/img1.png").getPath)
49 val rightImage = Imgcodecs.imread(getClass.getResource("/img2.png").getPath)
/external/jetty/src/java/org/eclipse/jetty/servlet/
DDefaultServlet.java241 _stylesheet = Resource.newResource(this.getClass().getResource("/jetty-dir.css")); in init()
366 public Resource getResource(String pathInContext) in getResource() method in DefaultServlet
382 r = _contextHandler.getResource(pathInContext); in getResource()
386 URL u = _servletContext.getResource(pathInContext); in getResource()
452 resource=getResource(pathInContextGz); in doGet()
456 resource=(content==null)?null:content.getResource(); in doGet()
476 resource=getResource(pathInContext); in doGet()
480 resource=content==null?null:content.getResource(); in doGet()
655 Resource welcome=getResource(welcome_in_context); in getWelcomeFile()
1064 else if (content.getResource()!=null) in writeHeaders()
[all …]
/external/opencv3/samples/java/sbt/src/main/java/
DDetectFaceDemo.java21 .getResource("/lbpcascade_frontalface.xml").getPath()); in run()
22 Mat image = Imgcodecs.imread(getClass().getResource( in run()
/external/testng/src/test/java/test/serviceloader/
DServiceLoaderTest.java19 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/
DAgentJar.java43 public static URL getResource() { in getResource() method in AgentJar
44 final URL url = AgentJar.class.getResource(RESOURCE); in getResource()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DResourceHandler.java233 … _defaultStylesheet = Resource.newResource(this.getClass().getResource("/jetty-dir.css")); in getStylesheet()
289 public Resource getResource(String path) throws MalformedURLException in getResource() method in ResourceHandler
318 protected Resource getResource(HttpServletRequest request) throws MalformedURLException in getResource() method in ResourceHandler
341 return getResource(pathInContext); in getResource()
392 Resource resource = getResource(request); in handle()
/external/jetty/src/java/org/eclipse/jetty/util/
DLoader.java49 public static URL getResource(Class<?> loadClass,String name, boolean checkParents) in getResource() method in Loader
55 url=loader.getResource(name); in getResource()
62 url=loader.getResource(name); in getResource()
/external/messageformat/java/com/ibm/icu/impl/
DICUData.java33 return ICUData.class.getResource(resourceName); in exists()
37 i = ICUData.class.getResource(resourceName); in exists()
/external/jetty/src/java/org/eclipse/jetty/http/
DHttpContent.java42 Resource getResource(); in getResource() method
156 public Resource getResource() in getResource() method in HttpContent.ResourceAsHttpContent
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlLexerTest.java48 Resources.getResource(getClass(), "htmllexerinput1.html"), in testHtmlLexer()
55 Resources.getResource(getClass(), "htmllexergolden1.txt"), in testHtmlLexer()

1234567