Lines Matching refs:search_token
733 char *search_token; in find_and_set_default_shell() local
739 search_token = default_shell; in find_and_set_default_shell()
741 search_token = token; in find_and_set_default_shell()
748 tokend = search_token + strlen (search_token) - 3; in find_and_set_default_shell()
749 if (((tokend == search_token in find_and_set_default_shell()
750 || (tokend > search_token in find_and_set_default_shell()
753 || ((tokend - 4 == search_token in find_and_set_default_shell()
754 || (tokend - 4 > search_token in find_and_set_default_shell()
759 sprintf (sh_path, "%s", search_token); in find_and_set_default_shell()
765 (token == NULL || !strcmp (search_token, default_shell))) { in find_and_set_default_shell()
768 } else if (file_exists_p(search_token)) { in find_and_set_default_shell()
770 sprintf(sh_path, "%s", search_token); in find_and_set_default_shell()
789 if (dir_file_exists_p(p, search_token)) { in find_and_set_default_shell()
790 sprintf(sh_path, "%s/%s", p, search_token); in find_and_set_default_shell()
806 if (p && *p && dir_file_exists_p(p, search_token)) { in find_and_set_default_shell()
807 sprintf(sh_path, "%s/%s", p, search_token); in find_and_set_default_shell()