Searched refs:read_header (Results 1 – 10 of 10) sorted by relevance
/external/icing/icing/file/posting_list/ |
D | flash-index-storage.cc | 177 HeaderBlock read_header, in OpenHeader() 179 if (read_header.header()->magic != HeaderBlock::Header::kMagic) { in OpenHeader() 183 if (file_size % read_header.header()->block_size != 0) { in OpenHeader() 186 << read_header.header()->block_size; in OpenHeader() 190 if (file_size < static_cast<int64_t>(read_header.header()->block_size)) { in OpenHeader() 193 << read_header.header()->block_size; in OpenHeader() 197 if (read_header.header()->block_size % getpagesize() != 0) { in OpenHeader() 198 ICING_LOG(ERROR) << "Block size " << read_header.header()->block_size in OpenHeader() 202 num_blocks_ = file_size / read_header.header()->block_size; in OpenHeader() 203 if (block_size != read_header.header()->block_size) { in OpenHeader() [all …]
|
/external/skia/src/codec/ |
D | SkWbmpCodec.cpp | 72 static bool read_header(SkStream* stream, SkISize* size) { in read_header() function 97 return read_header(this->stream(), nullptr); in onRewind() 153 return read_header(&stream, nullptr); in IsWbmp() 159 if (!read_header(stream.get(), &size)) { in MakeFromStream()
|
D | SkPngCodec.cpp | 792 static SkCodec::Result read_header(SkStream* stream, SkPngChunkReader* chunkReader, in read_header() function 1157 if (kSuccess != read_header(this->stream(), fPngChunkReader.get(), nullptr, in onRewind() 1216 *result = read_header(stream.get(), chunkReader, &outCodec, nullptr, nullptr); in MakeFromStream()
|
/external/skia/src/gpu/graphite/ |
D | PaintParamsKey.cpp | 20 static PaintParamsKey::Header read_header(SkSpan<const uint8_t> parentSpan, int headerOffset) { in read_header() function 300 Header header = read_header(this->asSpan(), /*headerOffset=*/0); in isErrorKey() 311 Header header = read_header(parentSpan, offsetInParent); in BlockReader() 327 Header header = read_header(fBlock, childOffset); in child() 335 Header header = read_header(fBlock, 0); in codeSnippetId() 342 Header header = read_header(fBlock, payloadOffset); in dataPayload()
|
/external/toolchain-utils/rust-analyzer-chromiumos-wrapper/src/ |
D | main.rs | 145 fn read_header<R: BufRead>(r: &mut R, header: &mut Header) -> Result<()> { in read_header() function 232 read_header(r, &mut head)?; in stream_with_replacement()
|
/external/ComputeLibrary/include/libnpy/ |
D | npy.hpp | 448 inline std::string read_header(std::istream &istream) { in read_header() function 533 std::string header_s = read_header(stream); in LoadArrayFromNumpy()
|
/external/ComputeLibrary/utils/ |
D | Utils.cpp | 236 std::string header_s = npy::read_header(fs); in parse_npy_header()
|
/external/libtracefs/src/ |
D | tracefs-events.c | 970 static int read_header(struct tep_handle *tep, const char *tracing_dir) in read_header() function 1112 ret = read_header(tep, tracing_dir); in fill_local_events_system()
|
/external/ComputeLibrary/tests/ |
D | AssetsLibrary.cpp | 527 std::string header_s = npy::read_header(stream); in validate_npy_header()
|
/external/crosvm/disk/src/qcow/ |
D | mod.rs | 1760 let read_header = QcowHeader::new(&mut disk_file).expect("Failed to create header."); in header_with_backing() localVariable 1765 assert_eq!(read_header.backing_file_path, header.backing_file_path); in header_with_backing()
|