Lines Matching refs:script_dirent

3293 #define for_each_script(lang_path, lang_dir, script_dirent)		\  argument
3294 while ((script_dirent = readdir(lang_dir)) != NULL) \
3295 if (script_dirent->d_type != DT_DIR && \
3296 (script_dirent->d_type != DT_UNKNOWN || \
3297 !is_directory(lang_path, script_dirent)))
3416 static char *get_script_root(struct dirent *script_dirent, const char *suffix) in get_script_root() argument
3420 script_root = strdup(script_dirent->d_name); in get_script_root()
3438 struct dirent *script_dirent, *lang_dirent; in list_available_scripts() local
3473 for_each_script(lang_path, lang_dir, script_dirent) { in list_available_scripts()
3474 script_root = get_script_root(script_dirent, REPORT_SUFFIX); in list_available_scripts()
3478 lang_path, script_dirent->d_name); in list_available_scripts()
3596 struct dirent *script_dirent, *lang_dirent; in find_scripts() local
3635 for_each_script(lang_path, lang_dir, script_dirent) { in find_scripts()
3637 if (strstr(script_dirent->d_name, "top.")) in find_scripts()
3643 script_dirent->d_name); in find_scripts()
3644 temp = strchr(script_dirent->d_name, '.'); in find_scripts()
3646 (temp - script_dirent->d_name) + 1, in find_scripts()
3647 "%s", script_dirent->d_name); in find_scripts()
3665 struct dirent *script_dirent, *lang_dirent; in get_script_path() local
3685 for_each_script(lang_path, lang_dir, script_dirent) { in get_script_path()
3686 __script_root = get_script_root(script_dirent, suffix); in get_script_path()
3691 lang_path, script_dirent->d_name); in get_script_path()