Searched refs:hasPosition (Results 1 – 4 of 4) sorted by relevance
39 if (streamBeingBuffered.hasLength() && streamBeingBuffered.hasPosition()) { in test_hasLength()173 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument175 , fHasPosition(hasPosition) in LengthOptionalStream()182 bool hasPosition() const override { in hasPosition() function in LengthOptionalStream
25 bool hasPosition() const override { return true; } in hasPosition() function in FrontBufferedStream77 , fHasLength(stream->hasPosition() && stream->hasLength()) in FrontBufferedStream()
111 virtual bool hasPosition() const { return false; } in hasPosition() function156 bool hasPosition() const override { return true; } in hasPosition() function
916 if (stream->hasPosition()) { // If stream has length, but can't rewind. in SkStreamRewindableFromSkStream()