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

  /external/chromium/net/disk_cache/
cache_util.h 21 bool MoveCache(const FilePath& from_path, const FilePath& to_path);
cache_util_posix.cc 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) {
26 from_path,
40 return file_util::Move(from_path, to_path);
cache_util_win.cc 44 bool MoveCache(const FilePath& from_path, const FilePath& to_path) {
47 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
  /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/chrome/browser/chromeos/cros/
burn_library.cc 24 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path);
26 bool BurnImage(const FilePath& from_path, const FilePath& to_path);
50 void BurnImage(const FilePath& from_path, const FilePath& to_path);
84 bool BurnLibraryImpl::DoBurn(const FilePath& from_path,
88 task->BurnImage(from_path, to_path);
91 from_path, to_path));
95 bool BurnLibraryImpl::BurnImage(const FilePath& from_path,
107 StartBurn(from_path.value().c_str(), to_path.value().c_str(),
150 void BurnLibraryTaskProxy::BurnImage(const FilePath& from_path,
152 library_->BurnImage(from_path, to_path)
    [all...]
burn_library.h 45 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path) = 0;
  /external/chromium/base/
file_util_deprecated.h 40 BASE_API bool CopyDirectory(const std::wstring& from_path,
file_util_win.cc 178 bool Move(const FilePath& from_path, const FilePath& to_path) {
183 if (from_path.value().length() >= MAX_PATH ||
187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(),
196 if (DirectoryExists(from_path)) {
199 // from_path and to_path are indeed in different volumes.
200 ret = CopyAndDeleteDirectory(from_path, to_path);
212 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) {
229 from_path.value().c_str(), NULL,
233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
238 if (from_path.value().length() >= MAX_PATH |
    [all...]
file_util_posix.cc 186 bool Move(const FilePath& from_path, const FilePath& to_path) {
188 // Windows compatibility: if to_path exists, from_path and to_path
193 if (CallStat(from_path.value().c_str(), &from_file_info) == 0) {
201 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0)
204 if (!CopyDirectory(from_path, to_path, true))
207 Delete(from_path, true);
211 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) {
213 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0);
216 bool CopyDirectory(const FilePath& from_path,
225 DCHECK(from_path.value().find('*') == std::string::npos)
    [all...]
file_util.h 119 BASE_API bool Move(const FilePath& from_path, const FilePath& to_path);
121 // Renames file |from_path| to |to_path|. Both paths must be on the same
126 BASE_API bool ReplaceFile(const FilePath& from_path, const FilePath& to_path);
129 BASE_API bool CopyFile(const FilePath& from_path, const FilePath& to_path);
138 BASE_API bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
243 // Copy from_path to to_path recursively and then delete from_path recursively.
247 BASE_API bool CopyAndDeleteDirectory(const FilePath& from_path,
file_util.cc 375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path,
377 return CopyDirectory(FilePath::FromWStringHack(from_path),
  /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/webkit/Tools/Scripts/webkitpy/common/net/
testoutputset.py 55 def from_path(self, path, platform=None): member in class:TestOutputSet
  /bionic/libc/tools/
bionic_utils.py 56 def find_file_from_upwards(from_path,target_file):
57 """find a file in the current directory or its parents. if 'from_path' is None,
59 path = from_path
  /bionic/libc/kernel/tools/
utils.py 50 def find_file_from_upwards(from_path,target_file):
51 """find a file in the current directory or its parents. if 'from_path' is None,
53 path = from_path

Completed in 341 milliseconds