/third_party/python/Lib/test/ |
D | test_resource.py | 9 resource = import_helper.import_module('resource') variable 16 self.assertRaises(TypeError, resource.getrlimit) 17 self.assertRaises(TypeError, resource.getrlimit, 42, 42) 18 self.assertRaises(TypeError, resource.setrlimit) 19 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42) 25 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 34 self.assertEqual(resource.RLIM_INFINITY, max) 35 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max)) 39 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 52 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max)) [all …]
|
/third_party/skia/src/gpu/ |
D | GrResourceCache.cpp | 133 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource() argument 135 SkASSERT(resource); in insertResource() 136 SkASSERT(!this->isInCache(resource)); in insertResource() 137 SkASSERT(!resource->wasDestroyed()); in insertResource() 138 SkASSERT(!resource->resourcePriv().isPurgeable()); in insertResource() 139 …if (!resource || this->isInCache(resource) || resource->wasDestroyed() || resource->resourcePriv()… in insertResource() 145 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource() 147 this->addToNonpurgeableArray(resource); in insertResource() 149 size_t size = resource->gpuMemorySize(); in insertResource() 156 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in insertResource() [all …]
|
D | GrResourceCache.h | 166 GrGpuResource* resource = fUniqueHash.find(key); in findAndRefUniqueResource() local 167 if (resource && this->isInCache(resource)) { in findAndRefUniqueResource() 168 this->refAndMakeResourceMRU(resource); in findAndRefUniqueResource() 169 return resource; in findAndRefUniqueResource() 251 void update(GrGpuResource* resource) { in update() 252 if (resource->cacheAccess().isScratch()) { in update() 255 if (resource->resourcePriv().refsWrappedObjects()) { in update() 258 if (GrBudgetedType::kBudgeted != resource->resourcePriv().budgetedType()) { in update() 259 fUnbudgetedSize += resource->gpuMemorySize(); in update() 302 void refResource(GrGpuResource* resource); [all …]
|
/third_party/node/test/parallel/ |
D | test-perf-hooks-resourcetiming.js | 81 const resource = markResourceTiming( constant 89 assert(resource instanceof PerformanceEntry); 90 assert(resource instanceof PerformanceResourceTiming); 105 const entries = performance.getEntriesByName(resource.name); 123 const resource = markResourceTiming( constant 131 assert(resource instanceof PerformanceEntry); 132 assert(resource instanceof PerformanceResourceTiming); 134 assert.strictEqual(resource.entryType, 'resource'); 135 assert.strictEqual(resource.name, requestedUrl); 136 assert.ok(typeof resource.cacheMode === 'undefined', 'cacheMode does not have a getter'); [all …]
|
/third_party/mesa3d/src/gallium/frontends/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 …]
|
/third_party/mesa3d/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 43 destroy_buffer(struct wl_resource *resource) in destroy_buffer() argument 45 struct wl_drm_buffer *buffer = wl_resource_get_user_data(resource); in destroy_buffer() 53 buffer_destroy(struct wl_client *client, struct wl_resource *resource) in buffer_destroy() argument 55 wl_resource_destroy(resource); in buffer_destroy() 59 create_buffer(struct wl_client *client, struct wl_resource *resource, in create_buffer() argument 67 struct wl_drm *drm = wl_resource_get_user_data(resource); in create_buffer() 72 wl_resource_post_no_memory(resource); in create_buffer() 89 wl_resource_post_error(resource, in create_buffer() 95 buffer->resource = in create_buffer() 97 if (!buffer->resource) { in create_buffer() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit03.c | 62 static int getrlimit_u64(int resource, struct rlimit64 *rlim) in getrlimit_u64() argument 64 return tst_syscall(__NR_prlimit64, 0, resource, NULL, rlim); in getrlimit_u64() 78 static int getrlimit_ulong(int resource, struct rlimit_ulong *rlim) in getrlimit_ulong() argument 80 return syscall(__NR_getrlimit_ulong, resource, rlim); in getrlimit_ulong() 91 static int getrlimit_long(int resource, struct rlimit_long *rlim) in getrlimit_long() argument 93 return syscall(__NR_getrlimit, resource, rlim); in getrlimit_long() 97 static int compare_retval(int resource, int ret_u64, int errno_u64, in compare_retval() argument 103 resource, ret_u64, tst_strerrno(errno_u64), in compare_retval() 104 other_syscall, resource, ret_other, in compare_retval() 112 static int compare_u64_ulong(int resource, uint64_t val_u64, in compare_u64_ulong() argument [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstcudautils.c | 402 GstCudaGraphicsResource *resource; in gst_cuda_graphics_resource_new() local 408 resource = g_new0 (GstCudaGraphicsResource, 1); in gst_cuda_graphics_resource_new() 409 resource->cuda_context = gst_object_ref (context); in gst_cuda_graphics_resource_new() 411 resource->graphics_context = gst_object_ref (graphics_context); in gst_cuda_graphics_resource_new() 413 return resource; in gst_cuda_graphics_resource_new() 430 resource, guint buffer, CUgraphicsRegisterFlags flags) in gst_cuda_graphics_resource_register_gl_buffer() 434 g_return_val_if_fail (resource != NULL, FALSE); in gst_cuda_graphics_resource_register_gl_buffer() 435 g_return_val_if_fail (resource->registered == FALSE, FALSE); in gst_cuda_graphics_resource_register_gl_buffer() 439 cuda_ret = CuGraphicsGLRegisterBuffer (&resource->resource, buffer, flags); in gst_cuda_graphics_resource_register_gl_buffer() 444 resource->registered = TRUE; in gst_cuda_graphics_resource_register_gl_buffer() [all …]
|
/third_party/mesa3d/src/gallium/drivers/tegra/ |
D | tegra_screen.c | 169 struct tegra_resource *resource) in tegra_screen_import_resource() argument 179 status = screen->gpu->resource_get_handle(screen->gpu, NULL, resource->gpu, in tegra_screen_import_resource() 191 resource->modifier = handle.modifier; in tegra_screen_import_resource() 192 resource->stride = handle.stride; in tegra_screen_import_resource() 195 err = drmPrimeFDToHandle(screen->fd, fd, &resource->handle); in tegra_screen_import_resource() 210 struct tegra_resource *resource; in tegra_screen_resource_create() local 213 resource = calloc(1, sizeof(*resource)); in tegra_screen_resource_create() 214 if (!resource) in tegra_screen_resource_create() 231 resource->gpu = screen->gpu->resource_create_with_modifiers(screen->gpu, in tegra_screen_resource_create() 234 if (!resource->gpu) in tegra_screen_resource_create() [all …]
|
/third_party/icu/icu4c/source/data/translit/ |
D | root.txt | 15 resource:process(transliterator){"Latin_ASCII.txt"} 21 resource:process(transliterator){"Any_Accents.txt"} 30 resource:process(transliterator){"Any_Accents.txt"} 36 resource:process(transliterator){"Any_Publishing.txt"} 42 resource:process(transliterator){"Arab_Latn.txt"} 60 resource:process(transliterator){"Latn_Armn.txt"} 72 resource:process(transliterator){"Beng_Arab.txt"} 78 resource:process(transliterator){"Beng_Deva.txt"} 84 resource:process(transliterator){"Beng_Gujr.txt"} 90 resource:process(transliterator){"Beng_Guru.txt"} [all …]
|
/third_party/skia/third_party/externals/icu/source/data/translit/ |
D | root.txt | 15 resource:process(transliterator){"Latin_ASCII.txt"} 21 resource:process(transliterator){"Any_Accents.txt"} 30 resource:process(transliterator){"Any_Accents.txt"} 36 resource:process(transliterator){"Any_Publishing.txt"} 42 resource:process(transliterator){"Arab_Latn.txt"} 60 resource:process(transliterator){"Latn_Armn.txt"} 72 resource:process(transliterator){"Beng_Arab.txt"} 78 resource:process(transliterator){"Beng_Deva.txt"} 84 resource:process(transliterator){"Beng_Gujr.txt"} 90 resource:process(transliterator){"Beng_Guru.txt"} [all …]
|
/third_party/libcoap/src/ |
D | coap_resource.c | 386 coap_add_attr(coap_resource_t *resource, argument 392 if (!resource || !name) 413 LL_PREPEND(resource->link_attr, attr); 422 coap_find_attr(coap_resource_t *resource, argument 426 if (!resource || !name) 429 LL_FOREACH(resource->link_attr, attr) { 466 coap_free_resource(coap_resource_t *resource) { argument 470 assert(resource); 472 if (!resource->context->observe_no_clear) { 473 coap_resource_notify_observers(resource, NULL); [all …]
|
/third_party/gstreamer/gstreamer/ |
D | gstreamer.doap | 10 <homepage rdf:resource="http://gstreamer.freedesktop.org/modules/gstreamer.html" /> 27 <bug-database rdf:resource="https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/" /> 29 <mailing-list rdf:resource="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" /> 31 <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl" /> 32 <download-page rdf:resource="http://gstreamer.freedesktop.org/download/" /> 36 <location rdf:resource="git://gitlab.freedesktop.org/gstreamer/gstreamer"/> 37 <browse rdf:resource="https://gitlab.freedesktop.org/gstreamer/gstreamer"/> 47 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.20.3.tar.x… 57 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.20.2.tar.x… 67 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.20.1.tar.x… [all …]
|
/third_party/python/Lib/importlib/ |
D | resources.py | 40 def open_binary(package: Package, resource: Resource) -> BinaryIO: 42 resource = _common.normalize_path(resource) 46 return reader.open_resource(resource) 56 full_path = os.path.join(package_path, resource) 76 resource: Resource, 82 open_binary(package, resource), encoding=encoding, errors=errors 86 def read_binary(package: Package, resource: Resource) -> bytes: 88 with open_binary(package, resource) as fp: 94 resource: Resource, 103 with open_text(package, resource, encoding, errors) as fp: [all …]
|
/third_party/gstreamer/gst_libav/ |
D | gst-libav.doap | 10 <homepage rdf:resource="http://gstreamer.freedesktop.org/modules/gst-libav.html" /> 21 <bug-database rdf:resource="https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/" /> 23 <mailing-list rdf:resource="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" /> 25 <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl"/> 26 <download-page rdf:resource="http://gstreamer.freedesktop.org/download/" /> 30 <location rdf:resource="git://gitlab.freedesktop.org/gstreamer/gst-libav"/> 31 <browse rdf:resource="http://gitlab.freedesktop.org/gstreamer/gst-libav"/> 41 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.20.3.tar.x… 51 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.20.2.tar.x… 61 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.20.1.tar.x… [all …]
|
/third_party/gstreamer/gstplugins_good/ |
D | gst-plugins-good.doap | 10 <homepage rdf:resource="http://gstreamer.freedesktop.org/modules/gst-plugins-good.html" /> 21 <bug-database rdf:resource="https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/" /> 23 <mailing-list rdf:resource="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" /> 25 <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl"/> 26 <download-page rdf:resource="http://gstreamer.freedesktop.org/download/" /> 30 <location rdf:resource="git://gitlab.freedesktop.org/gstreamer/gst-plugins-good"/> 31 <browse rdf:resource="http://gitlab.freedesktop.org/gstreamer/gst-plugins-good"/> 41 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-goo… 51 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-goo… 61 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-goo… [all …]
|
/third_party/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 …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
|
/third_party/mesa3d/src/gallium/frontends/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); 69 resource(clover::device &dev, memory_obj &obj); 91 class root_resource : public resource { 103 class sub_resource : public resource { 105 sub_resource(resource &r, const vector &offset); [all …]
|
D | resource.cpp | 36 box(const resource::vector &origin, const resource::vector &size) : in box() 51 resource::resource(clover::device &dev, memory_obj &obj) : in resource() function in resource 55 resource::~resource() { in ~resource() 59 resource::copy(command_queue &q, const vector &origin, const vector ®ion, in copy() 60 resource &src_res, const vector &src_origin) { in copy() 69 resource::clear(command_queue &q, const vector &origin, const vector ®ion, in clear() 84 resource::add_map(command_queue &q, cl_map_flags flags, bool blocking, in add_map() 91 resource::del_map(void *p) { in del_map() 98 resource::map_count() const { in map_count() 103 resource::bind_sampler_view(command_queue &q) { in bind_sampler_view() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 62 if (rsrc->resource.b.b.nr_samples > 1 || in r600_prepare_for_dma_blit() 63 rdst->resource.b.b.nr_samples > 1) in r600_prepare_for_dma_blit() 81 if (!util_texrange_covers_whole_level(&rdst->resource.b.b, dst_level, in r600_prepare_for_dma_blit() 91 rctx->b.flush_resource(&rctx->b, &rsrc->resource.b.b); in r600_prepare_for_dma_blit() 111 blit.src.resource = src; in r600_copy_region_with_blit() 115 blit.dst.resource = dst; in r600_copy_region_with_blit() 139 struct pipe_resource *src = transfer->resource; in r600_copy_to_staging_texture() 156 struct pipe_resource *dst = transfer->resource; in r600_copy_from_staging_texture() 325 ctx->flush_resource(ctx, &rtex->resource.b.b); in r600_eliminate_fast_color_clear() 338 assert(rtex->resource.b.b.nr_samples <= 1); in r600_texture_discard_cmask() [all …]
|
/third_party/gstreamer/gstplugins_base/ |
D | gst-plugins-base.doap | 10 <homepage rdf:resource="http://gstreamer.freedesktop.org/modules/gst-plugins-base.html" /> 23 <bug-database rdf:resource="https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/" /> 25 <mailing-list rdf:resource="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" /> 27 <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl"/> 28 <download-page rdf:resource="http://gstreamer.freedesktop.org/download/" /> 32 <location rdf:resource="git://gitlab.freedesktop.org/gstreamer/gst-plugins-base"/> 33 <browse rdf:resource="http://gitlab.freedesktop.org/gstreamer/gst-plugins-base"/> 43 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-bas… 53 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-bas… 63 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-bas… [all …]
|
/third_party/gstreamer/gstplugins_bad/ |
D | gst-plugins-bad.doap | 10 <homepage rdf:resource="http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html" /> 22 <bug-database rdf:resource="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/" /> 24 <mailing-list rdf:resource="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" /> 26 <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl"/> 27 <download-page rdf:resource="http://gstreamer.freedesktop.org/download/" /> 31 <location rdf:resource="git://gitlab.freedesktop.org/gstreamer/gst-plugins-bad"/> 32 <browse rdf:resource="http://gitlab.freedesktop.org/gstreamer/gst-plugins-bad"/> 42 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-… 52 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-… 62 …<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-… [all …]
|
/third_party/skia/tools/ |
D | Resources.cpp | 25 SkString GetResourcePath(const char* resource) { in GetResourcePath() argument 26 return SkOSPath::Join(FLAGS_resourcePath[0], resource); in GetResourcePath() 29 void SetResourcePath(const char* resource) { in SetResourcePath() argument 30 FLAGS_resourcePath.set(0, resource); in SetResourcePath() 39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { in GetResourceAsStream() argument 40 auto data = GetResourceAsData(resource); in GetResourceAsStream() 45 sk_sp<SkData> GetResourceAsData(const char* resource) { in GetResourceAsData() argument 47 ? gResourceFactory(resource) in GetResourceAsData() 48 : SkData::MakeFromFileName(GetResourcePath(resource).c_str())) { in GetResourceAsData() 51 SkDebugf("Resource \"%s\" not found.\n", GetResourcePath(resource).c_str()); in GetResourceAsData() [all …]
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_texture.c | 43 blit.src.resource = src; in virgl_copy_region_with_blit() 47 blit.dst.resource = dst; in virgl_copy_region_with_blit() 116 struct pipe_resource *resource, in texture_transfer_map_resolve() argument 123 struct virgl_resource *vtex = virgl_resource(resource); in texture_transfer_map_resolve() 127 trans = virgl_resource_create_transfer(vctx, resource, in texture_transfer_map_resolve() 132 enum pipe_format fmt = resource->format; in texture_transfer_map_resolve() 150 util_format_get_blockwidth(resource->format)); in texture_transfer_map_resolve() 152 util_format_get_blockheight(resource->format)); in texture_transfer_map_resolve() 155 virgl_init_temp_resource_from_box(&templ, resource, &dst_box, level, 0, fmt); in texture_transfer_map_resolve() 162 virgl_copy_region_with_blit(ctx, resolve_tmp, 0, &dst_box, resource, in texture_transfer_map_resolve() [all …]
|