| /freebsd-13.1/sys/compat/linsysfs/ |
| H A D | linsysfs.c | 416 new_path = path; in linsysfs_run_bus() 430 new_path[0] = '\000'; in linsysfs_run_bus() 431 strcpy(new_path, path); in linsysfs_run_bus() 439 strcat(new_path, "/"); in linsysfs_run_bus() 440 strcat(new_path, device); in linsysfs_run_bus() 481 strcat(new_path, "/"); in linsysfs_run_bus() 482 strcat(new_path, host); in linsysfs_run_bus() 489 strlen(new_path) + 1, in linsysfs_run_bus() 493 strlen(new_path) + 1); in linsysfs_run_bus() 556 if (new_path != path) in linsysfs_run_bus() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | ProcessLaunchInfo.cpp | 279 std::string new_path("PATH=\""); in ConvertArgumentsForLaunchingInShell() local 280 const size_t empty_path_len = new_path.size(); in ConvertArgumentsForLaunchingInShell() 283 new_path += working_dir.GetPath(); in ConvertArgumentsForLaunchingInShell() 287 new_path += cwd; in ConvertArgumentsForLaunchingInShell() 291 if (new_path.size() > empty_path_len) in ConvertArgumentsForLaunchingInShell() 292 new_path += ':'; in ConvertArgumentsForLaunchingInShell() 293 new_path += curr_path; in ConvertArgumentsForLaunchingInShell() 295 new_path += "\" "; in ConvertArgumentsForLaunchingInShell() 296 shell_command.PutCString(new_path); in ConvertArgumentsForLaunchingInShell()
|
| /freebsd-13.1/share/zoneinfo/tests/ |
| H A D | zoneinfo_common.sh | 47 new_path=$ZONEINFO_DIR/$dest 49 atf_check test -f $new_path 52 atf_check cmp $old_path $new_path
|
| /freebsd-13.1/tests/sys/cddl/zfs/tests/inheritance/ |
| H A D | inherit_001_pos.ksh | 192 typeset new_path="" 211 new_path="/"$mod_prop_val$new_path 215 mntpt=$new_path"/"$obj_name 230 typeset new_path=""
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/ |
| H A D | inherit_001_pos.ksh | 179 typeset new_path="" 205 new_path="/"$mod_prop_val$new_path 209 mntpt=$new_path"/"$obj_name 224 typeset new_path=""
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | PathMappingList.cpp | 147 ConstString &new_path) const { in RemapPath() 149 new_path.SetString(remapped->GetPath()); in RemapPath() 228 ConstString new_path, bool notify) { in Replace() argument 232 m_pairs[idx].second = new_path; in Replace() 279 ConstString &new_path) const { in GetPathsAtIndex() 282 new_path = m_pairs[idx].second; in GetPathsAtIndex()
|
| /freebsd-13.1/contrib/capsicum-test/ |
| H A D | capsicum-test-main.cc | 89 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.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 422 llvm::SmallString<64> new_path(component); in PrependPathComponent() local 425 llvm::sys::path::append(new_path, in PrependPathComponent() 428 SetFile(new_path, m_style); in PrependPathComponent() 431 void FileSpec::PrependPathComponent(const FileSpec &new_path) { in PrependPathComponent() argument 432 return PrependPathComponent(new_path.GetPath(false)); in PrependPathComponent() 442 void FileSpec::AppendPathComponent(const FileSpec &new_path) { in AppendPathComponent() argument 443 return AppendPathComponent(new_path.GetPath(false)); in AppendPathComponent()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | PathMappingList.h | 50 ConstString &new_path) const; 64 bool RemapPath(ConstString path, ConstString &new_path) const;
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_client/ |
| H A D | diff.c | 190 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() 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() 266 new_path2 = new_path; in adjust_paths_for_diff_labels() [all …]
|
| H A D | externals.c | 78 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.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_win.cpp | 289 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseSymbolizerTools() local 290 SubstituteForFlagValue(user_path, new_path, kMaxPathLength); in ChooseSymbolizerTools() 291 user_path = new_path; in ChooseSymbolizerTools()
|
| H A D | sanitizer_symbolizer_posix_libcdep.cpp | 405 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseExternalSymbolizer() local 406 SubstituteForFlagValue(path, new_path, kMaxPathLength); in ChooseExternalSymbolizer() 407 path = new_path; in ChooseExternalSymbolizer()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | FileSpec.h | 386 void PrependPathComponent(const FileSpec &new_path); 389 void AppendPathComponent(const FileSpec &new_path);
|
| /freebsd-13.1/sys/cam/ |
| H A D | cam_xpt.h | 135 cam_status xpt_compile_path(struct cam_path *new_path, 140 cam_status xpt_clone_path(struct cam_path **new_path,
|
| H A D | cam_xpt.c | 3560 xpt_compile_path(struct cam_path *new_path, struct cam_periph *perph, in xpt_compile_path() argument 3619 new_path->periph = perph; in xpt_compile_path() 3620 new_path->bus = bus; in xpt_compile_path() 3621 new_path->target = target; in xpt_compile_path() 3622 new_path->device = device; in xpt_compile_path() 3623 CAM_DEBUG(new_path, CAM_DEBUG_TRACE, ("xpt_compile_path\n")); in xpt_compile_path() 3638 struct cam_path *new_path; in xpt_clone_path() local 3640 new_path = (struct cam_path *)malloc(sizeof(*path), M_CAMPATH, M_NOWAIT); in xpt_clone_path() 3641 if (new_path == NULL) in xpt_clone_path() 3643 *new_path = *path; in xpt_clone_path() [all …]
|
| /freebsd-13.1/sys/cam/scsi/ |
| H A D | scsi_targ_bh.c | 178 struct cam_path *new_path; in targbhasync() local 192 status = xpt_create_path(&new_path, NULL, in targbhasync() 211 new_path, targbhasync, in targbhasync() 220 if ((periph = cam_periph_find(new_path, "targbh")) != NULL) in targbhasync() 227 xpt_free_path(new_path); in targbhasync()
|
| /freebsd-13.1/contrib/subversion/subversion/svnlook/ |
| H A D | svnlook.c | 857 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.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | dirent_uri.c | 2554 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()
|
| H A D | mergeinfo.c | 2147 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.1/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectProcess.cpp | 421 char new_path[PATH_MAX]; in DoExecute() local 426 new_exec_module_sp->GetFileSpec().GetPath(new_path, PATH_MAX); in DoExecute() 428 new_path); in DoExecute() 435 new_exec_module_sp->GetFileSpec().GetPath(new_path, PATH_MAX); in DoExecute() 439 new_path); in DoExecute()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_fs_x/ |
| H A D | revprops.c | 1181 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.1/contrib/apr/include/ |
| H A D | apr_file_io.h | 813 APR_DECLARE(apr_status_t) apr_file_name_get(const char **new_path,
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_main.c | 679 int new_path = 0; in ipoib_unicast_send() local 683 new_path = 1; in ipoib_unicast_send() 694 if (new_path) in ipoib_unicast_send()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | Module.cpp | 1426 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec() local 1428 if (llvm::StringRef(old_path).startswith(new_path)) { in SetSymbolFileFileSpec()
|