Lines Matching refs:lang_path
1073 #define for_each_script(lang_path, lang_dir, script_dirent, script_next)\ argument
1078 !is_directory(lang_path, &script_dirent)))
1228 char lang_path[MAXPATHLEN]; in list_available_scripts() local
1240 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
1242 lang_dir = opendir(lang_path); in list_available_scripts()
1246 for_each_script(lang_path, lang_dir, script_dirent, script_next) { in list_available_scripts()
1251 lang_path, script_dirent.d_name); in list_available_scripts()
1340 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts() local
1363 snprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, in find_scripts()
1366 if (strstr(lang_path, "perl")) in find_scripts()
1370 if (strstr(lang_path, "python")) in find_scripts()
1374 lang_dir = opendir(lang_path); in find_scripts()
1378 for_each_script(lang_path, lang_dir, script_dirent, script_next) { in find_scripts()
1382 sprintf(scripts_path_array[i], "%s/%s", lang_path, in find_scripts()
1389 if (check_ev_match(lang_path, in find_scripts()
1409 char lang_path[MAXPATHLEN]; in get_script_path() local
1419 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in get_script_path()
1421 lang_dir = opendir(lang_path); in get_script_path()
1425 for_each_script(lang_path, lang_dir, script_dirent, script_next) { in get_script_path()
1432 lang_path, script_dirent.d_name); in get_script_path()