Lines Matching refs:scripts_path
3285 #define for_each_lang(scripts_path, scripts_dir, lang_dirent) \ argument
3289 is_directory(scripts_path, lang_dirent))) && \
3439 char *buf, *scripts_path, *script_path, *lang_path, *first_half; in list_available_scripts() local
3449 scripts_path = buf; in list_available_scripts()
3454 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", get_argv_exec_path()); in list_available_scripts()
3456 scripts_dir = opendir(scripts_path); in list_available_scripts()
3461 scripts_path); in list_available_scripts()
3466 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in list_available_scripts()
3467 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
3597 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts() local
3611 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", get_argv_exec_path()); in find_scripts()
3613 scripts_dir = opendir(scripts_path); in find_scripts()
3619 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in find_scripts()
3620 scnprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, in find_scripts()
3666 char scripts_path[MAXPATHLEN]; in get_script_path() local
3672 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", get_argv_exec_path()); in get_script_path()
3674 scripts_dir = opendir(scripts_path); in get_script_path()
3678 for_each_lang(scripts_path, scripts_dir, lang_dirent) { in get_script_path()
3679 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in get_script_path()