Lines Matching refs:script_root
2964 char *script_root, *str; in get_script_root() local
2966 script_root = strdup(script_dirent->d_name); in get_script_root()
2967 if (!script_root) in get_script_root()
2970 str = (char *)ends_with(script_root, suffix); in get_script_root()
2972 free(script_root); in get_script_root()
2977 return script_root; in get_script_root()
2991 char *script_root; in list_available_scripts() local
3012 script_root = get_script_root(script_dirent, REPORT_SUFFIX); in list_available_scripts()
3013 if (script_root) { in list_available_scripts()
3014 desc = script_desc__findnew(script_root); in list_available_scripts()
3018 free(script_root); in list_available_scripts()
3172 static char *get_script_path(const char *script_root, const char *suffix) in get_script_path() argument
3196 if (__script_root && !strcmp(script_root, __script_root)) { in get_script_path()