/dports/math/vtk9/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5system.c | 785 char * cwdpath = NULL; /* Pointer to the current working directory path */ in H5_build_extpath() local 811 if (NULL == (cwdpath = (char *)H5MM_malloc(MAX_PATH_LEN))) in H5_build_extpath() 824 retcwd = HDgetdcwd(drive, cwdpath, MAX_PATH_LEN); in H5_build_extpath() 834 retcwd = cwdpath; in H5_build_extpath() 839 retcwd = HDgetcwd(cwdpath, MAX_PATH_LEN); in H5_build_extpath() 847 HDassert(cwdpath); in H5_build_extpath() 848 cwdlen = HDstrlen(cwdpath); in H5_build_extpath() 855 HDstrncpy(full_path, cwdpath, cwdlen + 1); in H5_build_extpath() 856 if (!H5_CHECK_DELIMITER(cwdpath[cwdlen - 1])) in H5_build_extpath() 874 if (cwdpath) in H5_build_extpath() [all …]
|
/dports/science/hdf5-18/hdf5-1.8.21/src/ |
H A D | H5system.c | 773 if(NULL == (cwdpath = (char *)H5MM_malloc(MAX_PATH_LEN))) in H5_build_extpath() 786 retcwd = HDgetdcwd(drive, cwdpath, MAX_PATH_LEN); in H5_build_extpath() 795 HDsnprintf(cwdpath, MAX_PATH_LEN, "%c:%c", (drive + 'A' - 1), name[0]); in H5_build_extpath() 796 retcwd = cwdpath; in H5_build_extpath() 801 retcwd = HDgetcwd(cwdpath, MAX_PATH_LEN); in H5_build_extpath() 809 HDassert(cwdpath); in H5_build_extpath() 810 cwdlen = HDstrlen(cwdpath); in H5_build_extpath() 817 HDstrncpy(full_path, cwdpath, cwdlen + 1); in H5_build_extpath() 818 if(!H5_CHECK_DELIMITER(cwdpath[cwdlen - 1])) in H5_build_extpath() 836 if(cwdpath) in H5_build_extpath() [all …]
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5system.c | 787 if(NULL == (cwdpath = (char *)H5MM_malloc(MAX_PATH_LEN))) in H5_build_extpath() 801 retcwd = HDgetdcwd(drive, cwdpath, MAX_PATH_LEN); in H5_build_extpath() 811 HDsnprintf(cwdpath, MAX_PATH_LEN, "%c:%c", (drive + 'A' - 1), name[0]); in H5_build_extpath() 812 retcwd = cwdpath; in H5_build_extpath() 817 retcwd = HDgetcwd(cwdpath, MAX_PATH_LEN); in H5_build_extpath() 825 HDassert(cwdpath); in H5_build_extpath() 826 cwdlen = HDstrlen(cwdpath); in H5_build_extpath() 833 HDstrncpy(full_path, cwdpath, cwdlen + 1); in H5_build_extpath() 850 if(!H5_CHECK_DELIMITER(cwdpath[cwdlen - 1])) in H5_build_extpath() 869 if(cwdpath) in H5_build_extpath() [all …]
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5system.c | 1034 if(NULL == (cwdpath = (char *)H5MM_malloc(MAX_PATH_LEN))) 1047 retcwd = HDgetdcwd(drive, cwdpath, MAX_PATH_LEN); 1056 HDsnprintf(cwdpath, MAX_PATH_LEN, "%c:%c", (drive + 'A' - 1), name[0]); 1057 retcwd = cwdpath; 1062 retcwd = HDgetcwd(cwdpath, MAX_PATH_LEN); 1070 HDassert(cwdpath); 1071 cwdlen = HDstrlen(cwdpath); 1078 HDstrncpy(full_path, cwdpath, cwdlen + 1); 1079 if(!H5_CHECK_DELIMITER(cwdpath[cwdlen - 1])) 1097 if(cwdpath) [all …]
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/HDF5/src/itkhdf5/src/ |
H A D | H5system.c | 1034 if(NULL == (cwdpath = (char *)H5MM_malloc(MAX_PATH_LEN))) 1047 retcwd = HDgetdcwd(drive, cwdpath, MAX_PATH_LEN); 1056 HDsnprintf(cwdpath, MAX_PATH_LEN, "%c:%c", (drive + 'A' - 1), name[0]); 1057 retcwd = cwdpath; 1062 retcwd = HDgetcwd(cwdpath, MAX_PATH_LEN); 1070 HDassert(cwdpath); 1071 cwdlen = HDstrlen(cwdpath); 1078 HDstrncpy(full_path, cwdpath, cwdlen + 1); 1079 if(!H5_CHECK_DELIMITER(cwdpath[cwdlen - 1])) 1097 if(cwdpath) [all …]
|
/dports/science/hdf5/hdf5-1.10.6/src/ |
H A D | H5system.c | 1170 if(NULL == (cwdpath = (char *)H5MM_malloc(MAX_PATH_LEN))) 1183 retcwd = HDgetdcwd(drive, cwdpath, MAX_PATH_LEN); 1192 HDsnprintf(cwdpath, MAX_PATH_LEN, "%c:%c", (drive + 'A' - 1), name[0]); 1193 retcwd = cwdpath; 1198 retcwd = HDgetcwd(cwdpath, MAX_PATH_LEN); 1206 HDassert(cwdpath); 1207 cwdlen = HDstrlen(cwdpath); 1214 HDstrncpy(full_path, cwdpath, cwdlen + 1); 1215 if(!H5_CHECK_DELIMITER(cwdpath[cwdlen - 1])) 1233 if(cwdpath) [all …]
|
/dports/science/hdf5-18/hdf5-1.8.21/test/ |
H A D | external.c | 982 char cwdpath[1024]; /* working directory */ in test_path_absolute() local 1001 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_absolute() 1004 … HDsnprintf(filename, sizeof(filename), "%s%sextern_%dr.raw", cwdpath, H5_DIR_SEPS, (int) i + 1); in test_path_absolute() 1008 … HDsnprintf(filename, sizeof(filename), "%s%sextern_%dr.raw", cwdpath + 2, H5_DIR_SEPS, i + 1); in test_path_absolute() 1072 char cwdpath[1024]; /* working directory */ in test_path_relative() local 1097 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_relative() 1166 char cwdpath[1024]; /* working directory */ in test_path_relative_cwd() local 1192 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_relative_cwd() 1327 char cwdpath[1024]; /* working directory */ in test_path_env() local 1353 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_env()
|
H A D | links.c | 2844 cwdpath[NAME_BUF_SIZE]; in external_link_abs_mainpath() local 3023 cwdpath[NAME_BUF_SIZE]; in external_link_cwd() local 3117 cwdpath[NAME_BUF_SIZE]; in external_link_abstar() local 3211 cwdpath[NAME_BUF_SIZE]; in external_link_abstar_cur() local 3493 cwdpath[NAME_BUF_SIZE]; in external_set_elink_fapl1() local 3695 cwdpath[NAME_BUF_SIZE]; in external_set_elink_fapl2() local 4310 cwdpath[NAME_BUF_SIZE]; in external_link_win1() local 4403 cwdpath[NAME_BUF_SIZE]; in external_link_win2() local 4862 cwdpath[NAME_BUF_SIZE]; in external_link_win7() local 4951 cwdpath[NAME_BUF_SIZE]; in external_link_win8() local [all …]
|
/dports/net/netatalk3/netatalk-3.1.12/bin/ad/ |
H A D | ad_ls.c | 477 static char cwdpath[MAXPATHLEN+1]; in ad_ls_r() local 483 cwdpath[0] = 0; in ad_ls_r() 485 strcat(cwdpath, "/"); in ad_ls_r() 487 strcat(cwdpath, path); in ad_ls_r() 536 printf("\n%s:\n", cwdpath); in ad_ls_r() 590 tmp = strrchr(cwdpath, '/'); in ad_ls_r()
|
/dports/science/hdf5/hdf5-1.10.6/test/ |
H A D | external_env.c | 55 char cwdpath[1024]; /* working directory */ in test_path_env() local 75 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_env()
|
H A D | external.c | 927 char cwdpath[1024]; /* working directory */ in test_path_absolute() local 946 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_absolute() 949 … HDsnprintf(filename, sizeof(filename), "%s%sextern_%dr.raw", cwdpath, H5_DIR_SEPS, (int) i + 1); in test_path_absolute() 953 … HDsnprintf(filename, sizeof(filename), "%s%sextern_%dr.raw", cwdpath + 2, H5_DIR_SEPS, i + 1); in test_path_absolute() 1017 char cwdpath[1024]; /* working directory */ in test_path_relative() local 1042 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_relative() 1111 char cwdpath[1024]; /* working directory */ in test_path_relative_cwd() local 1137 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_relative_cwd()
|
H A D | links.c | 2670 cwdpath[NAME_BUF_SIZE]; in external_link_abs_mainpath() local 2836 cwdpath[NAME_BUF_SIZE]; in external_link_cwd() local 2922 cwdpath[NAME_BUF_SIZE]; in external_link_abstar() local 3009 cwdpath[NAME_BUF_SIZE]; in external_link_abstar_cur() local 3269 cwdpath[NAME_BUF_SIZE]; in external_set_elink_fapl1() local 3461 cwdpath[NAME_BUF_SIZE]; in external_set_elink_fapl2() local 4129 cwdpath[NAME_BUF_SIZE]; in external_link_win1() local 4215 cwdpath[NAME_BUF_SIZE]; in external_link_win2() local 4655 cwdpath[NAME_BUF_SIZE]; in external_link_win7() local 4743 cwdpath[NAME_BUF_SIZE]; in external_link_win8() local [all …]
|
/dports/devel/global/global-6.6.7/htags/ |
H A D | htags.c | 81 char cwdpath[MAXPATHLEN]; variable 1092 if (!vgetcwd(cwdpath, sizeof(cwdpath))) in main() 1094 openconf(cwdpath); in main() 1354 char *p = strrchr(cwdpath, sep); in main() 1355 title = p ? p + 1 : cwdpath; in main() 1371 if (chdir(cwdpath) < 0) in main() 1375 snprintf(distpath, sizeof(distpath), "%s/HTML", cwdpath); in main() 1399 gtop = gtags_open(dbpath, cwdpath, GTAGS, GTAGS_READ, 0); in main() 1404 gtop = gtags_open(dbpath, cwdpath, GRTAGS, GTAGS_READ, 0); in main() 1431 set_env("GTAGSROOT", cwdpath); in main() [all …]
|
H A D | htags.h | 66 extern char cwdpath[MAXPATHLEN];
|
/dports/devel/gmake/make-4.3/tests/ |
H A D | run_make_tests.pl | 41 $cwdpath = cwd(); 42 ($cwdvol, $cwddir, $_) = File::Spec->splitpath($cwdpath, 1); 236 s/#PWD#/$cwdpath/g; 674 print "#PWD#: $cwdpath\n";
|
/dports/security/doas/doas-6.3p6/ |
H A D | doas.c | 292 char cwdpath[PATH_MAX]; in main() local 551 if (getcwd(cwdpath, sizeof(cwdpath)) == NULL) in main() 554 cwd = cwdpath; in main()
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/ |
H A D | fshook_stdio.c | 182 ALLEGRO_PATH *cwdpath = NULL; in make_absolute_path_inner() 192 cwdpath = al_create_path_for_directory(cwd); in make_absolute_path_inner() 193 if (!cwdpath) { in make_absolute_path_inner() 202 if (al_rebase_path(cwdpath, tailpath)) { in make_absolute_path_inner() 210 al_destroy_path(cwdpath); in make_absolute_path_inner()
|
/dports/print/texlive-base/texlive-20150521-source/texk/texlive/linked_scripts/authorindex/ |
H A D | authorindex | 14 my $cwdpath="."; # Directory where files are generated 225 $ENV{$bstenv}="$cwdpath$pathsep" . (exists $ENV{$bstenv} ? $ENV{$bstenv} : ""); 287 $ENV{$bibenv}="$cwdpath$pathsep" . (exists $ENV{$bibenv} ? $ENV{$bibenv} : "") if $explicits;
|
/dports/devel/remake/remake-4.3+dbg-1.5/tests/ |
H A D | run_make_tests.pl | 41 $cwdpath = cwd(); 42 ($cwdvol, $cwddir, $_) = File::Spec->splitpath($cwdpath, 1);
|
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/ |
H A D | solaris_audit.c | 60 if ((event->adt_sudo.cwdpath = getcwd(cwd, sizeof(cwd))) == NULL) { in adt_sudo_common()
|
/dports/biology/p5-AcePerl/AcePerl-1.92/acelib/ |
H A D | filsubs.c | 801 char cwdpath[MAXPATHLEN], *cwd ; in DosToPosix() local 824 if( (cwd = _getdcwd(DRIVE_NO(drive),cwdpath,MAXPATHLEN - 2)) != NULL ) in DosToPosix() 843 if( (cwd = getwd(cwdpath)) != NULL ) /* If a non-NULL current working */ in DosToPosix()
|
/dports/devel/gmake/make-4.3/tests/scripts/options/ |
H A D | dash-C | 30 chdir $cwdpath;
|
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_layout/ |
H A D | engine.cc | 131 std::string cwdpath = check_parent_path(cur_working_dir); in path_handler() local 132 if (!cwdpath.empty()) { in path_handler() 133 return cwdpath; in path_handler()
|
/dports/biology/emboss/EMBOSS-6.6.0/ajax/core/ |
H A D | ajfile.c | 3386 AjPStr cwdpath = NULL; in fileOpenDir() local 3398 cwdpath = ajStrNewS(ajFileValueCwd()); in fileOpenDir() 3401 ajDirnameUp(&cwdpath); in fileOpenDir() 3407 ajStrInsertS(dir, 0, cwdpath); in fileOpenDir() 3410 ajStrDel(&cwdpath); in fileOpenDir() 7236 AjPStr cwdpath = NULL; in ajDirnameFillPath() local 7264 ajStrAssignS(&cwdpath, ajFileValueCwd()); in ajDirnameFillPath() 7268 ajDirnameUp(&cwdpath); in ajDirnameFillPath() 7270 ajDebug("Going up '%S' '%S'\n", *Pdirname, cwdpath); in ajDirnameFillPath() 7273 ajStrInsertS(Pdirname, 0, cwdpath); in ajDirnameFillPath() [all …]
|
/dports/x11/terminology/terminology-1.9.0/src/bin/ |
H A D | termiolink.c | 115 char cwdpath[PATH_MAX], tmppath[PATH_MAX]; in _cwd_path_get() local 117 if (!termio_cwd_get(obj, cwdpath, sizeof(cwdpath))) in _cwd_path_get() 120 eina_str_join(tmppath, sizeof(tmppath), '/', cwdpath, relpath); in _cwd_path_get()
|