Home
last modified time | relevance | path

Searched refs:id_map (Results 1 - 14 of 14) sorted by relevance

/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dmap_html_anchors.py35 def add_id(chapelem, idelem, id_map, chapter_id):
40 - id_map - dictionary containing the map
104 if id in id_map:
105 val = id_map[id]
112 id_map[id] = [ chapter_id, id_title ]
114 def generate_map(id_map, filename, scripttype):
129 for id in sorted(id_map):
130 print(f" '{id}' : [ '{id_map[id][0]}', '{id_map[id][1]}' ],", file=fp)
182 id_map variable
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfold.cpp283 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldBinaryIntegerOpToConstant()
295 ids[i] = id_map(operand->words[0]); in FoldBinaryIntegerOpToConstant()
467 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldBinaryBooleanOpToConstant()
479 ids[i] = id_map(operand->words[0]); in FoldBinaryBooleanOpToConstant()
515 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldIntegerOpToConstant()
521 return FoldBinaryIntegerOpToConstant(inst, id_map, result) || in FoldIntegerOpToConstant()
522 FoldBinaryBooleanOpToConstant(inst, id_map, result); in FoldIntegerOpToConstant()
627 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const { in FoldInstructionToConstant()
638 &id_map](uint32_t* op_id) { in FoldInstructionToConstant()
639 uint32_t id = id_map(*op_i in FoldInstructionToConstant()
282 FoldBinaryIntegerOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldBinaryIntegerOpToConstant() argument
466 FoldBinaryBooleanOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldBinaryBooleanOpToConstant() argument
514 FoldIntegerOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldIntegerOpToConstant() argument
[all...]
H A Dfold.h90 // have been substituted using |id_map|. Returns a pointer to the OpConstant*
94 // |id_map| is a function that takes one result id and returns another. It
99 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const;
151 // 32-bit value when the ids have been replaced by |id_map|. If |inst| can be
156 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map,
161 // to a constant boolean value when the ids have been replaced using |id_map|.
164 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map,
168 // substituted using id_map. If it can, the value is returned in |result|. If
172 const std::function<uint32_t(uint32_t)>& id_map,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dfold.cpp283 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldBinaryIntegerOpToConstant()
295 ids[i] = id_map(operand->words[0]); in FoldBinaryIntegerOpToConstant()
467 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldBinaryBooleanOpToConstant()
479 ids[i] = id_map(operand->words[0]); in FoldBinaryBooleanOpToConstant()
515 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldIntegerOpToConstant()
521 return FoldBinaryIntegerOpToConstant(inst, id_map, result) || in FoldIntegerOpToConstant()
522 FoldBinaryBooleanOpToConstant(inst, id_map, result); in FoldIntegerOpToConstant()
627 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const { in FoldInstructionToConstant()
638 &id_map](uint32_t* op_id) { in FoldInstructionToConstant()
639 uint32_t id = id_map(*op_i in FoldInstructionToConstant()
282 FoldBinaryIntegerOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldBinaryIntegerOpToConstant() argument
466 FoldBinaryBooleanOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldBinaryBooleanOpToConstant() argument
514 FoldIntegerOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldIntegerOpToConstant() argument
[all...]
H A Dfold.h90 // have been substituted using |id_map|. Returns a pointer to the OpConstant*
94 // |id_map| is a function that takes one result id and returns another. It
99 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const;
151 // 32-bit value when the ids have been replaced by |id_map|. If |inst| can be
156 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map,
161 // to a constant boolean value when the ids have been replaced using |id_map|.
164 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map,
168 // substituted using id_map. If it can, the value is returned in |result|. If
172 const std::function<uint32_t(uint32_t)>& id_map,
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-repacker.hh86 void remap_parents (const hb_vector_t<unsigned>& id_map) in remap_parents()
89 parents[i] = id_map[parents[i]]; in remap_parents()
244 hb_vector_t<unsigned> id_map; in sort_kahn()
245 if (unlikely (!check_success (id_map.resize (vertices_.length)))) return; in sort_kahn()
261 id_map[next_id] = new_id--; in sort_kahn()
275 remap_all_obj_indices (id_map, &sorted_graph); in sort_kahn()
299 hb_vector_t<unsigned> id_map; in sort_shortest_distance()
300 if (unlikely (!check_success (id_map.resize (vertices_.length)))) return; in sort_shortest_distance()
315 id_map[next_id] = new_id--; in sort_shortest_distance()
335 remap_all_obj_indices (id_map, in sort_shortest_distance()
[all...]
/third_party/spirv-tools/source/opt/
H A Dfold.h98 // have been substituted using |id_map|. Returns a pointer to the OpConstant*
102 // |id_map| is a function that takes one result id and returns another. It
107 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const;
159 // 32-bit value when the ids have been replaced by |id_map|. If |inst| can be
164 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map,
169 // to a constant boolean value when the ids have been replaced using |id_map|.
172 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map,
176 // substituted using id_map. If it can, the value is returned in |result|. If
180 const std::function<uint32_t(uint32_t)>& id_map,
H A Dfold.cpp283 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldBinaryIntegerOpToConstant()
295 ids[i] = id_map(operand->words[0]); in FoldBinaryIntegerOpToConstant()
467 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldBinaryBooleanOpToConstant()
479 ids[i] = id_map(operand->words[0]); in FoldBinaryBooleanOpToConstant()
515 Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, in FoldIntegerOpToConstant()
521 return FoldBinaryIntegerOpToConstant(inst, id_map, result) || in FoldIntegerOpToConstant()
522 FoldBinaryBooleanOpToConstant(inst, id_map, result); in FoldIntegerOpToConstant()
627 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const { in FoldInstructionToConstant()
638 &id_map](uint32_t* op_id) { in FoldInstructionToConstant()
639 uint32_t id = id_map(*op_i in FoldInstructionToConstant()
282 FoldBinaryIntegerOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldBinaryIntegerOpToConstant() argument
466 FoldBinaryBooleanOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldBinaryBooleanOpToConstant() argument
514 FoldIntegerOpToConstant( Instruction* inst, const std::function<uint32_t(uint32_t)>& id_map, uint32_t* result) const FoldIntegerOpToConstant() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dfold_test.cpp2836 : test_body(tb), id_to_fold(id), expected_result(result), id_map(map) {} in InstructionFoldingCaseWithMap()
2841 std::function<uint32_t(uint32_t)> id_map; member
2860 tc.id_map); in TEST_P()
2908 tc.id_map); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dfold_test.cpp2906 : test_body(tb), id_to_fold(id), expected_result(result), id_map(map) {} in InstructionFoldingCaseWithMap()
2911 std::function<uint32_t(uint32_t)> id_map; member
2930 tc.id_map); in TEST_P()
2978 tc.id_map); in TEST_P()
/third_party/spirv-tools/test/opt/
H A Dfold_test.cpp3386 : test_body(tb), id_to_fold(id), expected_result(result), id_map(map) {} in InstructionFoldingCaseWithMap()
3391 std::function<uint32_t(uint32_t)> id_map; member
3410 tc.id_map); in TEST_P()
3458 tc.id_map); in TEST_P()
/third_party/jinja2/
H A Dcompiler.py554 for id_map, names, dependency in (self.filters, visitor.filters, "filters"), (
560 if name not in id_map:
561 id_map[name] = self.temporary_identifier()
567 self.writeline(f"{id_map[name]} = environment.{dependency}[{name!r}]")
572 self.writeline(f"def {id_map[name]}(*unused):")
/third_party/libbpf/src/
H A Dlinker.c2220 int *id_map = ctx; in remap_type_id() local
2221 int new_id = id_map[*type_id]; in remap_type_id()
2229 *type_id = id_map[*type_id]; in remap_type_id()
/third_party/ffmpeg/libavcodec/
H A Daacdec_template.c540 uint8_t id_map[TYPE_END][MAX_ELEM_ID] = {{ 0 }}; in output_configure() local
550 id_map[type][id] = type_counts[type]++; in output_configure()
551 if (id_map[type][id] >= MAX_ELEM_ID) { in output_configure()
570 int iid = id_map[type][id]; in output_configure()

Completed in 42 milliseconds