Home | History | Annotate | Download | only in common

Lines Matching refs:dst_path

71 // writes the result into dst_path.
73 // Otherwise returns the number of characters copied into dst_path. If the return
76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len)
87 // If there's no ~, then just copy src_path straight to dst_path (they may be the same string...)
93 ::bcopy (src_path, dst_path, dst_len - 1);
94 dst_path[dst_len] = '\0';
97 ::bcopy (src_path, dst_path, len + 1);
142 return ::snprintf (dst_path, dst_len, "%s%s", home_dir, remainder);
145 return ::snprintf (dst_path, dst_len, "%s", src_path);
185 FileSpec::Resolve (const char *src_path, char *dst_path, size_t dst_len)
190 // Glob if needed for ~/, otherwise copy in case src_path is same as dst_path...
213 return ::snprintf(dst_path, dst_len, "%s", resolved_path);
218 return ::snprintf(dst_path, dst_len, "%s", unglobbed_path);