Searched refs:resource (Results 26 - 50 of 1082) sorted by relevance

1234567891011>>

/external/skqp/src/gpu/
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
520 GrGpuResource* resource = fPurgeableQueue.peek(); local
540 GrGpuResource* resource = fPurgeableQueue.peek(); local
[all...]
/external/tensorflow/tensorflow/core/framework/
H A Dresource_op_kernel_test.cc46 // Stub resource for testing resource op kernel.
57 StubResource* resource() LOCKS_EXCLUDED(mu_) {
63 Status CreateResource(StubResource** resource) override {
64 *resource = CHECK_NOTNULL(new StubResource);
65 return GetNodeAttr(def(), "code", &(*resource)->code);
68 Status VerifyResource(StubResource* resource) override {
71 if (code != resource->code) {
72 return errors::InvalidArgument("stub has code ", resource->code,
105 // Downcast to StubResourceOpKernel to call resource() late
142 StubResource* resource; local
164 StubResource* resource; 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...]
H A Du_transfer.h14 struct pipe_resource *resource,
18 struct pipe_resource *resource,
23 struct pipe_resource *resource,
40 /* Useful helper to allow >1 implementation of resource functionality
53 struct pipe_resource *resource,
77 struct pipe_resource *resource,
82 struct pipe_resource *resource);
85 struct pipe_resource *resource,
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
H A Dother_alloc.pass.cpp48 assert(a.resource() == a2.resource());
49 assert(a2.resource() == (ex::memory_resource*)42);
54 assert(a.resource() == a2.resource());
55 assert(a2.resource() == (ex::memory_resource*)42);
H A Ddefault.pass.cpp36 // test that the allocator gets its resource from get_default_resource
42 assert(a.resource() == &R1);
46 assert(a.resource() == &R1);
47 assert(a2.resource() == ex::new_delete_resource());
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_texture.h135 llvmpipe_resource_is_texture(const struct pipe_resource *resource) argument
137 switch (resource->target) {
157 llvmpipe_resource_is_1d(const struct pipe_resource *resource) argument
159 switch (resource->target) {
179 llvmpipe_layer_stride(struct pipe_resource *resource, argument
182 struct llvmpipe_resource *lpr = llvmpipe_resource(resource);
189 llvmpipe_resource_stride(struct pipe_resource *resource,
192 struct llvmpipe_resource *lpr = llvmpipe_resource(resource);
199 llvmpipe_resource_map(struct pipe_resource *resource,
205 llvmpipe_resource_unmap(struct pipe_resource *resource,
[all...]
/external/fio/lib/
H A Dgetrusage.h5 #include <sys/resource.h>
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dresource.h15 * These five resource limit IDs have a MIPS/Linux-specific ordering,
34 #include <asm-generic/resource.h>
/external/mesa3d/src/gallium/state_trackers/dri/
H A Ddri2_buffer.h11 struct pipe_resource *resource; member in struct:dri2_buffer
/external/strace/tests/
H A Dprint_maxfd.c32 #include <sys/resource.h>
/external/strace/tests-m32/
H A Dprint_maxfd.c32 #include <sys/resource.h>
/external/strace/tests-mx32/
H A Dprint_maxfd.c32 #include <sys/resource.h>
/external/chromium-trace/catapult/common/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/glide/library/src/main/java/com/bumptech/glide/request/target/
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/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DConverterTest.java32 final TypedResource<String> resource = new TypedResource<>(" 100 ", ResType.CHAR_SEQUENCE, xmlContext);
33 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asInt(resource)).isEqualTo(100);
38 final TypedResource<String> resource = new TypedResource<>(" Robolectric ", ResType.CHAR_SEQUENCE, xmlContext);
39 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asCharSequence(resource)).isEqualTo("Robolectric");
44 final TypedResource<String> resource = new TypedResource<>(" #aaaaaa ", ResType.COLOR, xmlContext);
45 assertThat(Converter.getConverter(ResType.COLOR).asInt(resource)).isEqualTo(-5592406);
50 final TypedResource<String> resource = new TypedResource<>(" #aaaaaa ", ResType.DRAWABLE, xmlContext);
51 assertThat(Converter.getConverter(ResType.DRAWABLE).asInt(resource)).isEqualTo(-5592406);
56 final TypedResource<String> resource = new TypedResource<>(" 100 ", ResType.INTEGER, xmlContext);
57 assertThat(Converter.getConverter(ResType.INTEGER).asInt(resource))
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DCrashRecoveryContext.h123 T *resource; member in class:llvm::CrashRecoveryContextCleanupBase
124 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T* resource) argument
125 : CrashRecoveryContextCleanup(context), resource(resource) {}
141 T *resource)
143 CrashRecoveryContextDestructorCleanup<T>, T>(context, resource) {}
146 this->resource->~T();
154 CrashRecoveryContextDeleteCleanup(CrashRecoveryContext *context, T *resource) argument
156 CrashRecoveryContextDeleteCleanup<T>, T>(context, resource) {}
159 delete this->resource;
140 CrashRecoveryContextDestructorCleanup(CrashRecoveryContext *context, T *resource) argument
168 CrashRecoveryContextReleaseRefCleanup(CrashRecoveryContext *context, T *resource) argument
[all...]
/external/wayland/src/
H A Dwayland-server.c136 log_closure(struct wl_resource *resource, argument
139 struct wl_object *object = &resource->object;
140 struct wl_display *display = resource->client->display;
148 message.resource = resource;
164 wl_resource_post_event_array(struct wl_resource *resource, uint32_t opcode, argument
168 struct wl_object *object = &resource->object;
174 resource->client->error = 1;
178 if (wl_closure_send(closure, resource->client->connection))
179 resource
187 wl_resource_post_event(struct wl_resource *resource, uint32_t opcode, ...) argument
203 wl_resource_queue_event_array(struct wl_resource *resource, uint32_t opcode, union wl_argument *args) argument
226 wl_resource_queue_event(struct wl_resource *resource, uint32_t opcode, ...) argument
241 wl_resource_post_error(struct wl_resource *resource, uint32_t code, const char *msg, ...) argument
273 struct wl_resource *resource; local
594 wl_resource_post_no_memory(struct wl_resource *resource) argument
603 struct wl_resource *resource = element; local
620 wl_resource_destroy(struct wl_resource *resource) argument
640 wl_resource_get_id(struct wl_resource *resource) argument
646 wl_resource_get_link(struct wl_resource *resource) argument
654 struct wl_resource *resource; local
662 struct wl_resource *resource; local
676 wl_resource_get_client(struct wl_resource *resource) argument
682 wl_resource_set_user_data(struct wl_resource *resource, void *data) argument
688 wl_resource_get_user_data(struct wl_resource *resource) argument
694 wl_resource_get_version(struct wl_resource *resource) argument
700 wl_resource_set_destructor(struct wl_resource *resource, wl_resource_destroy_func_t destroy) argument
707 wl_resource_instance_of(struct wl_resource *resource, const struct wl_interface *interface, const void *implementation) argument
716 wl_resource_add_destroy_listener(struct wl_resource *resource, struct wl_listener * listener) argument
723 wl_resource_get_destroy_listener(struct wl_resource *resource, wl_notify_func_t notify) argument
736 wl_resource_get_class(struct wl_resource *resource) argument
773 registry_bind(struct wl_client *client, struct wl_resource *resource, uint32_t name, const char *interface, uint32_t version, uint32_t id) argument
807 display_sync(struct wl_client *client, struct wl_resource *resource, uint32_t id) argument
825 unbind_resource(struct wl_resource *resource) argument
831 display_get_registry(struct wl_client *client, struct wl_resource *resource, uint32_t id) argument
866 destroy_client_display_resource(struct wl_resource *resource) argument
1008 struct wl_resource *resource; local
1050 struct wl_resource *resource; local
1441 wl_resource_set_implementation(struct wl_resource *resource, const void *implementation, void *data, wl_resource_destroy_func_t destroy) argument
1452 wl_resource_set_dispatcher(struct wl_resource *resource, wl_dispatcher_func_t dispatcher, const void *implementation, void *data, wl_resource_destroy_func_t destroy) argument
1480 struct wl_resource *resource; local
1709 struct wl_resource *resource = res; local
1753 wl_client_add_resource(struct wl_client *client, struct wl_resource *resource) argument
1786 struct wl_resource *resource; local
1808 struct wl_resource *resource; local
[all...]
H A Dwayland-server-core.h221 struct wl_resource *resource,
360 typedef void (*wl_resource_destroy_func_t)(struct wl_resource *resource);
363 * Post an event to the client's object referred to by 'resource'.
379 wl_resource_post_event(struct wl_resource *resource,
383 wl_resource_post_event_array(struct wl_resource *resource,
387 wl_resource_queue_event(struct wl_resource *resource,
391 wl_resource_queue_event_array(struct wl_resource *resource,
396 wl_resource_post_error(struct wl_resource *resource,
400 wl_resource_post_no_memory(struct wl_resource *resource);
411 wl_resource_set_implementation(struct wl_resource *resource,
532 struct wl_resource *resource; member in struct:wl_protocol_logger_message
[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...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/
H A DUnitTransformation.java1 package com.bumptech.glide.load.resource;
7 * A noop Transformation that simply returns the given resource.
9 * @param <T> The type of the resource that will always be returned unmodified.
17 * @param <T> The type of the resource to be transformed.
25 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { argument
26 return resource;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
H A DGifDrawableBytesTranscoder.java1 package com.bumptech.glide.load.resource.transcode;
4 import com.bumptech.glide.load.resource.bytes.BytesResource;
5 import com.bumptech.glide.load.resource.gif.GifDrawable;
8 * An {@link com.bumptech.glide.load.resource.transcode.ResourceTranscoder} that converts
9 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} into bytes by obtaining the original bytes of the GIF from
10 * the {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
21 return "GifDrawableBytesTranscoder.com.bumptech.glide.load.resource.transcode";

Completed in 677 milliseconds

1234567891011>>