Home
last modified time | relevance | path

Searched refs:oldpath (Results 1 – 25 of 5911) sorted by relevance

12345678910>>...237

/dports/editors/focuswriter/focuswriter-1.7.6/src/
H A Dpaths.cpp40 QString oldpath; in oldDataPath() local
51 oldpath = QString::fromLocal8Bit(qgetenv("XDG_DATA_HOME")); in oldDataPath()
52 if (oldpath.isEmpty()) { in oldDataPath()
53 oldpath = QDir::homePath() + "/.local/share"; in oldDataPath()
55 oldpath += "/focuswriter"; in oldDataPath()
57 oldpath = QDir::homePath() + "/Application Data/GottCode/FocusWriter/"; in oldDataPath()
59 if (!oldpaths.contains(oldpath)) { in oldDataPath()
60 oldpaths.append(oldpath); in oldDataPath()
64 oldpath.clear(); in oldDataPath()
67 oldpath = testpath; in oldDataPath()
[all …]
/dports/sysutils/modules/modules-4.6.0/compat/
H A DcmdPath.c219 if(!oldpath || !*oldpath) { in cmdSetPath()
274 if( !Tcl_RegExpExec(interp, chkexpPtr, oldpath, oldpath)) in cmdSetPath()
325 strcpy( newpath, oldpath); in cmdSetPath()
327 if( Tcl_RegExpExec(interp, markexpPtr, oldpath, oldpath)) { in cmdSetPath()
338 strcpy(newpath, oldpath); in cmdSetPath()
353 strcpy(newpath, oldpath); in cmdSetPath()
367 strcpy(newpath, oldpath); in cmdSetPath()
374 strcat(newpath, oldpath); in cmdSetPath()
603 if (!oldpath || !*oldpath) { in Remove_Path()
609 if (!(oldpath = stringer(NULL,0, oldpath, NULL))) in Remove_Path()
[all …]
/dports/graphics/photoqt/photoqt-1.6/cplusplus/startup/
H A Dmigration.h84 for(QString oldpath : oldpaths) { in migrateIfNecessary() local
87 if(migrated && QDir(oldpath).exists()) { in migrateIfNecessary()
90 QFile file(oldpath + "/settings"); in migrateIfNecessary()
94 … << "Migrating old settings file from '" << oldpath.toStdString() << "' to '" in migrateIfNecessary()
107 file.setFileName(oldpath + "/shortcuts"); in migrateIfNecessary()
111 … << "Migrating old shortcuts file from '" << oldpath.toStdString() << "' to '" in migrateIfNecessary()
124 file.setFileName(oldpath + "/contextmenu"); in migrateIfNecessary()
141 file.setFileName(oldpath + "/fileformats.disabled"); in migrateIfNecessary()
158 file.setFileName(oldpath + "/thumbnails"); in migrateIfNecessary()
175 dir.setPath(oldpath); in migrateIfNecessary()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/tools/redirector/
H A Dredirector.c43 *oldpath = NULL; in get_module_name_safely()
55 *oldpath = result; in get_module_name_safely()
188 debug_printW(oldpath); in main()
225 HeapFree(GetProcessHeap(), 0, oldpath); in main()
226 oldpath = NULL; in main()
267 if (!oldpath) { in main()
271 lstrcpyW(oldpath, cmdline); in main()
278 oldpath[length++] = (arguments++)[0]; in main()
279 oldpath[length++] = (arguments++)[0]; in main()
294 lstrcpyW(oldpath + length, L" "); in main()
[all …]
/dports/games/tetzle/tetzle-2.2.0/src/
H A Dpath.cpp30 QString oldpath; in oldDataPath() local
41 oldpath = getenv("$XDG_DATA_HOME"); in oldDataPath()
42 if (oldpath.isEmpty()) { in oldDataPath()
43 oldpath = QDir::homePath() + "/.local/share/"; in oldDataPath()
45 oldpath += "/games/tetzle/"; in oldDataPath()
47 oldpath = QDir::homePath() + "/Application Data/GottCode/Tetzle/"; in oldDataPath()
49 if (!oldpaths.contains(oldpath)) { in oldDataPath()
50 oldpaths.append(oldpath); in oldDataPath()
54 oldpath.clear(); in oldDataPath()
57 oldpath = testpath; in oldDataPath()
[all …]
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/
H A Dat_fdcwd.c98 if ((olddirfd == AT_FDCWD || oldpath[0] == '/') && in linkat()
100 return __wasilibc_link(oldpath, newpath, flags); in linkat()
102 if (olddirfd == AT_FDCWD || oldpath[0] == '/') { in linkat()
103 return __wasilibc_link_newat(oldpath, newdirfd, newpath, flags); in linkat()
106 return __wasilibc_link_oldat(olddirfd, oldpath, newpath, flags); in linkat()
113 if ((olddirfd == AT_FDCWD || oldpath[0] == '/') && in renameat()
115 return rename(oldpath, newpath); in renameat()
117 if (olddirfd == AT_FDCWD || oldpath[0] == '/') { in renameat()
118 return __wasilibc_rename_newat(oldpath, newdirfd, newpath); in renameat()
121 return __wasilibc_rename_oldat(olddirfd, oldpath, newpath); in renameat()
[all …]
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-bottom-half/sources/
H A Dat_fdcwd.c98 if ((olddirfd == AT_FDCWD || oldpath[0] == '/') && in linkat()
100 return __wasilibc_link(oldpath, newpath, flags); in linkat()
102 if (olddirfd == AT_FDCWD || oldpath[0] == '/') { in linkat()
103 return __wasilibc_link_newat(oldpath, newdirfd, newpath, flags); in linkat()
106 return __wasilibc_link_oldat(olddirfd, oldpath, newpath, flags); in linkat()
113 if ((olddirfd == AT_FDCWD || oldpath[0] == '/') && in renameat()
115 return rename(oldpath, newpath); in renameat()
117 if (olddirfd == AT_FDCWD || oldpath[0] == '/') { in renameat()
118 return __wasilibc_rename_newat(oldpath, newdirfd, newpath); in renameat()
121 return __wasilibc_rename_oldat(olddirfd, oldpath, newpath); in renameat()
[all …]
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/
H A Dat_fdcwd.c98 if ((olddirfd == AT_FDCWD || oldpath[0] == '/') && in linkat()
100 return __wasilibc_link(oldpath, newpath, flags); in linkat()
102 if (olddirfd == AT_FDCWD || oldpath[0] == '/') { in linkat()
103 return __wasilibc_link_newat(oldpath, newdirfd, newpath, flags); in linkat()
106 return __wasilibc_link_oldat(olddirfd, oldpath, newpath, flags); in linkat()
113 if ((olddirfd == AT_FDCWD || oldpath[0] == '/') && in renameat()
115 return rename(oldpath, newpath); in renameat()
117 if (olddirfd == AT_FDCWD || oldpath[0] == '/') { in renameat()
118 return __wasilibc_rename_newat(oldpath, newdirfd, newpath); in renameat()
121 return __wasilibc_rename_oldat(olddirfd, oldpath, newpath); in renameat()
[all …]
/dports/mail/mailutils/mailutils-3.13/libmailutils/base/
H A Drenamefile.c37 mu_rename_file (const char *oldpath, const char *newpath, int flags) in mu_rename_file() argument
42 if (access (oldpath, F_OK)) in mu_rename_file()
59 if (rename (oldpath, newpath) == 0) in mu_rename_file()
66 oldpath, newpath, mu_strerror (errno))); in mu_rename_file()
70 rc = mu_copy_file (oldpath, newpath, flags|MU_COPY_MODE|MU_COPY_OWNER); in mu_rename_file()
73 rc = mu_remove_file (oldpath); in mu_rename_file()
78 oldpath, newpath, mu_strerror (rc))); in mu_rename_file()
/dports/irc/eggdrop/eggdrop-1.9.1/src/
H A Dmisc_file.c39 int copyfile(char *oldpath, char *newpath) in copyfile() argument
46 fi = open(oldpath, O_RDONLY, 0); in copyfile()
48 fi = open(oldpath, O_RDONLY | O_BINARY, 0); in copyfile()
88 int copyfilef(char *oldpath, FILE *newfile) in copyfilef() argument
96 fi = open(oldpath, O_RDONLY, 0); in copyfilef()
98 fi = open(oldpath, O_RDONLY | O_BINARY, 0); in copyfilef()
178 int movefile(char *oldpath, char *newpath) in movefile() argument
183 if (!rename(oldpath, newpath)) in movefile()
189 ret = copyfile(oldpath, newpath); in movefile()
191 unlink(oldpath); in movefile()
/dports/lang/pcc/pcc-1.1.0/os/win32/
H A Dpcc.iss35 oldpath : String;
40 …EY_LOCAL_MACHINE, 'System\CurrentControlSet\Control\Session Manager\Environment', 'Path', oldpath);
41 oldpath := oldpath + ';';
43 while (Pos(';', oldpath) > 0) do begin
45 pathArr[i] := Copy(oldpath, 0, Pos(';', oldpath) - 1);
46 oldpath := Copy(oldpath, Pos(';', oldpath) + 1, Length(oldpath));
/dports/science/xtb/xtb-6.4.1/src/mctc/
H A Dmctc_linux.f9045 integer(c_int) function link(oldpath,newpath) bind(c)
47 character(kind=c_char),intent(in) :: oldpath,newpath
59 integer(c_int) function symlink(oldpath,newpath) bind(c)
61 character(kind=c_char),intent(in) :: oldpath,newpath
115 character(len=*),intent(in) :: oldpath
117 character(kind=c_char,len=len(oldpath)+1) :: c_old
119 c_old = oldpath // c_null_char
139 character(len=*),intent(in) :: oldpath
141 character(kind=c_char,len=len(oldpath)+1) :: c_old
143 c_old = oldpath // c_null_char
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-link.c72 int (*linkfunc)(const char *oldpath, const char *newpath), in stress_link_generic() argument
76 char oldpath[PATH_MAX], tmp_newpath[PATH_MAX]; in stress_link_generic() local
90 (void)stress_temp_filename_args(args, oldpath, sizeof(oldpath), ~0UL); in stress_link_generic()
91 if ((fd = open(oldpath, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR)) < 0) { in stress_link_generic()
95 args->name, oldpath, errno, strerror(errno)); in stress_link_generic()
103 oldpathlen = strlen(oldpath); in stress_link_generic()
119 if (linkfunc(oldpath, newpath) < 0) { in stress_link_generic()
181 if (strncmp(oldpath, buf, (size_t)rret)) in stress_link_generic()
183 args->name, buf, oldpath); in stress_link_generic()
202 rret = readlink(oldpath, testpath, 0); in stress_link_generic()
[all …]
/dports/sysutils/burp-devel/burp-2.5.4/src/server/protocol1/
H A Dlink.c104 static int duplicate_file(const char *oldpath, const char *newpath) in duplicate_file() argument
112 if(!(op=fzp_open(oldpath, "rb")) in duplicate_file()
131 if(ret) logp("could not duplicate %s to %s\n", oldpath, newpath); in duplicate_file()
135 int do_link(const char *oldpath, const char *newpath, struct stat *statp, in do_link() argument
142 return duplicate_file(oldpath, newpath); in do_link()
144 else if(link(oldpath, newpath)) in do_link()
149 if(!link(oldpath, newpath)) in do_link()
156 newpath, oldpath, strerror(errno)); in do_link()
H A Dbackup_phase4.c195 else if(make_rev_delta(oldpath, sigpath, in gen_rev_delta()
239 if(lstat(oldpath, &statp)) in inflate_or_link_oldfile()
241 logp("could not lstat %s\n", oldpath); in inflate_or_link_oldfile()
263 const char *oldpath, in forward_patch_and_reverse_diff() argument
297 oldpath, lrs); in forward_patch_and_reverse_diff()
354 unlink(oldpath); in forward_patch_and_reverse_diff()
373 char *oldpath=NULL; in jiggle() local
427 oldpath, in jiggle()
468 unlink(oldpath); in jiggle()
486 logp("could not find: %s\n", oldpath); in jiggle()
[all …]
/dports/sysutils/burp/burp-2.4.0/src/server/protocol1/
H A Dlink.c104 static int duplicate_file(const char *oldpath, const char *newpath) in duplicate_file() argument
112 if(!(op=fzp_open(oldpath, "rb")) in duplicate_file()
131 if(ret) logp("could not duplicate %s to %s\n", oldpath, newpath); in duplicate_file()
135 int do_link(const char *oldpath, const char *newpath, struct stat *statp, in do_link() argument
142 return duplicate_file(oldpath, newpath); in do_link()
144 else if(link(oldpath, newpath)) in do_link()
149 if(!link(oldpath, newpath)) in do_link()
156 newpath, oldpath, strerror(errno)); in do_link()
H A Dbackup_phase4.c195 else if(make_rev_delta(oldpath, sigpath, in gen_rev_delta()
239 if(lstat(oldpath, &statp)) in inflate_or_link_oldfile()
241 logp("could not lstat %s\n", oldpath); in inflate_or_link_oldfile()
263 const char *oldpath, in forward_patch_and_reverse_diff() argument
297 oldpath, lrs); in forward_patch_and_reverse_diff()
354 unlink(oldpath); in forward_patch_and_reverse_diff()
373 char *oldpath=NULL; in jiggle() local
427 oldpath, in jiggle()
468 unlink(oldpath); in jiggle()
486 logp("could not find: %s\n", oldpath); in jiggle()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/list/
H A Dmailbox-list-fs.c367 if (strcmp(oldpath, newpath) == 0) in rename_dir()
370 p = strrchr(oldpath, '/'); in rename_dir()
393 if (rename(oldpath, newpath) < 0 && errno != ENOENT) { in rename_dir()
395 oldpath, newpath); in rename_dir()
399 oldpath = t_strdup_until(oldpath, p); in rename_dir()
400 if (rmdir(oldpath) < 0 && errno != ENOENT && in rename_dir()
403 "rmdir(%s) failed: %m", oldpath); in rename_dir()
428 MAILBOX_LIST_PATH_TYPE_DIR, &oldpath) <= 0 || in fs_list_rename_mailbox()
437 if (strcmp(oldpath, root_path) == 0) { in fs_list_rename_mailbox()
509 if (rename(oldpath, newpath) < 0) { in fs_list_rename_mailbox()
[all …]
/dports/www/py-paste/Paste-3.4.6/tests/
H A Dtest_cgiapp.py17 global oldpath, pyexelink
18 oldpath = os.environ.get('PATH', None)
19 os.environ['PATH'] = data_dir + os.path.pathsep + oldpath
29 global oldpath, pyexelink
31 if oldpath is not None:
32 os.environ['PATH'] = oldpath
/dports/mail/mmr/mmr-1.6.0/
H A Diobottle.cpp12 char *ExpandPath(const char *oldpath) in ExpandPath() argument
16 if ( oldpath == NULL ) { in ExpandPath()
19 if ( (*oldpath == '~') && (*(oldpath+1) == '/') ) { in ExpandPath()
24 newpath = new char[strlen(home)+strlen(oldpath)]; in ExpandPath()
25 sprintf(newpath, "%s/%s", home, oldpath+2); in ExpandPath()
27 newpath = new char[strlen(oldpath)+1]; in ExpandPath()
28 strcpy(newpath, oldpath); in ExpandPath()
/dports/games/xqf/xqf-xqf-1.0.6.2/src/
H A Dtest_utils.c108 static void doSymlink(const char* oldpath, const char* newpath) { in doSymlink() argument
110 if (symlink(oldpath, newpath) == -1) { in doSymlink()
111 ERROR("symlink %s -> %s", newpath, oldpath); in doSymlink()
183 char* oldpath = NULL; in test_resolve_path() local
208 oldpath = getenv("PATH"); in test_resolve_path()
209 if (!oldpath) in test_resolve_path()
211 snprintf(buf, sizeof(buf), "%s%s:%s", BASEDIR, "bin", oldpath); in test_resolve_path()
220 setenv("PATH", oldpath, 1); in test_resolve_path()
/dports/mail/mb2md/mb2md-3.20_1/
H A Dmb2md623 my ($dir,$oldpath) = @_;
625 $oldpath =~ s/\/\///;
635 my $temppath = $oldpath;
650 my $srcdir="$mbroot/$oldpath/$dir";
652 printf("convertit(): Converting $dir in $mbroot/$oldpath to $dest/$destinationdir\n");
662 print("convertit($_,\"$oldpath/$dir\")\n");
663 &convertit($_,"$oldpath/$dir");
668 return if(defined($opts{l}) && !inlist("$oldpath/$dir",@flist));
670 if (!isamailboxfile("$mbroot/$oldpath/$dir"))
681 &convert("$mbroot/$oldpath/$dir","$dest/$destinationdir");
/dports/www/nextcloud/nextcloud/apps-pkg/files_versions/lib/
H A DHooks.php94 $oldpath = $params['oldpath'];
96 if ($oldpath !== '' && $newpath !== '') {
97 Storage::renameOrCopy($oldpath, $newpath, 'rename');
109 $oldpath = $params['oldpath'];
111 if ($oldpath !== '' && $newpath !== '') {
112 Storage::renameOrCopy($oldpath, $newpath, 'copy');
/dports/www/trac-devel/Trac-1.5.3/trac/mimeview/
H A Dpatch.py101 oldpath = oldrev = newpath = newrev = ''
113 oldpath, newpath = diffcmd_line.split()[-2:]
115 oldpath = '/dev/null'
118 oldinfo = ['', oldpath]
137 oldpath = oldinfo[1]
154 if oldpath or newpath:
157 [sep.split(newpath), sep.split(oldpath)]))
160 sep.split(oldpath)[::-1]])[::-1])
165 a = oldpath[:-len(commonsuffix)]
169 elif oldpath == '/dev/null':
[all …]
/dports/devel/monotone/monotone-1.1/innosetup/
H A Dmodpath.iss32 oldpath: String;
45 …EY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment', 'Path', oldpath);
46 oldpath := oldpath + ';';
48 while (Pos(';', oldpath) > 0) do begin
50 pathArr[i] := Copy(oldpath, 0, Pos(';', oldpath)-1);
51 oldpath := Copy(oldpath, Pos(';', oldpath)+1, Length(oldpath));

12345678910>>...237