Home
last modified time | relevance | path

Searched refs:ReadBlock (Results 1 – 25 of 45) sorted by relevance

12

/external/pdfium/core/fxcrt/
Dcfx_seekablemultistream_unittest.cpp23 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
35 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
60 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
64 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 1, 0)); in TEST()
68 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 0, 1)); in TEST()
73 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 0, sizeof(output_buffer))); in TEST()
77 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 2, 10)); in TEST()
82 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 1, sizeof(output_buffer))); in TEST()
Dfx_stream.h55 virtual size_t ReadBlock(void* buffer, size_t size) = 0;
78 size_t ReadBlock(void* buffer, size_t size) override;
80 virtual bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) = 0;
97 size_t ReadBlock(void* buffer, size_t size) override = 0;
98 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override = 0;
Dcfx_seekablemultistream.h26 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
27 size_t ReadBlock(void* buffer, size_t size) override;
Dfx_stream.cpp29 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override { in ReadBlock() function in __anon0c0b04760111::CFX_CRTFileStream
32 size_t ReadBlock(void* buffer, size_t size) override { in ReadBlock() function in __anon0c0b04760111::CFX_CRTFileStream
90 size_t IFX_SeekableReadStream::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in IFX_SeekableReadStream
Dcfx_memorystream.h26 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
27 size_t ReadBlock(void* buffer, size_t size) override;
Dcfx_seekablemultistream.cpp32 bool CFX_SeekableMultiStream::ReadBlock(void* buffer, in ReadBlock() function in CFX_SeekableMultiStream
62 size_t CFX_SeekableMultiStream::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in CFX_SeekableMultiStream
Dcfx_memorystream.cpp60 bool CFX_MemoryStream::ReadBlock(void* buffer, in ReadBlock() function in CFX_MemoryStream
92 size_t CFX_MemoryStream::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in CFX_MemoryStream
97 if (!ReadBlock(buffer, static_cast<int32_t>(m_nCurPos), nRead)) in ReadBlock()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator_unittest.cpp77 validator->ReadBlock(read_buffer.data(), 5000, read_buffer.size())); in TEST()
87 validator->ReadBlock(read_buffer.data(), 5000, read_buffer.size())); in TEST()
105 validator->ReadBlock(read_buffer.data(), 5000, read_buffer.size())); in TEST()
117 validator->ReadBlock(read_buffer.data(), 5000, read_buffer.size())); in TEST()
125 EXPECT_FALSE(validator->ReadBlock(read_buffer.data(), in TEST()
143 EXPECT_FALSE(validator->ReadBlock(buffer.data(), 5000, 100)); in TEST()
160 EXPECT_FALSE(validator->ReadBlock(read_buffer.data(), in TEST()
180 validator->ReadBlock(test_data.data(), 0, 100); in TEST()
193 validator->ReadBlock(test_data.data(), 0, 100); in TEST()
218 validator->ReadBlock(test_data.data(), 0, 100); in TEST()
[all …]
Dcpdf_read_validator.cpp60 bool CPDF_ReadValidator::ReadBlock(void* buffer, in ReadBlock() function in CPDF_ReadValidator
73 if (file_read_->ReadBlock(buffer, offset, size)) in ReadBlock()
Dcpdf_syntax_parser.cpp68 if (!m_pFileAccess->ReadBlock(m_pFileBuf.data(), read_pos, read_size)) { in ReadBlockAt()
106 bool CPDF_SyntaxParser::ReadBlock(uint8_t* pBuf, uint32_t size) { in ReadBlock() function in CPDF_SyntaxParser
107 if (!m_pFileAccess->ReadBlock(pBuf, m_Pos + m_HeaderOffset, size)) in ReadBlock()
637 ReadBlock(pData.get(), len); in ReadStream()
Dcpdf_read_validator.h46 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
Dcpdf_syntax_parser.h54 bool ReadBlock(uint8_t* pBuf, uint32_t size);
/external/lzma/CPP/7zip/Common/
DInBuffer.cpp51 bool CInBufferBase::ReadBlock() in ReadBlock() function in CInBufferBase
78 if (!ReadBlock()) in ReadByte_FromNewBlock()
90 if (!ReadBlock()) in ReadByte_FromNewBlock()
122 if (!ReadBlock()) in ReadBytes()
160 if (!ReadBlock()) in Skip()
DInBuffer.h29 bool ReadBlock();
/external/lzma/CS/7zip/Common/
DInBuffer.cs30 public bool ReadBlock() in ReadBlock() method in SevenZip.Buffer.InBuffer
52 if (!ReadBlock()) in ReadByte()
62 if (!ReadBlock()) in ReadByte()
/external/lzma/Java/SevenZip/Compression/LZ/
DInWindow.java39 public void ReadBlock() throws IOException in ReadBlock() method in InWindow
90 ReadBlock(); in Init()
101 ReadBlock(); in MovePos()
/external/lzma/CS/7zip/Compress/LZ/
DLzInWindow.cs39 public virtual void ReadBlock() in ReadBlock() method in SevenZip.Compression.LZ.InWindow
90 ReadBlock(); in Init()
101 ReadBlock(); in MovePos()
/external/pdfium/testing/
Dfx_string_testhelpers.h22 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override { in ReadBlock() function
40 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override { in ReadBlock() function
/external/pdfium/fpdfsdk/
Dfpdfview.cpp141 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
156 bool CPDF_CustomAccess::ReadBlock(void* buffer, in ReadBlock() function in __anond32df76b0111::CPDF_CustomAccess
184 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
185 size_t ReadBlock(void* buffer, size_t size) override;
222 bool FPDF_FileHandlerContext::ReadBlock(void* buffer, in ReadBlock() function in __anond32df76b0111::FPDF_FileHandlerContext
225 if (!buffer || !size || !m_pFS->ReadBlock) in ReadBlock()
228 if (m_pFS->ReadBlock(m_pFS->clientData, (FPDF_DWORD)offset, buffer, in ReadBlock()
236 size_t FPDF_FileHandlerContext::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in __anond32df76b0111::FPDF_FileHandlerContext
237 if (!buffer || !size || !m_pFS->ReadBlock) in ReadBlock()
246 if (m_pFS->ReadBlock(m_pFS->clientData, (FPDF_DWORD)m_nCurPos, buffer, in ReadBlock()
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dtable.cc62 s = ReadBlock(file, footer.index_handle(), &contents); in Open()
108 s = ReadBlock(table->rep_->file, handle, &contents); in BlockReader()
Dformat.h99 extern Status ReadBlock(RandomAccessFile* file, const BlockHandle& handle,
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/
Digfs_random_access_file.cc38 TF_RETURN_IF_ERROR(client_->ReadBlock(&response, resource_id_, offset, n)); in Read()
Digfs_client.h77 Status ReadBlock(ReadBlockCtrlResponse *res, int64_t stream_id, int64_t pos, in ReadBlock() function
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp132 if (!pFile->ReadBlock(data.data(), 0, dwEstimateSize)) in SetJpegImage()
139 pFile->ReadBlock(data.data(), 0, size); in SetJpegImage()
155 if (!pFile->ReadBlock(data.data(), 0, size)) in SetJpegImageInline()
/external/v8/src/parsing/
Dscanner-character-streams.cc265 bool ReadBlock() final { in ReadBlock() function in v8::internal::BufferedCharacterStream
302 bool ReadBlock() final { in ReadBlock() function in v8::internal::UnbufferedCharacterStream
375 bool ReadBlock() final;
389 bool BufferedUtf16CharacterStream::ReadBlock() { in ReadBlock() function in v8::internal::BufferedUtf16CharacterStream

12