Home
last modified time | relevance | path

Searched refs:insert_pos (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/libs/regex/src/
Dcregex.cpp608 unsigned insert_pos = f1 - begin(); in replace() local
615 std::copy_backward(begin() + insert_pos + remove_len, begin() + org_size, end()); in replace()
616 std::copy(i1, i2, begin() + insert_pos); in replace()
620 …std::copy(begin() + insert_pos + remove_len, begin() + org_size, begin() + insert_pos + insert_len… in replace()
621 std::copy(i1, i2, begin() + insert_pos); in replace()
630 unsigned insert_pos = f1 - begin(); in replace() local
637 std::copy_backward(begin() + insert_pos + remove_len, begin() + org_size, end()); in replace()
638 std::copy(i1, i2, begin() + insert_pos); in replace()
642 …std::copy(begin() + insert_pos + remove_len, begin() + org_size, begin() + insert_pos + insert_len… in replace()
643 std::copy(i1, i2, begin() + insert_pos); in replace()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp195 Instruction* insert_pos = (*inst_iter_ptr)->PreviousNode(); in FoldWithInstructionFolder() local
196 assert(insert_pos != nullptr && in FoldWithInstructionFolder()
204 i->InsertAfter(insert_pos); in FoldWithInstructionFolder()
205 insert_pos = insert_pos->NextNode(); in FoldWithInstructionFolder()
211 new_const_inst->InsertAfter(insert_pos); in FoldWithInstructionFolder()
Dmerge_return_pass.cpp345 Instruction* insert_pos = &*merge_block->begin(); in CreatePhiNodesForInst() local
346 while (insert_pos->opcode() == SpvOpPhi) { in CreatePhiNodesForInst()
347 insert_pos = insert_pos->NextNode(); in CreatePhiNodesForInst()
349 new_phi = insert_pos->InsertBefore(std::move(regen_inst)); in CreatePhiNodesForInst()
Ddebug_info_manager.h151 Instruction* insert_pos,
Ddebug_info_manager.cpp551 Instruction* insert_pos, in AddDebugValueIfVarDeclIsVisible() argument
567 Instruction* insert_before = insert_pos->NextNode(); in AddDebugValueIfVarDeclIsVisible()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp195 Instruction* insert_pos = (*inst_iter_ptr)->PreviousNode(); in FoldWithInstructionFolder() local
196 assert(insert_pos != nullptr && in FoldWithInstructionFolder()
204 i->InsertAfter(insert_pos); in FoldWithInstructionFolder()
205 insert_pos = insert_pos->NextNode(); in FoldWithInstructionFolder()
211 new_const_inst->InsertAfter(insert_pos); in FoldWithInstructionFolder()
Dmerge_return_pass.cpp345 Instruction* insert_pos = &*merge_block->begin(); in CreatePhiNodesForInst() local
346 while (insert_pos->opcode() == SpvOpPhi) { in CreatePhiNodesForInst()
347 insert_pos = insert_pos->NextNode(); in CreatePhiNodesForInst()
349 new_phi = insert_pos->InsertBefore(std::move(regen_inst)); in CreatePhiNodesForInst()
Ddebug_info_manager.h151 Instruction* insert_pos,
Ddebug_info_manager.cpp551 Instruction* insert_pos, in AddDebugValueIfVarDeclIsVisible() argument
567 Instruction* insert_before = insert_pos->NextNode(); in AddDebugValueIfVarDeclIsVisible()
/third_party/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp195 Instruction* insert_pos = (*inst_iter_ptr)->PreviousNode(); in FoldWithInstructionFolder() local
196 assert(insert_pos != nullptr && in FoldWithInstructionFolder()
204 i->InsertAfter(insert_pos); in FoldWithInstructionFolder()
205 insert_pos = insert_pos->NextNode(); in FoldWithInstructionFolder()
211 new_const_inst->InsertAfter(insert_pos); in FoldWithInstructionFolder()
Dmerge_return_pass.cpp343 Instruction* insert_pos = &*merge_block->begin(); in CreatePhiNodesForInst() local
344 while (insert_pos->opcode() == SpvOpPhi) { in CreatePhiNodesForInst()
345 insert_pos = insert_pos->NextNode(); in CreatePhiNodesForInst()
347 new_phi = insert_pos->InsertBefore(std::move(regen_inst)); in CreatePhiNodesForInst()
Ddebug_info_manager.h151 Instruction* insert_pos,
Ddebug_info_manager.cpp482 Instruction* insert_pos, in AddDebugValueIfVarDeclIsVisible() argument
498 Instruction* insert_before = insert_pos->NextNode(); in AddDebugValueIfVarDeclIsVisible()
/third_party/boost/boost/graph/detail/
Dhistogram_sort.hpp111 EdgeIndex insert_pos = current_insert_positions[source]; in histogram_sort() local
113 values1_out[insert_pos] = *v1i; in histogram_sort()
149 EdgeIndex insert_pos = current_insert_positions[source]; in histogram_sort() local
151 values1_out[insert_pos] = *v1i; in histogram_sort()
152 values2_out[insert_pos] = *v2i; in histogram_sort()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dscheduler.c101 struct list_head *insert_pos = ready_list; in ppir_insert_ready_list() local
109 insert_pos = &instr->list; in ppir_insert_ready_list()
115 list_addtail(&insert_instr->list, insert_pos); in ppir_insert_ready_list()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Diterator_test.cpp175 const int insert_pos = 42; in TEST() local
176 expected.insert(expected.begin() + insert_pos, -100); in TEST()
177 expected.insert(expected.begin() + insert_pos, -42); in TEST()
180 for (int i = 0; i < insert_pos; ++i) ++it; in TEST()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dreduce_scheduler.c107 struct list_head *insert_pos = ready_list; in schedule_insert_ready_list() local
120 insert_pos = &node->list; in schedule_insert_ready_list()
128 list_addtail(&insert_node->list, insert_pos); in schedule_insert_ready_list()
Dscheduler.c450 struct list_head *insert_pos = &ctx->ready_list; in schedule_insert_ready_list() local
455 insert_pos = &node->list; in schedule_insert_ready_list()
460 list_addtail(&insert_node->list, insert_pos); in schedule_insert_ready_list()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Diterator_test.cpp176 const int insert_pos = 42; in TEST() local
177 expected.insert(expected.begin() + insert_pos, -100); in TEST()
178 expected.insert(expected.begin() + insert_pos, -42); in TEST()
181 for (int i = 0; i < insert_pos; ++i) ++it; in TEST()
/third_party/spirv-tools/test/opt/
Diterator_test.cpp176 const int insert_pos = 42; in TEST() local
177 expected.insert(expected.begin() + insert_pos, -100); in TEST()
178 expected.insert(expected.begin() + insert_pos, -42); in TEST()
181 for (int i = 0; i < insert_pos; ++i) ++it; in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Diterator_test.cpp176 const int insert_pos = 42; in TEST() local
177 expected.insert(expected.begin() + insert_pos, -100); in TEST()
178 expected.insert(expected.begin() + insert_pos, -42); in TEST()
181 for (int i = 0; i < insert_pos; ++i) ++it; in TEST()
/third_party/python/Lib/lib2to3/
Dfixer_util.py329 insert_pos = offset = 0
336 insert_pos = idx + offset
341 if insert_pos == 0:
345 insert_pos = idx + 1
357 root.insert_child(insert_pos, Node(syms.simple_stmt, children))
/third_party/mesa3d/src/compiler/glsl/
Dlower_named_interface_blocks.cpp151 exec_node *insert_pos = var; in run() local
208 insert_pos->insert_after(new_var); in run()
209 insert_pos = new_var; in run()
/third_party/mindspore/mindspore/lite/tools/optimizer/format/
Dto_format_base.cc75 auto insert_pos = sensitive_ops_[prim->name()]; in ModifyCNode() local
76 …if (insert_pos.empty() || std::find(insert_pos.begin(), insert_pos.end(), 1) != insert_pos.end()) { in ModifyCNode()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgsttypefindhelper.c87 GSList *insert_pos = NULL; in helper_find_peek() local
130 insert_pos = walk; in helper_find_peek()
191 if (insert_pos) { in helper_find_peek()
192 helper->buffers = g_slist_insert_before (helper->buffers, insert_pos, bmap); in helper_find_peek()

12