Lines Matching refs:lang_path
3293 #define for_each_script(lang_path, lang_dir, script_dirent) \ argument
3297 !is_directory(lang_path, script_dirent)))
3439 char *buf, *scripts_path, *script_path, *lang_path, *first_half; in list_available_scripts() local
3451 lang_path = buf + 2 * MAXPATHLEN; in list_available_scripts()
3467 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
3469 lang_dir = opendir(lang_path); in list_available_scripts()
3473 for_each_script(lang_path, lang_dir, script_dirent) { in list_available_scripts()
3478 lang_path, script_dirent->d_name); in list_available_scripts()
3597 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts() local
3620 scnprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, in find_scripts()
3623 if (strstr(lang_path, "perl")) in find_scripts()
3627 if (strstr(lang_path, "python")) in find_scripts()
3631 lang_dir = opendir(lang_path); in find_scripts()
3635 for_each_script(lang_path, lang_dir, script_dirent) { in find_scripts()
3642 lang_path, in find_scripts()
3649 if (check_ev_match(lang_path, in find_scripts()
3669 char lang_path[MAXPATHLEN]; in get_script_path() local
3679 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in get_script_path()
3681 lang_dir = opendir(lang_path); in get_script_path()
3685 for_each_script(lang_path, lang_dir, script_dirent) { in get_script_path()
3691 lang_path, script_dirent->d_name); in get_script_path()