Home
last modified time | relevance | path

Searched refs:cwdpath (Results 1 – 25 of 50) sorted by relevance

12

/dports/math/vtk9/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5system.c785 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 DH5system.c773 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 DH5system.c787 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 DH5system.c1034 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 DH5system.c1034 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 DH5system.c1170 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 Dexternal.c982 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 Dlinks.c2844 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 Dad_ls.c477 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 Dexternal_env.c55 char cwdpath[1024]; /* working directory */ in test_path_env() local
75 if(NULL == HDgetcwd(cwdpath, sizeof(cwdpath))) in test_path_env()
H A Dexternal.c927 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 Dlinks.c2670 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 Dhtags.c81 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 Dhtags.h66 extern char cwdpath[MAXPATHLEN];
/dports/devel/gmake/make-4.3/tests/
H A Drun_make_tests.pl41 $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 Ddoas.c292 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 Dfshook_stdio.c182 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 Dauthorindex14 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 Drun_make_tests.pl41 $cwdpath = cwd();
42 ($cwdvol, $cwddir, $_) = File::Spec->splitpath($cwdpath, 1);
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/
H A Dsolaris_audit.c60 if ((event->adt_sudo.cwdpath = getcwd(cwd, sizeof(cwd))) == NULL) { in adt_sudo_common()
/dports/biology/p5-AcePerl/AcePerl-1.92/acelib/
H A Dfilsubs.c801 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 Ddash-C30 chdir $cwdpath;
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_layout/
H A Dengine.cc131 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 Dajfile.c3386 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 Dtermiolink.c115 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()

12