Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util.cc576 BasicStringPiece<Str> search_for, in StartsWithT() argument
578 if (search_for.size() > str.size()) in StartsWithT()
581 BasicStringPiece<Str> source = str.substr(0, search_for.size()); in StartsWithT()
585 return source == search_for; in StartsWithT()
589 search_for.begin(), search_for.end(), in StartsWithT()
600 StringPiece search_for, in StartsWith() argument
602 return StartsWithT<std::string>(str, search_for, case_sensitivity); in StartsWith()
606 StringPiece16 search_for, in StartsWith() argument
608 return StartsWithT<string16>(str, search_for, case_sensitivity); in StartsWith()
613 BasicStringPiece<Str> search_for, in EndsWithT() argument
[all …]
Dstring_util.h324 StringPiece search_for,
327 StringPiece16 search_for,
330 StringPiece search_for,
333 StringPiece16 search_for,
/external/selinux/libsemanage/src/
Dgenhomedircon.c107 const char *search_for; member
501 for (i = 0; repl[i].search_for; i++) { in replace_all()
502 ustr_replace_cstr(&retval, repl[i].search_for, 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()
[all …]