| /NextBSD/sys/compat/linsysfs/ |
| HD | linsysfs.c | 148 char *device, *host, *new_path = path; in linsysfs_run_bus() local 159 new_path = malloc(MAXPATHLEN, M_TEMP, in linsysfs_run_bus() 161 new_path[0] = '\000'; in linsysfs_run_bus() 162 strcpy(new_path, path); in linsysfs_run_bus() 170 strcat(new_path, "/"); in linsysfs_run_bus() 171 strcat(new_path, device); in linsysfs_run_bus() 178 strcat(new_path, "/"); in linsysfs_run_bus() 179 strcat(new_path, host); in linsysfs_run_bus() 186 strlen(new_path) + 1, in linsysfs_run_bus() 189 bcopy(new_path, scsi_host->path, in linsysfs_run_bus() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Target/ |
| HD | PathMappingList.cpp | 181 PathMappingList::RemapPath (const ConstString &path, ConstString &new_path) const in RemapPath() 197 new_path.SetCString(new_path_str.c_str()); in RemapPath() 205 PathMappingList::RemapPath (const char *path, std::string &new_path) const in RemapPath() 217 new_path = pos->second.GetCString(); in RemapPath() 218 new_path.append(path + prefix_len); in RemapPath() 231 char new_path[PATH_MAX]; in FindFile() local 244 …const size_t new_path_len = snprintf(new_path, sizeof(new_path), "%s/%s", pos->second.GetCString()… in FindFile() 245 if (new_path_len < sizeof(new_path)) in FindFile() 247 new_spec.SetFile (new_path, true); in FindFile() 261 PathMappingList::Replace (const ConstString &path, const ConstString &new_path, bool notify) in Replace() argument [all …]
|
| HD | ProcessLaunchInfo.cpp | 439 std::string new_path("PATH=\""); in ConvertArgumentsForLaunchingInShell() local 440 const size_t empty_path_len = new_path.size(); in ConvertArgumentsForLaunchingInShell() 444 new_path += working_dir.GetPath(); in ConvertArgumentsForLaunchingInShell() 451 new_path += cwd; in ConvertArgumentsForLaunchingInShell() 456 if (new_path.size() > empty_path_len) in ConvertArgumentsForLaunchingInShell() 457 new_path += ':'; in ConvertArgumentsForLaunchingInShell() 458 new_path += curr_path; in ConvertArgumentsForLaunchingInShell() 460 new_path += "\" "; in ConvertArgumentsForLaunchingInShell() 461 shell_command.PutCString(new_path.c_str()); in ConvertArgumentsForLaunchingInShell()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Host/common/ |
| HD | FileSpec.cpp | 1292 FileSpec::CopyByAppendingPathComponent (const char *new_path) const in CopyByAppendingPathComponent() 1296 return FileSpec(new_path,resolve); in CopyByAppendingPathComponent() 1299 stream.Printf("%s/%s",m_directory.GetCString(),new_path); in CopyByAppendingPathComponent() 1301 stream.Printf("%s/%s",m_filename.GetCString(),new_path); in CopyByAppendingPathComponent() 1303 stream.Printf("%s/%s/%s",m_directory.GetCString(), m_filename.GetCString(),new_path); in CopyByAppendingPathComponent() 1327 ConstString new_path(dir_cstr,last_slash_pos); in CopyByRemovingLastPathComponent() local 1328 return FileSpec(new_path.GetCString(),resolve); in CopyByRemovingLastPathComponent() 1370 FileSpec::PrependPathComponent(const char *new_path) in PrependPathComponent() argument 1372 if (!new_path) return; in PrependPathComponent() 1376 SetFile(new_path, resolve); in PrependPathComponent() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Host/ |
| HD | FileSpec.h | 749 CopyByAppendingPathComponent (const char *new_path) const; 755 PrependPathComponent(const char *new_path); 758 PrependPathComponent(const std::string &new_path); 761 PrependPathComponent(const FileSpec &new_path); 764 AppendPathComponent(const char *new_path); 767 AppendPathComponent(const std::string &new_path); 770 AppendPathComponent(const FileSpec &new_path);
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Target/ |
| HD | PathMappingList.h | 72 GetPathsAtIndex (uint32_t idx, ConstString &path, ConstString &new_path) const; 97 RemapPath (const ConstString &path, ConstString &new_path) const; 117 RemapPath (const char *path, std::string &new_path) const;
|
| /NextBSD/sys/cam/ |
| HD | cam_xpt.h | 126 cam_status xpt_compile_path(struct cam_path *new_path, 131 cam_status xpt_clone_path(struct cam_path **new_path, 133 void xpt_copy_path(struct cam_path *new_path,
|
| HD | cam_xpt.c | 3405 xpt_compile_path(struct cam_path *new_path, struct cam_periph *perph, in xpt_compile_path() argument 3464 new_path->periph = perph; in xpt_compile_path() 3465 new_path->bus = bus; in xpt_compile_path() 3466 new_path->target = target; in xpt_compile_path() 3467 new_path->device = device; in xpt_compile_path() 3468 CAM_DEBUG(new_path, CAM_DEBUG_TRACE, ("xpt_compile_path\n")); in xpt_compile_path() 3483 struct cam_path *new_path; in xpt_clone_path() local 3485 new_path = (struct cam_path *)malloc(sizeof(*path), M_CAMPATH, M_NOWAIT); in xpt_clone_path() 3486 if (new_path == NULL) in xpt_clone_path() 3488 xpt_copy_path(new_path, path); in xpt_clone_path() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_client/ |
| HD | diff.c | 139 const char *new_path = *index_path; in adjust_paths_for_diff_labels() local 144 new_path = svn_dirent_join(anchor, new_path, result_pool); in adjust_paths_for_diff_labels() 149 const char *child_path = svn_dirent_is_child(relative_to_dir, new_path, in adjust_paths_for_diff_labels() 153 new_path = child_path; in adjust_paths_for_diff_labels() 154 else if (! strcmp(relative_to_dir, new_path)) in adjust_paths_for_diff_labels() 155 new_path = "."; in adjust_paths_for_diff_labels() 157 return MAKE_ERR_BAD_RELATIVE_PATH(new_path, relative_to_dir); in adjust_paths_for_diff_labels() 201 if (new_path[0] == '\0') in adjust_paths_for_diff_labels() 202 new_path = "."; in adjust_paths_for_diff_labels() 205 new_path1 = new_path; in adjust_paths_for_diff_labels() [all …]
|
| HD | 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_rename(local_abspath, new_path, scratch_pool); in relegate_dir_external() 131 notify = svn_wc_create_notify(err ? local_abspath : new_path, in relegate_dir_external()
|
| /NextBSD/sys/cam/scsi/ |
| HD | scsi_targ_bh.c | 176 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()
|
| HD | scsi_xpt.c | 2262 struct cam_path *new_path; in scsi_scan_lun() local 2299 status = xpt_create_path(&new_path, NULL, in scsi_scan_lun() 2309 xpt_setup_ccb(&request_ccb->ccb_h, new_path, CAM_PRIORITY_XPT); in scsi_scan_lun()
|
| /NextBSD/contrib/subversion/subversion/svnlook/ |
| HD | svnlook.c | 836 const char *orig_path = NULL, *new_path = NULL; in print_diff_tree() local 901 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree() 910 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree() 919 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree() 926 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary, in print_diff_tree() 1017 orig_path, new_path, in print_diff_tree() 1054 new_path, opts, pool)); in print_diff_tree() 1071 out_stream, diff, orig_path, new_path, in print_diff_tree() 1097 if (new_path) in print_diff_tree() 1098 SVN_ERR(svn_io_remove_file2(new_path, FALSE, pool)); in print_diff_tree()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Commands/ |
| HD | CommandObjectProcess.cpp | 570 char new_path[PATH_MAX]; in DoExecute() local 577 new_exec_module_sp->GetFileSpec().GetPath(new_path, PATH_MAX); in DoExecute() 578 result.AppendMessageWithFormat("Executable module set to \"%s\".\n", new_path); in DoExecute() 586 new_exec_module_sp->GetFileSpec().GetPath (new_path, PATH_MAX); in DoExecute() 589 old_path, new_path); in DoExecute()
|
| /NextBSD/contrib/subversion/subversion/libsvn_subr/ |
| HD | dirent_uri.c | 2408 char *new_path = apr_pcalloc(pool, 4); in svn_uri_get_dirent_from_file_url() local 2409 new_path[0] = dup_path[0]; in svn_uri_get_dirent_from_file_url() 2410 new_path[1] = ':'; in svn_uri_get_dirent_from_file_url() 2411 new_path[2] = '/'; in svn_uri_get_dirent_from_file_url() 2412 new_path[3] = '\0'; in svn_uri_get_dirent_from_file_url() 2413 dup_path = new_path; in svn_uri_get_dirent_from_file_url()
|
| HD | mergeinfo.c | 2200 const char *new_path; in svn_mergeinfo__remove_prefix_from_catalog() local 2202 new_path = svn_fspath__skip_ancestor(prefix_path, original_path); in svn_mergeinfo__remove_prefix_from_catalog() 2203 SVN_ERR_ASSERT(new_path); in svn_mergeinfo__remove_prefix_from_catalog() 2205 svn_hash_sets(*out_catalog, new_path, value); in svn_mergeinfo__remove_prefix_from_catalog()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Core/ |
| HD | Module.cpp | 1497 std::string new_path(file.GetPath()); in SetSymbolFileFileSpec() local 1499 if (old_path.find(new_path) == 0) in SetSymbolFileFileSpec() 1718 Module::RemapSourceFile (const char *path, std::string &new_path) const in RemapSourceFile() 1721 return m_source_mappings.RemapPath(path, new_path); in RemapSourceFile()
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/ |
| HD | Module.h | 1042 RemapSourceFile (const char *path, std::string &new_path) const;
|
| /NextBSD/contrib/apr/include/ |
| HD | apr_file_io.h | 781 APR_DECLARE(apr_status_t) apr_file_name_get(const char **new_path,
|
| /NextBSD/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| HD | ipoib_main.c | 653 int new_path = 0; in ipoib_unicast_send() local 657 new_path = 1; in ipoib_unicast_send() 663 if (new_path) in ipoib_unicast_send()
|
| /NextBSD/sys/cam/ata/ |
| HD | ata_xpt.c | 1485 struct cam_path *new_path; in ata_scan_lun() local 1510 status = xpt_create_path(&new_path, NULL, in ata_scan_lun() 1520 xpt_setup_ccb(&request_ccb->ccb_h, new_path, CAM_PRIORITY_XPT); in ata_scan_lun()
|