Home
last modified time | relevance | path

Searched refs:final_path (Results 1 – 25 of 207) sorted by relevance

123456789

/dports/math/mpsolve/mpsolve-3.2.1/src/tests/
H A Dcheck_implementation.c108 strcat (final_path, "/"); in get_pol_file()
110 strcat (final_path, "/"); in get_pol_file()
112 strcat (final_path, ".pol"); in get_pol_file()
114 return final_path; in get_pol_file()
142 strcat (final_path, "/"); in get_res_file()
143 strcat (final_path, ".."); in get_res_file()
144 strcat (final_path, "/"); in get_res_file()
146 strcat (final_path, "/"); in get_res_file()
148 strcat (final_path, "/"); in get_res_file()
150 strcat (final_path, ".res"); in get_res_file()
[all …]
/dports/www/py-django-storages/django-storages-1.9.1/storages/
H A Dutils.py61 final_path = base_path + '/'
63 _final_path = posixpath.normpath(posixpath.join(final_path, path))
65 if path.endswith('/') or _final_path + '/' == final_path:
67 final_path = _final_path
68 if final_path == base_path:
69 final_path += '/'
74 if (not final_path.startswith(base_path) or final_path[base_path_len] != '/'):
78 return final_path.lstrip('/')
/dports/misc/py-toil/toil-5.4.0/src/toil/lib/
H A Dio.py70 def atomic_tmp_file(final_path: str) -> str:
75 final_dir = os.path.dirname(os.path.normpath(final_path)) # can be empty
77 return final_path
78 final_basename = os.path.basename(final_path)
79 final_ext = os.path.splitext(final_path)[1]
84 def atomic_install(tmp_path, final_path) -> None: argument
86 if os.path.dirname(os.path.normpath(final_path)) != '/dev':
87 os.rename(tmp_path, final_path)
90 def AtomicFileCreate(final_path: str, keep: bool = False) -> Iterator[str]:
96 tmp_path = atomic_tmp_file(final_path)
[all …]
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/podcasts-gtk/src/
H A Dmanager.rs171 let final_path = format!("{}/{}.mp3", &fold2, episode.rowid()); in test_start_dl() localVariable
173 assert!(Path::new(&final_path).exists()); in test_start_dl()
174 fs::remove_file(final_path)?; in test_start_dl()
203 let final_path = format!("{}/{}.mp3", &download_fold, episode.rowid()); in test_dl_steal_the_stars() localVariable
204 assert!(Path::new(&final_path).exists()); in test_dl_steal_the_stars()
205 fs::remove_file(final_path)?; in test_dl_steal_the_stars()
/dports/sysutils/fcron/fcron-3.2.1/
H A Dsave.c377 save_file_safe(cf_t * file, char *final_path, char *prog_name, uid_t own_uid, in save_file_safe() argument
386 final_path_len = strlen(final_path); in save_file_safe()
387 strncpy(temp_path, final_path, sizeof(temp_path) - sizeof(tmp_str)); in save_file_safe()
393 if (rename_as_user(temp_path, final_path, own_uid, own_gid) != 0) { in save_file_safe()
394 error_e("Cannot rename %s to %s", temp_path, final_path); in save_file_safe()
399 "a valid copy) by %s manually.", final_path, temp_path); in save_file_safe()
400 if (save_one_file(file, final_path, own_uid, own_gid, save_date) == in save_file_safe()
407 "the previous version (if any) of %s.", prog_name, final_path, in save_file_safe()
408 final_path); in save_file_safe()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_assists/src/handlers/
H A Dunmerge_use.rs72 let final_path = paths.reduce(|prev, next| make::path_concat(next, prev))?; in resolve_full_path() localVariable
73 if final_path.segment().map_or(false, |it| it.self_token().is_some()) { in resolve_full_path()
74 final_path.qualifier() in resolve_full_path()
76 Some(final_path) in resolve_full_path()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_assists/src/handlers/
H A Dunmerge_use.rs73 let final_path = paths.fold1(|prev, next| make::path_concat(next, prev))?; in resolve_full_path() localVariable
74 if final_path.segment().map_or(false, |it| it.self_token().is_some()) { in resolve_full_path()
75 final_path.qualifier() in resolve_full_path()
77 Some(final_path) in resolve_full_path()
/dports/devel/sccache/sccache-0.2.15/src/dist/
H A Dpkg.rs400 let final_path = simplify_path(path)?; in tarify_path() localVariable
401 let mut components = final_path.components(); in tarify_path()
416 let mut final_path = PathBuf::new(); in simplify_path() localVariable
420 final_path.push(c) in simplify_path()
424 let is_symlink = fs::symlink_metadata(&final_path) in simplify_path()
431 final_path.pop(); in simplify_path()
436 Ok(final_path) in simplify_path()
/dports/games/minetest/minetest-5.4.1/src/content/
H A Dsubgames.cpp317 std::string final_path = path; in loadGameConfAndInitWorld() local
322 while (fs::PathExists(final_path) && counter < MAX_WORLD_NAMES) { in loadGameConfAndInitWorld()
323 final_path = path + "_" + std::to_string(counter); in loadGameConfAndInitWorld()
327 if (fs::PathExists(final_path)) { in loadGameConfAndInitWorld()
343 infostream << "Initializing world at " << final_path << std::endl; in loadGameConfAndInitWorld()
345 fs::CreateAllDirs(final_path); in loadGameConfAndInitWorld()
348 std::string worldmt_path = final_path + DIR_DELIM "world.mt"; in loadGameConfAndInitWorld()
366 std::string map_meta_path = final_path + DIR_DELIM + "map_meta.txt"; in loadGameConfAndInitWorld()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/cmake/modules/
H A DTensorFlowCompile.cmake1 function(tf_get_absolute_path path base final_path)
3 set(${final_path} ${path} PARENT_SCOPE)
5 set(${final_path} ${base}/${path} PARENT_SCOPE)
9 function(tf_get_model model final_path)
22 set(${final_path} ${CMAKE_CURRENT_BINARY_DIR}/${fname}_model/model PARENT_SCOPE)
25 set(${final_path} ${model_path} PARENT_SCOPE)
/dports/graphics/llvm-mesa/llvm-13.0.1.src/cmake/modules/
H A DTensorFlowCompile.cmake1 function(tf_get_absolute_path path base final_path)
3 set(${final_path} ${path} PARENT_SCOPE)
5 set(${final_path} ${base}/${path} PARENT_SCOPE)
9 function(tf_get_model model final_path)
22 set(${final_path} ${CMAKE_CURRENT_BINARY_DIR}/${fname}_model/model PARENT_SCOPE)
25 set(${final_path} ${model_path} PARENT_SCOPE)
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/cmake/modules/
H A DTensorFlowCompile.cmake1 function(tf_get_absolute_path path base final_path)
3 set(${final_path} ${path} PARENT_SCOPE)
5 set(${final_path} ${base}/${path} PARENT_SCOPE)
9 function(tf_get_model model final_path)
22 set(${final_path} ${CMAKE_CURRENT_BINARY_DIR}/${fname}_model/model PARENT_SCOPE)
25 set(${final_path} ${model_path} PARENT_SCOPE)
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/cmake/modules/
H A DTensorFlowCompile.cmake1 function(tf_get_absolute_path path base final_path)
3 set(${final_path} ${path} PARENT_SCOPE)
5 set(${final_path} ${base}/${path} PARENT_SCOPE)
9 function(tf_get_model model final_path)
22 set(${final_path} ${CMAKE_CURRENT_BINARY_DIR}/${fname}_model/model PARENT_SCOPE)
25 set(${final_path} ${model_path} PARENT_SCOPE)
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/cmake/modules/
H A DTensorFlowCompile.cmake1 function(tf_get_absolute_path path base final_path)
3 set(${final_path} ${path} PARENT_SCOPE)
5 set(${final_path} ${base}/${path} PARENT_SCOPE)
9 function(tf_get_model model final_path)
22 set(${final_path} ${CMAKE_CURRENT_BINARY_DIR}/${fname}_model/model PARENT_SCOPE)
25 set(${final_path} ${model_path} PARENT_SCOPE)
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/cmake/modules/
H A DTensorFlowCompile.cmake1 function(tf_get_absolute_path path base final_path)
3 set(${final_path} ${path} PARENT_SCOPE)
5 set(${final_path} ${base}/${path} PARENT_SCOPE)
9 function(tf_get_model model final_path)
22 set(${final_path} ${CMAKE_CURRENT_BINARY_DIR}/${fname}_model/model PARENT_SCOPE)
25 set(${final_path} ${model_path} PARENT_SCOPE)
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/build_scripts/platforms/
H A Dmacos.py136 final_path = os.path.join(qt_lib_path, webengine_process_path)
138 macos_fix_rpaths_for_library(final_path, rpath)
172 final_path = os.path.join(qt_libexec_path, binary)
174 macos_fix_rpaths_for_library(final_path, rpath)
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/build_scripts/platforms/
H A Dmacos.py136 final_path = os.path.join(qt_lib_path, webengine_process_path)
138 macos_fix_rpaths_for_library(final_path, rpath)
172 final_path = os.path.join(qt_libexec_path, binary)
174 macos_fix_rpaths_for_library(final_path, rpath)
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/build_scripts/platforms/
H A Dmacos.py136 final_path = os.path.join(qt_lib_path, webengine_process_path)
138 macos_fix_rpaths_for_library(final_path, rpath)
172 final_path = os.path.join(qt_libexec_path, binary)
174 macos_fix_rpaths_for_library(final_path, rpath)
/dports/misc/librepo/librepo-1.14.2/librepo/
H A Ddownloadtarget.c71 _cleanup_free_ gchar *final_path = NULL; in lr_downloadtarget_new() local
84 final_path = lr_url_substitute(path, handle->urlvars); in lr_downloadtarget_new()
87 final_path = g_strdup(path); in lr_downloadtarget_new()
96 target->path = g_string_chunk_insert(target->chunk, final_path); in lr_downloadtarget_new()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/systrace/systrace/
H A Doutput_generator.py119 final_path = os.path.abspath(output_file_name)
120 return final_path
148 final_path = os.path.abspath(output_file_name)
149 return final_path
/dports/devel/brz/breezy-3.2.0/breezy/
H A Dexport.py154 final_path = entry.name
157 final_path = path[len(subdir) + 1:]
161 final_path = path
165 yield final_path, path, entry
/dports/net-p2p/py-nicotine-plus/nicotine-plus-3.2.0/pynicotine/gtkgui/
H A Ddownloads.py125 final_path = transfer.path
127 final_path = downloaddir
129 final_path = incompletedir
133 open_file_path(final_path, command)
/dports/devel/brz/breezy-3.2.0/breezy/archive/
H A Dtar.py32 def prepare_tarball_item(tree, root, final_path, tree_path, entry, force_mtime=None): argument
45 filename = osutils.pathjoin(root, final_path)
96 for final_path, tree_path, entry in _export_iter_entries(tree, subdir):
98 tree, root, final_path, tree_path, entry, force_mtime)
/dports/www/ilias/ILIAS-5.4.25/Services/WorkflowEngine/classes/extractors/
H A Dclass.ilExtractorFactory.php25 $final_path = './' . $component . '/classes/';
26 $final_fullpath = $final_path . 'class.' . $extractor_class_name . '.php';
/dports/www/ilias6/ILIAS-6.14/Services/WorkflowEngine/classes/extractors/
H A Dclass.ilExtractorFactory.php25 $final_path = './' . $component . '/classes/';
26 $final_fullpath = $final_path . 'class.' . $extractor_class_name . '.php';

123456789