Home
last modified time | relevance | path

Searched refs:search_for (Results 1 – 8 of 8) sorted by relevance

/external/skia/gn/
Dgypi_to_gn.py133 def ReplaceSubstrings(values, search_for, replace_with): argument
140 return values.replace(search_for, replace_with)
143 return [ReplaceSubstrings(v, search_for, replace_with) for v in values]
149 new_key = ReplaceSubstrings(key, search_for, replace_with)
150 new_value = ReplaceSubstrings(value, search_for, replace_with)
/external/skqp/gn/
Dgypi_to_gn.py133 def ReplaceSubstrings(values, search_for, replace_with): argument
140 return values.replace(search_for, replace_with)
143 return [ReplaceSubstrings(v, search_for, replace_with) for v in values]
149 new_key = ReplaceSubstrings(key, search_for, replace_with)
150 new_value = ReplaceSubstrings(value, search_for, replace_with)
/external/libchrome/base/strings/
Dstring_util.cc590 BasicStringPiece<Str> search_for, in StartsWithT() argument
592 if (search_for.size() > str.size()) in StartsWithT()
595 BasicStringPiece<Str> source = str.substr(0, search_for.size()); in StartsWithT()
599 return source == search_for; in StartsWithT()
603 search_for.begin(), search_for.end(), in StartsWithT()
614 StringPiece search_for, in StartsWith() argument
616 return StartsWithT<std::string>(str, search_for, case_sensitivity); in StartsWith()
620 StringPiece16 search_for, in StartsWith() argument
622 return StartsWithT<string16>(str, search_for, case_sensitivity); in StartsWith()
627 BasicStringPiece<Str> search_for, in EndsWithT() argument
[all …]
Dstring_util.h319 StringPiece search_for,
322 StringPiece16 search_for,
325 StringPiece search_for,
328 StringPiece16 search_for,
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/lib/
Dlibffi.exp238 proc search_for { file pattern } { procedure
265 if [expr [search_for $test "for*("]+[search_for $test "while*("]] {
306 if [search_for $test "ABI_NUM"] {
/external/libffi/testsuite/lib/
Dlibffi.exp238 proc search_for { file pattern } { procedure
265 if [expr [search_for $test "for*("]+[search_for $test "while*("]] {
306 if [search_for $test "ABI_NUM"] {
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/lib/
Dlibffi.exp238 proc search_for { file pattern } { procedure
265 if [expr [search_for $test "for*("]+[search_for $test "while*("]] {
306 if [search_for $test "ABI_NUM"] {
/external/selinux/libsemanage/src/
Dgenhomedircon.c117 const char *search_for; member
519 for (i = 0; retval != NULL && repl[i].search_for; i++) { in replace_all()
520 retval2 = semanage_str_replace(repl[i].search_for, in replace_all()
682 {.search_for = TEMPLATE_HOME_DIR,.replace_with = user->home}, in write_home_dir_context()
683 {.search_for = TEMPLATE_ROLE,.replace_with = user->prefix}, in write_home_dir_context()
702 {.search_for = TEMPLATE_HOME_ROOT,.replace_with = homedir}, in write_home_root_context()
714 {.search_for = TEMPLATE_USERNAME,.replace_with = user->name}, in write_username_context()
715 {.search_for = TEMPLATE_USERID,.replace_with = user->uid}, in write_username_context()
716 {.search_for = TEMPLATE_ROLE,.replace_with = user->prefix}, in write_username_context()
727 {.search_for = TEMPLATE_USER,.replace_with = user->name}, in write_user_context()
[all …]