/dports/devel/tcllib/tcllib-1.20/modules/httpd/build/ |
H A D | file.tcl | 66 set local_file [my FileName] 67 if {$local_file eq {} || ![file exist $local_file]} { 90 set local_file [file join $local_file $name] 106 set reply_file $local_file 110 set reply_file $local_file 114 set reply_file $local_file 118 set reply_file $local_file 122 set reply_file $local_file 126 set reply_file $local_file 130 set reply_file $local_file [all …]
|
/dports/devel/tcllibc/tcllib-1.20/modules/httpd/build/ |
H A D | file.tcl | 66 set local_file [my FileName] 67 if {$local_file eq {} || ![file exist $local_file]} { 90 set local_file [file join $local_file $name] 106 set reply_file $local_file 110 set reply_file $local_file 114 set reply_file $local_file 118 set reply_file $local_file 122 set reply_file $local_file 126 set reply_file $local_file 130 set reply_file $local_file [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/mariabackup/ |
H A D | ds_local.cc | 94 ds_local_file_t *local_file; in local_open() local 124 local_file->fd = fd; in local_open() 125 local_file->init_ibd_done = 0; in local_open() 127 local_file->compressed = 0; in local_open() 128 local_file->pagesize = 0; in local_open() 132 file->ptr = local_file; in local_open() 194 if (local_file->compressed) { in init_ibd_data() 198 local_file->compressed = 0; in init_ibd_data() 211 File fd = local_file->fd; in local_write() 213 if (local_file->is_ibd && !local_file->init_ibd_done) { in local_write() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/mariabackup/ |
H A D | ds_local.cc | 94 ds_local_file_t *local_file; in local_open() local 124 local_file->fd = fd; in local_open() 125 local_file->init_ibd_done = 0; in local_open() 127 local_file->compressed = 0; in local_open() 128 local_file->pagesize = 0; in local_open() 132 file->ptr = local_file; in local_open() 194 if (local_file->compressed) { in init_ibd_data() 198 local_file->compressed = 0; in init_ibd_data() 211 File fd = local_file->fd; in local_write() 213 if (local_file->is_ibd && !local_file->init_ibd_done) { in local_write() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/mariabackup/ |
H A D | ds_local.cc | 94 ds_local_file_t *local_file; in local_open() local 124 local_file->fd = fd; in local_open() 125 local_file->init_ibd_done = 0; in local_open() 127 local_file->compressed = 0; in local_open() 128 local_file->pagesize = 0; in local_open() 132 file->ptr = local_file; in local_open() 194 if (local_file->compressed) { in init_ibd_data() 198 local_file->compressed = 0; in init_ibd_data() 211 File fd = local_file->fd; in local_write() 213 if (local_file->is_ibd && !local_file->init_ibd_done) { in local_write() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/extra/mariabackup/ |
H A D | ds_local.cc | 94 ds_local_file_t *local_file; in local_open() local 124 local_file->fd = fd; in local_open() 125 local_file->init_ibd_done = 0; in local_open() 127 local_file->compressed = 0; in local_open() 128 local_file->pagesize = 0; in local_open() 132 file->ptr = local_file; in local_open() 192 if (local_file->compressed) { in init_ibd_data() 196 local_file->compressed = 0; in init_ibd_data() 209 File fd = local_file->fd; in local_write() 211 if (local_file->is_ibd && !local_file->init_ibd_done) { in local_write() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/extra/mariabackup/ |
H A D | ds_local.cc | 94 ds_local_file_t *local_file; in local_open() local 124 local_file->fd = fd; in local_open() 125 local_file->init_ibd_done = 0; in local_open() 127 local_file->compressed = 0; in local_open() 128 local_file->pagesize = 0; in local_open() 132 file->ptr = local_file; in local_open() 192 if (local_file->compressed) { in init_ibd_data() 196 local_file->compressed = 0; in init_ibd_data() 209 File fd = local_file->fd; in local_write() 211 if (local_file->is_ibd && !local_file->init_ibd_done) { in local_write() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/mariabackup/ |
H A D | ds_local.cc | 94 ds_local_file_t *local_file; in local_open() local 124 local_file->fd = fd; in local_open() 125 local_file->init_ibd_done = 0; in local_open() 127 local_file->compressed = 0; in local_open() 128 local_file->pagesize = 0; in local_open() 132 file->ptr = local_file; in local_open() 194 if (local_file->compressed) { in init_ibd_data() 198 local_file->compressed = 0; in init_ibd_data() 211 File fd = local_file->fd; in local_write() 213 if (local_file->is_ibd && !local_file->init_ibd_done) { in local_write() [all …]
|
/dports/devel/p5-Module-Release/Module-Release-2.128/t/ |
H A D | make_targets.t | 182 $release->local_file( undef ); 183 ok( ! defined $release->local_file, "Local file is not defined (good)" ); 195 is( $release->local_file, undef, "Local file is undef (good)" ); 207 $release->local_file( undef ); 209 ok( ! -e $release->local_file, "Local file does not exist (good)" ); 217 is( $release->local_file, 'foo.tar.gz', 'file name has right name' ); 220 ok( ! -e $release->local_file, "Local file does not exist (good)" ); 234 $release->local_file('not_there'); 235 ok( defined $release->local_file, "Local file is defined" ); 236 ok( ! -e $release->local_file, "Local file does not exist (good)" ); [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/ci/config/external/ |
H A D | mapper_spec.rb | 37 { include: local_file, 49 { include: { 'local' => local_file }, 133 { include: [remote_url, local_file], 145 { include: [{ remote: remote_url }, { local: local_file }], 156 { include: [{ remote: remote_url, local: local_file }], 181 { 'local' => local_file }, 182 { 'local' => local_file } 193 { include: { project: project.full_path, file: [local_file, local_file] } } 205 { 'local' => local_file }, 231 let(:full_local_file_path) { '$CI_PROJECT_PATH' + local_file } [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/tools/ |
H A D | trace_processor | 50 local_file = os.path.join(TRACE_PROCESSOR_SHELL_PATH, file_name) 52 if os.path.exists(local_file): 53 if not check_hash(local_file, sha_value): 54 os.remove(local_file) 56 return local_file 59 urllib.urlretrieve(url, local_file) 60 if not check_hash(local_file, sha_value): 61 os.remove(local_file) 63 os.chmod(local_file, 0o755) 64 return local_file
|
H A D | traceconv | 52 local_file = os.path.join(TRACE_TO_TEXT_PATH, file_name) 54 if os.path.exists(local_file): 55 if not check_hash(local_file, sha_value): 56 os.remove(local_file) 58 return local_file 61 urllib.urlretrieve(url, local_file) 62 if not check_hash(local_file, sha_value): 63 os.remove(local_file) 65 os.chmod(local_file, 0o755) 66 return local_file
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/tools/ |
H A D | trace_processor | 54 local_file = os.path.join(TRACE_PROCESSOR_SHELL_PATH, file_name) 56 if os.path.exists(local_file): 57 if not check_hash(local_file, sha_value): 58 os.remove(local_file) 60 return local_file 63 DownloadURL(url, local_file) 64 if not check_hash(local_file, sha_value): 65 os.remove(local_file) 67 os.chmod(local_file, 0o755) 68 return local_file
|
H A D | traceconv | 55 local_file = os.path.join(TRACE_TO_TEXT_PATH, file_name) 57 if os.path.exists(local_file): 58 if not check_hash(local_file, sha_value): 59 os.remove(local_file) 61 return local_file 64 DownloadURL(url, local_file) 65 if not check_hash(local_file, sha_value): 66 os.remove(local_file) 68 os.chmod(local_file, 0o755) 69 return local_file
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/xtrabackup/src/ |
H A D | ds_local.cc | 74 ds_local_file_t *local_file; in local_open() local 99 local_file = (ds_local_file_t *)(file + 1); in local_open() 101 local_file->fd = fd; in local_open() 102 local_file->last_seek = 0; in local_open() 107 file->ptr = local_file; in local_open() 114 File fd = local_file->fd; in local_write() 115 local_file->last_seek = 0; in local_write() 130 File fd = local_file->fd; in local_write_sparse() 153 local_file->last_seek = 0; in local_write_sparse() 160 File fd = local_file->fd; in local_close() [all …]
|
/dports/devel/bugzilla50/bugzilla-5.0.4/Bugzilla/ |
H A D | Update.pm | 24 my $local_file = bz_locations()->{'datadir'} . '/' . LOCAL_FILE; 27 if (!-e $local_file || (time() - (stat($local_file))[9] > TIME_INTERVAL)) { 28 unlink $local_file; # Make sure the old copy is away. 29 return { 'error' => 'no_update' } if (-e $local_file); 37 return { 'error' => 'no_access' } unless (-r $local_file); 40 $twig->safe_parsefile($local_file); 112 my $local_file = bz_locations()->{'datadir'} . '/' . LOCAL_FILE; 126 my $response = eval { $ua->mirror(REMOTE_FILE, $local_file) }; 133 if (-e $local_file) { 135 my $can_alter = utime(undef, undef, $local_file);
|
/dports/devel/bugzilla44/bugzilla-4.4.13/Bugzilla/ |
H A D | Update.pm | 22 my $local_file = bz_locations()->{'datadir'} . '/' . LOCAL_FILE; 25 if (!-e $local_file || (time() - (stat($local_file))[9] > TIME_INTERVAL)) { 26 unlink $local_file; # Make sure the old copy is away. 27 return { 'error' => 'no_update' } if (-e $local_file); 35 return { 'error' => 'no_access' } unless (-r $local_file); 38 $twig->safe_parsefile($local_file); 110 my $local_file = bz_locations()->{'datadir'} . '/' . LOCAL_FILE; 124 my $response = eval { $ua->mirror(REMOTE_FILE, $local_file) }; 131 if (-e $local_file) { 133 my $can_alter = utime(undef, undef, $local_file);
|
/dports/irc/dircproxy/dircproxy-dc563b3/src/ |
H A D | main.c | 162 free(local_file); in main() 163 local_file = x_strdup(optarg); in main() 188 if (!local_file && !inetd_mode) { in main() 199 free(local_file); in main() 205 free(local_file); in main() 206 local_file = 0; in main() 211 } else if (local_file) { in main() 216 free(local_file); in main() 219 config_file = x_strdup(local_file); in main() 224 if (!local_file) { in main() [all …]
|
/dports/sysutils/cluster-glue/Reusable-Cluster-Components-glue--0a7add1d9996/lrm/lrmd/ |
H A D | cib_secrets.c | 57 static char *read_local_file(char *local_file); 86 read_local_file(char *local_file) in read_local_file() argument 88 FILE *fp = fopen(local_file, "r"); in read_local_file() 95 , __FUNCTION__, __LINE__, local_file); in read_local_file() 101 , __FUNCTION__, __LINE__, local_file); in read_local_file() 119 char local_file[FILENAME_MAX+1], *start_pname; in replace_secret_params() local 136 if (snprintf(local_file, FILENAME_MAX, in replace_secret_params() 143 start_pname = local_file + strlen(local_file); in replace_secret_params() 154 if ((strlen(key) + strlen(local_file)) >= FILENAME_MAX-2) { in replace_secret_params() 162 secret_value = read_local_file(local_file); in replace_secret_params() [all …]
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/lib/common/ |
H A D | cib_secrets.c | 29 static char *read_local_file(char *local_file); 56 read_local_file(char *local_file) in read_local_file() argument 58 FILE *fp = fopen(local_file, "r"); in read_local_file() 64 crm_perror(LOG_ERR, "cannot open %s" , local_file); in read_local_file() 70 crm_perror(LOG_ERR, "cannot read %s", local_file); in read_local_file() 98 char local_file[FILENAME_MAX+1], *start_pname; in pcmk__substitute_secrets() local 119 if (snprintf(local_file, FILENAME_MAX, LRM_CIBSECRETS_DIR "/%s/", rsc_id) in pcmk__substitute_secrets() 125 start_pname = local_file + strlen(local_file); in pcmk__substitute_secrets() 135 if ((strlen(key) + strlen(local_file)) >= FILENAME_MAX-2) { in pcmk__substitute_secrets() 142 secret_value = read_local_file(local_file); in pcmk__substitute_secrets() [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/ci/config/external/file/ |
H A D | local_spec.rb | 35 expect(local_file).to be_matching 43 expect(local_file).not_to be_matching 51 expect(local_file).not_to be_matching 65 expect(local_file.valid?).to be_truthy 73 expect(local_file.valid?).to be_falsy 81 expect(local_file.valid?).to be_falsy 105 expect(local_file.content).to eq(local_file_content) 113 expect(local_file.content).to be_nil 122 expect(local_file.error_message).to eq("Local file `#{location}` does not exist!") 129 subject { local_file.send(:expand_context_attrs) } [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/lib/common/ |
H A D | cib_secrets.c | 30 static char *read_local_file(char *local_file); 58 read_local_file(char *local_file) in read_local_file() argument 60 FILE *fp = fopen(local_file, "r"); in read_local_file() 66 crm_perror(LOG_ERR, "cannot open %s" , local_file); in read_local_file() 72 crm_perror(LOG_ERR, "cannot read %s", local_file); in read_local_file() 105 char local_file[FILENAME_MAX+1], *start_pname; in do_replace_secret_params() local 134 if (snprintf(local_file, FILENAME_MAX, in do_replace_secret_params() 139 start_pname = local_file + strlen(local_file); in do_replace_secret_params() 149 if ((strlen(key) + strlen(local_file)) >= FILENAME_MAX-2) { in do_replace_secret_params() 156 secret_value = read_local_file(local_file); in do_replace_secret_params() [all …]
|
/dports/net-mgmt/py-junos-eznc/junos-eznc-2.5.4/lib/jnpr/junos/utils/ |
H A D | ftp.py | 44 def put(self, local_file, remote_path=None): argument 58 mat = re.search("^.*/(.*)$", local_file) 72 remote_file = os.path.join("/tmp/", local_file) 74 remote_file = os.path.join(remote_path, local_file) 76 with open(local_file, "rb") as open_local_file: 102 local_file = os.path.join(local_path, mat.group(1)) 104 local_file = local_path 106 local_file = local_path 108 with open(local_file, "wb") as local_fh:
|
/dports/sysutils/py-salt/salt-3004.1/salt/utils/ |
H A D | s3.py | 41 local_file=None, argument 137 if local_file: 172 if local_file: 174 fh = salt.utils.files.fopen(local_file, "rb") 232 if local_file: 235 local_file, path, err_code, err_msg 242 if local_file: 267 if local_file and method == "GET": 273 log.debug("Saving to local file: %s", local_file) 274 with salt.utils.files.fopen(local_file, "wb") as out: [all …]
|
/dports/graphics/py-imageio/imageio-2.9.0/imageio/core/ |
H A D | fetching.py | 156 local_file = None 167 local_file = open(temp_file_name, "wb") 170 if not local_file.closed: 171 local_file.close() 180 if local_file is not None: 181 if not local_file.closed: 182 local_file.close() 191 def _chunk_read(response, local_file, chunk_size=8192, initial_size=0): argument 224 _chunk_write(chunk, local_file, progress) 228 def _chunk_write(chunk, local_file, progress): argument [all …]
|