Searched refs:resource (Results 1 - 25 of 718) sorted by relevance

1234567891011>>

/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dresource.h1 #include <asm-generic/resource.h>
/external/kernel-headers/original/uapi/asm-arm64/asm/
H A Dresource.h1 #include <asm-generic/resource.h>
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dresource.h1 #include <asm-generic/resource.h>
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetResource.java22 public static String getResourceURL(String resource) { argument
23 return "http://" + Support_Configuration.TestResources + resource;
/external/skia/tools/
H A DResources.h18 SkString GetResourcePath(const char* resource = "");
21 bool GetResourceAsBitmap(const char* resource, SkBitmap* dst);
22 SkImage* GetResourceAsImage(const char* resource);
23 SkStreamAsset* GetResourceAsStream(const char* resource);
24 SkTypeface* GetResourceAsTypeface(const char* resource);
H A DResources.cpp20 SkString GetResourcePath(const char* resource) { argument
21 return SkOSPath::Join(FLAGS_resourcePath[0], resource);
24 void SetResourcePath(const char* resource) { argument
25 FLAGS_resourcePath.set(0, resource);
28 bool GetResourceAsBitmap(const char* resource, SkBitmap* dst) { argument
29 SkString resourcePath = GetResourcePath(resource);
35 SkImage* GetResourceAsImage(const char* resource) { argument
36 SkString path = GetResourcePath(resource);
41 SkStreamAsset* GetResourceAsStream(const char* resource) { argument
42 SkString resourcePath = GetResourcePath(resource);
52 GetResourceAsTypeface(const char* resource) argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
H A DGlideDrawableImageViewTarget.java5 import com.bumptech.glide.load.resource.drawable.GlideDrawable;
15 private GlideDrawable resource; field in class:GlideDrawableImageViewTarget
19 * {@link com.bumptech.glide.load.resource.drawable.GlideDrawable} in an {@link android.widget.ImageView}.
29 * {@link com.bumptech.glide.load.resource.drawable.GlideDrawable} in an {@link android.widget.ImageView}.
32 * @param maxLoopCount A value to pass to to {@link com.bumptech.glide.load.resource.drawable.GlideDrawable}s
34 * {@link com.bumptech.glide.load.resource.drawable.GlideDrawable#setLoopCount(int)}.
47 * @param resource {@inheritDoc}
51 public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> animation) { argument
52 if (!resource.isAnimated()) {
60 float drawableRatio = resource
79 setResource(GlideDrawable resource) argument
[all...]
H A DBitmapImageViewTarget.java21 * @param resource The bitmap to display.
24 protected void setResource(Bitmap resource) { argument
25 view.setImageBitmap(resource);
H A DDrawableImageViewTarget.java15 protected void setResource(Drawable resource) { argument
16 view.setImageDrawable(resource);
/external/skia/src/gpu/
H A DGrResourceCache.cpp120 void GrResourceCache::insertResource(GrGpuResource* resource) { argument
121 SkASSERT(resource);
122 SkASSERT(!this->isInCache(resource));
123 SkASSERT(!resource->wasDestroyed());
124 SkASSERT(!resource->isPurgeable());
128 resource->cacheAccess().setTimestamp(this->getNextTimestamp());
130 this->addToNonpurgeableArray(resource);
132 size_t size = resource->gpuMemorySize();
139 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) {
149 if (resource
157 removeResource(GrGpuResource* resource) argument
254 GrGpuResource* resource; local
281 willRemoveScratchKey(const GrGpuResource* resource) argument
286 removeUniqueKey(GrGpuResource* resource) argument
297 changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) argument
332 refAndMakeResourceMRU(GrGpuResource* resource) argument
347 notifyCntReachedZero(GrGpuResource* resource, uint32_t flags) argument
406 didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) argument
430 didChangeBudgetStatus(GrGpuResource* resource) argument
472 GrGpuResource* resource = fPurgeableQueue.peek(); local
480 GrGpuResource* resource = fPurgeableQueue.peek(); local
500 GrGpuResource* resource = fPurgeableQueue.peek(); local
511 GrGpuResource* resource = this->findAndRefUniqueResource(msgs[i].key()); local
519 addToNonpurgeableArray(GrGpuResource* resource) argument
525 removeFromNonpurgeableArray(GrGpuResource* resource) argument
654 update(GrGpuResource* resource) argument
[all...]
/external/libchrome/sandbox/linux/services/
H A Dresource_limits.h8 #include <sys/resource.h>
19 // Lower the soft and hard limit of |resource| to |limit|. If the current
21 static bool Lower(int resource, rlim_t limit) WARN_UNUSED_RESULT;
H A Dresource_limits.cc7 #include <sys/resource.h>
15 bool ResourceLimits::Lower(int resource, rlim_t limit) { argument
17 if (getrlimit(resource, &old_rlimit))
22 int rc = setrlimit(resource, &new_rlimit);
/external/replicaisland/src/com/replica/replicaisland/
H A DTexture.java20 * Simple container class for textures. Serves as a mapping between Android resource ids and
26 public int resource; field in class:Texture
38 resource = -1;
/external/jetty/src/java/org/eclipse/jetty/util/resource/
H A DResourceFactory.java19 package org.eclipse.jetty.util.resource;
29 /** Get a resource for a path.
30 * @param path The path to the resource
31 * @return The resource or null
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_resource.c13 struct pipe_resource *resource,
16 struct u_resource *ur = u_resource(resource);
17 return ur->vtbl->resource_get_handle(screen, resource, handle);
21 struct pipe_resource *resource)
23 struct u_resource *ur = u_resource(resource);
24 ur->vtbl->resource_destroy(screen, resource);
28 struct pipe_resource *resource,
33 struct u_resource *ur = u_resource(resource);
34 return ur->vtbl->get_transfer(context, resource, level, usage, box);
40 struct u_resource *ur = u_resource(transfer->resource);
12 u_resource_get_handle_vtbl(struct pipe_screen *screen, struct pipe_resource *resource, struct winsys_handle *handle) argument
20 u_resource_destroy_vtbl(struct pipe_screen *screen, struct pipe_resource *resource) argument
27 u_get_transfer_vtbl(struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
66 u_transfer_inline_write_vtbl( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
H A DResourceRecycler.java15 public void recycle(Resource<?> resource) { argument
19 // If a resource has sub-resources, releasing a sub resource can cause it's parent to be synchronously
21 handler.obtainMessage(ResourceRecyclerCallback.RECYCLE_RESOURCE, resource).sendToTarget();
24 resource.recycle();
35 Resource resource = (Resource) message.obj;
36 resource.recycle();
/external/mesa3d/src/egl/wayland/wayland-drm/
H A Dwayland-drm.c49 destroy_buffer(struct wl_resource *resource) argument
51 struct wl_drm_buffer *buffer = resource->data;
59 buffer_destroy(struct wl_client *client, struct wl_resource *resource) argument
61 wl_resource_destroy(resource);
69 create_buffer(struct wl_client *client, struct wl_resource *resource, argument
76 struct wl_drm *drm = resource->data;
81 wl_resource_post_no_memory(resource);
98 wl_resource_post_error(resource,
104 buffer->buffer.resource.object.id = id;
105 buffer->buffer.resource
117 drm_create_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, uint32_t name, int32_t width, int32_t height, uint32_t stride, uint32_t format) argument
138 drm_create_planar_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, uint32_t name, int32_t width, int32_t height, uint32_t format, int32_t offset0, int32_t stride0, int32_t offset1, int32_t stride1, int32_t offset2, int32_t stride2) argument
167 drm_authenticate(struct wl_client *client, struct wl_resource *resource, uint32_t id) argument
190 struct wl_resource *resource; local
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dresource.hpp40 class resource { class in namespace:clover
44 resource(const resource &r) = delete;
45 virtual ~resource();
48 resource &src_resource, const point &src_origin);
63 resource(clover::device &dev, clover::memory_obj &obj);
83 class root_resource : public resource {
93 /// Resource that reuses a portion of some other resource as data
96 class sub_resource : public resource {
98 sub_resource(clover::resource
[all...]
/external/fio/lib/
H A Dgetrusage.h5 #include <sys/resource.h>
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dresource.h14 * These five resource limit IDs have a MIPS/Linux-specific ordering,
33 #include <asm-generic/resource.h>
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
H A Dresource_unittest.py8 from py_vulcanize import resource namespace
14 r = resource.Resource('/a', '/a/b/c.js')
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
H A DFileResource.java1 package com.bumptech.glide.load.resource.file;
3 import com.bumptech.glide.load.resource.SimpleResource;
/external/autotest/client/common_lib/cros/fake_device_server/
H A Dresource_method.py5 """Module contains a simple base class for patching or updating a resource."""
17 def __init__(self, resource):
19 @param resource: A resource delegate for storing devices.
21 self.resource = resource
26 """Updates the given resource with the incoming json blob.
31 Caller must define a json blob to patch the resource with.
34 server_errors.HTTPError if the resource doesn't exist.
41 return self.resource
[all...]
/external/skia/include/gpu/
H A DGrGpuResourceRef.h19 * Class that wraps a resource referenced by a GrProgramElement or GrDrawState. It manages
20 * converting refs to pending IO operations. It allows a resource ownership to be in three
34 * longer share an instance of this class, attempt to make the resource owned by GrGpuResourceRef
43 /** Does this object own a pending read or write on the resource it is wrapping. */
54 pending on the resource when markPendingIO is called. */
58 pending on the resource when markPendingIO is called. */
68 writes to the resource using the program element or draw state. It can only be called once.
96 pending on the resource when markPendingIO is called. */
97 GrTGpuResourceRef(T* resource, GrIOType ioType) : INHERITED(resource, ioTyp argument
103 set(T* resource, GrIOType ioType) argument
162 reset(T* resource) argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
H A DGifBitmapWrapperTransformation.java1 package com.bumptech.glide.load.resource.gifbitmap;
8 import com.bumptech.glide.load.resource.gif.GifDrawable;
9 import com.bumptech.glide.load.resource.gif.GifDrawableTransformation;
13 * transformation to both {@link android.graphics.Bitmap}s and {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
30 public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) { argument
31 Resource<Bitmap> bitmapResource = resource.get().getBitmapResource();
32 Resource<GifDrawable> gifResource = resource.get().getGifResource();
36 GifBitmapWrapper gifBitmap = new GifBitmapWrapper(transformed, resource.get().getGifResource());
42 GifBitmapWrapper gifBitmap = new GifBitmapWrapper(resource.get().getBitmapResource(), transformed);
46 return resource;
[all...]

Completed in 786 milliseconds

1234567891011>>