/external/elfutils/lib/ |
D | dynamicsizehash.c | 47 lookup (NAME *htab, HASHTYPE hval, TYPE val __attribute__ ((unused))) in lookup() argument 51 size_t idx = 1 + (hval < htab->size ? hval : hval % htab->size); in lookup() 53 if (htab->table[idx].hashval != 0) in lookup() 57 if (htab->table[idx].hashval == hval in lookup() 58 && COMPARE (htab->table[idx].data, val) == 0) in lookup() 62 hash = 1 + hval % (htab->size - 2); in lookup() 67 idx = htab->size + idx - hash; in lookup() 72 if (htab->table[idx].hashval == hval in lookup() 73 && COMPARE (htab->table[idx].data, val) == 0) in lookup() 76 while (htab->table[idx].hashval); in lookup() [all …]
|
D | fixedsizehash.h | 125 CONCAT(PREFIX,fshash_fini) (struct CONCAT(PREFIX,fshash) *htab) in CONCAT() 127 free (htab); in CONCAT() 133 CONCAT(PREFIX,fshash_lookup) (struct CONCAT(PREFIX,fshash) *htab, in CONCAT() 136 size_t idx = 1 + hval % htab->nslots; in CONCAT() 138 if (htab->table[idx].hval != 0) in CONCAT() 143 if (htab->table[idx].hval == hval in CONCAT() 144 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT() 145 return &htab->table[idx]; in CONCAT() 148 hash = 1 + hval % (htab->nslots - 2); in CONCAT() 153 idx = htab->nslots + idx - hash; in CONCAT() [all …]
|
D | dynamicsizehash.h | 89 extern int name##_init (name *htab, size_t init_size); \ 92 extern int name##_free (name *htab); \ 95 extern int name##_insert (name *htab, HASHTYPE hval, TYPE data); \ 98 extern int name##_overwrite (name *htab, HASHTYPE hval, TYPE data); \ 101 extern TYPE name##_find (name *htab, HASHTYPE hval, TYPE val); 109 extern TYPE name##_iterate (name *htab, void **ptr);
|
/external/mesa3d/src/gallium/state_trackers/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 | Makefile.sources | 6 htab.c \
|
/external/mesa3d/src/gallium/state_trackers/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() 164 buf = handle_table_get(drv->htab, buf_id); in vlVaUnmapBuffer() 195 buf = handle_table_get(drv->htab, buf_id); in vlVaDestroyBuffer() 206 handle_table_remove(VL_VA_DRIVER(ctx)->htab, buf_id); in vlVaDestroyBuffer() 224 buf = handle_table_get(drv->htab, buf_id); in vlVaBufferInfo() 258 buf = handle_table_get(VL_VA_DRIVER(ctx)->htab, buf_id); in vlVaAcquireBufferHandle() 343 buf = handle_table_get(drv->htab, buf_id); in vlVaReleaseBufferHandle()
|
D | context.c | 154 drv->htab = handle_table_create(); in VA_DRIVER_INIT_FUNC() 155 if (!drv->htab) in VA_DRIVER_INIT_FUNC() 190 handle_table_destroy(drv->htab); in VA_DRIVER_INIT_FUNC() 218 config = handle_table_get(drv->htab, config_id); in vlVaCreateContext() 295 *context_id = handle_table_add(drv->htab, context); in vlVaCreateContext() 312 context = handle_table_get(drv->htab, context_id); in vlVaDestroyContext() 338 handle_table_remove(drv->htab, context_id); in vlVaDestroyContext() 357 handle_table_destroy(drv->htab); in vlVaTerminate()
|
D | image.c | 118 img->image_id = handle_table_add(drv->htab, img); in vlVaCreateImage() 201 surf = handle_table_get(drv->htab, surface); in vlVaDeriveImage() 262 img->image_id = handle_table_add(drv->htab, img); in vlVaDeriveImage() 270 img->buf = handle_table_add(VL_VA_DRIVER(ctx)->htab, img_buf); in vlVaDeriveImage() 290 vaimage = handle_table_get(drv->htab, image); in vlVaDestroyImage() 296 handle_table_remove(VL_VA_DRIVER(ctx)->htab, image); in vlVaDestroyImage() 332 surf = handle_table_get(drv->htab, surface); in vlVaGetImage() 338 vaimage = handle_table_get(drv->htab, image); in vlVaGetImage() 344 img_buf = handle_table_get(drv->htab, vaimage->buf); in vlVaGetImage() 443 surf = handle_table_get(drv->htab, surface); in vlVaPutImage() [all …]
|
D | config.c | 204 *config_id = handle_table_add(drv->htab, config); in vlVaCreateConfig() 269 *config_id = handle_table_add(drv->htab, config); in vlVaCreateConfig() 290 config = handle_table_get(drv->htab, config_id); in vlVaDestroyConfig() 296 handle_table_remove(drv->htab, config_id); in vlVaDestroyConfig() 318 config = handle_table_get(drv->htab, config_id); in vlVaQueryConfigAttributes()
|
D | postproc.c | 191 prevprev = handle_table_get(drv->htab, param->backward_references[1]); in vlVaApplyDeint() 192 prev = handle_table_get(drv->htab, param->backward_references[0]); in vlVaApplyDeint() 193 next = handle_table_get(drv->htab, param->forward_references[0]); in vlVaApplyDeint() 246 src_surface = handle_table_get(drv->htab, param->surface); in vlVaHandleVAProcPipelineParameterBufferType() 253 vlVaBuffer *buf = handle_table_get(drv->htab, param->filters[i]); in vlVaHandleVAProcPipelineParameterBufferType()
|
D | picture.c | 54 context = handle_table_get(drv->htab, context_id); in vlVaBeginPicture() 60 surf = handle_table_get(drv->htab, render_target); in vlVaBeginPicture() 93 vlVaSurface *surf = handle_table_get(drv->htab, surface_id); in vlVaGetReferenceFrame() 410 coded_buf = handle_table_get(drv->htab, h264->coded_buf); in handleVAEncPictureParameterBufferType() 485 context = handle_table_get(drv->htab, context_id); in vlVaRenderPicture() 492 vlVaBuffer *buf = handle_table_get(drv->htab, buffers[i]); in vlVaRenderPicture() 560 context = handle_table_get(drv->htab, context_id); in vlVaEndPicture() 574 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() 205 buf = handle_table_get(drv->htab, sub->image->buf); in vlVaPutSubpictures() 292 surf = handle_table_get(drv->htab, surface_id); in vlVaPutSurface() 403 config = handle_table_get(drv->htab, config_id); in vlVaQuerySurfaceAttributes() 558 surfaces[index] = handle_table_add(drv->htab, surface); in suface_from_external_memory() 713 surfaces[i] = handle_table_add(drv->htab, surf); in vlVaCreateSurfaces2() 837 vlVaBuffer *buf = handle_table_get(VL_VA_DRIVER(ctx)->htab, filters[i]); in vlVaQueryVideoProcPipelineCaps()
|
D | va_private.h | 207 struct handle_table *htab; member
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
D | LZWEncoder.java | 54 int[] htab = new int[HSIZE]; field in LZWEncoder 142 htab[i] = -1; in cl_hash() 185 if (htab[i] == fcode) { in compress() 188 } else if (htab[i] >= 0) // non-empty slot in compress() 197 if (htab[i] == fcode) { in compress() 201 } while (htab[i] >= 0); in compress() 207 htab[i] = fcode; in compress()
|
/external/valgrind/exp-sgcheck/ |
D | sg_main.c | 1228 IInstance* htab; member 1305 if (!frame->htab) in preen_global_Invars() 1308 IInstance* ii = &frame->htab[u]; in preen_global_Invars() 1332 sf->htab = &sf->htab_fixed[0]; in initialise_II_hash_table() 1333 tl_assert(sf->htab); in initialise_II_hash_table() 1336 sf->htab[i].insn_addr = 0; /* NOT IN USE */ in initialise_II_hash_table() 1346 tl_assert(sf && sf->htab); in resize_II_hash_table() 1349 old_htab = sf->htab; in resize_II_hash_table() 1381 sf->htab = new_htab; in resize_II_hash_table() 1408 tl_assert(sf->htab); in find_or_create_IInstance_SLOW() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | 2010-02-12-CoalescerBug-Impdef.ll | 59 …htab"*, %"union tree_node"*, %"union tree_node"*, %"union tree_node"*, %"union tree_node"*, %"stru… 61 …htab"*, %"struct VEC_gimple_gc"*, %"struct VEC_tree_gc"*, %"union tree_node"*, %"struct pt_solutio… 67 %"struct htab" = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i64, i64, i64, i32, i32, i8… 76 %"struct loops" = type { i32, %"struct VEC_loop_p_gc"*, %"struct htab"*, %"struct loop"* }
|
D | 2008-05-21-CoalescerBug.ll | 34 … %struct.machine_function*, i32, i32, %struct.language_function*, %struct.htab*, %struct.rtx_def*,… 35 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*…
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | 2010-02-12-CoalescerBug-Impdef.ll | 59 …htab"*, %"union tree_node"*, %"union tree_node"*, %"union tree_node"*, %"union tree_node"*, %"stru… 61 …htab"*, %"struct VEC_gimple_gc"*, %"struct VEC_tree_gc"*, %"union tree_node"*, %"struct pt_solutio… 67 %"struct htab" = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i64, i64, i64, i32, i32, i8… 76 %"struct loops" = type { i32, %"struct VEC_loop_p_gc"*, %"struct htab"*, %"struct loop"* }
|
D | 2008-05-21-CoalescerBug.ll | 34 … %struct.machine_function*, i32, i32, %struct.language_function*, %struct.htab*, %struct.rtx_def*,… 35 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*…
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Blackfin/ |
D | mulhu.ll | 23 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*… 28 …%struct.ivopts_data = type { %struct.loop*, %struct.htab*, i32, %struct.version_info*, %struct.bit…
|
/external/llvm/test/CodeGen/Generic/ |
D | 2006-08-30-CoalescerCrash.ll | 22 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*… 27 …%struct.ivopts_data = type { %struct.loop*, %struct.htab*, i32, %struct.version_info*, %struct.bit…
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/ |
D | 2006-08-30-CoalescerCrash.ll | 22 …%struct.htab = type { i32 (i8*)*, i32 (i8*, i8*)*, void (i8*)*, i8**, i32, i32, i32, i32, i32, i8*… 27 …%struct.ivopts_data = type { %struct.loop*, %struct.htab*, i32, %struct.version_info*, %struct.bit…
|