Searched refs:new_file (Results 1 – 7 of 7) sorted by relevance
/aosp12/system/ca-certificates/google/ |
H A D | extract_from_pem.py | 43 with open(file_path, 'w') as new_file: 44 new_file.write(content)
|
/aosp12/packages/modules/adb/client/ |
H A D | adb_wifi.cpp | 72 bool SafeReplaceFile(std::string_view old_file, std::string_view new_file) { in SafeReplaceFile() argument 84 if (adb_rename(new_file.data(), old_file.data()) != 0) { in SafeReplaceFile() 85 PLOG(ERROR) << "Unable to rename file (" << new_file << " => " << old_file << ")"; in SafeReplaceFile()
|
/aosp12/frameworks/base/tools/aapt2/util/ |
H A D | Files.cpp | 391 std::string new_file = subdir; in FindFiles() local 392 AppendPath(&new_file, subfile); in FindFiles() 393 files.push_back(new_file); in FindFiles()
|
/aosp12/system/update_engine/payload_generator/ |
H A D | delta_diff_utils.cc | 330 for (const FilesystemInterface::File& new_file : new_files) { in DeltaReadPartition() local 336 FilterExtentRanges(new_file.extents, new_visited_blocks); in DeltaReadPartition() 351 GetOldFile(old_files_map, new_file.name); in DeltaReadPartition() 362 new_file.deflates, in DeltaReadPartition() 363 new_file.name, // operation name in DeltaReadPartition()
|
/aosp12/art/dexlayout/ |
H A D | dexlayout.cc | 1828 std::unique_ptr<File> new_file; in OutputDexFile() local 1847 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile() 1848 if (new_file == nullptr) { in OutputDexFile() 1856 if (new_file != nullptr) { in OutputDexFile() 1859 if (!new_file->WriteFully(main_section->Begin(), main_section->Size())) { in OutputDexFile() 1861 new_file->Erase(); in OutputDexFile() 1865 if (!new_file->WriteFully(data_section->Begin(), data_section->Size())) { in OutputDexFile() 1867 new_file->Erase(); in OutputDexFile() 1870 UNUSED(new_file->FlushCloseOrErase()); in OutputDexFile()
|
/aosp12/packages/modules/Virtualization/zipfuse/src/ |
H A D | inode.rs | 97 fn new_file(zip_index: ZipIndex, zip_file: &zip::read::ZipFile) -> InodeData { in new_file() method 212 InodeData::new_file(i, &file) in from_zip()
|
/aosp12/build/make/tools/ |
H A D | fat16copy.py | 214 def new_file(self, name, data=None): member in fat_dir 764 directory.new_file(os.path.basename(item), f)
|