Home
last modified time | relevance | path

Searched refs:to_path (Results 1 – 12 of 12) sorted by relevance

/external/toolchain-utils/deprecated/automation/common/
Dcommand.py188 def RemoteCopyFrom(from_machine, from_path, to_path, username=None): argument
190 to_path = os.path.expanduser(to_path) + '/'
198 MakeDir(to_path), Shell('rsync', '-a', '%s:%s' %
199 (login, from_path), to_path))
202 def MakeSymlink(to_path, link_name): argument
203 return Shell('ln', '-f', '-s', '-T', to_path, link_name)
/external/libchrome/base/files/
Dfile_util.h86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path);
95 const FilePath& to_path,
118 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
130 const FilePath& to_path,
136 const FilePath& to_path,
484 const FilePath& to_path);
492 const FilePath& to_path);
Dfile_util_posix.cc181 const FilePath& to_path, in DoCopyDirectory() argument
188 DCHECK(to_path.value().find('*') == std::string::npos); in DoCopyDirectory()
196 FilePath real_to_path = to_path; in DoCopyDirectory()
225 if (recursive && DirectoryExists(to_path)) { in DoCopyDirectory()
239 FilePath target_path(to_path); in DoCopyDirectory()
385 const FilePath& to_path, in ReplaceFile() argument
388 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) in ReplaceFile()
396 const FilePath& to_path, in CopyDirectory() argument
398 return DoCopyDirectory(from_path, to_path, recursive, false); in CopyDirectory()
402 const FilePath& to_path, in CopyDirectoryExcl() argument
[all …]
Dfile_util.cc46 bool Move(const FilePath& from_path, const FilePath& to_path) { in Move() argument
47 if (from_path.ReferencesParent() || to_path.ReferencesParent()) in Move()
49 return internal::MoveUnsafe(from_path, to_path); in Move()
/external/autotest/client/cros/faft/utils/
Dos_interface.py159 def copy_file(self, from_path, to_path): argument
161 cmd = 'cp -f %s %s' % (from_path, to_path)
164 def copy_dir(self, from_path, to_path): argument
166 cmd = 'cp -rf %s %s' % (from_path, to_path)
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc257 char from_path[PATH_MAX], to_path[PATH_MAX]; in CopyProcFiles() local
264 num_chars = snprintf(to_path, PATH_MAX, "%s/%s", in CopyProcFiles()
269 if (!CopyFile(from_path, to_path)) in CopyProcFiles()
/external/google-breakpad/src/common/tests/
Dfile_utils.cc44 bool CopyFile(const char* from_path, const char* to_path) { in CopyFile() argument
51 int outfile = HANDLE_EINTR(creat(to_path, 0666)); in CopyFile()
Dfile_utils.h39 bool CopyFile(const char* from_path, const char* to_path);
/external/skia/src/pdf/
DSkPDFGraphicStackState.cpp11 static SkPath to_path(const SkRect& r) { in to_path() function
96 Op(to_path(bounds), operand, op, &operand); in apply_clip()
136 if (Op(clipPath, to_path(outsetBounds), kIntersect_SkPathOp, &clipPath)) { in append_clip()
DSkPDFDevice.cpp69 static SkPath to_path(const SkRect& r) { in to_path() function
181 return Op(to_path(bounds), invPath, kIntersect_SkPathOp, outPath); in calculate_inverse_path()
324 SkPath path = to_path(rect); in drawAnnotation()
444 this->internalDrawPath(this->cs(), this->localToDevice(), to_path(r), paint, true); in drawRect()
989 content.setShape(to_path(SkRect::Make(SkIRect::MakeXYWH(x, y, dim.width(), dim.height())))); in drawDevice()
1570 SkPath path = to_path(dst); // handles non-integral clipping. in internalDrawImageRect()
1592 SkPath perspectiveOutline = to_path(imageBounds); in internalDrawImageRect()
1604 SkPath physicalPerspectiveOutline = to_path(imageBounds); in internalDrawImageRect()
1667 SkPath shape = to_path(SkRect::Make(subset)); in internalDrawImageRect()
/external/skqp/src/pdf/
DSkPDFDevice.cpp66 static SkPath to_path(const SkRect& r) { in to_path() function
211 return Op(to_path(bounds), invPath, kIntersect_SkPathOp, outPath); in calculate_inverse_path()
268 if (Op(clipPath, to_path(outsetBounds), kIntersect_SkPathOp, &clipPath)) { in append_clip()
518 SkPath path = to_path(rect); in drawAnnotation()
682 this->drawPath(to_path(r), paint, true); in drawRect()
1291 content.setShape(to_path(SkRect::Make(SkIRect::MakeXYWH(x, y, dim.width(), dim.height())))); in drawDevice()
1897 SkPath path = to_path(dst); // handles non-integral clipping. in internalDrawImageRect()
1919 SkPath perspectiveOutline = to_path(imageBounds); in internalDrawImageRect()
1931 SkPath physicalPerspectiveOutline = to_path(imageBounds); in internalDrawImageRect()
1994 SkPath shape = to_path(SkRect::Make(subset)); in internalDrawImageRect()
/external/tensorflow/tensorflow/tools/docs/
Dgenerate_lib.py153 to_path = os.path.join(site_api_path,
157 os.path.join('/', to_path)))