Home
last modified time | relevance | path

Searched refs:hasLength (Results 1 – 14 of 14) sorted by relevance

/external/skia/tests/
DFrontBufferedStreamTest.cpp39 if (streamBeingBuffered.hasLength() && streamBeingBuffered.hasPosition()) { in test_hasLength()
40 REPORTER_ASSERT(reporter, bufferedStream.hasLength()); in test_hasLength()
42 REPORTER_ASSERT(reporter, !bufferedStream.hasLength()); in test_hasLength()
174 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument
175 : fHasLength(hasLength) in LengthOptionalStream()
179 bool hasLength() const override { in hasLength() function in LengthOptionalStream
223 REPORTER_ASSERT(reporter, bufferedStream->hasLength()); in test_initial_offset()
DFakeStreams.h23 bool hasLength() const override { in hasLength() function
70 bool hasLength() const override { return true; } in hasLength() function
DDataRefTest.cpp217 REPORTER_ASSERT(reporter, stream->hasLength()); in check_alphabet_stream()
344 REPORTER_ASSERT(r, stream->hasLength()); in DEF_TEST()
DCodecTest.cpp1217 REPORTER_ASSERT(r, stream->hasLength() && sizePosition < stream->getLength()); in DEF_TEST()
/external/skia/src/utils/
DSkFrontBufferedStream.cpp25 bool hasLength() const override { return fHasLength; } in hasLength() function in FrontBufferedStream
73 , fHasLength(stream->hasPosition() && stream->hasLength()) in FrontBufferedStream()
/external/skia/src/pdf/
DSkPDFTypes.cpp458 SkASSERT(dup && dup->hasLength()); in emitObject()
538 SkASSERT(dup->hasLength()); in emitObject()
551 SkASSERT(fCompressedData && fCompressedData->hasLength()); in setData()
555 SkASSERT(stream->hasLength()); in setData()
DSkPDFFont.cpp320 SkASSERT(stream->hasLength()); in stream_to_data()
/external/skia/include/core/
DSkStream.h134 virtual bool hasLength() const { return false; } in hasLength() function
169 bool hasLength() const override { return true; } in hasLength() function
/external/skia/src/codec/
DSkHeifCodec.cpp109 bool hasLength() const override { in hasLength() function
110 return fStream->hasLength(); in hasLength()
DSkStreamBuffer.cpp14 , fHasLengthAndPosition(stream->hasLength() && stream->hasPosition()) in SkStreamBuffer()
DSkJpegUtility.cpp121 if (stream->hasLength() && stream->getMemoryBase()) { in skjpeg_source_mgr()
DSkBmpStandardCodec.cpp245 SkASSERT(this->stream()->hasLength()); in decodeRows()
DSkRawCodec.cpp177 return stream.hasLength() && stream.hasPosition(); in is_asset_stream()
/external/skia/src/core/
DSkStream.cpp821 if (stream->hasLength()) { in SkCopyStreamToData()
837 if (base && input->hasPosition() && input->hasLength()) { in SkStreamCopy()