Home
last modified time | relevance | path

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

/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/toolchain-utils/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/libmtp/examples/
Dgetfile.c40 getfile_function(char * from_path,char * to_path) in getfile_function() argument
44 printf("Getting %s to %s\n",from_path,to_path); in getfile_function()
45 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) { in getfile_function()
Dsendfile.c47 int sendfile_function(char * from_path, char *to_path) in sendfile_function() argument
49 printf("Sending %s to %s\n",from_path,to_path); in sendfile_function()
65 parent_id = parse_path (to_path,files,folders); in sendfile_function()
Dsendtr.c185 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *p… in sendtrack_function() argument
198 printf("Sending track %s to %s\n", from_path, to_path); in sendtrack_function()
200 to_path_copy = strdup(to_path); in sendtrack_function()
208 strcpy (to_path_copy,to_path); in sendtrack_function()
/external/autotest/client/cros/faft/utils/
Dos_interface.py175 def copy_file(self, from_path, to_path): argument
177 cmd = 'cp -f %s %s' % (from_path, to_path)
180 def copy_dir(self, from_path, to_path): argument
182 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/
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()
1278 content.setShape(to_path(SkRect::Make(SkIRect::MakeXYWH(x, y, dim.width(), dim.height())))); in drawDevice()
1884 SkPath path = to_path(dst); // handles non-integral clipping. in internalDrawImageRect()
1906 SkPath perspectiveOutline = to_path(imageBounds); in internalDrawImageRect()
1918 SkPath physicalPerspectiveOutline = to_path(imageBounds); in internalDrawImageRect()
1981 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.py152 to_path = os.path.join(site_api_path, full_name.replace('.', '/'))
155 os.path.join('/', to_path)))