Home
last modified time | relevance | path

Searched refs:index_map (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dir_builder_print_visitor.cpp81 hash_table *index_map; member in ir_builder_print_visitor
146 index_map = _mesa_pointer_hash_table_create(NULL); in ir_builder_print_visitor()
151 _mesa_hash_table_destroy(index_map, NULL); in ~ir_builder_print_visitor()
208 _mesa_hash_table_insert(index_map, ir, (void *)(uintptr_t) my_index); in visit()
260 _mesa_hash_table_search(index_map, ir->var); in print_without_declaration()
269 _mesa_hash_table_search(index_map, ir->var); in visit()
272 _mesa_hash_table_insert(index_map, ir, he->data); in visit()
350 _mesa_hash_table_insert(index_map, ir, (void *)(uintptr_t) my_index); in visit()
440 _mesa_hash_table_search(index_map, ir->val); in print_without_declaration()
474 _mesa_hash_table_insert(index_map, ir, (void *)(uintptr_t) my_index); in visit_leave()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-hvar-table.hh45 void init (const DeltaSetIndexMap &index_map, in init()
56 if (&index_map == &Null (DeltaSetIndexMap)) return; in init()
60 …hb_codepoint_t gid = (hb_codepoint_t) hb_min (index_map.get_map_count (), plan->num_output_glyphs … in init()
62 outer_bit_count = (index_map.get_width () * 8) - index_map.get_inner_bit_count (); in init()
78 unsigned int v = index_map.map (old_gid); in init()
97 unsigned int v = index_map.map (old_gid); in init()
Dhb-repacker.hh416 hb_hashmap_t<unsigned, unsigned> index_map; in isolate_subgraph() local
427 duplicate_subgraph (entry.first, index_map); in isolate_subgraph()
445 if (index_map.has (node_idx)) return index_map[node_idx]; in isolate_subgraph()
450 remap_obj_indices (index_map, new_subgraph); in isolate_subgraph()
451 remap_obj_indices (index_map, parents.iter (), true); in isolate_subgraph()
457 if (index_map.has (next)) in isolate_subgraph()
460 roots.add (index_map[next]); in isolate_subgraph()
494 void duplicate_subgraph (unsigned node_idx, hb_hashmap_t<unsigned, unsigned>& index_map) in duplicate_subgraph()
496 if (index_map.has (node_idx)) in duplicate_subgraph()
499 index_map.set (node_idx, duplicate (node_idx)); in duplicate_subgraph()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.h57 util_prim_restart_convert_to_direct(const void *index_map,
Du_prim_restart.c224 util_prim_restart_convert_to_direct(const void *index_map, in util_prim_restart_convert_to_direct() argument
242 ((const TYPE *) index_map)[i] == info->restart_index) { \ in util_prim_restart_convert_to_direct()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h723 int index_map; // a cmap mapping for our chosen character encoding member
1433 info->index_map = 0; in stbtt_InitFont_internal()
1443 info->index_map = cmap + ttULONG(data+encoding_record+4); in stbtt_InitFont_internal()
1450 info->index_map = cmap + ttULONG(data+encoding_record+4); in stbtt_InitFont_internal()
1454 if (info->index_map == 0) in stbtt_InitFont_internal()
1464 stbtt_uint32 index_map = info->index_map; in stbtt_FindGlyphIndex() local
1466 stbtt_uint16 format = ttUSHORT(data + index_map + 0); in stbtt_FindGlyphIndex()
1468 stbtt_int32 bytes = ttUSHORT(data + index_map + 2); in stbtt_FindGlyphIndex()
1470 return ttBYTE(data + index_map + 6 + unicode_codepoint); in stbtt_FindGlyphIndex()
1473 stbtt_uint32 first = ttUSHORT(data + index_map + 6); in stbtt_FindGlyphIndex()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h723 int index_map; // a cmap mapping for our chosen character encoding member
1433 info->index_map = 0; in stbtt_InitFont_internal()
1443 info->index_map = cmap + ttULONG(data+encoding_record+4); in stbtt_InitFont_internal()
1450 info->index_map = cmap + ttULONG(data+encoding_record+4); in stbtt_InitFont_internal()
1454 if (info->index_map == 0) in stbtt_InitFont_internal()
1464 stbtt_uint32 index_map = info->index_map; in stbtt_FindGlyphIndex() local
1466 stbtt_uint16 format = ttUSHORT(data + index_map + 0); in stbtt_FindGlyphIndex()
1468 stbtt_int32 bytes = ttUSHORT(data + index_map + 2); in stbtt_FindGlyphIndex()
1470 return ttBYTE(data + index_map + 6 + unicode_codepoint); in stbtt_FindGlyphIndex()
1473 stbtt_uint32 first = ttUSHORT(data + index_map + 6); in stbtt_FindGlyphIndex()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_system_values.c223 assert(nir_intrinsic_infos[sysval_op].index_map[NIR_INTRINSIC_COLUMN] > 0); in lower_system_value_instr()
Dnir.c3196 if (src_info->index_map[i] == 0) in nir_intrinsic_copy_const_indices()
3200 assert(dst_info->index_map[i] > 0); in nir_intrinsic_copy_const_indices()
3202 dst->const_index[dst_info->index_map[i] - 1] = in nir_intrinsic_copy_const_indices()
3203 src->const_index[src_info->index_map[i] - 1]; in nir_intrinsic_copy_const_indices()
Dnir_gather_info.c473 if (nir_intrinsic_infos[instr->intrinsic].index_map[NIR_INTRINSIC_IO_SEMANTICS] > 0) { in gather_intrinsic_info()
Dnir_print.c1138 unsigned off = info->index_map[idx] - 1; in print_intrinsic_instr()
Dnir_opt_load_store_vectorize.c570 … bool has_align = nir_intrinsic_infos[entry->intrin->intrinsic].index_map[NIR_INTRINSIC_ALIGN_MUL]; in calc_alignment()
Dnir.h1905 uint8_t index_map[NIR_INTRINSIC_NUM_INDEX_FLAGS]; member
/third_party/mindspore/patches/
D0006-remove-lite-expression-fix-double-loadso.patch7157 + std::map<uint32_t, uint32_t> index_map;
7162 + if (index_map.find(input_index) == index_map.end()) {
7163 + index_map[input_index] = index;
7166 + graph->inputIndex.push_back(index_map[input_index]);
7172 + if (index_map.find(in_index) == index_map.end()) {
7173 + index_map[in_index] = index;
7176 + node->inputIndex.push_back(index_map[in_index]);
7181 + if (index_map.find(out_index) == index_map.end()) {
7182 + index_map[out_index] = index;
7185 + node->outputIndex.push_back(index_map[out_index]);
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_info.c231 if (nir_intrinsic_infos[baryc->intrinsic].index_map[NIR_INTRINSIC_INTERP_MODE] > 0) in scan_io_usage()