/third_party/gettext/gnulib-local/lib/ |
D | mem-hash-map.c | 89 hash_init (hash_table *htab, unsigned long int init_size) in hash_init() argument 95 htab->size = init_size; in hash_init() 96 htab->filled = 0; in hash_init() 97 htab->first = NULL; in hash_init() 98 htab->table = XCALLOC (init_size + 1, hash_entry); in hash_init() 100 obstack_init (&htab->mem_pool); in hash_init() 109 hash_destroy (hash_table *htab) in hash_destroy() argument 111 free (htab->table); in hash_destroy() 112 obstack_free (&htab->mem_pool, NULL); in hash_destroy() 147 lookup (hash_table *htab, in lookup() argument [all …]
|
D | mem-hash-map.h | 40 extern int hash_init (hash_table *htab, unsigned long int init_size); 44 extern int hash_destroy (hash_table *htab); 48 extern int hash_find_entry (hash_table *htab, 56 extern const void * hash_insert_entry (hash_table *htab, 62 extern int hash_set_value (hash_table *htab, 70 extern int hash_iterate (hash_table *htab, void **ptr, 79 extern int hash_iterate_modify (hash_table *htab, void **ptr,
|
/third_party/musl/src/search/ |
D | hsearch.c | 24 static struct hsearch_data htab; variable 40 static int resize(size_t nel, struct hsearch_data *htab) in resize() argument 45 ENTRY *oldtab = htab->__tab->entries; in resize() 46 ENTRY *oldend = htab->__tab->entries + htab->__tab->mask + 1; in resize() 51 htab->__tab->entries = calloc(newsize, sizeof *htab->__tab->entries); in resize() 52 if (!htab->__tab->entries) { in resize() 53 htab->__tab->entries = oldtab; in resize() 56 htab->__tab->mask = newsize - 1; in resize() 62 newe = htab->__tab->entries + (i & htab->__tab->mask); in resize() 74 return __hcreate_r(nel, &htab); in hcreate() [all …]
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | htab.c | 32 static struct handle_table *htab = NULL; variable 42 if (!htab) in vlCreateHTAB() 43 htab = handle_table_create(); in vlCreateHTAB() 44 ret = htab != NULL; in vlCreateHTAB() 52 if (htab && !handle_table_get_first_handle(htab)) { in vlDestroyHTAB() 53 handle_table_destroy(htab); in vlDestroyHTAB() 54 htab = NULL; in vlDestroyHTAB() 65 if (htab) in vlAddDataHTAB() 66 handle = handle_table_add(htab, data); in vlAddDataHTAB() 77 if (htab) in vlGetDataHTAB() [all …]
|
D | meson.build | 27 'bitmap.c', 'decode.c', 'device.c', 'ftab.c', 'htab.c', 'mixer.c',
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | subpicture.c | 77 img = handle_table_get(drv->htab, image); in vlVaCreateSubpicture() 90 *subpicture = handle_table_add(VL_VA_DRIVER(ctx)->htab, sub); in vlVaCreateSubpicture() 108 sub = handle_table_get(drv->htab, subpicture); in vlVaDestroySubpicture() 115 handle_table_remove(drv->htab, subpicture); in vlVaDestroySubpicture() 134 img = handle_table_get(drv->htab, image); in vlVaSubpictureImage() 140 sub = handle_table_get(drv->htab, subpicture); in vlVaSubpictureImage() 191 sub = handle_table_get(drv->htab, subpicture); in vlVaAssociateSubpicture() 198 surf = handle_table_get(drv->htab, target_surfaces[i]); in vlVaAssociateSubpicture() 238 surf = handle_table_get(drv->htab, target_surfaces[i]); in vlVaAssociateSubpicture() 261 sub = handle_table_get(drv->htab, subpicture); in vlVaDeassociateSubpicture() [all …]
|
D | buffer.c | 68 *buf_id = handle_table_add(drv->htab, buf); in vlVaCreateBuffer() 86 buf = handle_table_get(drv->htab, buf_id); in vlVaBufferSetNumElements() 121 buf = handle_table_get(drv->htab, buf_id); in vlVaMapBuffer() 170 buf = handle_table_get(drv->htab, buf_id); in vlVaUnmapBuffer() 201 buf = handle_table_get(drv->htab, buf_id); in vlVaDestroyBuffer() 216 handle_table_remove(VL_VA_DRIVER(ctx)->htab, buf_id); in vlVaDestroyBuffer() 234 buf = handle_table_get(drv->htab, buf_id); in vlVaBufferInfo() 268 buf = handle_table_get(VL_VA_DRIVER(ctx)->htab, buf_id); in vlVaAcquireBufferHandle() 353 buf = handle_table_get(drv->htab, buf_id); in vlVaReleaseBufferHandle()
|
D | context.c | 158 drv->htab = handle_table_create(); in VA_DRIVER_INIT_FUNC() 159 if (!drv->htab) in VA_DRIVER_INIT_FUNC() 198 handle_table_destroy(drv->htab); in VA_DRIVER_INIT_FUNC() 227 config = handle_table_get(drv->htab, config_id); in vlVaCreateContext() 332 *context_id = handle_table_add(drv->htab, context); in vlVaCreateContext() 349 context = handle_table_get(drv->htab, context_id); in vlVaDestroyContext() 388 handle_table_remove(drv->htab, context_id); in vlVaDestroyContext() 407 handle_table_destroy(drv->htab); in vlVaTerminate()
|
D | image.c | 122 img->image_id = handle_table_add(drv->htab, img); in vlVaCreateImage() 239 surf = handle_table_get(drv->htab, surface); in vlVaDeriveImage() 371 img->image_id = handle_table_add(drv->htab, img); in vlVaDeriveImage() 380 img->buf = handle_table_add(VL_VA_DRIVER(ctx)->htab, img_buf); in vlVaDeriveImage() 405 vaimage = handle_table_get(drv->htab, image); in vlVaDestroyImage() 411 handle_table_remove(VL_VA_DRIVER(ctx)->htab, image); in vlVaDestroyImage() 447 surf = handle_table_get(drv->htab, surface); in vlVaGetImage() 453 vaimage = handle_table_get(drv->htab, image); in vlVaGetImage() 476 img_buf = handle_table_get(drv->htab, vaimage->buf); in vlVaGetImage() 590 surf = handle_table_get(drv->htab, surface); in vlVaPutImage() [all …]
|
D | postproc.c | 144 surf = handle_table_get(drv->htab, context->target_id); in vlVaPostProcBlit() 248 prevprev = handle_table_get(drv->htab, param->forward_references[1]); in vlVaApplyDeint() 249 prev = handle_table_get(drv->htab, param->forward_references[0]); in vlVaApplyDeint() 250 next = handle_table_get(drv->htab, param->backward_references[0]); in vlVaApplyDeint() 303 src_surface = handle_table_get(drv->htab, param->surface); in vlVaHandleVAProcPipelineParameterBufferType() 304 dst_surface = handle_table_get(drv->htab, context->target_id); in vlVaHandleVAProcPipelineParameterBufferType() 327 vlVaBuffer *buf = handle_table_get(drv->htab, param->filters[i]); in vlVaHandleVAProcPipelineParameterBufferType()
|
D | config.c | 257 *config_id = handle_table_add(drv->htab, config); in vlVaCreateConfig() 347 *config_id = handle_table_add(drv->htab, config); in vlVaCreateConfig() 368 config = handle_table_get(drv->htab, config_id); in vlVaDestroyConfig() 376 handle_table_remove(drv->htab, config_id); in vlVaDestroyConfig() 398 config = handle_table_get(drv->htab, config_id); in vlVaQueryConfigAttributes()
|
D | picture.c | 55 context = handle_table_get(drv->htab, context_id); in vlVaBeginPicture() 66 surf = handle_table_get(drv->htab, render_target); in vlVaBeginPicture() 102 vlVaSurface *surf = handle_table_get(drv->htab, surface_id); in vlVaGetReferenceFrame() 574 context = handle_table_get(drv->htab, context_id); in vlVaRenderPicture() 582 vlVaBuffer *buf = handle_table_get(drv->htab, buffers[i]); in vlVaRenderPicture() 593 vlVaBuffer *buf = handle_table_get(drv->htab, buffers[i]); in vlVaRenderPicture() 673 context = handle_table_get(drv->htab, context_id); in vlVaEndPicture() 687 surf = handle_table_get(drv->htab, context->target_id); in vlVaEndPicture()
|
D | surface.c | 75 vlVaSurface *surf = handle_table_get(drv->htab, surface_list[i]); in vlVaDestroySurfaces() 84 handle_table_remove(drv->htab, surface_list[i]); in vlVaDestroySurfaces() 106 surf = handle_table_get(drv->htab, render_target); in vlVaSyncSurface() 119 context = handle_table_get(drv->htab, surf->ctx); in vlVaSyncSurface() 162 surf = handle_table_get(drv->htab, render_target); in vlVaQuerySurfaceStatus() 168 context = handle_table_get(drv->htab, surf->ctx); in vlVaQuerySurfaceStatus() 238 buf = handle_table_get(drv->htab, sub->image->buf); in vlVaPutSubpictures() 326 surf = handle_table_get(drv->htab, surface_id); in vlVaPutSurface() 448 config = handle_table_get(drv->htab, config_id); in vlVaQuerySurfaceAttributes() 1025 surfaces[i] = handle_table_add(drv->htab, surf); in vlVaCreateSurfaces2() [all …]
|
D | picture_h264_enc.c | 49 coded_buf = handle_table_get(drv->htab, h264->coded_buf); in vlVaHandleVAEncPictureParameterBufferTypeH264()
|
D | picture_hevc_enc.c | 55 coded_buf = handle_table_get(drv->htab, h265->coded_buf); in vlVaHandleVAEncPictureParameterBufferTypeHEVC()
|
D | va_private.h | 249 struct handle_table *htab; member
|
/third_party/libxml2/ |
D | xmlschemas.c | 863 xmlHashTablePtr htab; member 22465 if (matcher->htab != NULL) in xmlSchemaIDCFreeMatcherList() 22466 xmlHashFree(matcher->htab, xmlFreeIDCHashEntry); in xmlSchemaIDCFreeMatcherList() 22517 if (matcher->htab != NULL) { in xmlSchemaIDCReleaseMatcherList() 22518 xmlHashFree(matcher->htab, xmlFreeIDCHashEntry); in xmlSchemaIDCReleaseMatcherList() 22519 matcher->htab = NULL; in xmlSchemaIDCReleaseMatcherList() 23177 if (!matcher->htab) in xmlSchemaXPathProcessHistory() 23182 e = xmlHashLookup(matcher->htab, value); in xmlSchemaXPathProcessHistory() 23294 if (!matcher->htab) in xmlSchemaXPathProcessHistory() 23295 matcher->htab = xmlHashCreate(4); in xmlSchemaXPathProcessHistory() [all …]
|
/third_party/mesa3d/ohos/ |
D | dependency_inputs.gni | 4226 ../src/gallium/frontends/vdpau/htab.c
|