Searched refs:hasLength (Results 1 – 14 of 14) sorted by relevance
39 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() argument175 : fHasLength(hasLength) in LengthOptionalStream()179 bool hasLength() const override { in hasLength() function in LengthOptionalStream223 REPORTER_ASSERT(reporter, bufferedStream->hasLength()); in test_initial_offset()
23 bool hasLength() const override { in hasLength() function70 bool hasLength() const override { return true; } in hasLength() function
217 REPORTER_ASSERT(reporter, stream->hasLength()); in check_alphabet_stream()344 REPORTER_ASSERT(r, stream->hasLength()); in DEF_TEST()
1217 REPORTER_ASSERT(r, stream->hasLength() && sizePosition < stream->getLength()); in DEF_TEST()
25 bool hasLength() const override { return fHasLength; } in hasLength() function in FrontBufferedStream73 , fHasLength(stream->hasPosition() && stream->hasLength()) in FrontBufferedStream()
458 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()
320 SkASSERT(stream->hasLength()); in stream_to_data()
134 virtual bool hasLength() const { return false; } in hasLength() function169 bool hasLength() const override { return true; } in hasLength() function
109 bool hasLength() const override { in hasLength() function110 return fStream->hasLength(); in hasLength()
14 , fHasLengthAndPosition(stream->hasLength() && stream->hasPosition()) in SkStreamBuffer()
121 if (stream->hasLength() && stream->getMemoryBase()) { in skjpeg_source_mgr()
245 SkASSERT(this->stream()->hasLength()); in decodeRows()
177 return stream.hasLength() && stream.hasPosition(); in is_asset_stream()
821 if (stream->hasLength()) { in SkCopyStreamToData()837 if (base && input->hasPosition() && input->hasLength()) { in SkStreamCopy()