Home
last modified time | relevance | path

Searched refs:to_replace (Results 1 – 13 of 13) sorted by relevance

/external/sdv/vsomeip/third_party/boost/range/test/algorithm_test/
Dreplace_copy.cpp33 void test_replace_copy_impl( const Container& c, Value to_replace ) in test_replace_copy_impl() argument
35 const Value replace_with = to_replace * 2; in test_replace_copy_impl()
45 std::back_inserter(reference), to_replace, replace_with), in test_replace_copy_impl()
46 to_replace); in test_replace_copy_impl()
50 boost::replace_copy(c, std::back_inserter(test), to_replace, replace_with), in test_replace_copy_impl()
51 to_replace); in test_replace_copy_impl()
59 std::back_inserter(test2), to_replace, in test_replace_copy_impl()
61 to_replace); in test_replace_copy_impl()
Dreplace_copy_if.cpp67 void test_replace_copy_if_( const Container& c, int to_replace ) in test_replace_copy_if_() argument
71 test_replace_copy_if_impl(c, boost::bind(std::equal_to<int>(), _1, to_replace)); in test_replace_copy_if_()
72 test_replace_copy_if_impl(c, boost::bind(std::not_equal_to<int>(), _1, to_replace)); in test_replace_copy_if_()
/external/pytorch/torch/csrc/jit/passes/
Dadd_if_then_else.cpp23 std::vector<Node*> to_replace; in AddIfThenElseOp() local
33 to_replace.push_back(node); in AddIfThenElseOp()
37 for (auto* node : to_replace) { in AddIfThenElseOp()
50 return !to_replace.empty(); in AddIfThenElseOp()
/external/pytorch/torch/csrc/jit/ir/
Dir.cpp2045 Node* to_replace,
2052 Node* to_replace, in inlineCallStackOfBlock() argument
2055 inlineCallStackOfNode(n, new_cs_entries, callee, to_replace, m_info); in inlineCallStackOfBlock()
2063 Node* to_replace, in inlineCallStackOfNode() argument
2073 *new_node_cs, callee, to_replace->sourceRange(), m_info); in inlineCallStackOfNode()
2076 callee, to_replace->sourceRange(), m_info); in inlineCallStackOfNode()
2084 inlineCallStackOfBlock(block, new_cs_entries, callee, to_replace, m_info); in inlineCallStackOfNode()
2089 Node* to_replace, in inlineCallTo() argument
2092 WithInsertPoint guard(to_replace); in inlineCallTo()
2095 *to_replace->owningGraph(), in inlineCallTo()
[all …]
Dir.h1622 Node* to_replace,
1627 Node* to_replace,
/external/perfetto/src/base/
Dstring_utils.cc211 const std::string& to_replace, in ReplaceAll() argument
213 PERFETTO_CHECK(!to_replace.empty()); in ReplaceAll()
215 while ((pos = str.find(to_replace, pos)) != std::string::npos) { in ReplaceAll()
216 str.replace(pos, to_replace.length(), replacement); in ReplaceAll()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp254 bool to_replace = false; in PreprocessLoad() local
280 to_replace = in PreprocessLoad()
289 to_replace = getConstantFieldValue(GADN, 0, size, new_val.c); in PreprocessLoad()
292 if (!to_replace) in PreprocessLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp252 bool to_replace = false; in PreprocessLoad() local
278 to_replace = in PreprocessLoad()
287 to_replace = getConstantFieldValue(GADN, 0, size, new_val.c); in PreprocessLoad()
290 if (!to_replace) in PreprocessLoad()
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Dtokens.py437 to_replace: list[TokenizedStringEntry] = []
443 to_replace.append(entry)
453 for entry in to_replace:
/external/pytorch/aten/src/ATen/native/cuda/
Djit_utils.cpp809 static void replace_all(std::string& s, const std::string& to_replace, const std::string& replace_w… in replace_all() argument
816 pos = s.find(to_replace, pos); in replace_all()
821 pos += to_replace.size(); in replace_all()
/external/perfetto/include/perfetto/ext/base/
Dstring_utils.h194 const std::string& to_replace,
/external/pytorch/torch/csrc/jit/tensorexpr/
Dloopnest.cpp1186 IfThenElseReplacer(IfThenElsePtr to_replace, ExprPtr new_expr) in IfThenElseReplacer() argument
1187 : to_replace_(std::move(to_replace)), new_expr_(std::move(new_expr)) {} in IfThenElseReplacer()
/external/vulkan-validation-layers/tests/
Dvklayertests_descriptor_renderpass_framebuffer.cpp846 const std::string to_replace = "IMAGES_ARRAY_LENGTH"; in TEST_F() local
849 auto position = result.find(to_replace); in TEST_F()
851 result.replace(position, to_replace.length(), length_str); in TEST_F()