Home
last modified time | relevance | path

Searched refs:new_path (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/common/
HDProcessLaunchInfo.cpp267 std::string new_path("PATH=\""); in ConvertArgumentsForLaunchingInShell() local
268 const size_t empty_path_len = new_path.size(); in ConvertArgumentsForLaunchingInShell()
271 new_path += working_dir.GetPath(); in ConvertArgumentsForLaunchingInShell()
275 new_path += cwd; in ConvertArgumentsForLaunchingInShell()
279 if (new_path.size() > empty_path_len) in ConvertArgumentsForLaunchingInShell()
280 new_path += ':'; in ConvertArgumentsForLaunchingInShell()
281 new_path += curr_path; in ConvertArgumentsForLaunchingInShell()
283 new_path += "\" "; in ConvertArgumentsForLaunchingInShell()
284 shell_command.PutCString(new_path); in ConvertArgumentsForLaunchingInShell()
/freebsd-13-stable/sys/compat/linsysfs/
HDlinsysfs.c412 char *device, *host, *new_path, *devname; in linsysfs_run_bus() local
414 new_path = path; in linsysfs_run_bus()
426 new_path = malloc(MAXPATHLEN, M_TEMP, in linsysfs_run_bus()
428 new_path[0] = '\000'; in linsysfs_run_bus()
429 strcpy(new_path, path); in linsysfs_run_bus()
437 strcat(new_path, "/"); in linsysfs_run_bus()
438 strcat(new_path, device); in linsysfs_run_bus()
479 strcat(new_path, "/"); in linsysfs_run_bus()
480 strcat(new_path, host); in linsysfs_run_bus()
487 strlen(new_path) + 1, in linsysfs_run_bus()
[all …]
/freebsd-13-stable/share/zoneinfo/tests/
HDzoneinfo_common.sh46 new_path=$ZONEINFO_DIR/$dest
48 atf_check test -f $new_path
51 atf_check cmp $old_path $new_path
/freebsd-13-stable/tests/sys/cddl/zfs/tests/inheritance/
HDinherit_001_pos.ksh190 typeset new_path=""
209 new_path="/"$mod_prop_val$new_path
213 mntpt=$new_path"/"$obj_name
228 typeset new_path=""
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/
HDinherit_001_pos.ksh180 typeset new_path=""
206 new_path="/"$mod_prop_val$new_path
210 mntpt=$new_path"/"$obj_name
225 typeset new_path=""
/freebsd-13-stable/contrib/capsicum-test/
HDcapsicum-test-main.cc89 char *new_path, *old_path; in AddDirectoryToPath() local
94 assert(asprintf(&new_path, "%s:%s", dir, old_path) > 0); in AddDirectoryToPath()
95 assert(setenv("PATH", new_path, 1) == 0); in AddDirectoryToPath()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
HDFileSpec.cpp434 llvm::SmallString<64> new_path(component); in PrependPathComponent() local
437 llvm::sys::path::append(new_path, in PrependPathComponent()
440 SetFile(new_path, m_style); in PrependPathComponent()
443 void FileSpec::PrependPathComponent(const FileSpec &new_path) { in PrependPathComponent() argument
444 return PrependPathComponent(new_path.GetPath(false)); in PrependPathComponent()
454 void FileSpec::AppendPathComponent(const FileSpec &new_path) { in AppendPathComponent() argument
455 return AppendPathComponent(new_path.GetPath(false)); in AppendPathComponent()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/
HDPathMappingList.cpp177 ConstString &new_path) const { in RemapPath()
179 new_path.SetString(remapped->GetPath()); in RemapPath()
265 bool PathMappingList::Replace(llvm::StringRef path, llvm::StringRef new_path, in Replace() argument
271 m_pairs[idx].second = ConstString(new_path); in Replace()
321 ConstString &new_path) const { in GetPathsAtIndex()
325 new_path = m_pairs[idx].second; in GetPathsAtIndex()
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/
HDPathMappingList.h66 ConstString &new_path) const;
79 bool RemapPath(ConstString path, ConstString &new_path) const;
/freebsd-13-stable/contrib/subversion/subversion/libsvn_client/
HDdiff.c190 const char *new_path = relpath; in adjust_paths_for_diff_labels() local
195 new_path = svn_dirent_join(anchor, new_path, result_pool); in adjust_paths_for_diff_labels()
200 const char *child_path = svn_dirent_is_child(relative_to_dir, new_path, in adjust_paths_for_diff_labels()
204 new_path = child_path; in adjust_paths_for_diff_labels()
205 else if (! strcmp(relative_to_dir, new_path)) in adjust_paths_for_diff_labels()
206 new_path = "."; in adjust_paths_for_diff_labels()
208 return MAKE_ERR_BAD_RELATIVE_PATH(new_path, relative_to_dir); in adjust_paths_for_diff_labels()
253 if (new_path[0] == '\0') in adjust_paths_for_diff_labels()
254 new_path = "."; in adjust_paths_for_diff_labels()
257 new_path1 = new_path; in adjust_paths_for_diff_labels()
[all …]
HDexternals.c78 const char *new_path; in relegate_dir_external() local
86 SVN_ERR(svn_io_open_uniquely_named(NULL, &new_path, in relegate_dir_external()
110 svn_error_clear(svn_io_remove_file2(new_path, TRUE, scratch_pool)); in relegate_dir_external()
114 err = svn_wc__rename_wc(wc_ctx, local_abspath, new_path, in relegate_dir_external()
123 err = svn_io_file_rename2(local_abspath, new_path, FALSE, scratch_pool); in relegate_dir_external()
131 notify = svn_wc_create_notify(err ? local_abspath : new_path, in relegate_dir_external()
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_symbolizer_win.cpp285 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseSymbolizerTools() local
286 SubstituteForFlagValue(user_path, new_path, kMaxPathLength); in ChooseSymbolizerTools()
287 user_path = new_path; in ChooseSymbolizerTools()
HDsanitizer_symbolizer_posix_libcdep.cpp413 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseExternalSymbolizer() local
414 SubstituteForFlagValue(path, new_path, kMaxPathLength); in ChooseExternalSymbolizer()
415 path = new_path; in ChooseExternalSymbolizer()
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/
HDFileSpec.h384 void PrependPathComponent(const FileSpec &new_path);
387 void AppendPathComponent(const FileSpec &new_path);
/freebsd-13-stable/sys/cam/
HDcam_xpt.h133 cam_status xpt_compile_path(struct cam_path *new_path,
138 cam_status xpt_clone_path(struct cam_path **new_path,
HDcam_xpt.c3562 xpt_compile_path(struct cam_path *new_path, struct cam_periph *perph, in xpt_compile_path() argument
3621 new_path->periph = perph; in xpt_compile_path()
3622 new_path->bus = bus; in xpt_compile_path()
3623 new_path->target = target; in xpt_compile_path()
3624 new_path->device = device; in xpt_compile_path()
3625 CAM_DEBUG(new_path, CAM_DEBUG_TRACE, ("xpt_compile_path\n")); in xpt_compile_path()
3640 struct cam_path *new_path; in xpt_clone_path() local
3642 new_path = (struct cam_path *)malloc(sizeof(*path), M_CAMPATH, M_NOWAIT); in xpt_clone_path()
3643 if (new_path == NULL) in xpt_clone_path()
3645 *new_path = *path; in xpt_clone_path()
[all …]
/freebsd-13-stable/sys/cam/scsi/
HDscsi_targ_bh.c176 struct cam_path *new_path; in targbhasync() local
190 status = xpt_create_path(&new_path, NULL, in targbhasync()
209 new_path, targbhasync, in targbhasync()
218 if ((periph = cam_periph_find(new_path, "targbh")) != NULL) in targbhasync()
225 xpt_free_path(new_path); in targbhasync()
/freebsd-13-stable/contrib/subversion/subversion/svnlook/
HDsvnlook.c857 const char *orig_path = NULL, *new_path = NULL; in print_diff_tree() local
922 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree()
931 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree()
940 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree()
947 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree()
1038 orig_path, new_path, in print_diff_tree()
1075 new_path, opts, pool)); in print_diff_tree()
1092 out_stream, diff, orig_path, new_path, in print_diff_tree()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
HDdirent_uri.c2554 char *new_path = apr_pcalloc(pool, 4); in svn_uri_get_dirent_from_file_url() local
2555 new_path[0] = dup_path[0]; in svn_uri_get_dirent_from_file_url()
2556 new_path[1] = ':'; in svn_uri_get_dirent_from_file_url()
2557 new_path[2] = '/'; in svn_uri_get_dirent_from_file_url()
2558 new_path[3] = '\0'; in svn_uri_get_dirent_from_file_url()
2559 dup_path = new_path; in svn_uri_get_dirent_from_file_url()
HDmergeinfo.c2147 const char *new_path; in svn_mergeinfo__remove_prefix_from_catalog() local
2149 new_path = svn_fspath__skip_ancestor(prefix_path, original_path); in svn_mergeinfo__remove_prefix_from_catalog()
2150 SVN_ERR_ASSERT(new_path); in svn_mergeinfo__remove_prefix_from_catalog()
2152 svn_hash_sets(*out_catalog, new_path, value); in svn_mergeinfo__remove_prefix_from_catalog()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Commands/
HDCommandObjectProcess.cpp372 char new_path[PATH_MAX]; in DoExecute() local
377 new_exec_module_sp->GetFileSpec().GetPath(new_path, PATH_MAX); in DoExecute()
379 new_path); in DoExecute()
386 new_exec_module_sp->GetFileSpec().GetPath(new_path, PATH_MAX); in DoExecute()
390 new_path); in DoExecute()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_x/
HDrevprops.c1181 const char *new_path; in repack_file_open() local
1206 SVN_ERR(svn_sort__array_insert2(revprops->manifest, &new_path, idx + 1)); in repack_file_open()
1209 new_path = get_revprop_pack_filepath(revprops, &new_entry, scratch_pool); in repack_file_open()
1210 SVN_ERR(svn_fs_x__batch_fsync_open_file(file, batch, new_path, in repack_file_open()
/freebsd-13-stable/contrib/apr/include/
HDapr_file_io.h813 APR_DECLARE(apr_status_t) apr_file_name_get(const char **new_path,
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
HDipoib_main.c677 int new_path = 0; in ipoib_unicast_send() local
681 new_path = 1; in ipoib_unicast_send()
692 if (new_path) in ipoib_unicast_send()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Core/
HDModule.cpp1369 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec() local
1371 if (llvm::StringRef(old_path).starts_with(new_path)) { in SetSymbolFileFileSpec()

12