/third_party/cef/tools/ |
D | gypi_to_gn.py | 146 def ReplaceSubstrings(values, search_for, replace_with): argument 153 return values.replace(search_for, replace_with) 156 return [ReplaceSubstrings(v, search_for, replace_with) for v in values] 162 new_key = ReplaceSubstrings(key, search_for, replace_with) 163 new_value = ReplaceSubstrings(value, search_for, replace_with)
|
/third_party/gn/src/base/strings/ |
D | string_util.cc | 180 std::basic_string_view<typename StringType::value_type> replace_with, 185 const std::u16string& replace_with, in ReplaceChars() argument 187 return ReplaceCharsT(input, replace_chars, std::u16string_view(replace_with), in ReplaceChars() 193 const std::string& replace_with, in ReplaceChars() argument 195 return ReplaceCharsT(input, replace_chars, std::string_view(replace_with), in ReplaceChars() 658 std::basic_string_view<typename StringType::value_type> replace_with, in DoReplaceMatchesAfterOffset() argument 673 const size_t replace_length = replace_with.length(); in DoReplaceMatchesAfterOffset() 675 str->replace(first_match, find_length, replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset() 685 CharTraits::copy(buffer + offset, replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset() 730 str->append(replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset() [all …]
|
D | string_util.h | 140 const std::u16string& replace_with, 144 const std::string& replace_with, 325 std::u16string_view replace_with); 329 std::string_view replace_with); 340 std::u16string_view replace_with); 344 std::string_view replace_with);
|
/third_party/rust/crates/aho-corasick/src/ |
D | ahocorasick.rs | 429 pub fn replace_all<B>(&self, haystack: &str, replace_with: &[B]) -> String in replace_all() 434 replace_with.len(), in replace_all() 441 dst.push_str(replace_with[mat.pattern()].as_ref()); in replace_all() 479 replace_with: &[B], in replace_all_bytes() 485 replace_with.len(), in replace_all_bytes() 492 dst.extend(replace_with[mat.pattern()].as_ref()); in replace_all_bytes() 549 mut replace_with: F, in replace_all_with() 557 if !replace_with(&mat, &haystack[mat.start()..mat.end()], dst) { in replace_all_with() 615 mut replace_with: F, in replace_all_with_bytes() 623 if !replace_with(&mat, &haystack[mat.start()..mat.end()], dst) { in replace_all_with_bytes() [all …]
|
/third_party/googletest/googletest/scripts/ |
D | release_docs.py | 115 self.replace_with = r'\1%s\2\3' % (self.version_prefix,) 144 new_text = self.search_for_re.sub(self.replace_with, text)
|
/third_party/mesa3d/src/compiler/glsl/ |
D | opt_constant_folding.cpp | 170 param_rval->replace_with(new_param); in visit_enter() 181 ir->replace_with(assignment); in visit_enter()
|
D | lower_tess_level.cpp | 128 ir->replace_with(new_tess_level_outer_var); in visit() 145 ir->replace_with(new_tess_level_inner_var); in visit() 410 actual_param->replace_with( in visit_leave()
|
D | lower_jumps.cpp | 335 ir->replace_with(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in lower_return_unconditionally() 585 jumps[lower]->replace_with(lowered); in visit() 609 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit()
|
D | opt_function_inlining.cpp | 92 ret->replace_with(new(ctx) ir_assignment(lhs, ret->value)); in replace_return_with_assignment() 452 param->replace_with(new_param); in visit_leave()
|
D | lower_discard.cpp | 163 ir->replace_with(assignment); in replace_discard()
|
D | lower_vec_index_to_cond_assign.cpp | 149 param->replace_with(new_param); in visit_enter()
|
D | lower_distance.cpp | 207 ir->replace_with(*new_var); in visit() 556 actual_param->replace_with( in visit_leave()
|
D | ir_rvalue_visitor.cpp | 132 param->replace_with(new_param); in rvalue_visit()
|
D | list.h | 103 void replace_with(exec_node *replacement); 247 inline void exec_node::replace_with(exec_node *replacement) in replace_with() function
|
D | opt_tree_grafting.cpp | 220 ir->replace_with(new_ir); in visit_enter()
|
D | ast_function.cpp | 516 actual->replace_with(deref_tmp_2); in fix_parameter() 571 actual->replace_with(converted); in generate_call() 1130 from->replace_with(result); in implicitly_convert_component() 2373 ir->replace_with(result); in hir()
|
D | opt_constant_propagation.cpp | 333 param->replace_with(new_param); in visit_enter()
|
D | lower_precision.cpp | 1321 actual_node->replace_with(new(mem_ctx) ir_dereference_variable(new_var)); in visit_enter()
|
/third_party/rust/crates/aho-corasick/ |
D | README.md | 92 let replace_with = &["sloth", "grey", "slow"]; 100 ac.stream_replace_all(rdr.as_bytes(), &mut wtr, replace_with)
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_bc_parser.cpp | 778 c->replace_with(rep); in prepare_ir() 785 c->replace_with(dep); in prepare_ir()
|
D | sb_ir.cpp | 232 void node::replace_with(node* n) { in replace_with() function in r600_sb::node
|
D | sb_ir.h | 795 void replace_with(node *n);
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 17783 pub fn replace_range<R>(&mut self, range: R, replace_with: &str) 17810 unsafe { self.as_mut_vec() }.splice((start, end), replace_with.bytes()); 49356 pub fn splice<R, I>(&mut self, range: R, replace_with: I) -> Splice<'_, I::IntoIter, A> 49361 Splice { drain: self.drain(range), replace_with: replace_with.into_iter() } 49981 pub(super) replace_with: I, 50014 self.drain.vec.as_mut().extend(self.replace_with.by_ref()); 50019 if !self.drain.fill(&mut self.replace_with) { 50025 let (lower_bound, _upper_bound) = self.replace_with.size_hint(); 50028 if !self.drain.fill(&mut self.replace_with) { 50035 let mut collected = self.replace_with.by_ref().collect::<Vec<I::Item>>().into_iter(); [all …]
|