Searched refs:resource (Results 1 - 25 of 1082) 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/cpython3/Lib/test/
H A Dtest_resource.py8 resource = support.import_module('resource') variable
10 # This test is checking a few specific problem spots with the resource module.
15 self.assertRaises(TypeError, resource.getrlimit)
16 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
17 self.assertRaises(TypeError, resource.setrlimit)
18 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
22 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
31 self.assertEqual(resource
[all...]
/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.h19 SkString GetResourcePath(const char* resource = "");
25 sk_sp<SkData> GetResourceAsData(const char* resource);
27 inline bool GetResourceAsBitmap(const char* resource, SkBitmap* dst) { argument
28 return DecodeDataToBitmap(GetResourceAsData(resource), dst);
31 inline sk_sp<SkImage> GetResourceAsImage(const char* resource) { argument
32 return SkImage::MakeFromEncoded(GetResourceAsData(resource));
35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
37 sk_sp<SkTypeface> MakeResourceAsTypeface(const char* resource);
H A DResources.cpp24 SkString GetResourcePath(const char* resource) { argument
25 return SkOSPath::Join(FLAGS_resourcePath[0], resource);
28 void SetResourcePath(const char* resource) { argument
29 FLAGS_resourcePath.set(0, resource);
39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { argument
40 auto data = GetResourceAsData(resource);
45 sk_sp<SkData> GetResourceAsData(const char* resource) { argument
47 if (auto data = gResourceFactory(resource)) {
50 SkDebugf("Resource \"%s\" not found.\n", resource);
51 SK_ABORT("missing resource");
60 MakeResourceAsTypeface(const char* resource) argument
[all...]
/external/skqp/tools/
H A DResources.h19 SkString GetResourcePath(const char* resource = "");
25 sk_sp<SkData> GetResourceAsData(const char* resource);
27 inline bool GetResourceAsBitmap(const char* resource, SkBitmap* dst) { argument
28 return DecodeDataToBitmap(GetResourceAsData(resource), dst);
31 inline sk_sp<SkImage> GetResourceAsImage(const char* resource) { argument
32 return SkImage::MakeFromEncoded(GetResourceAsData(resource));
35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
37 sk_sp<SkTypeface> MakeResourceAsTypeface(const char* resource);
H A DResources.cpp24 SkString GetResourcePath(const char* resource) { argument
25 return SkOSPath::Join(FLAGS_resourcePath[0], resource);
28 void SetResourcePath(const char* resource) { argument
29 FLAGS_resourcePath.set(0, resource);
39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { argument
40 auto data = GetResourceAsData(resource);
45 sk_sp<SkData> GetResourceAsData(const char* resource) { argument
47 if (auto data = gResourceFactory(resource)) {
50 SkDebugf("Resource \"%s\" not found.\n", resource);
51 SK_ABORT("missing resource");
60 MakeResourceAsTypeface(const char* resource) argument
[all...]
/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/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/skia/src/gpu/
H A DGrGpuResourceRef.h17 * Class that wraps a resource referenced by a GrProgramElement or GrDrawState. It manages
18 * converting refs to pending IO operations. It allows a resource ownership to be in three
32 * longer share an instance of this class, attempt to make the resource owned by GrGpuResourceRef
41 /** Does this object own a pending read or write on the resource it is wrapping. */
56 pending on the resource when markPendingIO is called. */
60 pending on the resource when markPendingIO is called. */
70 writes to the resource using the program element or draw state. It can only be called once.
98 pending on the resource when markPendingIO is called. */
99 GrTGpuResourceRef(T* resource, GrIOType ioType) : INHERITED(resource, ioTyp argument
100 GrTGpuResourceRef(sk_sp<T> resource, GrIOType ioType) argument
106 set(T* resource, GrIOType ioType) argument
[all...]
H A DGrResourceCache.cpp102 void GrResourceCache::insertResource(GrGpuResource* resource) { argument
103 SkASSERT(resource);
104 SkASSERT(!this->isInCache(resource));
105 SkASSERT(!resource->wasDestroyed());
106 SkASSERT(!resource->isPurgeable());
110 resource->cacheAccess().setTimestamp(this->getNextTimestamp());
112 this->addToNonpurgeableArray(resource);
114 size_t size = resource->gpuMemorySize();
121 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) {
131 if (resource
140 removeResource(GrGpuResource* resource) argument
250 GrGpuResource* resource; local
277 willRemoveScratchKey(const GrGpuResource* resource) argument
284 removeUniqueKey(GrGpuResource* resource) argument
300 changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) argument
338 refAndMakeResourceMRU(GrGpuResource* resource) argument
354 notifyCntReachedZero(GrGpuResource* resource, uint32_t flags) argument
416 didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) argument
440 didChangeBudgetStatus(GrGpuResource* resource) argument
492 GrGpuResource* resource = fPurgeableQueue.peek(); local
501 GrGpuResource* resource = fPurgeableQueue.peek(); local
521 GrGpuResource* resource = fPurgeableQueue.peek(); local
532 GrGpuResource* resource = fPurgeableQueue.at(i); local
561 GrGpuResource* resource = fPurgeableQueue.peek(); local
[all...]
/external/skqp/src/gpu/
H A DGrGpuResourceRef.h17 * Class that wraps a resource referenced by a GrProgramElement or GrDrawState. It manages
18 * converting refs to pending IO operations. It allows a resource ownership to be in three
32 * longer share an instance of this class, attempt to make the resource owned by GrGpuResourceRef
41 /** Does this object own a pending read or write on the resource it is wrapping. */
56 pending on the resource when markPendingIO is called. */
60 pending on the resource when markPendingIO is called. */
70 writes to the resource using the program element or draw state. It can only be called once.
98 pending on the resource when markPendingIO is called. */
99 GrTGpuResourceRef(T* resource, GrIOType ioType) : INHERITED(resource, ioTyp argument
100 GrTGpuResourceRef(sk_sp<T> resource, GrIOType ioType) argument
106 set(T* resource, GrIOType ioType) 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/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...]

Completed in 630 milliseconds

1234567891011>>