Searched refs:new_path (Results 1 - 21 of 21) sorted by relevance

/freebsd-10.1-release/sys/compat/linsysfs/
H A Dlinsysfs.c153 char *device, *host, *new_path = path; local
164 new_path = malloc(MAXPATHLEN, M_TEMP,
166 new_path[0] = '\000';
167 strcpy(new_path, path);
175 strcat(new_path, "/");
176 strcat(new_path, device);
183 strcat(new_path, "/");
184 strcat(new_path, host);
191 strlen(new_path) + 1,
194 bcopy(new_path, scsi_hos
[all...]
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Target/
H A DPathMappingList.cpp181 PathMappingList::RemapPath (const ConstString &path, ConstString &new_path) const
197 new_path.SetCString(new_path_str.c_str());
205 PathMappingList::RemapPath (const char *path, std::string &new_path) const
217 new_path = pos->second.GetCString();
218 new_path.append(path + prefix_len);
231 char new_path[PATH_MAX]; local
244 const size_t new_path_len = snprintf(new_path, sizeof(new_path), "%s/%s", pos->second.GetCString(), orig_path + prefix_len);
245 if (new_path_len < sizeof(new_path))
247 new_spec.SetFile (new_path, tru
261 Replace(const ConstString &path, const ConstString &new_path, bool notify) argument
[all...]
H A DProcess.cpp544 std::string new_path("PATH=\"");
545 const size_t empty_path_len = new_path.size();
549 new_path += working_dir;
556 new_path += cwd;
561 if (new_path.size() > empty_path_len)
562 new_path += ':';
563 new_path += curr_path;
565 new_path += "\" ";
566 shell_command.PutCString(new_path.c_str());
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Target/
H A DPathMappingList.h72 GetPathsAtIndex (uint32_t idx, ConstString &path, ConstString &new_path) const;
97 RemapPath (const ConstString &path, ConstString &new_path) const;
100 /// Remaps a source file given \a path into \a new_path.
109 /// @param[out] new_path
113 /// /b true if \a path was successfully located and \a new_path
117 RemapPath (const char *path, std::string &new_path) const;
/freebsd-10.1-release/sys/cam/
H A Dcam_xpt.h123 cam_status xpt_compile_path(struct cam_path *new_path,
128 cam_status xpt_clone_path(struct cam_path **new_path,
130 void xpt_copy_path(struct cam_path *new_path,
H A Dcam_xpt.c3380 xpt_compile_path(struct cam_path *new_path, struct cam_periph *perph, argument
3439 new_path->periph = perph;
3440 new_path->bus = bus;
3441 new_path->target = target;
3442 new_path->device = device;
3443 CAM_DEBUG(new_path, CAM_DEBUG_TRACE, ("xpt_compile_path\n"));
3458 struct cam_path *new_path; local
3460 new_path = (struct cam_path *)malloc(sizeof(*path), M_CAMPATH, M_NOWAIT);
3461 if (new_path == NULL)
3463 xpt_copy_path(new_path, pat
3469 xpt_copy_path(struct cam_path *new_path, struct cam_path *path) argument
[all...]
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Host/
H A DFileSpec.h643 CopyByAppendingPathComponent (const char *new_path) const;
649 AppendPathComponent (const char *new_path);
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Host/common/
H A DFileSpec.cpp1132 FileSpec::CopyByAppendingPathComponent (const char *new_path) const
1136 return FileSpec(new_path,resolve);
1139 stream.Printf("%s/%s",m_directory.GetCString(),new_path);
1141 stream.Printf("%s/%s",m_filename.GetCString(),new_path);
1143 stream.Printf("%s/%s/%s",m_directory.GetCString(), m_filename.GetCString(),new_path);
1167 ConstString new_path(dir_cstr,last_slash_pos);
1168 return FileSpec(new_path.GetCString(),resolve);
1210 FileSpec::AppendPathComponent (const char *new_path) argument
1215 SetFile(new_path,resolve);
1220 stream.Printf("%s/%s",m_directory.GetCString(),new_path);
[all...]
/freebsd-10.1-release/sys/cam/scsi/
H A Dscsi_targ_bh.c176 struct cam_path *new_path; local
190 status = xpt_create_path(&new_path, NULL,
209 new_path, targbhasync,
218 if ((periph = cam_periph_find(new_path, "targbh")) != NULL)
225 xpt_free_path(new_path);
H A Dscsi_xpt.c2245 struct cam_path *new_path; local
2282 status = xpt_create_path(&new_path, NULL,
2292 xpt_setup_ccb(&request_ccb->ccb_h, new_path, CAM_PRIORITY_XPT);
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_client/
H A Ddiff.c155 const char *new_path = *index_path;
160 new_path = svn_dirent_join(anchor, new_path, result_pool);
165 const char *child_path = svn_dirent_is_child(relative_to_dir, new_path,
169 new_path = child_path;
170 else if (! strcmp(relative_to_dir, new_path))
171 new_path = ".";
173 return MAKE_ERR_BAD_RELATIVE_PATH(new_path, relative_to_dir);
220 if (new_path[0] == '\0')
221 new_path
153 const char *new_path = *index_path; local
[all...]
H A Dexternals.c78 const char *new_path; local
86 SVN_ERR(svn_io_open_uniquely_named(NULL, &new_path,
110 svn_error_clear(svn_io_remove_file2(new_path, TRUE, scratch_pool));
114 err = svn_wc__rename_wc(wc_ctx, local_abspath, new_path,
123 err = svn_io_file_rename(local_abspath, new_path, scratch_pool);
131 notify = svn_wc_create_notify(err ? local_abspath : new_path,
/freebsd-10.1-release/contrib/subversion/subversion/svnlook/
H A Dsvnlook.c832 const char *orig_path = NULL, *new_path = NULL;
897 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary,
906 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary,
915 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary,
922 SVN_ERR(prepare_tmpfiles(&orig_path, &new_path, &binary,
1013 orig_path, new_path,
1050 new_path, opts, pool));
1067 (out_stream, diff, orig_path, new_path,
1092 if (new_path)
1093 SVN_ERR(svn_io_remove_file2(new_path, FALS
827 const char *orig_path = NULL, *new_path = NULL; local
[all...]
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectProcess.cpp573 char new_path[PATH_MAX]; local
580 new_exec_module_sp->GetFileSpec().GetPath(new_path, PATH_MAX);
581 result.AppendMessageWithFormat("Executable module set to \"%s\".\n", new_path);
589 new_exec_module_sp->GetFileSpec().GetPath (new_path, PATH_MAX);
592 old_path, new_path);
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_subr/
H A Ddirent_uri.c2382 char *new_path = apr_pcalloc(pool, 4);
2383 new_path[0] = dup_path[0];
2384 new_path[1] = ':';
2385 new_path[2] = '/';
2386 new_path[3] = '\0';
2387 dup_path = new_path;
2380 char *new_path = apr_pcalloc(pool, 4); local
H A Dmergeinfo.c2150 const char *new_path; local
2152 new_path = svn_fspath__skip_ancestor(prefix_path, original_path);
2153 SVN_ERR_ASSERT(new_path);
2155 svn_hash_sets(*out_catalog, new_path, value);
/freebsd-10.1-release/contrib/apr/include/
H A Dapr_file_io.h778 * @param new_path The path of the file.
781 APR_DECLARE(apr_status_t) apr_file_name_get(const char **new_path,
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DModule.h1004 /// Remaps a source file given \a path into \a new_path.
1013 /// @param[out] new_path
1017 /// /b true if \a path was successfully located and \a new_path
1021 RemapSourceFile (const char *path, std::string &new_path) const;
/freebsd-10.1-release/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c652 int new_path = 0; local
656 new_path = 1;
662 if (new_path)
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Core/
H A DModule.cpp1571 Module::RemapSourceFile (const char *path, std::string &new_path) const
1574 return m_source_mappings.RemapPath(path, new_path);
/freebsd-10.1-release/sys/cam/ata/
H A Data_xpt.c1484 struct cam_path *new_path; local
1509 status = xpt_create_path(&new_path, NULL,
1519 xpt_setup_ccb(&request_ccb->ccb_h, new_path, CAM_PRIORITY_XPT);

Completed in 295 milliseconds