HomeSort by relevance Sort by last modified time
    Searched refs:from_path (Results 1 - 25 of 26) sorted by null

1 2

  /external/libmtp/examples/
sendfile.c 49 int sendfile_function(char * from_path, char *to_path)
51 printf("Sending %s to %s\n",from_path,to_path);
59 if ( stat(from_path, &sb) == -1 ) {
60 fprintf(stderr, "%s: ", from_path);
66 filename = basename(from_path);
81 ret = LIBMTP_Send_File_From_File(device, from_path, genfile, progress, NULL);
getfile.c 42 getfile_function(char * from_path,char * to_path)
44 int id = parse_path (from_path,files,folders);
46 printf("Getting %s to %s\n",from_path,to_path);
sendtr.c 164 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *ptitle, char *pgenre, char *palbum, char *pcomposer, uint16_t tracknum, uint16_t length, uint16_t year, uint32_t storageid)
176 printf("Sending track %s to %s\n",from_path,to_path);
189 if ( stat(from_path, &sb) == -1 ) {
190 fprintf(stderr, "%s: ", from_path);
195 trackmeta->filetype = find_filetype (from_path);
350 ret = LIBMTP_Send_Track_From_File(device, from_path, trackmeta, progress, NULL);
  /external/chromium_org/tools/git/
move_source_file.py 43 def MakeDestinationPath(from_path, to_path):
49 if not IsHandledFile(from_path):
52 from_path)
54 to_path = os.path.join(to_path, os.path.basename(from_path))
63 def MoveFile(from_path, to_path):
64 """Performs a git mv command to move a file from |from_path| to |to_path|.
66 if not os.system('git mv %s %s' % (from_path, to_path)) == 0:
70 def UpdatePostMove(from_path, to_path):
71 """Given a file that has moved from |from_path| to |to_path|,
77 from_path = from_path.replace('\\', '/'
    [all...]
  /external/chromium_org/net/disk_cache/
cache_util_posix.cc 14 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) {
26 base::FileEnumerator iter(from_path, false /* not recursive */,
38 return base::Move(from_path, to_path);
cache_util_win.cc 16 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) {
19 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
cache_util.h 24 NET_EXPORT_PRIVATE bool MoveCache(const base::FilePath& from_path,
  /external/chromium_org/chromeos/dbus/
fake_image_burner_client.cc 21 void FakeImageBurnerClient::BurnImage(const std::string& from_path,
fake_image_burner_client.h 22 virtual void BurnImage(const std::string& from_path,
image_burner_client.h 37 // Burns the image |from_path| to the disk |to_path|.
38 virtual void BurnImage(const std::string& from_path,
image_burner_client.cc 27 virtual void BurnImage(const std::string& from_path,
33 writer.AppendString(from_path);
  /external/chromium_org/base/
file_util_win.cc 115 bool ReplaceFile(const FilePath& from_path,
121 if (::MoveFile(from_path.value().c_str(), to_path.value().c_str()))
127 if (::ReplaceFile(to_path.value().c_str(), from_path.value().c_str(), NULL,
136 bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
147 if (from_path.value().length() >= MAX_PATH ||
163 FilePath real_from_path = MakeAbsoluteFilePath(from_path);
175 FileEnumerator traversal(from_path, recursive, traverse_type);
177 if (!PathExists(from_path)) {
179 << from_path.value().c_str();
183 DCHECK(recursive || DirectoryExists(from_path));
    [all...]
file_util.h 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path);
88 // Renames file |from_path| to |to_path|. Both paths must be on the same
94 BASE_EXPORT bool ReplaceFile(const FilePath& from_path,
103 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
115 BASE_EXPORT bool CopyDirectory(const FilePath& from_path,
439 BASE_EXPORT bool MoveUnsafe(const FilePath& from_path,
444 BASE_EXPORT bool CopyFileUnsafe(const FilePath& from_path,
448 // Copy from_path to to_path recursively and then delete from_path recursively.
452 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path,
    [all...]
file_util.cc 44 bool Move(const FilePath& from_path, const FilePath& to_path) {
45 if (from_path.ReferencesParent() || to_path.ReferencesParent())
47 return internal::MoveUnsafe(from_path, to_path);
50 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
51 if (from_path.ReferencesParent() || to_path.ReferencesParent())
53 return internal::CopyFileUnsafe(from_path, to_path);
file_util_posix.cc 238 bool ReplaceFile(const FilePath& from_path,
242 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0)
249 bool CopyDirectory(const FilePath& from_path,
257 DCHECK(from_path.value().find('*') == std::string::npos);
259 if (from_path.value().size() >= PATH_MAX) {
274 FilePath real_from_path = MakeAbsoluteFilePath(from_path);
286 FileEnumerator traversal(from_path, recursive, traverse_type);
291 FilePath current = from_path;
292 if (stat(from_path.value().c_str(), &from_stat) < 0) {
294 << from_path.value() << " errno = " << errno
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
datastore_models.py 20 return db.Key.from_path(cls.__name__, path)
patch_servlet_test.py 145 def is_redirect(from_host, from_path, to_url):
146 response = PatchServlet(Request.ForTest(from_path, host=from_host),
151 from_host, from_path))
154 from_host, from_path, redirect_url, to_url))
156 from_host, from_path, redirect_url))
appengine_wrappers.py 226 def from_path(model_name, path): member in class:IsDownloadError.db.Key
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/
dashboard.py 103 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
109 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
126 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
143 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
154 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
171 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
web_services.py 238 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
  /external/chromium_org/webkit/browser/fileapi/
sandbox_prioritized_origin_database.cc 179 base::FilePath from_path = file_system_directory_.Append(directory_name); local
184 base::Move(from_path, to_path);
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_flash_file_message_filter.h 59 const ppapi::PepperFilePath& from_path,
pepper_flash_file_message_filter.cc 148 const ppapi::PepperFilePath& from_path,
151 from_path, base::Bind(&CanCreateReadWrite));
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
test_utils.cc 32 virtual void BurnImage(const std::string& from_path,
  /external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
wallpaper_manager.cc 118 base::FilePath from_path = base_path.Append(user_id); local
119 if (base::PathExists(from_path))
120 return base::Move(from_path, to_path);
    [all...]

Completed in 1558 milliseconds

1 2