Home
last modified time | relevance | path

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

12345678910>>...15

/external/jacoco/org.jacoco.core.test/src-java7/org/jacoco/core/test/filter/targets/
DTryWithResources.java25 private static class Resource implements Closeable { class in TryWithResources
39 Resource r1 = new Resource(); // $line-test.open1$ in test()
40 Closeable r2 = new Resource(); // $line-test.open2$ in test()
41 AutoCloseable r3 = new Resource() // $line-test.open3$ in test()
56 Resource r1 = new Resource(); // $line-test2.open1$ in test2()
57 Closeable r2 = new Resource(); // $line-test2.open2$ in test2()
58 AutoCloseable r3 = new Resource() // $line-test2.open3$ in test2()
72 Closeable r = new Resource() // $line-returnInBody.open$ in returnInBody()
80 Resource r1 = new Resource() // $line-nested.open1$ in nested()
84 Resource r2 = new Resource() // $line-nested.open2$ in nested()
[all …]
/external/r8/src/main/java/com/android/tools/r8/utils/
DAndroidApp.java11 import com.android.tools.r8.Resource;
54 private final ImmutableList<Resource> programResources;
55 private final ImmutableList<Resource> classpathResources;
56 private final ImmutableList<Resource> libraryResources;
59 private final Resource proguardMap;
60 private final Resource proguardSeeds;
61 private final Resource packageDistribution;
62 private final Resource mainDexList;
66 ImmutableList<Resource> programResources, in AndroidApp()
67 ImmutableList<Resource> classpathResources, in AndroidApp()
[all …]
/external/icu/icu4c/source/common/
Duresdata.h63 typedef uint32_t Resource; typedef
85 #define URES_MAKE_RESOURCE(type, offset) (((Resource)(type)<<28)|(Resource)(offset))
86 #define URES_MAKE_EMPTY_RESOURCE(type) ((Resource)(type)<<28)
389 Resource rootRes;
424 res_getPublicType(Resource res);
432 res_getString(const ResourceData *pResData, Resource res, int32_t *pLength);
435 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength);
438 res_getBinary(const ResourceData *pResData, Resource res, int32_t *pLength);
441 res_getIntVector(const ResourceData *pResData, Resource res, int32_t *pLength);
443 U_INTERNAL Resource U_EXPORT2
[all …]
Duresdata.cpp164 pResData->rootRes=(Resource)*pResData->pRoot; in res_init()
305 res_getPublicType(Resource res) { in res_getPublicType()
310 res_getString(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getString()
356 UBool isNoInheritanceMarker(const ResourceData *pResData, Resource res) { in isNoInheritanceMarker()
418 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getAlias()
437 res_getBinary(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getBinary()
457 res_getIntVector(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getIntVector()
475 res_countArrayItems(const ResourceData *pResData, Resource res) { in res_countArrayItems()
575 const Resource *items32 = NULL; in getArray()
581 items32 = (const Resource *)pResData->pRoot+offset; in getArray()
[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/r8/src/test/java/com/android/tools/r8/utils/
DOutputModeTest.java8 import com.android.tools.r8.Resource;
21 Resource test = in testFilePerClass()
22 Resource.fromBytes(Resource.Kind.CLASSFILE, new byte[]{}, Collections.singleton("LTest;")); in testFilePerClass()
24 Resource comTest = in testFilePerClass()
25 Resource.fromBytes( in testFilePerClass()
26 Resource.Kind.CLASSFILE, new byte[]{}, Collections.singleton("Lcom/Test;")); in testFilePerClass()
28 Resource comExampleTest = in testFilePerClass()
29 Resource.fromBytes( in testFilePerClass()
30 Resource.Kind.CLASSFILE, new byte[]{}, Collections.singleton("Lcom/example/Test;")); in testFilePerClass()
/external/swiftshader/src/Common/
DResource.cpp21 Resource::Resource(size_t bytes) : size(bytes) in Resource() function in sw::Resource
32 Resource::~Resource() in ~Resource()
37 void *Resource::lock(Accessor claimer) in lock()
60 void *Resource::lock(Accessor relinquisher, Accessor claimer) in lock()
106 void Resource::unlock() in unlock()
131 void Resource::unlock(Accessor relinquisher) in unlock()
159 void Resource::destruct() in destruct()
177 const void *Resource::data() const in data()
/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 …]
Drdf1.sax2118 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
120 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
135 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
137 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
140 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
142 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
145 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
147 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
150 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
152 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
[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/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/skia/src/gpu/vk/
DGrVkImage.h23 class Resource;
38 fResource = new Resource(info.fImage, info.fAlloc, info.fImageTiling); in GrVkImage()
47 const Resource* resource() const { return fResource; } in resource()
104 class Resource : public GrVkResource {
106 Resource() in Resource() function
115 Resource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in Resource() function
122 ~Resource() override { in ~Resource()
153 class BorrowedResource : public Resource {
156 : Resource(image, alloc, tiling) { in BorrowedResource()
170 const Resource* fResource;
DGrVkUniformBuffer.h38 class Resource : public GrVkBuffer::Resource {
40 Resource(VkBuffer buf, const GrVkAlloc& alloc) in Resource() function
45 typedef GrVkBuffer::Resource INHERITED;
48 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu,
52 const GrVkUniformBuffer::Resource* resource) in GrVkUniformBuffer()
DGrVkSemaphore.h29 class Resource : public GrVkResource {
31 Resource(VkSemaphore semaphore, bool isOwned) in Resource() function
34 ~Resource() override {} in ~Resource()
52 const Resource* getResource() const { return fResource; } in getResource()
59 const Resource* fResource;
/external/r8/src/main/java/com/android/tools/r8/
DResource.java16 public abstract class Resource { class
22 private Resource(Kind kind) { in Resource() method in Resource
30 public static Resource fromFile(Kind kind, Path file) { in fromFile()
35 public static Resource fromBytes(Kind kind, byte[] bytes) { in fromBytes()
40 public static Resource fromBytes(Kind kind, byte[] bytes, Set<String> typeDescriptors) { in fromBytes()
54 private static class FileResource extends Resource {
75 private static class ByteResource extends Resource {
/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()
/external/r8/src/test/java/com/android/tools/r8/
DD8IncrementalRunExamplesAndroidOTest.java54 Map<String, Resource> files = compileClassesTogether(testJarFile, null); in build()
59 SortedMap<String, Resource> compileClassesSeparately(Path testJarFile) throws Throwable { in compileClassesSeparately()
60 TreeMap<String, Resource> fileToResource = new TreeMap<>(); in compileClassesSeparately()
74 SortedMap<String, Resource> compileClassesTogether( in compileClassesTogether()
76 TreeMap<String, Resource> fileToResource = new TreeMap<>(); in compileClassesTogether()
80 for (Resource resource : app.getDexProgramResources()) { in compileClassesTogether()
173 Resource mergeClassFiles(List<Resource> dexFiles, Path out) throws Throwable { in mergeClassFiles()
175 for (Resource dexFile : dexFiles) { in mergeClassFiles()
213 Map<String, Resource> compiledSeparately = test.compileClassesSeparately(inputJarFile); in dexPerClassFileNoDesugaring()
214 Map<String, Resource> compiledTogether = test.compileClassesTogether(inputJarFile, null); in dexPerClassFileNoDesugaring()
[all …]
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
DAntFilesLocator.java20 import org.apache.tools.ant.types.Resource;
28 private final Map<String, Resource> resources;
33 this.resources = new HashMap<String, Resource>(); in AntFilesLocator()
42 void add(final Resource file) { in add()
48 final Resource file = resources.get(path); in getSourceStream()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
DXLIFF2ICUConverter.java448 Resource[] set = new Resource[2]; in createRB()
500 private void writeResource(Resource[] set, String xmlfileName){ in writeResource()
514 private void writeResource(Resource set, String sourceFilename, String targetFilename){ in writeResource()
528 Resource current = set; in writeResource()
607 private class Resource{ class in XLIFF2ICUConverter
613 Resource next;
687 private class ResourceString extends Resource{
703 private class ResourceAlias extends Resource{
719 private class ResourceInt extends Resource{
735 private class ResourceBinary extends Resource{
[all …]
/external/libxml2/result/noent/
Drdf1.sax2118 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
120 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
135 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
137 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
140 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
142 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
145 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
147 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
150 SAX.startElementNs(Resource, RPM, 'http://www.rpm.org/', 0, 0, 0)
152 SAX.endElementNs(Resource, RPM, 'http://www.rpm.org/')
[all …]

12345678910>>...15