Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/fxfa/app/
Dxfa_ffapp_unittest.cpp23 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
36 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
62 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
66 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 1, 0)); in TEST()
70 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 0, 1)); in TEST()
75 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 0, sizeof(output_buffer))); in TEST()
79 EXPECT_TRUE(fileread->ReadBlock(output_buffer, 2, 10)); in TEST()
84 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 1, sizeof(output_buffer))); in TEST()
Dxfa_ffapp.cpp35 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
57 bool CXFA_FileRead::ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) { in ReadBlock() function in __anonb6f564330111::CXFA_FileRead
/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()
111 if (!ReadBlock()) in ReadBytes()
132 if (!ReadBlock()) in Skip()
DInBuffer.h29 bool ReadBlock();
DStreamObjects.h127 virtual HRESULT ReadBlock(UInt64 blockIndex, Byte *dest, size_t blockSize) = 0;
/external/pdfium/core/fxcrt/
Dfx_stream.h61 virtual size_t ReadBlock(void* buffer, size_t size) = 0;
84 size_t ReadBlock(void* buffer, size_t size) override;
86 virtual bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) = 0;
104 size_t ReadBlock(void* buffer, size_t size) override = 0;
105 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override = 0;
137 size_t ReadBlock(void* buffer, size_t size) override = 0;
Dfx_extension.cpp73 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
74 size_t ReadBlock(void* buffer, size_t size) override;
102 bool CFX_CRTFileStream::ReadBlock(void* buffer, in ReadBlock() function in __anon11accc5e0111::CFX_CRTFileStream
108 size_t CFX_CRTFileStream::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in __anon11accc5e0111::CFX_CRTFileStream
135 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
136 size_t ReadBlock(void* buffer, size_t size) override;
204 bool CFX_MemoryStream::ReadBlock(void* buffer, in ReadBlock() function in __anon11accc5e0111::CFX_MemoryStream
238 size_t CFX_MemoryStream::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in __anon11accc5e0111::CFX_MemoryStream
243 if (!ReadBlock(buffer, (int32_t)m_nCurPos, nRead)) { in ReadBlock()
Dfxcrt_stream.cpp21 size_t IFX_SeekableReadStream::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in IFX_SeekableReadStream
Dfx_xml_parser.cpp79 size_t ReadBlock(void* buffer, size_t size) override;
107 size_t CXML_DataBufAcc::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in __anone56f78be0111::CXML_DataBufAcc
142 size_t ReadBlock(void* buffer, size_t size) override;
178 size_t CXML_DataStmAcc::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in __anone56f78be0111::CXML_DataStmAcc
197 return m_pFileRead->ReadBlock(m_pBuffer, m_nStart, m_dwSize); in ReadNextBlock()
/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/opencv/otherlibs/highgui/
Dbitstrm.cpp114 void RBaseStream::ReadBlock() in ReadBlock() function in RBaseStream
240 ReadBlock(); in GetByte()
266 ReadBlock(); in GetBytes()
373 void RLBitStream::ReadBlock() in ReadBlock() function in RLBitStream
375 RBaseStream::ReadBlock(); in ReadBlock()
407 ReadBlock(); in Get()
426 ReadBlock(); in Show()
483 void RMBitStream::ReadBlock() in ReadBlock() function in RMBitStream
485 RBaseStream::ReadBlock(); in ReadBlock()
516 ReadBlock(); in Get()
[all …]
Dbitstrm.h89 virtual void ReadBlock();
136 virtual void ReadBlock();
155 virtual void ReadBlock();
Dgrfmt_jpeg.h102 virtual void ReadBlock();
/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/v8/src/parsing/
Dscanner-character-streams.cc34 bool ReadBlock() override;
48 bool BufferedUtf16CharacterStream::ReadBlock() { in ReadBlock() function in v8::internal::BufferedUtf16CharacterStream
108 bool ReadBlock() override;
128 bool ExternalTwoByteStringUtf16CharacterStream::ReadBlock() { in ReadBlock() function in v8::internal::ExternalTwoByteStringUtf16CharacterStream
561 bool ReadBlock() override;
579 bool TwoByteExternalStreamingStream::ReadBlock() { in ReadBlock() function in v8::internal::TwoByteExternalStreamingStream
658 bool ReadBlock() override;
680 bool TwoByteExternalBufferedStream::ReadBlock() { in ReadBlock() function in v8::internal::TwoByteExternalBufferedStream
Dscanner.h46 } else if (ReadBlock()) { in Advance()
116 bool success = ReadBlock(); in ReadBlockAt()
140 virtual bool ReadBlock() = 0;
/external/pdfium/fpdfsdk/
Dfpdfview.cpp144 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
159 bool CPDF_CustomAccess::ReadBlock(void* buffer, in ReadBlock() function in __anon874d7fa20111::CPDF_CustomAccess
187 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
188 size_t ReadBlock(void* buffer, size_t size) override;
225 bool CFPDF_FileStream::ReadBlock(void* buffer, in ReadBlock() function in __anon874d7fa20111::CFPDF_FileStream
228 if (!buffer || !size || !m_pFS->ReadBlock) in ReadBlock()
231 if (m_pFS->ReadBlock(m_pFS->clientData, (FPDF_DWORD)offset, buffer, in ReadBlock()
239 size_t CFPDF_FileStream::ReadBlock(void* buffer, size_t size) { in ReadBlock() function in __anon874d7fa20111::CFPDF_FileStream
240 if (!buffer || !size || !m_pFS->ReadBlock) in ReadBlock()
249 if (m_pFS->ReadBlock(m_pFS->clientData, (FPDF_DWORD)m_nCurPos, buffer, in ReadBlock()
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp69 if (!m_pFileAccess->ReadBlock(m_pFileBuf, read_pos, read_size)) in ReadChar()
112 bool CPDF_SyntaxParser::ReadBlock(uint8_t* pBuf, uint32_t size) { in ReadBlock() function in CPDF_SyntaxParser
113 if (!m_pFileAccess->ReadBlock(pBuf, m_Pos + m_HeaderOffset, size)) in ReadBlock()
733 ReadBlock(pData.get(), len); in ReadStream()
773 pFileAccess->ReadBlock(m_pFileBuf, 0, in InitParser()
Dcpdf_syntax_parser.h55 bool ReadBlock(uint8_t* pBuf, uint32_t size);
Dcpdf_data_avail.cpp565 m_pFileRead->ReadBlock(buffer, 0, kReqSize); in CheckHeader()
702 m_pFileRead->ReadBlock(buffer, 0, kReqSize); in IsLinearizedPDF()
751 m_pFileRead->ReadBlock(buffer, req_pos, dwSize); in CheckEnd()
799 m_pFileRead->ReadBlock(pBuf, m_dwCurrentXRefSteam, iSize); in CheckCrossRefStream()
932 if (!m_pFileRead->ReadBlock(m_bufferData, read_pos, read_size)) in GetNextChar()
1045 if (!m_pFileRead->ReadBlock(pBuf, m_dwTrailerOffset, iSize)) in CheckTrailer()
Dcpdf_stream.cpp117 return m_pFile->ReadBlock(buf, offset, size); in ReadRawData()
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp127 if (!pFile->ReadBlock(data.data(), 0, dwEstimateSize)) in SetJpegImage()
134 pFile->ReadBlock(data.data(), 0, size); in SetJpegImage()
150 if (!pFile->ReadBlock(data.data(), 0, size)) in SetJpegImageInline()
/external/pdfium/testing/libfuzzer/
Dxfa_codec_fuzzer.h57 bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override { in ReadBlock() function
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp344 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in JpegReadMoreData()
606 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in GifReadMoreData()
885 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in BmpReadMoreData()
1038 bool bResult = m_pFile->ReadBlock(m_pSrcBuf, 0, size); in DetectImageType()
1090 bool bResult = m_pFile->ReadBlock(m_pSrcBuf, 0, size); in DetectImageType()
1134 bool bResult = m_pFile->ReadBlock(m_pSrcBuf, 0, size); in DetectImageType()
1159 bResult = m_pFile->ReadBlock(m_pSrcBuf, m_offSet, input_size); in DetectImageType()
1191 bool bResult = m_pFile->ReadBlock(m_pSrcBuf, 0, size); in DetectImageType()
2107 bool bResult = m_pFile->ReadBlock(m_pSrcBuf, m_offSet, input_size); in ContinueDecode()

12