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

1234567891011>>

/external/mdnsresponder/android/caseMapping/
H A DResource.h1 #include <resource.h>
/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/mesa3d/src/gallium/targets/haiku-softpipe/
H A DSoftwareRenderer.rdef6 resource app_signature "application/x-vnd.Haiku-swpipe";
8 resource app_version {
18 resource vector_icon {
/external/python/cpython2/Lib/test/
H A Dtest_resource.py5 resource = test_support.import_module('resource') variable
7 # This test is checking a few specific problem spots with the resource module.
12 self.assertRaises(TypeError, resource.getrlimit)
13 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
27 self.assertEqual(resource
[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...]
/external/skia/tools/
H A DResources.h20 SkString GetResourcePath(const char* resource = "");
23 bool GetResourceAsBitmap(const char* resource, SkBitmap* dst);
24 sk_sp<SkImage> GetResourceAsImage(const char* resource);
25 SkStreamAsset* GetResourceAsStream(const char* resource);
26 sk_sp<SkData> GetResourceAsData(const char* resource);
27 sk_sp<SkTypeface> MakeResourceAsTypeface(const char* resource);
H A DResources.cpp21 SkString GetResourcePath(const char* resource) { argument
22 return SkOSPath::Join(FLAGS_resourcePath[0], resource);
25 void SetResourcePath(const char* resource) { argument
26 FLAGS_resourcePath.set(0, resource);
29 bool GetResourceAsBitmap(const char* resource, SkBitmap* dst) { argument
30 SkString resourcePath = GetResourcePath(resource);
41 sk_sp<SkImage> GetResourceAsImage(const char* resource) { argument
42 SkString path = GetResourcePath(resource);
47 SkStreamAsset* GetResourceAsStream(const char* resource) { argument
48 SkString resourcePath = GetResourcePath(resource);
57 GetResourceAsData(const char* resource) argument
62 MakeResourceAsTypeface(const char* resource) argument
[all...]
/external/strace/mpers-m32/
H A Drusage_t.c33 #include <sys/resource.h>
/external/strace/mpers-mx32/
H A Drusage_t.c33 #include <sys/resource.h>
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_resource.h57 swr_resource(struct pipe_resource *resource) argument
59 return (struct swr_resource *)resource;
63 swr_resource_is_texture(const struct pipe_resource *resource) argument
65 switch (resource->target) {
85 swr_resource_data(struct pipe_resource *resource) argument
87 struct swr_resource *swr_r = swr_resource(resource);
89 assert(!swr_resource_is_texture(resource));
100 struct pipe_resource *resource,
107 * Functions to indicate a resource's in-use status.
116 swr_resource_read(struct pipe_resource *resource) argument
122 swr_resource_write(struct pipe_resource *resource) argument
128 swr_resource_unused(struct pipe_resource *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/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/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
H A Dcopy.pass.cpp39 assert(a.resource() == a2.resource());
45 assert(a.resource() == a2.resource());
46 assert(a2.resource() == (ex::memory_resource*)42);
/external/mesa3d/src/egl/wayland/wayland-drm/
H A Dwayland-drm.c56 destroy_buffer(struct wl_resource *resource) argument
58 struct wl_drm_buffer *buffer = resource->data;
66 buffer_destroy(struct wl_client *client, struct wl_resource *resource) argument
68 wl_resource_destroy(resource);
72 create_buffer(struct wl_client *client, struct wl_resource *resource, argument
80 struct wl_drm *drm = resource->data;
85 wl_resource_post_no_memory(resource);
102 wl_resource_post_error(resource,
108 buffer->resource =
110 if (!buffer->resource) {
122 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
144 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
173 drm_create_prime_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, int fd, 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
187 drm_authenticate(struct wl_client *client, struct wl_resource *resource, uint32_t id) argument
211 struct wl_resource *resource; local
248 wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dnine_buffer_upload.c47 struct pipe_resource *resource; member in struct:nine_buffer_group
56 struct pipe_resource *resource; /* The parent resource if apply */ member in struct:nine_subbuffer
57 unsigned offset; /* Offset inside the resource */
58 /* If there is no parent, the resource map. Else NULL. */
76 struct pipe_resource resource; local
80 memset(&resource, 0, sizeof(resource));
81 resource.target = PIPE_BUFFER;
82 resource
202 struct pipe_resource resource; local
[all...]
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Dresource.pass.cpp18 // polymorphic_allocator<T>::resource() const
32 std::is_same<decltype(a.resource()), ex::memory_resource*>::value
39 assert(a.resource() == mptr);
43 assert(a.resource() == nullptr);
44 assert(a.resource() == nullptr);
48 assert(a.resource() == ex::get_default_resource());
54 assert(a.resource() == mptr);
55 assert(a.resource() == ex::get_default_resource());
H A Dselect_on_container_copy_construction.pass.cpp38 assert(a.resource() == mptr);
40 assert(other.resource() == ex::get_default_resource());
41 assert(a.resource() == mptr);
47 assert(a.resource() == nullptr);
49 assert(other.resource() == ex::get_default_resource());
50 assert(other.resource() == mptr);
51 assert(a.resource() == nullptr);
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dresource.hpp40 class resource { class in namespace:clover
44 virtual ~resource();
46 resource(const resource &r) = delete;
47 resource &
48 operator=(const resource &r) = delete;
51 resource &src_resource, const vector &src_origin);
66 resource(clover::device &dev, memory_obj &obj);
86 class root_resource : public resource {
95 /// Resource that reuses a portion of some other resource a
[all...]
/external/skia/src/gpu/
H A DGrResourceCache.cpp98 void GrResourceCache::insertResource(GrGpuResource* resource) { argument
99 SkASSERT(resource);
100 SkASSERT(!this->isInCache(resource));
101 SkASSERT(!resource->wasDestroyed());
102 SkASSERT(!resource->isPurgeable());
106 resource->cacheAccess().setTimestamp(this->getNextTimestamp());
108 this->addToNonpurgeableArray(resource);
110 size_t size = resource->gpuMemorySize();
117 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) {
127 if (resource
136 removeResource(GrGpuResource* resource) argument
241 GrGpuResource* resource; local
268 willRemoveScratchKey(const GrGpuResource* resource) argument
275 removeUniqueKey(GrGpuResource* resource) argument
291 changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) argument
331 refAndMakeResourceMRU(GrGpuResource* resource) argument
347 notifyCntReachedZero(GrGpuResource* resource, uint32_t flags) argument
409 didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) argument
433 didChangeBudgetStatus(GrGpuResource* resource) argument
485 GrGpuResource* resource = fPurgeableQueue.peek(); local
494 GrGpuResource* resource = fPurgeableQueue.peek(); local
513 GrGpuResource* resource = fPurgeableQueue.peek(); local
533 GrGpuResource* resource = fPurgeableQueue.peek(); local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_transfer.c8 struct pipe_resource *resource,
22 if (offset == 0 && size == resource->width0) {
30 map = pipe->transfer_map(pipe, resource, 0, usage, &box, &transfer);
39 struct pipe_resource *resource,
60 resource,
68 resource->format,
85 struct pipe_resource *resource,
115 struct pipe_resource *resource,
119 struct u_resource *ur = u_resource(resource);
120 return ur->vtbl->resource_get_handle(screen, resource, handl
7 u_default_buffer_subdata(struct pipe_context *pipe, struct pipe_resource *resource, unsigned usage, unsigned offset, unsigned size, const void *data) argument
38 u_default_texture_subdata(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
84 u_default_resource_get_handle(struct pipe_screen *screen, struct pipe_resource *resource, struct winsys_handle *handle) argument
113 u_resource_get_handle_vtbl(struct pipe_screen *screen, struct pipe_context *ctx, struct pipe_resource *resource, struct winsys_handle *handle, unsigned usage) argument
123 u_resource_destroy_vtbl(struct pipe_screen *screen, struct pipe_resource *resource) argument
130 u_transfer_map_vtbl(struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) argument
[all...]

Completed in 1341 milliseconds

1234567891011>>