Home
last modified time | relevance | path

Searched refs:new_file (Results 1 – 7 of 7) sorted by relevance

/aosp12/system/ca-certificates/google/
H A Dextract_from_pem.py43 with open(file_path, 'w') as new_file:
44 new_file.write(content)
/aosp12/packages/modules/adb/client/
H A Dadb_wifi.cpp72 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 DFiles.cpp391 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 Ddelta_diff_utils.cc330 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 Ddexlayout.cc1828 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 Dinode.rs97 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 Dfat16copy.py214 def new_file(self, name, data=None): member in fat_dir
764 directory.new_file(os.path.basename(item), f)