Home
last modified time | relevance | path

Searched +defs:file +defs:header (Results 1 – 25 of 1250) sorted by relevance

12345678910>>...50

/aosp_15_r20/external/cronet/net/disk_cache/blockfile/
H A Dblock_files.cc45 BlockHeader::BlockHeader(BlockFileHeader* header) : header_(header) { in BlockHeader()
48 BlockHeader::BlockHeader(MappedFile* file) in BlockHeader()
319 MappedFile* file = FileForNewBlock(block_type, block_count); in CreateBlock() local
340 MappedFile* file = GetFile(address); in DeleteBlock() local
417 auto file = base::MakeRefCounted<File>(base::File(name, flags)); in CreateBlockFile() local
421 BlockFileHeader header; in CreateBlockFile() local
440 auto file = base::MakeRefCounted<MappedFile>(); in OpenBlockFile() local
454 BlockFileHeader* header = file_header.Header(); in OpenBlockFile() local
486 bool BlockFiles::GrowBlockFile(MappedFile* file, BlockFileHeader* header) { in GrowBlockFile()
518 MappedFile* file = block_files_[block_type - 1].get(); in FileForNewBlock() local
[all …]
H A Dblock_files_unittest.cc22 for (base::FilePath file = iter.Next(); !file.value().empty(); in NumberOfFiles() local
131 MappedFile* file = files.GetFile(address); in TEST_F() local
134 BlockFileHeader* header = in TEST_F() local
183 auto file = base::MakeRefCounted<File>(); in TEST_F() local
206 auto file = base::MakeRefCounted<File>(); in TEST_F() local
227 MappedFile* file = files.GetFile(address); in TEST_F() local
230 BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F() local
284 char header[kBlockHeaderSize]; in TEST_F() local
322 BlockFileHeader* header = in TEST_F() local
/aosp_15_r20/external/cronet/net/tools/dump_cache/
H A Ddump_files.cc41 bool ReadHeader(const base::FilePath& name, char* header, int header_size) { in ReadHeader()
42 base::File file(name, base::File::FLAG_OPEN | base::File::FLAG_READ); in ReadHeader() local
57 disk_cache::IndexHeader header; in GetMajorVersionFromIndexFile() local
67 disk_cache::BlockFileHeader header; in GetMajorVersionFromBlockFile() local
91 disk_cache::MappedFile* file = block_files.GetFile(address); in DumpStats() local
120 disk_cache::IndexHeader header; in DumpIndexHeader() local
151 disk_cache::BlockFileHeader header; in DumpBlockHeader() local
262 disk_cache::MappedFile* file = block_files_.GetFile(address); in LoadEntry() local
291 disk_cache::MappedFile* file = block_files_.GetFile(address); in LoadRankings() local
308 disk_cache::MappedFile* file = block_files_.GetFile(address); in HexDump() local
[all …]
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c42 struct tgsi_header header; in tgsi_build_header() local
51 header_headersize_grow( struct tgsi_header *header ) in header_headersize_grow()
60 header_bodysize_grow( struct tgsi_header *header ) in header_bodysize_grow()
70 struct tgsi_header *header ) in tgsi_build_processor()
89 struct tgsi_header *header ) in declaration_grow()
122 enum tgsi_file_type file, in tgsi_build_declaration()
132 struct tgsi_header *header ) in tgsi_build_declaration()
182 struct tgsi_header *header ) in tgsi_build_declaration_range()
200 struct tgsi_header *header) in tgsi_build_declaration_dimension()
230 struct tgsi_header *header) in tgsi_build_declaration_interp()
[all …]
/aosp_15_r20/external/virglrenderer/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c42 struct tgsi_header header; in tgsi_build_header() local
51 header_headersize_grow( struct tgsi_header *header ) in header_headersize_grow()
60 header_bodysize_grow( struct tgsi_header *header ) in header_bodysize_grow()
70 struct tgsi_header *header ) in tgsi_build_processor()
89 struct tgsi_header *header ) in declaration_grow()
122 unsigned file, in tgsi_build_declaration()
132 struct tgsi_header *header ) in tgsi_build_declaration()
171 struct tgsi_header *header ) in tgsi_build_declaration_range()
189 struct tgsi_header *header) in tgsi_build_declaration_dimension()
221 struct tgsi_header *header) in tgsi_build_declaration_interp()
[all …]
/aosp_15_r20/system/update_engine/payload_generator/
H A Dsquashfs_filesystem.cc55 SquashfsFilesystem::SquashfsHeader* header) { in ReadSquashfsHeader()
67 bool CheckHeader(const SquashfsFilesystem::SquashfsHeader& header) { in CheckHeader()
97 const SquashfsHeader& header, in Init()
143 File file; in Init() local
189 for (const auto& file : files_) { in Init() local
199 File file; in Init() local
247 for (auto& file : files_) { in Init() local
269 SquashfsHeader header; in CreateFromFile() local
298 const string& filemap, size_t size, const SquashfsHeader& header) { in CreateFromFileMap()
327 SquashfsHeader header; in IsSquashfsImage() local
/aosp_15_r20/art/test/2246-trace-v2/
H A Ddump_trace.cc49 uint64_t ReadNumber(int num_bytes, uint8_t* header) { in ReadNumber()
58 bool ProcessThreadOrMethodInfo(std::unique_ptr<File>& file, in ProcessThreadOrMethodInfo()
61 uint8_t header[10]; in ProcessThreadOrMethodInfo() local
143 bool ProcessTraceEntries(std::unique_ptr<File>& file, in ProcessTraceEntries()
151 uint8_t header[11]; in ProcessTraceEntries() local
232 std::unique_ptr<File> file(OS::OpenFileForReading(file_name)); in Java_Main_dumpTrace() local
238 uint8_t header[32]; in Java_Main_dumpTrace() local
/aosp_15_r20/external/cronet/net/disk_cache/simple/
H A Dsimple_synchronous_entry.cc153 bool PrefetchFromFile(SimpleFileTracker::FileHandle* file, in PrefetchFromFile()
601 SimpleFileTracker::FileHandle file = file_tracker_->Acquire( in ReadData() local
660 SimpleFileTracker::FileHandle file = file_tracker_->Acquire( in WriteData() local
706 SimpleFileTracker::FileHandle file = file_tracker_->Acquire( in WriteData() local
1004 base::File* file, in CheckEOFRecord()
1031 base::File* file, in PreReadStreamPayload()
1082 SimpleFileTracker::FileHandle file = file_tracker_->Acquire( in Close() local
1154 SimpleFileTracker::FileHandle file = file_tracker_->Acquire( in Close() local
1206 auto file = std::make_unique<base::File>(); in MaybeOpenFile() local
1239 auto file = in MaybeCreateFile() local
[all …]
/aosp_15_r20/external/mesa3d/src/amd/common/
H A Dac_parse_ib.c53 static void print_value(FILE *file, uint32_t value, int bits) in print_value()
72 static void print_data_dword(FILE *file, uint32_t value, const char *comment) in print_data_dword()
78 static void print_named_value(FILE *file, const char *name, uint32_t value, int bits) in print_named_value()
87 static void print_string_value(FILE *file, const char *name, const char *value) in print_string_value()
96 void ac_dump_reg(FILE *file, enum amd_gfx_level gfx_level, enum radeon_family family, in ac_dump_reg()
259 static void ac_parse_packet3(FILE *f, uint32_t header, struct ac_ib_parser *ib, in ac_parse_packet3()
515 uint32_t header = ac_ib_get(ib); in ac_parse_packet3() local
724 uint32_t header = ac_ib_get(ib); in parse_gfx_compute_ib() local
786 const uint32_t header = ac_ib_get(ib); in parse_sdma_ib() local
/aosp_15_r20/external/mesa3d/src/util/
H A Dmesa_cache_db.c61 static inline bool mesa_db_seek_end(FILE *file) in mesa_db_seek_end()
66 static inline bool mesa_db_seek(FILE *file, long pos) in mesa_db_seek()
71 static inline bool mesa_db_seek_cur(FILE *file, long pos) in mesa_db_seek_cur()
76 static inline bool mesa_db_read_data(FILE *file, void *data, size_t size) in mesa_db_read_data()
80 #define mesa_db_read(file, var) mesa_db_read_data(file, var, sizeof(*(var))) argument
82 static inline bool mesa_db_write_data(FILE *file, const void *data, size_t size) in mesa_db_write_data()
86 #define mesa_db_write(file, var) mesa_db_write_data(file, var, sizeof(*(var))) argument
88 static inline bool mesa_db_truncate(FILE *file, long pos) in mesa_db_truncate()
143 mesa_db_read_header(FILE *file, struct mesa_db_file_header *header) in mesa_db_read_header()
161 struct mesa_db_file_header header; in mesa_db_load_header() local
[all …]
/aosp_15_r20/system/extras/simpleperf/
H A Drecord_file_writer.cpp160 RecordHeader header; in WriteRecord() local
256 perf_event_header header = {PERF_RECORD_COMPRESSED, 0, in WriteCompressRecord() local
300 RecordHeader header; in ReadDataSection() local
351 auto header = reinterpret_cast<const perf_event_header*>(p); in ReadFromDecompressor() local
472 FileFeature file; in WriteFileFeatures() local
497 bool RecordFileWriter::WriteFileFeature(const FileFeature& file) { in WriteFileFeature()
560 for (auto& file : debug_unwind) { in WriteDebugUnwindFeature() local
653 FileHeader header; in WriteFileHeader() local
H A Drecord_file_reader.cpp309 RecordHeader header; in ReadRecord() local
383 auto header = reinterpret_cast<const perf_event_header*>(output.data()); in ReadRecordWithDecompression() local
395 perf_event_header header; in ReadRecordWithDecompression() local
533 auto header = reinterpret_cast<const perf_event_header*>(p); in ReadBuildIdFeature() local
593 bool RecordFileReader::ReadFileFeature(uint64_t& read_pos, FileFeature& file, bool& error) { in ReadFileFeature()
634 bool RecordFileReader::ReadFileV1Feature(uint64_t& read_pos, uint64_t max_size, FileFeature& file) { in ReadFileV1Feature()
687 bool RecordFileReader::ReadFileV2Feature(uint64_t& read_pos, uint64_t max_size, FileFeature& file) { in ReadFileV2Feature()
968 PerfFileFormat::FileHeader header; in IsPerfDataFile() local
/aosp_15_r20/external/coreboot/util/nvramtool/
H A Dcbfs.c36 static int cbfs_check_magic(struct cbfs_file *file) in cbfs_check_magic()
43 struct cbfs_header *header; in cbfs_master_header() local
61 struct cbfs_header *header = cbfs_master_header(); in cbfs_find() local
71 struct cbfs_file *file = (struct cbfs_file *) offset; in cbfs_find() local
93 struct cbfs_file *file = cbfs_find(name); in cbfs_find_file() local
/aosp_15_r20/tools/metalava/metalava-model-text/src/testFixtures/java/com/android/tools/metalava/model/text/
H A DTextTestUtils.kt40 val header = format.header() in prepareSignatureFileForTest() constant
85 apiVariantTypeChooser = { file -> apiVariantTypeForTestSignatureFile(file.name) }, in SignatureFile() method
86 forMainApiSurfacePredicate = { _, file -> isTestSignatureFileForMainApiSurface(file.name) } in file() method
/aosp_15_r20/packages/modules/adb/client/
Dincremental_server.cpp145 ResponseHeader header; member
212 const File* file; member
354 auto& file = files_[fileId]; in SendTreeBlocksForDataBlock() local
390 const auto& file = files_[fileId]; in SendTreeBlock() local
412 auto& file = files_[fileId]; in SendDataBlock() local
441 ResponseHeader* header; in SendDataBlock() local
467 ResponseHeader header; in SendDone() local
483 const auto& file = *prefetch.file; in RunPrefetching() local
608 auto& file = files_[fileId]; in Serve() local
/aosp_15_r20/packages/modules/Virtualization/libs/vbmeta/src/
Dlib.rs69 header: AvbVBMetaImageHeader, field
76 let file = File::open(path).map_err(VbMetaImageParseError::Io)?; in verify_path() localVariable
107 let header = unsafe { in verify_reader_region() localVariable
108 let mut header = MaybeUninit::uninit(); in verify_reader_region() localVariable
261 let file = OpenOptions::new() in signed_image_has_valid_vbmeta() localVariable
/aosp_15_r20/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
H A DTarArchiveEntry.java209 private final File file; field in TarArchiveEntry
336 public TarArchiveEntry(final File file) { in TarArchiveEntry()
353 public TarArchiveEntry(final File file, final String fileName) { in TarArchiveEntry()
1241 public void parseTarHeader(final byte[] header) { in parseTarHeader()
1264 public void parseTarHeader(final byte[] header, final ZipEncoding encoding) in parseTarHeader()
1269 private void parseTarHeader(final byte[] header, final ZipEncoding encoding, in parseTarHeader()
1404 private int evaluateType(final byte[] header) { in evaluateType()
/aosp_15_r20/external/wayland/cursor/
H A Dxcursor.c85 uint32_t header; /* byte length of header */ member
110 uint32_t header; /* bytes in chunk header */ member
200 xcursor_read_uint(FILE *file, uint32_t *u) in xcursor_read_uint()
243 xcursor_read_file_header(FILE *file) in xcursor_read_file_header()
289 xcursor_seek_to_toc(FILE *file, in xcursor_seek_to_toc()
300 xcursor_file_read_chunk_header(FILE *file, in xcursor_file_read_chunk_header()
383 xcursor_read_image(FILE *file, in xcursor_read_image()
440 xcursor_xc_file_load_images(FILE *file, int size) in xcursor_xc_file_load_images()
584 xcursor_build_fullname(const char *dir, const char *subdir, const char *file) in xcursor_build_fullname()
/aosp_15_r20/packages/modules/Virtualization/guest/microdroid_manager/src/
Dinstance.rs74 file: File, field
89 let mut file = OpenOptions::new() in new() localVariable
121 let header = header.unwrap(); in read_microdroid_data() localVariable
140 let mut header = [0; PARTITION_HEADER_SIZE as usize]; in read_microdroid_data() localVariable
181 let mut header = [0; PARTITION_HEADER_SIZE as usize]; in write_microdroid_data() localVariable
244 let header = self.read_header_at(header_offset)?; in locate_microdroid_header() localVariable
/aosp_15_r20/external/tensorflow/tensorflow/core/util/tensor_bundle/
H A Dtensor_bundle.cc536 std::unique_ptr<WritableFile> file; in Finish() local
546 BundleHeaderProto header; in Finish() local
602 std::unique_ptr<RandomAccessFile> file; in MergeOneBundle() local
619 BundleHeaderProto header; in MergeOneBundle() local
733 BundleHeaderProto header; in MergeBundles() local
796 BundleHeaderProto header; in BundleReader() local
888 std::unique_ptr<RandomAccessFile> file = nullptr; in GetValue() local
1162 FileOutputBuffer::FileOutputBuffer(WritableFile* file, size_t buffer_size) in FileOutputBuffer()
/aosp_15_r20/system/libziparchive/
H A Dzip_writer.cc275 LocalFileHeader header = {}; in StartAlignedEntryWithTime() local
379 int32_t ZipWriter::StoreBytes(FileEntry* file, const void* data, uint32_t len) { in StoreBytes()
390 int32_t ZipWriter::CompressBytes(FileEntry* file, const void* data, uint32_t len) { in CompressBytes()
425 int32_t ZipWriter::FlushCompressedBytes(FileEntry* file) { in FlushCompressedBytes()
499 LocalFileHeader header = {}; in FinishEntry() local
/aosp_15_r20/external/coreboot/src/mainboard/emulation/qemu-i440fx/
H A Dfw_cfg.c67 static int fw_cfg_find_file(FWCfgFile *file, const char *name) in fw_cfg_find_file()
88 int fw_cfg_check_file(FWCfgFile *file, const char *name) in fw_cfg_check_file()
97 FWCfgFile file; in fw_cfg_e820_select() local
180 char file[BIOS_LINKER_LOADER_FILESZ]; member
206 char file[BIOS_LINKER_LOADER_FILESZ]; member
400 struct smbios_header *header; in smbios_next() local
431 struct smbios_header *header; in fw_cfg_smbios_tables() local
/aosp_15_r20/external/tinycompress/
H A Dcplay.c100 int parse_mp3_header(struct mp3_header *header, unsigned int *num_channels, in parse_mp3_header()
154 char *file; in main() local
205 struct mp3_header header; in play_samples() local
206 FILE *file; in play_samples() local
/aosp_15_r20/build/make/tools/aconfig/aconfig_storage_file/src/
H A Dtest_utils.rs28 let header = PackageTableHeader { in create_test_package_table() localVariable
107 let header = FlagTableHeader { in create_test_flag_table() localVariable
149 let header = FlagValueHeader { in create_test_flag_value_list() localVariable
162 let header = FlagInfoHeader { in create_test_flag_info_list() localVariable
176 let mut file = NamedTempFile::new().map_err(|_| { in write_bytes_to_temp_file() localVariable
/aosp_15_r20/system/extras/verity/fec/
H A Dimage.cpp99 struct sparse_file *file; in file_image_load() local
133 for (auto file : files) { in file_image_load() local
228 uint8_t header[FEC_BLOCKSIZE]; in image_ecc_load() local
296 uint8_t header[FEC_BLOCKSIZE] = {0}; in image_ecc_save() local

12345678910>>...50