Lines Matching refs:to
16 //=== is guaranteed to work on *all* UNIX variants.
70 /// Therefore, never allow this class to call close on a file descriptor that
71 /// has been read from or written to.
141 // Try to open + create the file.
239 /// GetMainExecutable - Return the path to the main executable, given the
243 // On OS X the executable path is saved to the stack by dyld. Reading it
269 // Fall back to the classical detection.
274 // Use dladdr to get executable path if available.
280 // If the filename is a symlink, we need to resolve and return the location of
350 error_code create_hard_link(const Twine &to, const Twine &from) {
355 StringRef t = to.toNullTerminatedStringRef(to_storage);
363 error_code create_symlink(const Twine &to, const Twine &from) {
368 StringRef t = to.toNullTerminatedStringRef(to_storage);
390 // check ensures that what we're trying to erase is a regular file. It
406 error_code rename(const Twine &from, const Twine &to) {
411 StringRef t = to.toNullTerminatedStringRef(to_storage);
560 // We need to grow the file.
669 // Add something for replace_filename to replace.