/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/diff/position_tracer/ |
H A D | line_strategy_spec.rb | 287 new_path: old_position.new_path, 310 new_path: old_position.new_path, 336 new_path: old_position.new_path, 359 new_path: old_position.new_path, 439 new_path: old_position.new_path, 464 new_path: old_position.new_path, 488 new_path: old_position.new_path, 980 new_path: old_position.new_path, 1112 new_path: old_position.new_path, 1923 new_path: old_position.new_path, [all …]
|
/dports/net-mgmt/monitoring-plugins/monitoring-plugins-2.3.1/lib/ |
H A D | utils_disk.c | 48 new_path = (struct parameter_list *) malloc (sizeof *new_path); in np_add_parameter() 60 new_path->group = NULL; in np_add_parameter() 61 new_path->dfree_pct = -1; in np_add_parameter() 62 new_path->dused_pct = -1; in np_add_parameter() 63 new_path->total = 0; in np_add_parameter() 64 new_path->available = 0; in np_add_parameter() 66 new_path->used = 0; in np_add_parameter() 67 new_path->dused_units = 0; in np_add_parameter() 68 new_path->dfree_units = 0; in np_add_parameter() 78 *list = new_path; in np_add_parameter() [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/diff/ |
H A D | file_collection_sorter_spec.rb | 8 double(new_path: 'README', old_path: 'README'), 9 double(new_path: '.dir/test', old_path: '.dir/test'), 10 double(new_path: '', old_path: '.file'), 13 double(new_path: nil, old_path: '1-folder/M-file.ext'), 16 double(new_path: '', old_path: '1-folder/nested/A-file.ext'), 18 double(new_path: nil, old_path: '1-folder/nested/Z-file.ext'), 20 double(new_path: '', old_path: '2-folder/M-file.ext'), 23 double(new_path: 'A-file.ext', old_path: 'A-file.ext'), 24 double(new_path: '', old_path: 'M-file.ext'), 25 double(new_path: 'Z-file.ext', old_path: 'Z-file.ext'), [all …]
|
/dports/net-mgmt/nagios-plugins/nagios-plugins-2.3.3/lib/ |
H A D | utils_disk.c | 48 new_path = (struct parameter_list *) malloc (sizeof *new_path); in np_add_parameter() 60 new_path->group = NULL; in np_add_parameter() 61 new_path->dfree_pct = -1; in np_add_parameter() 62 new_path->dused_pct = -1; in np_add_parameter() 63 new_path->total = 0; in np_add_parameter() 64 new_path->available = 0; in np_add_parameter() 66 new_path->used = 0; in np_add_parameter() 67 new_path->dused_units = 0; in np_add_parameter() 68 new_path->dfree_units = 0; in np_add_parameter() 76 *list = new_path; in np_add_parameter() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium-shim/base/files/ |
H A D | file_path.cpp | 89 FilePath new_path(path_); in DirName() local 103 new_path.path_.resize(letter + 1); in DirName() 106 new_path.path_.resize(letter + 2); in DirName() 111 new_path.path_.resize(letter + 3); in DirName() 118 if (!new_path.path_.length()) in DirName() 121 return new_path; in DirName() 125 FilePath new_path(path_); in BaseName() local 144 return new_path; in BaseName() 170 FilePath new_path(path_); in Append() local 181 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() [all …]
|
/dports/www/firefox/firefox-99.0/security/sandbox/chromium-shim/base/files/ |
H A D | file_path.cpp | 89 FilePath new_path(path_); in DirName() local 103 new_path.path_.resize(letter + 1); in DirName() 106 new_path.path_.resize(letter + 2); in DirName() 111 new_path.path_.resize(letter + 3); in DirName() 118 if (!new_path.path_.length()) in DirName() 121 return new_path; in DirName() 125 FilePath new_path(path_); in BaseName() local 144 return new_path; in BaseName() 170 FilePath new_path(path_); in Append() local 181 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium-shim/base/files/ |
H A D | file_path.cpp | 89 FilePath new_path(path_); in DirName() local 103 new_path.path_.resize(letter + 1); in DirName() 106 new_path.path_.resize(letter + 2); in DirName() 111 new_path.path_.resize(letter + 3); in DirName() 118 if (!new_path.path_.length()) in DirName() 121 return new_path; in DirName() 125 FilePath new_path(path_); in BaseName() local 144 return new_path; in BaseName() 170 FilePath new_path(path_); in Append() local 181 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/common/autoconf/ |
H A D | generated-configure.sh | 15731 new_path=`cmd //c echo $new_path` 16104 new_path=`cmd //c echo $new_path` 16474 new_path=`cmd //c echo $new_path` 16849 new_path=`cmd //c echo $new_path` 17218 new_path=`cmd //c echo $new_path` 26631 new_path=`cmd //c echo $new_path` 27431 new_path=`cmd //c echo $new_path` 27887 new_path=`cmd //c echo $new_path` 29172 new_path=`cmd //c echo $new_path` 29628 new_path=`cmd //c echo $new_path` [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/common/autoconf/ |
H A D | generated-configure.sh | 15731 new_path=`cmd //c echo $new_path` 16104 new_path=`cmd //c echo $new_path` 16474 new_path=`cmd //c echo $new_path` 16849 new_path=`cmd //c echo $new_path` 17218 new_path=`cmd //c echo $new_path` 26631 new_path=`cmd //c echo $new_path` 27431 new_path=`cmd //c echo $new_path` 27887 new_path=`cmd //c echo $new_path` 29172 new_path=`cmd //c echo $new_path` 29628 new_path=`cmd //c echo $new_path` [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/make/autoconf/ |
H A D | util_windows.m4 | 176 $1="$new_path" 237 new_path=`$WHICH "$new_path" 2> /dev/null` 253 new_path=`$WHICH "$new_path" 2> /dev/null` 301 new_path="${new_path/%.exe/}" 319 new_path=`$WHICH "$new_path" 2> /dev/null` 331 new_path=`$WHICH "$new_path" 2> /dev/null` 355 new_path="${new_path/%.exe/}" 359 new_path=`cmd //c echo $new_path` 364 new_path="${new_path/%.exe/}" 387 new_path=`$WHICH "$new_path" 2> /dev/null` [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/base/ |
H A D | file_path.cc | 84 FilePath new_path(path_); in DirName() local 112 if (!new_path.path_.length()) new_path.path_ = kCurrentDirectory; in DirName() 114 return new_path; in DirName() 118 FilePath new_path(path_); in BaseName() local 136 return new_path; in BaseName() 220 FilePath new_path(path_); in Append() local 229 if (!IsSeparator(new_path.path_[new_path.path_.length() - 1])) { in Append() 231 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() 238 return new_path; in Append() 288 FilePath new_path(path_); in StripTrailingSeparators() local [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/base/ |
H A D | file_path.cc | 84 FilePath new_path(path_); in DirName() local 112 if (!new_path.path_.length()) new_path.path_ = kCurrentDirectory; in DirName() 114 return new_path; in DirName() 118 FilePath new_path(path_); in BaseName() local 136 return new_path; in BaseName() 220 FilePath new_path(path_); in Append() local 229 if (!IsSeparator(new_path.path_[new_path.path_.length() - 1])) { in Append() 231 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() 238 return new_path; in Append() 288 FilePath new_path(path_); in StripTrailingSeparators() local [all …]
|
/dports/www/firefox/firefox-99.0/ipc/chromium/src/base/ |
H A D | file_path.cc | 84 FilePath new_path(path_); in DirName() local 112 if (!new_path.path_.length()) new_path.path_ = kCurrentDirectory; in DirName() 114 return new_path; in DirName() 118 FilePath new_path(path_); in BaseName() local 136 return new_path; in BaseName() 220 FilePath new_path(path_); in Append() local 229 if (!IsSeparator(new_path.path_[new_path.path_.length() - 1])) { in Append() 231 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() 238 return new_path; in Append() 288 FilePath new_path(path_); in StripTrailingSeparators() local [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/chromium/src/base/ |
H A D | file_path.cc | 84 FilePath new_path(path_); in DirName() local 112 if (!new_path.path_.length()) new_path.path_ = kCurrentDirectory; in DirName() 114 return new_path; in DirName() 118 FilePath new_path(path_); in BaseName() local 136 return new_path; in BaseName() 220 FilePath new_path(path_); in Append() local 229 if (!IsSeparator(new_path.path_[new_path.path_.length() - 1])) { in Append() 231 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() 238 return new_path; in Append() 288 FilePath new_path(path_); in StripTrailingSeparators() local [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/base/ |
H A D | file_path.cc | 85 FilePath new_path(path_); in DirName() local 114 if (!new_path.path_.length()) in DirName() 117 return new_path; in DirName() 121 FilePath new_path(path_); in BaseName() local 140 return new_path; in BaseName() 232 FilePath new_path(path_); in Append() local 242 if (!IsSeparator(new_path.path_[new_path.path_.length() - 1])) { in Append() 245 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() 252 return new_path; in Append() 306 FilePath new_path(path_); in StripTrailingSeparators() local [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/base/ |
H A D | file_path.cc | 84 FilePath new_path(path_); in DirName() local 112 if (!new_path.path_.length()) new_path.path_ = kCurrentDirectory; in DirName() 114 return new_path; in DirName() 118 FilePath new_path(path_); in BaseName() local 136 return new_path; in BaseName() 220 FilePath new_path(path_); in Append() local 229 if (!IsSeparator(new_path.path_[new_path.path_.length() - 1])) { in Append() 231 if (FindDriveLetter(new_path.path_) + 1 != new_path.path_.length()) { in Append() 238 return new_path; in Append() 288 FilePath new_path(path_); in StripTrailingSeparators() local [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/projects/hashed_storage/ |
H A D | base_attachment_service.rb | 36 def target_path_discardable?(new_path) argument 42 def move_folder!(old_path, new_path) argument 50 if File.exist?(new_path) 51 if target_path_discardable?(new_path) 52 discard_path!(new_path) 56 raise AttachmentCannotMoveError, "Target path '#{new_path}' already exists" 61 FileUtils.mkdir_p(File.dirname(new_path)) 63 FileUtils.mv(old_path, new_path) 72 def discard_path!(new_path) argument 73 discarded_path = "#{new_path}-#{Time.current.utc.to_i}" [all …]
|
/dports/www/foswiki/Foswiki-2.1.6/tools/ |
H A D | rewriteshebang.pl | 25 my $new_path = ''; 46 'path|p=s' => \$new_path, 59 unless ($new_path) { 60 $new_path = $^X; 93 $new_path = $n; 96 unless ( $new_path =~ m#^/usr/bin/env perl# || -x "$new_path" ) { 119 if ( $new_path =~ m/(.*?\/env perl\b)/ ) { 123 @args = ("$new_path"); 125 elsif ( $new_path =~ 178 unless ( -x "$new_path" ) { [all …]
|
/dports/multimedia/libaacs/libaacs-0.11.0/src/file/ |
H A D | path.c | 36 char *new_path = resolved_path; in aacs_resolve_path() local 54 new_path += strlen(new_path); in aacs_resolve_path() 55 if (new_path[-1] != '/') { in aacs_resolve_path() 56 *new_path++ = '/'; in aacs_resolve_path() 59 *new_path++ = '/'; in aacs_resolve_path() 90 *new_path++ = *path++; in aacs_resolve_path() 100 *new_path = 0; in aacs_resolve_path() 115 new_path = resolved_path; in aacs_resolve_path() 117 while (*(--new_path) != '/'); in aacs_resolve_path() 131 *new_path++ = '/'; in aacs_resolve_path() [all …]
|
/dports/sysutils/R-cran-fs/fs/R/ |
H A D | copy.R | 47 file_copy <- function(path, new_path, overwrite = FALSE) { argument 50 assert_no_missing(new_path) 53 new <- path_expand(new_path) 71 dir_copy <- function(path, new_path, overwrite = FALSE) { argument 73 assert_no_missing(new_path) 79 new_path[[i]] <- path(new_path[[i]], path_file(path)) 81 dir_create(new_path[[i]]) 95 invisible(path_tidy(new_path)) 100 link_copy <- function(path, new_path, overwrite = FALSE) { argument 102 assert_no_missing(new_path) [all …]
|
/dports/net/py-pysmb/pysmb-1.1.27/python2/tests/DirectSMBConnectionTests/ |
H A D | test_rename.py | 44 conn.rename('smbtest', old_path, new_path) 51 conn.deleteFiles('smbtest', new_path) 67 conn.rename('smbtest', old_path, new_path) 74 conn.deleteFiles('smbtest', new_path) 90 conn.rename('smbtest', old_path, new_path) 97 conn.deleteFiles('smbtest', new_path) 113 conn.rename('smbtest', old_path, new_path) 120 conn.deleteFiles('smbtest', new_path) 143 conn.deleteDirectory('smbtest', new_path) 166 conn.deleteDirectory('smbtest', new_path) [all …]
|
/dports/net/py-pysmb/pysmb-1.1.27/python3/tests/DirectSMBConnectionTests/ |
H A D | test_rename.py | 44 conn.rename('smbtest', old_path, new_path) 51 conn.deleteFiles('smbtest', new_path) 67 conn.rename('smbtest', old_path, new_path) 74 conn.deleteFiles('smbtest', new_path) 90 conn.rename('smbtest', old_path, new_path) 97 conn.deleteFiles('smbtest', new_path) 113 conn.rename('smbtest', old_path, new_path) 120 conn.deleteFiles('smbtest', new_path) 143 conn.deleteDirectory('smbtest', new_path) 166 conn.deleteDirectory('smbtest', new_path) [all …]
|
/dports/net/py-pysmb/pysmb-1.1.27/python2/tests/SMBConnectionTests/ |
H A D | test_rename.py | 44 conn.rename('smbtest', old_path, new_path) 51 conn.deleteFiles('smbtest', new_path) 67 conn.rename('smbtest', old_path, new_path) 74 conn.deleteFiles('smbtest', new_path) 90 conn.rename('smbtest', old_path, new_path) 97 conn.deleteFiles('smbtest', new_path) 113 conn.rename('smbtest', old_path, new_path) 120 conn.deleteFiles('smbtest', new_path) 143 conn.deleteDirectory('smbtest', new_path) 166 conn.deleteDirectory('smbtest', new_path) [all …]
|
/dports/net/py-pysmb/pysmb-1.1.27/python3/tests/SMBConnectionTests/ |
H A D | test_rename.py | 44 conn.rename('smbtest', old_path, new_path) 51 conn.deleteFiles('smbtest', new_path) 67 conn.rename('smbtest', old_path, new_path) 74 conn.deleteFiles('smbtest', new_path) 90 conn.rename('smbtest', old_path, new_path) 97 conn.deleteFiles('smbtest', new_path) 113 conn.rename('smbtest', old_path, new_path) 120 conn.deleteFiles('smbtest', new_path) 143 conn.deleteDirectory('smbtest', new_path) 166 conn.deleteDirectory('smbtest', new_path) [all …]
|
/dports/mail/qpopper/qpopper4.1.0/common/ |
H A D | sieve_lock.c | 26 char new_path[256]; local 33 strncpy(new_path, path, sizeof(new_path)); 34 new_path[sizeof(new_path)-1] = 0; 35 if (new_path[strlen(new_path)-1]=='/') { 36 new_path[strlen(new_path)-1] = 0; 38 if (strlen(new_path)+strlen(lfile)>=sizeof(l.lockfile)) { 41 sprintf(l.lockfile, "%s/%s", new_path, lfile); 42 free(new_path); 46 if (strlen(new_path)+strlen(randstr)>=sizeof(l.tempfile)) { 49 sprintf(l.tempfile, "%s/%s", new_path, randstr);
|