/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 98 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource() argument 99 SkASSERT(resource); in insertResource() 100 SkASSERT(!this->isInCache(resource)); in insertResource() 101 SkASSERT(!resource->wasDestroyed()); in insertResource() 102 SkASSERT(!resource->isPurgeable()); in insertResource() 106 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource() 108 this->addToNonpurgeableArray(resource); in insertResource() 110 size_t size = resource->gpuMemorySize(); in insertResource() 117 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in insertResource() 127 if (resource->resourcePriv().getScratchKey().isValid() && in insertResource() [all …]
|
D | GrResourceCache.h | 152 GrGpuResource* resource = fUniqueHash.find(key); in findAndRefUniqueResource() local 153 if (resource) { in findAndRefUniqueResource() 154 this->refAndMakeResourceMRU(resource); in findAndRefUniqueResource() 156 return resource; in findAndRefUniqueResource() 199 void insertCrossContextGpuResource(GrGpuResource* resource); 222 void update(GrGpuResource* resource) { in update() 223 if (resource->cacheAccess().isScratch()) { in update() 226 if (resource->resourcePriv().refsWrappedObjects()) { in update() 229 if (SkBudgeted::kNo == resource->resourcePriv().isBudgeted()) { in update() 230 fUnbudgetedSize += resource->gpuMemorySize(); in update() [all …]
|
D | GrGpuResourceRef.h | 158 GrTGpuResourceRef(T* resource, GrIOType ioType) : INHERITED(resource, ioType) { } in GrTGpuResourceRef() argument 164 void set(T* resource, GrIOType ioType) { this->setResource(resource, ioType); } in set() argument 176 GrPendingIOResource(T* resource = NULL) : fResource(NULL) { in fResource() 177 this->reset(resource); in fResource() 184 void reset(T* resource = nullptr) { 185 if (resource) { 188 resource->addPendingRead(); 191 resource->addPendingWrite(); 194 resource->addPendingRead(); 195 resource->addPendingWrite(); [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_resource.py | 5 resource = test_support.import_module('resource') variable 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.RLIM_INFINITY, max) 28 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max)) 32 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 44 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max)) [all …]
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_buffer_upload.c | 47 struct pipe_resource *resource; member 56 struct pipe_resource *resource; /* The parent resource if apply */ member 76 struct pipe_resource resource; in nine_upload_create_buffer_group() local 80 memset(&resource, 0, sizeof(resource)); in nine_upload_create_buffer_group() 81 resource.target = PIPE_BUFFER; in nine_upload_create_buffer_group() 82 resource.format = PIPE_FORMAT_R8_UNORM; in nine_upload_create_buffer_group() 83 resource.bind = PIPE_BIND_VERTEX_BUFFER; in nine_upload_create_buffer_group() 84 resource.usage = PIPE_USAGE_STREAM; in nine_upload_create_buffer_group() 85 resource.width0 = upload->buffers_size; in nine_upload_create_buffer_group() 86 resource.height0 = 1; in nine_upload_create_buffer_group() [all …]
|
/external/mesa3d/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 56 destroy_buffer(struct wl_resource *resource) in destroy_buffer() argument 58 struct wl_drm_buffer *buffer = resource->data; in destroy_buffer() 66 buffer_destroy(struct wl_client *client, struct wl_resource *resource) in buffer_destroy() argument 68 wl_resource_destroy(resource); in buffer_destroy() 72 create_buffer(struct wl_client *client, struct wl_resource *resource, in create_buffer() argument 80 struct wl_drm *drm = resource->data; in create_buffer() 85 wl_resource_post_no_memory(resource); in create_buffer() 102 wl_resource_post_error(resource, in create_buffer() 108 buffer->resource = in create_buffer() 110 if (!buffer->resource) { in create_buffer() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | GlideDrawableImageViewTarget.java | 5 import com.bumptech.glide.load.resource.drawable.GlideDrawable; 15 private GlideDrawable resource; field in GlideDrawableImageViewTarget 51 …public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> animatio… in onResourceReady() argument 52 if (!resource.isAnimated()) { in onResourceReady() 60 … float drawableRatio = resource.getIntrinsicWidth() / (float) resource.getIntrinsicHeight(); in onResourceReady() 63 resource = new SquaringDrawable(resource, view.getWidth()); in onResourceReady() 66 super.onResourceReady(resource, animation); in onResourceReady() 67 this.resource = resource; in onResourceReady() 68 resource.setLoopCount(maxLoopCount); in onResourceReady() 69 resource.start(); in onResourceReady() [all …]
|
/external/icu/icu4c/source/data/translit/ |
D | root.txt | 23 resource:process(transliterator) {"am_am_Latn_BGN.txt"} 33 resource:process(transliterator) {"Any_Accents.txt"} 42 resource:process(transliterator) {"Any_Accents.txt"} 52 resource:process(transliterator) {"Any_Publishing.txt"} 61 resource:process(transliterator) {"Any_Publishing.txt"} 74 resource:process(transliterator) {"Arab_Latn.txt"} 86 resource:process(transliterator) {"Arab_Latn.txt"} 99 resource:process(transliterator) {"ar_ar_Latn_BGN.txt"} 112 resource:process(transliterator) {"hy_hy_Latn_BGN.txt"} 125 resource:process(transliterator) {"az_Cyrl_az_BGN.txt"} [all …]
|
/external/skia/tools/ |
D | Resources.cpp | 21 SkString GetResourcePath(const char* resource) { in GetResourcePath() argument 22 return SkOSPath::Join(FLAGS_resourcePath[0], resource); in GetResourcePath() 25 void SetResourcePath(const char* resource) { in SetResourcePath() argument 26 FLAGS_resourcePath.set(0, resource); in SetResourcePath() 29 bool GetResourceAsBitmap(const char* resource, SkBitmap* dst) { in GetResourceAsBitmap() argument 30 SkString resourcePath = GetResourcePath(resource); in GetResourceAsBitmap() 41 sk_sp<SkImage> GetResourceAsImage(const char* resource) { in GetResourceAsImage() argument 42 SkString path = GetResourcePath(resource); in GetResourceAsImage() 47 SkStreamAsset* GetResourceAsStream(const char* resource) { in GetResourceAsStream() argument 48 SkString resourcePath = GetResourcePath(resource); in GetResourceAsStream() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_resource.h | 57 swr_resource(struct pipe_resource *resource) in swr_resource() argument 59 return (struct swr_resource *)resource; in swr_resource() 63 swr_resource_is_texture(const struct pipe_resource *resource) in swr_resource_is_texture() argument 65 switch (resource->target) { in swr_resource_is_texture() 85 swr_resource_data(struct pipe_resource *resource) in swr_resource_data() argument 87 struct swr_resource *swr_r = swr_resource(resource); in swr_resource_data() 89 assert(!swr_resource_is_texture(resource)); in swr_resource_data() 100 struct pipe_resource *resource, 116 swr_resource_read(struct pipe_resource *resource) in swr_resource_read() argument 118 swr_resource(resource)->status |= SWR_RESOURCE_READ; in swr_resource_read() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_transfer.c | 8 struct pipe_resource *resource, in u_default_buffer_subdata() argument 22 if (offset == 0 && size == resource->width0) { in u_default_buffer_subdata() 30 map = pipe->transfer_map(pipe, resource, 0, usage, &box, &transfer); in u_default_buffer_subdata() 39 struct pipe_resource *resource, in u_default_texture_subdata() argument 60 resource, in u_default_texture_subdata() 68 resource->format, in u_default_texture_subdata() 85 struct pipe_resource *resource, in u_default_resource_get_handle() argument 115 struct pipe_resource *resource, in u_resource_get_handle_vtbl() argument 119 struct u_resource *ur = u_resource(resource); in u_resource_get_handle_vtbl() 120 return ur->vtbl->resource_get_handle(screen, resource, handle); in u_resource_get_handle_vtbl() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUResourceBundleImpl.java | 21 protected int resource; field in ICUResourceBundleImpl 23 protected ICUResourceBundleImpl(ICUResourceBundleImpl container, String key, int resource) { in ICUResourceBundleImpl() argument 25 this.resource = resource; in ICUResourceBundleImpl() 29 resource = wholeBundle.reader.getRootResource(); in ICUResourceBundleImpl() 32 return resource; in getResource() 71 return wholeBundle.reader.getBinary(resource); in getBinary() 75 return wholeBundle.reader.getBinary(resource, ba); in getBinary() 77 ResourceBinary(ICUResourceBundleImpl container, String key, int resource) { in ResourceBinary() argument 78 super(container, key, resource); in ResourceBinary() 88 return ICUResourceBundleReader.RES_GET_INT(resource); in getInt() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUResourceBundleImpl.java | 20 protected int resource; field in ICUResourceBundleImpl 22 protected ICUResourceBundleImpl(ICUResourceBundleImpl container, String key, int resource) { in ICUResourceBundleImpl() argument 24 this.resource = resource; in ICUResourceBundleImpl() 28 resource = wholeBundle.reader.getRootResource(); in ICUResourceBundleImpl() 31 return resource; in getResource() 70 return wholeBundle.reader.getBinary(resource); in getBinary() 74 return wholeBundle.reader.getBinary(resource, ba); in getBinary() 76 ResourceBinary(ICUResourceBundleImpl container, String key, int resource) { in ResourceBinary() argument 77 super(container, key, resource); in ResourceBinary() 87 return ICUResourceBundleReader.RES_GET_INT(resource); in getInt() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.hpp | 40 class resource { class 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 { 98 class sub_resource : public resource { 100 sub_resource(resource &r, const vector &offset); [all …]
|
D | resource.cpp | 35 box(const resource::vector &origin, const resource::vector &size) : in box() 50 resource::resource(clover::device &dev, memory_obj &obj) : in resource() function in resource 54 resource::~resource() { in ~resource() 58 resource::copy(command_queue &q, const vector &origin, const vector ®ion, in copy() 59 resource &src_res, const vector &src_origin) { in copy() 68 resource::add_map(command_queue &q, cl_map_flags flags, bool blocking, in add_map() 75 resource::del_map(void *p) { in del_map() 82 resource::map_count() const { in map_count() 87 resource::bind_sampler_view(command_queue &q) { in bind_sampler_view() 95 resource::unbind_sampler_view(command_queue &q, in unbind_sampler_view() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_texture.c | 60 if (rsrc->resource.b.b.nr_samples > 1 || in r600_prepare_for_dma_blit() 61 rdst->resource.b.b.nr_samples > 1) in r600_prepare_for_dma_blit() 87 if (!util_texrange_covers_whole_level(&rdst->resource.b.b, dst_level, in r600_prepare_for_dma_blit() 97 rctx->b.flush_resource(&rctx->b, &rsrc->resource.b.b); in r600_prepare_for_dma_blit() 117 blit.src.resource = src; in r600_copy_region_with_blit() 121 blit.dst.resource = dst; in r600_copy_region_with_blit() 145 struct pipe_resource *src = transfer->resource; in r600_copy_to_staging_texture() 162 struct pipe_resource *dst = transfer->resource; in r600_copy_from_staging_texture() 315 ctx->flush_resource(ctx, &rtex->resource.b.b); in r600_eliminate_fast_color_clear() 328 assert(rtex->resource.b.b.nr_samples <= 1); in r600_texture_discard_cmask() [all …]
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | devices.py | 38 def __init__(self, resource, commands_instance, oauth_instance, argument 47 super(Devices, self).__init__(resource) 64 def _validate_device_resource(self, resource): argument 66 if not resource: 70 if key not in resource: 74 resource['kind'] = 'clouddevices#device' 76 resource['creationTimeMs'] = current_time_ms 77 resource['lastUpdateTimeMs'] = current_time_ms 78 resource['lastSeenTimeMs'] = current_time_ms 91 new_device = self.resource.update_data_val(None, api_key, [all …]
|
/external/libcups/cups/ |
D | getputfile.c | 40 const char *resource, /* I - Resource name */ in cupsGetFd() argument 56 DEBUG_printf(("cupsGetFd(http=%p, resource=\"%s\", fd=%d)", (void *)http, resource, fd)); in cupsGetFd() 58 if (!resource || fd < 0) in cupsGetFd() 100 _httpSetDigestAuthString(http, http->nextnonce, "GET", resource); in cupsGetFd() 111 _cupsSetNegotiateAuthString(http, "GET", resource); in cupsGetFd() 117 if (httpGet(http, resource)) in cupsGetFd() 149 if (cupsDoAuthentication(http, "GET", resource)) in cupsGetFd() 225 const char *resource, /* I - Resource name */ in cupsGetFile() argument 236 if (!http || !resource || !filename) in cupsGetFile() 263 status = cupsGetFd(http, resource, fd); in cupsGetFile() [all …]
|
D | ppd-util.c | 37 char *resource, int resourcesize, 141 resource[HTTP_MAX_URI]; /* Resource name */ in cupsGetPPD3() local 312 resource, sizeof(resource), 0)) in cupsGetPPD3() 392 strlcat(resource, ".ppd", sizeof(resource)); in cupsGetPPD3() 398 status = cupsGetFd(http2, resource, fd); in cupsGetPPD3() 527 char *resource, /* I - Resource buffer */ in cups_get_printer_uri() argument 545 …, resource=%p, resourcesize=%d, depth=%d)", http, name, host, hostsize, resource, resourcesize, de… in cups_get_printer_uri() 556 *resource = '\0'; in cups_get_printer_uri() 583 snprintf(resource, (size_t)resourcesize, "/printers/%s", name); in cups_get_printer_uri() 585 if ((response = cupsDoRequest(http, request, resource)) != NULL) in cups_get_printer_uri() [all …]
|
/external/icu/icu4c/source/test/testdata/ |
D | ra.txt | 25 * @note This resource is for test2 33 * @note This resource is for TestTable 39 * @note This resource is for test3 45 * @note This resource is for test4 51 * @note This resource is for test5 57 * @note This resource is for test6 64 * @note This resource is for Tag name: Array 70 * @note This resource is un-named string 76 * @note This resource is un-named int 82 * @note This resource is for un-named binary [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.h | 135 llvmpipe_resource_is_texture(const struct pipe_resource *resource) in llvmpipe_resource_is_texture() argument 137 switch (resource->target) { in llvmpipe_resource_is_texture() 157 llvmpipe_resource_is_1d(const struct pipe_resource *resource) in llvmpipe_resource_is_1d() argument 159 switch (resource->target) { in llvmpipe_resource_is_1d() 179 llvmpipe_layer_stride(struct pipe_resource *resource, in llvmpipe_layer_stride() argument 182 struct llvmpipe_resource *lpr = llvmpipe_resource(resource); in llvmpipe_layer_stride() 189 llvmpipe_resource_stride(struct pipe_resource *resource, in llvmpipe_resource_stride() argument 192 struct llvmpipe_resource *lpr = llvmpipe_resource(resource); in llvmpipe_resource_stride() 199 llvmpipe_resource_map(struct pipe_resource *resource, 205 llvmpipe_resource_unmap(struct pipe_resource *resource, [all …]
|
/external/mesa3d/src/gallium/drivers/rbug/ |
D | rbug_objects.c | 42 struct pipe_resource *resource) in rbug_resource_create() argument 46 if (!resource) in rbug_resource_create() 49 assert(resource->screen == rb_screen->screen); in rbug_resource_create() 55 memcpy(&rb_resource->base, resource, sizeof(struct pipe_resource)); in rbug_resource_create() 59 rb_resource->resource = resource; in rbug_resource_create() 61 if (resource->target != PIPE_BUFFER) in rbug_resource_create() 67 pipe_resource_reference(&resource, NULL); in rbug_resource_create() 79 pipe_resource_reference(&rb_resource->resource, NULL); in rbug_resource_destroy() 94 assert(surface->texture == rb_resource->resource); in rbug_surface_create() 135 assert(view->texture == rb_resource->resource); in rbug_sampler_view_create() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CrashRecoveryContext.h | 123 T *resource; 124 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T* resource) in CrashRecoveryContextCleanupBase() argument 125 : CrashRecoveryContextCleanup(context), resource(resource) {} in CrashRecoveryContextCleanupBase() 141 T *resource) in CrashRecoveryContextDestructorCleanup() argument 143 CrashRecoveryContextDestructorCleanup<T>, T>(context, resource) {} in CrashRecoveryContextDestructorCleanup() 146 this->resource->~T(); in recoverResources() 154 CrashRecoveryContextDeleteCleanup(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextDeleteCleanup() argument 156 CrashRecoveryContextDeleteCleanup<T>, T>(context, resource) {} in CrashRecoveryContextDeleteCleanup() 159 delete this->resource; in recoverResources() 169 T *resource) in CrashRecoveryContextReleaseRefCleanup() argument [all …]
|
/external/llvm/include/llvm/Support/ |
D | CrashRecoveryContext.h | 121 T *resource; 122 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextCleanupBase() argument 123 : CrashRecoveryContextCleanup(context), resource(resource) {} in CrashRecoveryContextCleanupBase() 140 T *resource) in CrashRecoveryContextDestructorCleanup() argument 142 CrashRecoveryContextDestructorCleanup<T>, T>(context, resource) {} in CrashRecoveryContextDestructorCleanup() 145 this->resource->~T(); in recoverResources() 153 CrashRecoveryContextDeleteCleanup(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextDeleteCleanup() argument 155 CrashRecoveryContextDeleteCleanup<T>, T>(context, resource) {} in CrashRecoveryContextDeleteCleanup() 157 void recoverResources() override { delete this->resource; } in recoverResources() 166 T *resource) in CrashRecoveryContextReleaseRefCleanup() argument [all …]
|
/external/deqp/framework/common/ |
D | tcuImageIO.cpp | 68 tcu::Resource* resource = (tcu::Resource*)png_get_io_ptr(png_ptr); in pngReadResource() local 69 resource->read(data, (int)length); in pngReadResource() 84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPNG() local 88 resource->read(header, sizeof(header)); in loadPNG() 100 png_set_read_fn(png_ptr, resource.get(), pngReadResource); in loadPNG() 213 static inline deUint16 readBigEndianShort (tcu::Resource* resource) in readBigEndianShort() argument 216 resource->read((deUint8*)&val, sizeof(val)); in readBigEndianShort() 230 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPKM() local 235 resource->read(magic, DE_LENGTH_OF_ARRAY(magic)); in loadPKM() 238 …throw InternalError("Signature doesn't match PKM signature", resource->getName().c_str(), __FILE__… in loadPKM() [all …]
|