/dports/devel/p5-File-Find-Object/File-Find-Object-v0.3.2/lib/File/Find/Object/ |
H A D | PathComp.pm | 69 my $dir_str = shift; 72 ($self->_last_dir_scanned() eq $dir_str 80 $self->_last_dir_scanned($dir_str); 88 my $dir_str = shift; 90 $self->_files($self->_calc_dir_files($dir_str)); 100 my $dir_str = shift; 104 if (!opendir($handle, $dir_str)) 120 my $dir_str = shift; 122 if (!$self->_should_scan_dir($dir_str)) 127 return $self->_set_up_dir($dir_str);
|
/dports/x11/libfm/libfm-1.3.2/src/base/ |
H A D | fm-archiver.c | 82 char* dir_str; in launch_program() local 85 dir_str = fm_path_to_uri(dir); in launch_program() 90 dir_str = g_file_get_path(gf); in launch_program() 95 tmp = fm_strdup_replace(dir_str, "%", "%%"); in launch_program() 96 g_free(dir_str); in launch_program() 97 dir_str = tmp; in launch_program() 100 tmp = g_shell_quote(dir_str); in launch_program() 101 g_free(dir_str); in launch_program() 102 dir_str = tmp; in launch_program() 108 strcpy(_cmd + len, dir_str); in launch_program() [all …]
|
/dports/x11/libfm-extra/libfm-1.3.2/src/base/ |
H A D | fm-archiver.c | 82 char* dir_str; in launch_program() local 85 dir_str = fm_path_to_uri(dir); in launch_program() 90 dir_str = g_file_get_path(gf); in launch_program() 95 tmp = fm_strdup_replace(dir_str, "%", "%%"); in launch_program() 96 g_free(dir_str); in launch_program() 97 dir_str = tmp; in launch_program() 100 tmp = g_shell_quote(dir_str); in launch_program() 101 g_free(dir_str); in launch_program() 102 dir_str = tmp; in launch_program() 108 strcpy(_cmd + len, dir_str); in launch_program() [all …]
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/supertux/ |
H A D | direction.cpp | 49 string_to_dir(const std::string& dir_str) in string_to_dir() argument 51 if (dir_str == "left") in string_to_dir() 53 else if (dir_str == "right") in string_to_dir() 55 else if (dir_str == "up") in string_to_dir() 57 else if (dir_str == "down") in string_to_dir()
|
/dports/ftp/vsftpd/vsftpd-3.0.5/ |
H A D | secutil.c | 32 struct mystr dir_str = INIT_MYSTR; in vsf_secutil_change_credentials() local 36 str_alloc_text(&dir_str, vsf_sysutil_user_get_homedir(p_user)); in vsf_secutil_change_credentials() 40 str_copy(&dir_str, p_dir_str); in vsf_secutil_change_credentials() 68 retval = str_chdir(&dir_str); in vsf_secutil_change_credentials() 71 die2("cannot change directory:", str_getbuf(&dir_str)); in vsf_secutil_change_credentials() 99 str_free(&dir_str); in vsf_secutil_change_credentials()
|
H A D | banner.c | 29 struct mystr dir_str = INIT_MYSTR; in vsf_banner_dir_changed() local 41 str_getcwd(&dir_str); in vsf_banner_dir_changed() 43 if (!str_list_contains_str(p_sess->p_visited_dir_list, &dir_str)) in vsf_banner_dir_changed() 49 str_list_add(p_sess->p_visited_dir_list, &dir_str, 0); in vsf_banner_dir_changed() 65 str_free(&dir_str); in vsf_banner_dir_changed()
|
H A D | postprivparent.c | 98 struct mystr dir_str = INIT_MYSTR; in minimize_privilege() local 105 str_alloc_text(&dir_str, tunable_secure_chroot_dir); in minimize_privilege() 115 vsf_secutil_change_credentials(&user_str, &dir_str, 0, caps, in minimize_privilege() 118 str_free(&dir_str); in minimize_privilege()
|
/dports/ftp/vsftpd-ext/vsFTPd-3.0.3-ext.1/ |
H A D | secutil.c | 32 struct mystr dir_str = INIT_MYSTR; in vsf_secutil_change_credentials() local 36 str_alloc_text(&dir_str, vsf_sysutil_user_get_homedir(p_user)); in vsf_secutil_change_credentials() 40 str_copy(&dir_str, p_dir_str); in vsf_secutil_change_credentials() 68 retval = str_chdir(&dir_str); in vsf_secutil_change_credentials() 71 die2("cannot change directory:", str_getbuf(&dir_str)); in vsf_secutil_change_credentials() 99 str_free(&dir_str); in vsf_secutil_change_credentials()
|
H A D | banner.c | 29 struct mystr dir_str = INIT_MYSTR; in vsf_banner_dir_changed() local 41 str_getcwd(&dir_str); in vsf_banner_dir_changed() 43 if (!str_list_contains_str(p_sess->p_visited_dir_list, &dir_str)) in vsf_banner_dir_changed() 49 str_list_add(p_sess->p_visited_dir_list, &dir_str, 0); in vsf_banner_dir_changed() 65 str_free(&dir_str); in vsf_banner_dir_changed()
|
H A D | postprivparent.c | 98 struct mystr dir_str = INIT_MYSTR; in minimize_privilege() local 105 str_alloc_text(&dir_str, tunable_secure_chroot_dir); in minimize_privilege() 115 vsf_secutil_change_credentials(&user_str, &dir_str, 0, caps, in minimize_privilege() 118 str_free(&dir_str); in minimize_privilege()
|
/dports/games/nazghul/nazghul-0.7.1/src/ |
H A D | common.c | 53 static const char *dir_str[] = { variable 100 if (dir < 0 || dir >= array_sz(dir_str)) in directionToString() 102 return dir_str[dir]; in directionToString() 108 for (i = 0; i < array_sz(dir_str); i++) { in stringToDirection() 109 if (!strncasecmp(dir_str[i], str, strlen(dir_str[i]))) in stringToDirection() 156 return dir_str[(dy + 1) * 3 + dx + 1]; in get_dir_str()
|
/dports/x11/libfm-qt/libfm-qt-1.0.0/src/core/ |
H A D | archiver.cpp | 37 CStrPtr dir_str; in launchProgram() local 40 dir_str = dir.uri(); in launchProgram() 43 dir_str = dir.localPath(); in launchProgram() 49 for(auto p = dir_str.get(); *p; ++p) { in launchProgram() 57 dir_str = CStrPtr{g_shell_quote(percentEscapedDir.c_str())}; in launchProgram() 59 len = strlen(cmd) - 2 + strlen(dir_str.get()) + 1; in launchProgram() 63 strcpy(_cmd + len, dir_str.get()); in launchProgram()
|
/dports/astro/py-metpy/MetPy-1.1.0/examples/calculations/ |
H A D | Parse_Angles.py | 18 dir_str = 'SOUTH SOUTH EAST' variable 19 print(dir_str) 24 angle_deg = mpcalc.parse_angle(dir_str)
|
H A D | Angle_to_Direction.py | 24 dir_str = mpcalc.angle_to_direction(angle_deg) variable 25 print(dir_str)
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/ldpd/ |
H A D | ldp_debug.c | 44 const char *dir_str, const char *all) in ldp_vty_debug() argument 50 if (dir_str == NULL) in ldp_vty_debug() 53 if (dir_str[0] == 'r') { in ldp_vty_debug() 80 if (dir_str == NULL) in ldp_vty_debug() 83 if (dir_str[0] == 'r') { in ldp_vty_debug()
|
/dports/net/frr7/frr-frr-7.5.1/ldpd/ |
H A D | ldp_debug.c | 44 const char *dir_str, const char *all) in ldp_vty_debug() argument 50 if (dir_str == NULL) in ldp_vty_debug() 53 if (dir_str[0] == 'r') { in ldp_vty_debug() 80 if (dir_str == NULL) in ldp_vty_debug() 83 if (dir_str[0] == 'r') { in ldp_vty_debug()
|
/dports/science/kim-api/kim-api-2.2.1/examples/simulators/collections-example/ |
H A D | collections-example-fortran.f90 | 65 character(len=2048, kind=c_char) dir_str local 74 call kim_get_directory_name(col, i, dir_str, ierr) 75 print '(A,A)', achar(9), trim(dir_str) 85 call kim_get_directory_name(col, i, dir_str, ierr) 86 print '(A,A)', achar(9), trim(dir_str) 96 call kim_get_directory_name(col, i, dir_str, ierr) 97 print '(A,A)', achar(9), trim(dir_str)
|
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/main/java/org/opengrok/indexer/util/ |
H A D | Executor.java | 160 final String dir_str; in exec() local 173 dir_str = System.getProperty("user.dir"); in exec() 175 dir_str = cwd.toString(); in exec() 185 new Object[] {cmd_str, dir_str, env_str}); in exec() 204 new Object[] {cmd_str, dir_str}); in exec() 224 "due to timeout %d seconds", cmd_str, dir_str, timeout / 1000)); in exec() 236 new Object[] {cmd_str, dir_str, ret}); in exec() 275 .append(dir_str); in exec()
|
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/fsgs/drivers/ |
H A D | dolphindriver.py | 100 dir_str = "+" if positive else "-" 101 return "Axis " + str(axis) + dir_str 104 dir_str = {"left": "W", "right": "E", "up": "N", "down": "S"}[ 107 return "Hat " + str(hat) + " " + dir_str
|
H A D | mamedriver.py | 548 dir_str = "RIGHT" if positive else "LEFT" 550 dir_str = "DOWN" if positive else "UP" 553 dir_str = "POS" if positive else "NEG" 557 dir_str, 562 dir_str = {"left": "L", "right": "R", "up": "U", "down": "D"}[ 566 self.device.index + 1, dir_str 569 dir_str = { 578 self.device.index + 1, hat + 1, dir_str
|
/dports/graphics/animorph/animorph-0.3/src/ |
H A D | DirectoryList.cpp | 59 void DirectoryList::readDirRecursive (const string& dir_str) in readDirRecursive() argument 65 dir = ::opendir (dir_str.c_str ()); in readDirRecursive() 81 dir_file = dir_str + "/" + dname; in readDirRecursive()
|
/dports/www/man2web/man2web-0.88/src/ |
H A D | section_index.c | 22 DIR *dir_str = NULL; in output_section_index() local 46 if((dir_str = opendir(dirname)) == NULL) { in output_section_index() 52 dir_str = opendir(dirname); in output_section_index() 57 if(dir_str != NULL) { in output_section_index() 58 add_dir_to_index(dir_str, section); in output_section_index() 59 closedir(dir_str); in output_section_index()
|
/dports/net/yaz/yaz-5.31.1/client/ |
H A D | admin.c | 183 char type_str[20], dir_str[1024], pattern_str[1024]; in cmd_adm_import() local 194 dir_str, pattern_str) != 3) in cmd_adm_import() 198 dir = opendir(dir_str); in cmd_adm_import() 205 if ((cp=strrchr(dir_str, '/')) && cp[1] == 0) in cmd_adm_import() 217 dir_str, sep, ent->d_name); in cmd_adm_import()
|
/dports/net/astron/Astron-c8ba982/src/core/ |
H A D | main.cpp | 147 string dir_str = fs::parent_of(cfg_file); in main() local 155 if(dir_str == cur_dir) { in main() 157 dir_str = ""; in main() 161 if(!dir_str.empty()) { in main() 162 if(!fs::current_path(dir_str)) { in main()
|
/dports/audio/sayonara/sayonara-player-5bbf1399332d5d59362ad03bf625f9132be72206/src/Utils/Parser/ |
H A D | PlaylistParser.cpp | 104 QString dir_str = f.left(f.lastIndexOf(QDir::separator())); in saveM3UPlaylist() local 105 QDir dir(dir_str); in saveM3UPlaylist() 106 dir.cd(dir_str); in saveM3UPlaylist()
|