Searched refs:hasPosition (Results 1 – 15 of 15) sorted by relevance
90 if !a.hasPosition() {114 func (s Span) HasPosition() bool { return s.v.Start.hasPosition() }124 func (p Point) HasPosition() bool { return p.v.hasPosition() }130 if !p.v.hasPosition() {136 if !p.v.hasPosition() {148 func (p point) hasPosition() bool { return p.Line > 0 } func150 func (p point) isValid() bool { return p.hasPosition() || p.hasOffset() }152 return (p.Line == 1 && p.Column == 1) || (!p.hasPosition() && p.Offset == 0)265 if withOffset && (!s.HasOffset() || (s.v.End.hasPosition() && !s.v.End.hasOffset())) {
43 if (streamBeingBuffered.hasLength() && streamBeingBuffered.hasPosition()) { in test_hasLength()183 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument185 , fHasPosition(hasPosition) in LengthOptionalStream()192 bool hasPosition() const override { in hasPosition() function in LengthOptionalStream
19 bool hasPosition() const override { in hasPosition() function73 bool hasPosition() const override { return true; } in hasPosition() function
501 REPORTER_ASSERT(r, stream1.hasPosition()); in DEF_TEST()
1268 REPORTER_ASSERT(r, stream->hasPosition()); in DEF_TEST()
14 , fHasLengthAndPosition(fStream->hasLength() && fStream->hasPosition()) in SkStreamBuffer()
143 bool hasPosition() const override { in hasPosition() function144 return fStream->hasPosition(); in hasPosition()
35 virtual bool hasPosition() const = 0;
260 SkASSERT(this->stream()->hasPosition()); in decodeRows()
167 return stream.hasLength() && stream.hasPosition(); in is_asset_stream()
126 virtual bool hasPosition() const { return false; } in hasPosition() function181 bool hasPosition() const override { return true; } in hasPosition() function
95 , fHasLength(fStream->hasPosition() && fStream->hasLength()) in FrontBufferedStream()
941 if (base && input->hasPosition() && input->hasLength()) { in SkStreamCopy()