Searched refs:archive_file (Results 1 – 12 of 12) sorted by relevance
/external/tensorflow/tensorflow/lite/ios/ |
D | extract_object_files.py | 48 def extract_object_files(archive_file: io.BufferedIOBase, 67 _check_archive_signature(archive_file) 73 for name, file_content in _extract_next_file(archive_file): 112 def _check_archive_signature(archive_file: io.BufferedIOBase) -> None: 124 signature = archive_file.read(8) 130 archive_file: io.BufferedIOBase) -> Iterator[Tuple[str, bytes]]: 148 header = archive_file.read(60) 169 name = archive_file.read(filename_size).decode('utf-8').strip(' \x00') 172 file_content = archive_file.read(size) 176 archive_file.read(1)
|
D | extract_object_files_test.py | 56 with open(archive_path, 'rb') as archive_file: 57 extract_object_files.extract_object_files(archive_file, dest_dir) 71 with io.BytesIO(b'this is an invalid archive file') as archive_file: 74 archive_file,
|
D | extract_object_files_main.py | 33 with open(archive_path, 'rb') as archive_file: 34 extract_object_files.extract_object_files(archive_file, dest_dir)
|
/external/pigweed/pw_arduino_build/py/pw_arduino_build/ |
D | file_operations.py | 131 def extract_zipfile(archive_file: str, dest_dir: str): 134 with zipfile.ZipFile(archive_file) as archive: 142 def extract_tarfile(archive_file: str, dest_dir: str): 143 with tarfile.open(archive_file, 'r') as archive: 147 def extract_archive(archive_file: str, 163 "." + os.path.basename(archive_file)) 166 _LOG.info("Extracting: %s", relative_or_absolute_path(archive_file)) 167 if zipfile.is_zipfile(archive_file): 168 extract_zipfile(archive_file, temp_extract_dir) 169 elif tarfile.is_tarfile(archive_file): [all …]
|
D | builder.py | 284 archive_file = "{}.elf".format(self.build_project_name) 285 self.board[current_board_name]["archive_file"] = archive_file
|
/external/llvm-project/lldb/source/Symbol/ |
D | ObjectFile.cpp | 47 FileSpec archive_file; in FindPlugin() local 92 path_with_object, archive_file, archive_object, must_exist)) { in FindPlugin() 93 file_size = FileSystem::Instance().GetByteSize(archive_file); in FindPlugin() 95 file = &archive_file; in FindPlugin() 96 module_sp->SetFileSpecAndObjectName(archive_file, archive_object); in FindPlugin() 123 archive_file.GetPath(), 512, file_offset); in FindPlugin() 578 FileSpec &archive_file, in SplitArchivePathWithObject() argument 588 archive_file.SetFile(archive, FileSpec::Style::native); in SplitArchivePathWithObject() 589 if (must_exist && !FileSystem::Instance().Exists(archive_file)) in SplitArchivePathWithObject()
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | archive_info.py | 15 def __init__(self, archive_file, unzip_path, path_within_archive, argument 35 self._archive_file = archive_file
|
D | cloud_storage_info_unittest.py | 166 def _UnzipFileMock(archive_file, unzip_location, tmp_location=None): argument 167 del archive_file, tmp_location
|
/external/angle/scripts/ |
D | trigger.py | 91 archive_file = os.path.join(out_file_path, '%s.archive.json' % args.test) 95 '-dump-json', archive_file 99 with open(archive_file) as f:
|
/external/skqp/tools/skp/ |
D | webpages_playback.py | 194 for archive_file in glob.glob( 196 os.remove(archive_file)
|
/external/skia/tools/skp/ |
D | webpages_playback.py | 225 for archive_file in glob.glob( 227 os.remove(archive_file)
|
/external/llvm-project/lldb/include/lldb/Symbol/ |
D | ObjectFile.h | 221 llvm::StringRef path_with_object, lldb_private::FileSpec &archive_file,
|