Lines Matching refs:lang_path
1264 #define for_each_script(lang_path, lang_dir, script_dirent, script_next)\ argument
1269 !is_directory(lang_path, &script_dirent)))
1419 char lang_path[MAXPATHLEN]; in list_available_scripts() local
1431 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
1433 lang_dir = opendir(lang_path); in list_available_scripts()
1437 for_each_script(lang_path, lang_dir, script_dirent, script_next) { in list_available_scripts()
1442 lang_path, script_dirent.d_name); in list_available_scripts()
1531 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts() local
1554 snprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, in find_scripts()
1557 if (strstr(lang_path, "perl")) in find_scripts()
1561 if (strstr(lang_path, "python")) in find_scripts()
1565 lang_dir = opendir(lang_path); in find_scripts()
1569 for_each_script(lang_path, lang_dir, script_dirent, script_next) { in find_scripts()
1573 sprintf(scripts_path_array[i], "%s/%s", lang_path, in find_scripts()
1580 if (check_ev_match(lang_path, in find_scripts()
1600 char lang_path[MAXPATHLEN]; in get_script_path() local
1610 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in get_script_path()
1612 lang_dir = opendir(lang_path); in get_script_path()
1616 for_each_script(lang_path, lang_dir, script_dirent, script_next) { in get_script_path()
1623 lang_path, script_dirent.d_name); in get_script_path()