Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util.cc237 const STR& replace_with, in ReplaceCharsT() argument
240 size_t replace_length = replace_with.length(); in ReplaceCharsT()
247 output->replace(found, 1, replace_with); in ReplaceCharsT()
256 const string16& replace_with, in ReplaceChars() argument
258 return ReplaceCharsT(input, replace_chars.as_string(), replace_with, output); in ReplaceChars()
263 const std::string& replace_with, in ReplaceChars() argument
265 return ReplaceCharsT(input, replace_chars.as_string(), replace_with, output); in ReplaceChars()
705 BasicStringPiece<StringType> replace_with, in DoReplaceSubstringsAfterOffset() argument
718 str->replace(offset, find_length, replace_with.data(), replace_with.size()); in DoReplaceSubstringsAfterOffset()
724 size_t replace_length = replace_with.length(); in DoReplaceSubstringsAfterOffset()
[all …]
Dstring_util.h193 const string16& replace_with,
197 const std::string& replace_with,
380 StringPiece16 replace_with);
385 StringPiece replace_with);
397 StringPiece16 replace_with);
402 StringPiece replace_with);
Dstring_util_unittest.cc591 const char* replace_with; in TEST() member
612 ASCIIToUTF16(cases[i].replace_with)); in TEST()
622 const char* replace_with; in TEST() member
642 ASCIIToUTF16(cases[i].replace_with)); in TEST()
1007 const char* replace_with; in TEST() member
1030 cases[i].replace_with, in TEST()
/external/libweave/third_party/chromium/base/strings/
Dstring_util.cc108 const STR& replace_with, in ReplaceCharsT() argument
111 size_t replace_length = replace_with.length(); in ReplaceCharsT()
118 output->replace(found, 1, replace_with); in ReplaceCharsT()
127 const std::string& replace_with, in ReplaceChars() argument
129 return ReplaceCharsT(input, replace_chars.as_string(), replace_with, output); in ReplaceChars()
Dstring_util_unittest.cc120 const char* replace_with; in TEST() member
143 cases[i].replace_with, in TEST()
Dstring_util.h123 const std::string& replace_with,
/external/selinux/libsemanage/src/
Dgenhomedircon.c108 const char *replace_with; member
503 repl[i].replace_with, 0); in replace_all()
557 {.search_for = TEMPLATE_SEUSER,.replace_with = seuser}, in write_home_dir_context()
558 {.search_for = TEMPLATE_HOME_DIR,.replace_with = home}, in write_home_dir_context()
559 {.search_for = TEMPLATE_ROLE,.replace_with = role_prefix}, in write_home_dir_context()
560 {.search_for = TEMPLATE_LEVEL,.replace_with = level}, in write_home_dir_context()
589 {.search_for = TEMPLATE_HOME_ROOT,.replace_with = homedir}, in write_home_root_context()
616 {.search_for = TEMPLATE_USER,.replace_with = user}, in write_user_context()
617 {.search_for = TEMPLATE_ROLE,.replace_with = role_prefix}, in write_user_context()
618 {.search_for = TEMPLATE_SEUSER,.replace_with = seuser}, in write_user_context()
/external/mesa3d/src/glsl/
Dopt_constant_folding.cpp135 param_rval->replace_with(new_param); in visit_enter()
147 ir->replace_with(assignment); in visit_enter()
Dlower_jumps.cpp341 ir->replace_with(new(ir) ir_loop_jump(ir_loop_jump::jump_break)); in lower_return_unconditionally()
368 ir->replace_with(create_lowered_break()); in lower_break_unconditionally()
641 jumps[lower]->replace_with(lowered); in visit()
677 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit()
Dlower_clip_distance.cpp110 ir->replace_with(this->new_clip_distance_var); in visit()
301 actual_param->replace_with( in visit_leave()
Dopt_function_inlining.cpp87 ret->replace_with(new(ctx) ir_assignment(lhs, ret->value, NULL)); in replace_return_with_assignment()
358 param->replace_with(new_param); in visit_leave()
Dlower_discard.cpp160 ir->replace_with(assignment); in replace_discard()
Dast_function.cpp216 actual->replace_with(converted); in generate_call()
254 actual->replace_with(deref_tmp_2); in generate_call()
648 ir->replace_with(result); in process_array_constructor()
685 node->replace_with(constant); in constant_record_constructor()
1284 node->replace_with(ir); in hir()
1458 ir->replace_with(result); in hir()
Dlower_vec_index_to_swizzle.cpp142 param->replace_with(new_param); in visit_enter()
Dir_rvalue_visitor.cpp125 param->replace_with(new_param); in rvalue_visit()
Dlower_vec_index_to_cond_assign.cpp260 param->replace_with(new_param); in visit_enter()
Dopt_tree_grafting.cpp221 ir->replace_with(new_ir); in visit_enter()
Dlist.h173 void replace_with(exec_node *replacement) in replace_with() function
Dopt_constant_propagation.cpp292 param->replace_with(new_param); in visit_enter()
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
Delement.py205 def replace_with(self, replace_with): argument
206 if replace_with is self:
208 if replace_with is self.parent:
213 old_parent.insert(my_index, replace_with)
215 replaceWith = replace_with # BS3
228 me = self.replace_with(wrap_inside)
Ddammit.py128 replace_with = "&quot;"
129 value = value.replace('"', replace_with)
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/
D_html5lib.py152 old_element.replace_with(new_element)
211 old_node.replace_with(new_str)
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_cse.cpp140 inst->replace_with(copy); in opt_cse_local()
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
Dtest_tree.py766 new_a = a.replace_with(soup.c)
780 soup.c.replace_with(c)
786 self.assertRaises(ValueError, soup.b.replace_with, soup.a)
810 soup.find(text="Argh!").replace_with("Hooray!")
940 show.replace_with(no)
954 soup.b.replace_with(soup.c)
960 soup.c.replace_with(soup.b)
971 remove_tag.replace_with(move_tag)
/external/chromium-trace/catapult/third_party/beautifulsoup4/doc/source/
Dindex.rst453 another, using :ref:`replace_with`::
455 tag.string.replace_with("No longer bold")
523 comment.replace_with(cdata)
1951 ``replace_with()``
1954 ``PageElement.replace_with()`` removes a tag or string from the tree,
1963 a_tag.i.replace_with(new_tag)
1968 ``replace_with()`` returns the tag or string that was replaced, so
2000 Like ``replace_with()``, ``unwrap()`` returns the tag
2913 * ``replaceWith`` -> ``replace_with``