Lines Matching refs:script_root
3418 char *script_root, *str; in get_script_root() local
3420 script_root = strdup(script_dirent->d_name); in get_script_root()
3421 if (!script_root) in get_script_root()
3424 str = (char *)ends_with(script_root, suffix); in get_script_root()
3426 free(script_root); in get_script_root()
3431 return script_root; in get_script_root()
3442 char *script_root; in list_available_scripts() local
3474 script_root = get_script_root(script_dirent, REPORT_SUFFIX); in list_available_scripts()
3475 if (script_root) { in list_available_scripts()
3476 desc = script_desc__findnew(script_root); in list_available_scripts()
3480 free(script_root); in list_available_scripts()
3663 static char *get_script_path(const char *script_root, const char *suffix) in get_script_path() argument
3687 if (__script_root && !strcmp(script_root, __script_root)) { in get_script_path()