Lines Matching refs:script_root
2941 char *script_root, *str; in get_script_root() local
2943 script_root = strdup(script_dirent->d_name); in get_script_root()
2944 if (!script_root) in get_script_root()
2947 str = (char *)ends_with(script_root, suffix); in get_script_root()
2949 free(script_root); in get_script_root()
2954 return script_root; in get_script_root()
2968 char *script_root; in list_available_scripts() local
2989 script_root = get_script_root(script_dirent, REPORT_SUFFIX); in list_available_scripts()
2990 if (script_root) { in list_available_scripts()
2991 desc = script_desc__findnew(script_root); in list_available_scripts()
2995 free(script_root); in list_available_scripts()
3149 static char *get_script_path(const char *script_root, const char *suffix) in get_script_path() argument
3173 if (__script_root && !strcmp(script_root, __script_root)) { in get_script_path()