Home
last modified time | relevance | path

Searched refs:Resource (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/external/jetty/src/java/org/eclipse/jetty/webapp/
DOrdering.java28 import org.eclipse.jetty.util.resource.Resource;
39 public List<Resource> order(List<Resource> fragments); in order()
66 public List<Resource> order(List<Resource> jars) in order()
68 List<Resource> orderedList = new ArrayList<Resource>(); in order()
69 List<Resource> tmp = new ArrayList<Resource>(jars); in order()
84 Resource jar = _metaData.getJarForFragment(item); in order()
137 protected LinkedList<Resource> _beforeOthers = new LinkedList<Resource>();
138 protected LinkedList<Resource> _afterOthers = new LinkedList<Resource>();
139 protected LinkedList<Resource> _noOthers = new LinkedList<Resource>();
151 public List<Resource> order(List<Resource> jars)
[all …]
DMetaData.java31 import org.eclipse.jetty.util.resource.Resource;
56 …protected final Map<Resource, FragmentDescriptor> _webFragmentResourceMap = new HashMap<Resource, …
57 …protected final Map<Resource, List<DiscoveredAnnotation>> _webFragmentAnnotations = new HashMap<Re…
58 protected final List<Resource> _webInfJars = new ArrayList<Resource>();
59 protected final List<Resource> _orderedWebInfJars = new ArrayList<Resource>();
60 protected final List<Resource> _orderedContainerJars = new ArrayList<Resource>();
145 public void setDefaults (Resource webDefaults) in setDefaults()
166 public void setWebXml (Resource webXml) in setWebXml()
191 public void addOverride (Resource override) in addOverride()
235 public void addFragment (Resource jarResource, Resource xmlResource) in addFragment()
[all …]
DMetaInfConfiguration.java30 import org.eclipse.jetty.util.resource.Resource;
55 ArrayList<Resource> jars = new ArrayList<Resource>(); in preConfigure()
80 for (Resource r : jars) in preConfigure()
107 public void addResource (WebAppContext context, String attribute, Resource jar) in addResource()
110 List<Resource> list = (List<Resource>)context.getAttribute(attribute); in addResource()
113 list=new ArrayList<Resource>(); in addResource()
132 addResource(context,METAINF_FRAGMENTS,Resource.newResource(jarUri)); in processEntry()
136 … addResource(context,METAINF_RESOURCES,Resource.newResource("jar:"+jarUri+"!/META-INF/resources")); in processEntry()
143 addResource(context,METAINF_TLDS,Resource.newResource("jar:"+jarUri+"!/"+name)); in processEntry()
DTagLibConfiguration.java42 import org.eclipse.jetty.util.resource.Resource;
123 … Collection<Resource> tld_resources = (Collection<Resource>)_context.getAttribute(TLD_RESOURCES); in contextInitialized()
130 for (Resource r:tld_resources) in contextInitialized()
132 Resource jarResource = extractJarResource(r); in contextInitialized()
149 Set<Resource> tlds = findTldResources(); in contextInitialized()
176 private Resource extractJarResource (Resource r) in extractJarResource()
189 return Resource.newResource(url); in extractJarResource()
206 private Set<Resource> findTldResources () throws IOException { in findTldResources()
208 Set<Resource> tlds = new HashSet<Resource>(); in findTldResources()
225 Resource l=_context.getBaseResource().addPath(location); in findTldResources()
[all …]
DWebXmlConfiguration.java28 import org.eclipse.jetty.util.resource.Resource;
51 Resource dftResource = Resource.newSystemResource(defaultsDescriptor); in preConfigure()
58 Resource webxml = findWebXml(context); in preConfigure()
71 Resource orideResource = Resource.newSystemResource(overrideDescriptor); in preConfigure()
98 protected Resource findWebXml(WebAppContext context) throws IOException, MalformedURLException in findWebXml()
103 Resource web = context.newResource(descriptor); in findWebXml()
107 Resource web_inf = context.getWebInf(); in findWebXml()
111 Resource web = web_inf.addPath("web.xml"); in findWebXml()
DWebInfConfiguration.java40 import org.eclipse.jetty.util.resource.Resource;
57 protected Resource _preUnpackBaseResource;
87 context.getMetaData().addContainerJar(Resource.newResource(uri)); in preConfigure()
124 context.getMetaData().addWebInfJar(Resource.newResource(uri)); in preConfigure()
127 List<Resource> jars = findJars(context); in preConfigure()
135 for (Resource r: jars) in preConfigure()
155 Resource web_inf = context.getWebInf(); in configure()
161 Resource classes= web_inf.addPath("classes/"); in configure()
166 Resource lib= web_inf.addPath("lib/"); in configure()
173 List<Resource> resources = (List<Resource>)context.getAttribute(RESOURCE_URLS); in configure()
[all …]
DFragmentConfiguration.java24 import org.eclipse.jetty.util.resource.Resource;
73 List<Resource> frags = (List<Resource>)context.getAttribute(FRAGMENT_RESOURCES); in findWebFragments()
76 for (Resource frag : frags) in findWebFragments()
80 …metaData.addFragment(frag, Resource.newResource(frag.getURL()+"/META-INF/web-fragment.xml")); … in findWebFragments()
84 …metaData.addFragment(frag, Resource.newResource("jar:"+frag.getURL()+"!/META-INF/web-fragment.xml"… in findWebFragments()
/external/jetty/src/java/org/eclipse/jetty/util/resource/
DResourceCollection.java45 public class ResourceCollection extends Resource
47 private Resource[] _resources;
57 _resources = new Resource[0]; in ResourceCollection()
66 public ResourceCollection(Resource... resources) in ResourceCollection()
68 List<Resource> list = new ArrayList<Resource>(); in ResourceCollection()
69 for (Resource r : resources) in ResourceCollection()
75 for (Resource r2 : ((ResourceCollection)r).getResources()) in ResourceCollection()
81 _resources = list.toArray(new Resource[list.size()]); in ResourceCollection()
82 for(Resource r : _resources) in ResourceCollection()
98 _resources = new Resource[resources.length]; in ResourceCollection()
[all …]
DResource.java47 public abstract class Resource implements ResourceFactory class
49 private static final Logger LOG = Log.getLogger(Resource.class);
76 public static Resource newResource(URI uri) in newResource()
88 public static Resource newResource(URL url) in newResource()
101 static Resource newResource(URL url, boolean useCaches) in newResource()
139 public static Resource newResource(String resource) in newResource()
151 public static Resource newResource (String resource, boolean useCaches) in newResource()
173 url=Resource.toURL(file); in newResource()
196 public static Resource newResource (File file) in newResource()
200 URL url = Resource.toURL(file); in newResource()
[all …]
/external/icu/icu4c/source/common/
Duresdata.h61 typedef uint32_t Resource; typedef
83 #define URES_MAKE_RESOURCE(type, offset) (((Resource)(type)<<28)|(Resource)(offset))
84 #define URES_MAKE_EMPTY_RESOURCE(type) ((Resource)(type)<<28)
387 Resource rootRes;
422 res_getPublicType(Resource res);
430 res_getString(const ResourceData *pResData, Resource res, int32_t *pLength);
433 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength);
436 res_getBinary(const ResourceData *pResData, Resource res, int32_t *pLength);
439 res_getIntVector(const ResourceData *pResData, Resource res, int32_t *pLength);
441 U_INTERNAL Resource U_EXPORT2
[all …]
Duresdata.cpp162 pResData->rootRes=(Resource)*pResData->pRoot; in res_init()
303 res_getPublicType(Resource res) { in res_getPublicType()
308 res_getString(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getString()
354 UBool isNoInheritanceMarker(const ResourceData *pResData, Resource res) { in isNoInheritanceMarker()
386 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getAlias()
405 res_getBinary(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getBinary()
425 res_getIntVector(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getIntVector()
443 res_countArrayItems(const ResourceData *pResData, Resource res) { in res_countArrayItems()
468 int32_t getArrayLength(const ResourceData *pResData, Resource res) { in getArrayLength()
483 int32_t getTableLength(const ResourceData *pResData, Resource res) { in getTableLength()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DDecodeJob.java78 public Resource<Z> decodeResultFromCache() throws Exception { in decodeResultFromCache()
84 Resource<T> transformed = loadFromCache(resultKey); in decodeResultFromCache()
89 Resource<Z> result = transcode(transformed); in decodeResultFromCache()
102 public Resource<Z> decodeSourceFromCache() throws Exception { in decodeSourceFromCache()
108 Resource<T> decoded = loadFromCache(resultKey.getOriginalKey()); in decodeSourceFromCache()
126 public Resource<Z> decodeFromSource() throws Exception { in decodeFromSource()
127 Resource<T> decoded = decodeSource(); in decodeFromSource()
136 private Resource<Z> transformEncodeAndTranscode(Resource<T> decoded) { in transformEncodeAndTranscode()
138 Resource<T> transformed = transform(decoded); in transformEncodeAndTranscode()
146 Resource<Z> result = transcode(transformed); in transformEncodeAndTranscode()
[all …]
/external/skia/src/gpu/vk/
DGrVkImage.h21 class Resource : public GrVkResource {
32 Resource() : INHERITED(), fImage(nullptr), fAlloc(nullptr), fFlags(kNo_Flags) {} in Resource() function
34 Resource(VkImage image, VkDeviceMemory alloc, Flags flags) in Resource() function
37 ~Resource() override {} in ~Resource()
45 GrVkImage(const Resource* imageResource) : fResource(imageResource) { in GrVkImage()
46 if (imageResource->fFlags & Resource::kLinearTiling_Flag) { in GrVkImage()
58 const Resource* resource() const { return fResource; } in resource()
60 return SkToBool(fResource->fFlags & Resource::kLinearTiling_Flag); in isLinearTiled()
95 static const Resource* CreateResource(const GrVkGpu* gpu, const ImageDesc& imageDesc);
102 const Resource* fResource;
DGrVkRenderTarget.h37 const GrVkImage::Resource* resource);
43 const GrVkImage::Resource* msaaImageResource() const { return fMSAAImageResource; } in msaaImageResource()
45 const GrVkImage::Resource* stencilImageResource() const;
73 const GrVkImage::Resource* imageResource,
74 const GrVkImage::Resource* msaaImageResource,
81 const GrVkImage::Resource* imageResource,
82 const GrVkImage::Resource* msaaImageResource,
90 const GrVkImage::Resource* imageResource,
96 const GrVkImage::Resource* imageResource,
102 const GrVkImage::Resource* imageResource);
[all …]
/external/libxml2/result/
Drdf1.rde113 4 1 RPM:Resource 0 0
115 4 15 RPM:Resource 0 0
130 4 1 RPM:Resource 0 0
132 4 15 RPM:Resource 0 0
135 4 1 RPM:Resource 0 0
137 4 15 RPM:Resource 0 0
140 4 1 RPM:Resource 0 0
142 4 15 RPM:Resource 0 0
145 4 1 RPM:Resource 0 0
147 4 15 RPM:Resource 0 0
[all …]
Drdf1.rdr113 4 1 RPM:Resource 0 0
115 4 15 RPM:Resource 0 0
130 4 1 RPM:Resource 0 0
132 4 15 RPM:Resource 0 0
135 4 1 RPM:Resource 0 0
137 4 15 RPM:Resource 0 0
140 4 1 RPM:Resource 0 0
142 4 15 RPM:Resource 0 0
145 4 1 RPM:Resource 0 0
147 4 15 RPM:Resource 0 0
[all …]
Drdf1.sax118 SAX.startElement(RPM:Resource)
120 SAX.endElement(RPM:Resource)
135 SAX.startElement(RPM:Resource)
137 SAX.endElement(RPM:Resource)
140 SAX.startElement(RPM:Resource)
142 SAX.endElement(RPM:Resource)
145 SAX.startElement(RPM:Resource)
147 SAX.endElement(RPM:Resource)
150 SAX.startElement(RPM:Resource)
152 SAX.endElement(RPM:Resource)
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapper.java5 import com.bumptech.glide.load.engine.Resource;
13 private final Resource<GifDrawable> gifResource;
14 private final Resource<Bitmap> bitmapResource;
16 public GifBitmapWrapper(Resource<Bitmap> bitmapResource, Resource<GifDrawable> gifResource) { in GifBitmapWrapper()
41 public Resource<Bitmap> getBitmapResource() { in getBitmapResource()
48 public Resource<GifDrawable> getGifResource() { in getGifResource()
DGifBitmapWrapperTransformation.java6 import com.bumptech.glide.load.engine.Resource;
30 …public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int… in transform()
31 Resource<Bitmap> bitmapResource = resource.get().getBitmapResource(); in transform()
32 Resource<GifDrawable> gifResource = resource.get().getGifResource(); in transform()
34Resource<Bitmap> transformed = bitmapTransformation.transform(bitmapResource, outWidth, outHeight); in transform()
40Resource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeig… in transform()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DResourceHandler.java46 import org.eclipse.jetty.util.resource.Resource;
64 Resource _baseResource;
65 Resource _defaultStylesheet;
66 Resource _stylesheet;
171 public Resource getBaseResource() in getBaseResource()
194 public void setBaseResource(Resource base) in setBaseResource()
207 setBaseResource(Resource.newResource(resourceBase)); in setResourceBase()
221 public Resource getStylesheet() in getStylesheet()
233 … _defaultStylesheet = Resource.newResource(this.getClass().getResource("/jetty-dir.css")); in getStylesheet()
253 _stylesheet = Resource.newResource(stylesheet); in setStylesheet()
[all …]
/external/deqp/framework/common/
DtcuResource.hpp45 class Resource class
48 virtual ~Resource (void) {} in ~Resource()
58 Resource (const std::string& name) : m_name(name) {} in Resource() function in tcu::Resource
82 virtual Resource* getResource (const char* name) const = 0;
97 Resource* getResource (const char* name) const;
108 class FileResource : public Resource
132 virtual Resource* getResource (const char* name) const;
/external/jetty/src/java/org/eclipse/jetty/http/
DHttpContent.java28 import org.eclipse.jetty.util.resource.Resource;
42 Resource getResource(); in getResource()
54 final Resource _resource;
60 public ResourceAsHttpContent(final Resource resource, final Buffer mimeType) in ResourceAsHttpContent()
66 public ResourceAsHttpContent(final Resource resource, final Buffer mimeType, int maxBuffer) in ResourceAsHttpContent()
72 public ResourceAsHttpContent(final Resource resource, final Buffer mimeType, boolean etag) in ResourceAsHttpContent()
78 …public ResourceAsHttpContent(final Resource resource, final Buffer mimeType, int maxBuffer, boolea… in ResourceAsHttpContent()
156 public Resource getResource() in getResource()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DGifBitmapWrapperDrawableTranscoder.java5 import com.bumptech.glide.load.engine.Resource;
25 public Resource<GlideDrawable> transcode(Resource<GifBitmapWrapper> toTranscode) { in transcode()
27 Resource<Bitmap> bitmapResource = gifBitmap.getBitmapResource(); in transcode()
29 final Resource<? extends GlideDrawable> result; in transcode()
36 return (Resource<GlideDrawable>) result; in transcode()
DBitmapToGlideDrawableTranscoder.java6 import com.bumptech.glide.load.engine.Resource;
30 public Resource<GlideDrawable> transcode(Resource<Bitmap> toTranscode) { in transcode()
31 return (Resource<GlideDrawable>) (Resource<? extends GlideDrawable>) in transcode()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DMemoryCache.java4 import com.bumptech.glide.load.engine.Resource;
14 void onResourceRemoved(Resource<?> removed); in onResourceRemoved()
44 Resource<?> remove(Key key); in remove()
53 Resource<?> put(Key key, Resource<?> resource); in put()

12345678910>>...13