Searched refs:from_path (Results 1 - 5 of 5) sorted by relevance
/third_party/littlefs/scripts/ |
H A D | changeprefix.py | 52 def changefile(from_prefix, to_prefix, from_path, to_path, *, 58 if from_path == to_path and to_path != '-': 64 with openio(from_path) as from_f: 72 if from_path != '-' and to_path != '-': 73 shutil.copystat(from_path, to_path) 76 os.rename(to_path, from_path) 77 elif from_path != '-': 78 os.remove(from_path) 82 '%s -> %s' % (from_path, to_path) if not to_path_temp else from_path, [all...] |
/third_party/gn/src/base/files/ |
H A D | file_util_posix.cc | 207 bool ReplaceFile(const FilePath& from_path, in ReplaceFile() argument 210 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) in ReplaceFile() 684 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { in CopyFile() argument 686 infile = File(from_path, File::FLAG_OPEN | File::FLAG_READ); in CopyFile()
|
H A D | file_util.h | 77 // Renames file |from_path| to |to_path|. Both paths must be on the same 83 bool ReplaceFile(const FilePath& from_path,
|
H A D | file_util_win.cc | 222 bool ReplaceFile(const FilePath& from_path, in RandomDataToGUIDString() argument 227 if (::MoveFile(ToWCharT(&from_path.value()), ToWCharT(&to_path.value()))) in RandomDataToGUIDString() 235 if (::ReplaceFile(ToWCharT(&to_path.value()), ToWCharT(&from_path.value()), in RandomDataToGUIDString()
|
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 21594 const auto from_path = get_value("move", "from", true).template get<std::string>(); 21595 json_pointer from_ptr(from_path); 21611 const auto from_path = get_value("copy", "from", true).template get<std::string>(); 21612 const json_pointer from_ptr(from_path);
|
Completed in 24 milliseconds