HomeSort by relevance Sort by last modified time
    Searched defs:Resource (Results 1 - 25 of 166) sorted by null

1 2 3 4 5 6 7

  /external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
resource.py 5 """A Resource is a file and its various associated canonical names."""
11 class Resource(object):
31 """The dotted name for this resource based on its relative path."""
  /external/clang/test/SemaCXX/
operator-arrow-temporary.cpp 4 struct Resource {
10 Resource* operator->() { return 0; }
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Resource.java 5 * A resource interface that wraps a particular type so that it can be pooled and reused.
7 * @param <Z> The type of resource wrapped by this class.
9 public interface Resource<Z> {
12 * Returns an instance of the wrapped resource.
14 * Note - This does not have to be the same instance of the wrapped resource class and in fact it is often
25 * Returns the size in bytes of the wrapped resource to use to determine how much of the memory cache this resource
34 * It is only safe to call this method if there are no current resource consumers and if this method has not
37 * <li>During a resource load when the resource is transformed or transcoded before any consumer hav
    [all...]
  /packages/apps/Camera2/src/com/android/camera/processing/memory/
LruResourcePool.java 28 * Returns a wrapped reference to a resource.
33 public Resource<TValue> acquire(TKey key);
36 * Closeable resource object that will release the underlying object back to the
37 * source resource pool. A resource may be released or closed multiple times,
38 * and calls to get will return null if the resource has already been released.
40 public interface Resource<T> extends SafeCloseable {
42 * Get the underlying resource. This will return null if the resource has been
45 * @return the resource represented by this instance
    [all...]
  /external/deqp/framework/common/
tcuResource.hpp 23 * \brief Resource system.
36 * \brief Resource object
42 * Resource objects are requested from Archive object provided by Platform.
45 class Resource
48 virtual ~Resource (void) {}
58 Resource (const std::string& name) : m_name(name) {}
65 * \brief Abstract resource archive
73 * \brief Open resource
75 * Throws resource error if no resource with given name exists
    [all...]
  /external/mesa3d/src/egl/main/
eglsync.h 42 /* A sync is a display resource */
43 _EGLResource Resource;
68 _eglGetResource(&sync->Resource);
79 return (sync) ? _eglPutResource(&sync->Resource) : EGL_FALSE;
90 _eglLinkResource(&sync->Resource, _EGL_RESOURCE_SYNC);
101 _eglUnlinkResource(&sync->Resource, _EGL_RESOURCE_SYNC);
eglcontext.h 44 /* A context is a display resource */
45 _EGLResource Resource;
88 _eglGetResource(&ctx->Resource);
99 return (ctx) ? _eglPutResource(&ctx->Resource) : EGL_FALSE;
110 _eglLinkResource(&ctx->Resource, _EGL_RESOURCE_CONTEXT);
122 _eglUnlinkResource(&ctx->Resource, _EGL_RESOURCE_CONTEXT);
eglimage.h 63 /* An image is a display resource */
64 _EGLResource Resource;
84 _eglGetResource(&img->Resource);
95 return (img) ? _eglPutResource(&img->Resource) : EGL_FALSE;
106 _eglLinkResource(&img->Resource, _EGL_RESOURCE_IMAGE);
118 _eglUnlinkResource(&img->Resource, _EGL_RESOURCE_IMAGE);
eglsurface.h 44 /* A surface is a display resource */
45 _EGLResource Resource;
109 _eglGetResource(&surf->Resource);
120 return (surf) ? _eglPutResource(&surf->Resource) : EGL_FALSE;
131 _eglLinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE);
143 _eglUnlinkResource(&surf->Resource, _EGL_RESOURCE_SURFACE);
  /external/skia/src/gpu/vk/
GrVkBuffer.h 29 const GrVkResource* resource() const { return fResource; } function in class:GrVkBuffer
54 class Resource : public GrVkResource {
56 Resource(VkBuffer buf, VkDeviceMemory alloc) : INHERITED(), fBuffer(buf), fAlloc(alloc) {}
67 static const Resource* Create(const GrVkGpu* gpu,
70 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource)
71 : fDesc(desc), fResource(resource), fMapPtr(nullptr) {
86 const Resource* fResource;
GrVkImage.h 21 class Resource : public GrVkResource {
32 Resource() : INHERITED(), fImage(nullptr), fAlloc(nullptr), fFlags(kNo_Flags) {}
34 Resource(VkImage image, VkDeviceMemory alloc, Flags flags)
37 ~Resource() override {}
45 GrVkImage(const Resource* imageResource) : fResource(imageResource) {
46 if (imageResource->fFlags & Resource::kLinearTiling_Flag) {
58 const Resource* resource() const { return fResource; } function in class:GrVkImage
60 return SkToBool(fResource->fFlags & Resource::kLinearTiling_Flag);
95 static const Resource* CreateResource(const GrVkGpu* gpu, const ImageDesc& imageDesc)
    [all...]
  /external/v8/src/
objects-body-descriptors-inl.h 308 typedef v8::String::ExternalOneByteStringResource Resource;
309 v->VisitExternalOneByteString(reinterpret_cast<Resource**>(
315 typedef v8::String::ExternalOneByteStringResource Resource;
316 StaticVisitor::VisitExternalOneByteString(reinterpret_cast<Resource**>(
331 typedef v8::String::ExternalStringResource Resource;
332 v->VisitExternalTwoByteString(reinterpret_cast<Resource**>(
338 typedef v8::String::ExternalStringResource Resource;
339 StaticVisitor::VisitExternalTwoByteString(reinterpret_cast<Resource**>(
  /libcore/ojluni/src/main/java/sun/misc/
Resource.java 40 * This class is used to represent a Resource that has been loaded
46 public abstract class Resource {
48 * Returns the name of the Resource.
53 * Returns the URL of the Resource.
58 * Returns the CodeSource URL for the Resource.
63 * Returns an InputStream for reading the Resource data.
68 * Returns the length of the Resource data, or -1 if unknown.
83 * Returns the Resource data as an array of bytes.
156 * Returns the Resource data as a ByteBuffer, but only if the input stream
168 * Returns the Manifest for the Resource, or null if none
    [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
jsr250-api-1.0.jar 
  /prebuilts/tools/common/m2/repository/javax/annotation/jsr250-api/1.0/
jsr250-api-1.0.jar 
  /external/autotest/frontend/shared/
rest_client.py 60 class Resource(object):
69 return 'Resource(%r)' % self._representation()
86 # recursively convert representation dicts to Resource objects
99 # recursively convert Resource objects to representation dicts
105 if isinstance(value, Resource):
resource_lib.py 33 class Resource(object):
42 # resource.
71 # the handler methods below only need to be overridden if the resource
116 """Return kwargs for a URI reference to this resource.
126 Documents the available query parameters for GETting this resource.
148 """Return URI to this resource."""
264 class Entry(Resource):
376 class Collection(Resource):
630 other resource handling code) or from read_query_parameters() (when a
  /prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/
javax.annotation-api-1.2.jar 
  /external/icu/icu4c/source/common/
uresdata.h 13 * 06/24/02 weiv Added support for resource sharing
26 * Numeric constants for internal-only types of resource items.
35 /** Resource type constant for tables with 32-bit count, key offsets and values. */
39 * Resource type constant for tables with 16-bit count, key offsets and values.
44 /** Resource type constant for 16-bit Unicode strings in formatVersion 2. */
48 * Resource type constant for arrays with 16-bit count and values.
53 /* Resource type 15 is not defined but effectively used by RES_BOGUS=0xffffffff. */
57 * A Resource is a 32-bit value that has 2 bit fields:
61 typedef uint32_t Resource;
70 /* get signed and unsigned integer values directly from the Resource handle *
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_parse.h 73 struct tgsi_declaration_resource Resource;
  /external/chromium-trace/catapult/third_party/apiclient/googleapiclient/
discovery.py 152 """Construct a Resource for interacting with an API.
154 Construct a Resource object for interacting with an API. The serviceName and
175 A Resource object with methods for interacting with the service.
230 """Create a Resource for interacting with an API.
232 Same as `build()`, but constructs the Resource object from a discovery
253 A Resource object with methods for interacting with the service.
289 return Resource(http=http, baseUrl=base, model=model,
604 """Creates a method for attaching to a Resource.
833 """Creates any _next methods for attaching to a Resource.
880 class Resource(object)
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/util/resource/
Resource.java 19 package org.eclipse.jetty.util.resource;
45 * Abstract resource class.
47 public abstract class Resource implements ResourceFactory
49 private static final Logger LOG = Log.getLogger(Resource.class);
71 /** Construct a resource from a uri.
73 * @return A Resource object.
76 public static Resource newResource(URI uri)
83 /** Construct a resource from a url.
85 * @return A Resource object.
88 public static Resource newResource(URL url
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/handler/
ResourceHandler.java 45 import org.eclipse.jetty.util.resource.FileResource;
46 import org.eclipse.jetty.util.resource.Resource;
50 /** Resource Handler.
64 Resource _baseResource;
65 Resource _defaultStylesheet;
66 Resource _stylesheet;
94 * @return True if resource aliases are allowed.
103 * Set if resource aliases (eg symlink, 8.3 names, case insensitivity) are allowed.
171 public Resource getBaseResource(
392 Resource resource = getResource(request); local
    [all...]
  /external/v8/test/cctest/
test-strings.cc 104 class Resource: public v8::String::ExternalStringResource {
106 Resource(const uc16* data, size_t length): data_(data), length_(length) {}
107 ~Resource() { i::DeleteArray(data_); }
193 Resource* resource = new Resource(buf, len); local
195 *v8::String::NewExternalTwoByte(CcTest::isolate(), resource)
207 OneByteResource* resource = new OneByteResource(buf, len); local
209 *v8::String::NewExternalOneByte(CcTest::isolate(), resource)
964 Resource* resource = new Resource(non_one_byte, i) local
1058 Resource* resource = new Resource(two_byte, length); local
    [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/apache/maven/plugins/maven-resources-plugin/2.4.3/
maven-resources-plugin-2.4.3.jar 

Completed in 639 milliseconds

1 2 3 4 5 6 7