Home
last modified time | relevance | path

Searched refs:hasPosition (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
Dspan.go90 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 } func
150 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())) {
/third_party/spirv-tools/utils/vscode/src/lsp/span/
Dspan.go90 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 } func
150 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())) {
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
Dspan.go90 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 } func
150 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())) {
/third_party/skia/tests/
DFrontBufferedStreamTest.cpp43 if (streamBeingBuffered.hasLength() && streamBeingBuffered.hasPosition()) { in test_hasLength()
183 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument
185 , fHasPosition(hasPosition) in LengthOptionalStream()
192 bool hasPosition() const override { in hasPosition() function in LengthOptionalStream
DFakeStreams.h19 bool hasPosition() const override { in hasPosition() function
73 bool hasPosition() const override { return true; } in hasPosition() function
DStreamTest.cpp501 REPORTER_ASSERT(r, stream1.hasPosition()); in DEF_TEST()
DCodecTest.cpp1268 REPORTER_ASSERT(r, stream->hasPosition()); in DEF_TEST()
/third_party/skia/src/codec/
DSkStreamBuffer.cpp14 , fHasLengthAndPosition(fStream->hasLength() && fStream->hasPosition()) in SkStreamBuffer()
DSkHeifCodec.cpp143 bool hasPosition() const override { in hasPosition() function
144 return fStream->hasPosition(); in hasPosition()
DSkStubHeifDecoderAPI.h35 virtual bool hasPosition() const = 0;
DSkBmpStandardCodec.cpp260 SkASSERT(this->stream()->hasPosition()); in decodeRows()
DSkRawCodec.cpp167 return stream.hasLength() && stream.hasPosition(); in is_asset_stream()
/third_party/skia/include/core/
DSkStream.h126 virtual bool hasPosition() const { return false; } in hasPosition() function
181 bool hasPosition() const override { return true; } in hasPosition() function
/third_party/skia/client_utils/android/
DFrontBufferedStream.cpp95 , fHasLength(fStream->hasPosition() && fStream->hasLength()) in FrontBufferedStream()
/third_party/skia/src/core/
DSkStream.cpp941 if (base && input->hasPosition() && input->hasLength()) { in SkStreamCopy()