Home
last modified time | relevance | path

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

12

/external/skqp/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()
178 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument
179 : fHasLength(hasLength) in LengthOptionalStream()
183 bool hasLength() const override { in hasLength() function in LengthOptionalStream
229 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()
/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()
178 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument
179 : fHasLength(hasLength) in LengthOptionalStream()
183 bool hasLength() const override { in hasLength() function in LengthOptionalStream
229 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()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDesugarTryWithResourcesFunctionalTest.java60 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException()
62 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException()
83 assertThat(ThrowableExtension.getSuppressed(expected)).hasLength(1); in testSimpleTryWithResources()
87 assertThat(expected.getSuppressed()).hasLength(1); in testSimpleTryWithResources()
DTryWithResourcesRewriterTest.java132 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException()
142 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException()
144 assertThat(suppressed).hasLength(1); in testCheckSuppressedExceptionReturningOneSuppressedException()
164 assertThat(expected.getSuppressed()).hasLength(1); in testSimpleTryWithResources()
181 assertThat(ThrowableExtension.getSuppressed(expected)).hasLength(1); in testSimpleTryWithResources()
185 assertThat(expected.getSuppressed()).hasLength(1); in testSimpleTryWithResources()
DDesugarJava8FunctionalTest.java207 assertThat(annotations).hasLength(1); in testAnnotationsOfDefaultMethodsAreKept()
214 assertThat(annotations).hasLength(1); in testAnnotationsOfDefaultMethodsAreKept()
221 assertThat(annotations).hasLength(1); in testAnnotationsOfDefaultMethodsAreKept()
DDesugarFunctionalTest.java285 .hasLength(expectedBridgesFromSameTarget + 1); in testLambdaWithInheritedBridgeMethods()
306 .hasLength(expectedBridgesFromSeparateTarget + 1); in testLambdaWithBridgeMethodsForInterfaceInSeparateTarget()
/external/skqp/src/utils/
DSkFrontBufferedStream.cpp25 bool hasLength() const override { return fHasLength; } in hasLength() function in FrontBufferedStream
75 , fHasLength(fStream->hasPosition() && fStream->hasLength()) in FrontBufferedStream()
/external/skia/src/utils/
DSkFrontBufferedStream.cpp25 bool hasLength() const override { return fHasLength; } in hasLength() function in FrontBufferedStream
75 , fHasLength(fStream->hasPosition() && fStream->hasLength()) in FrontBufferedStream()
/external/skqp/src/codec/
DSkStubHeifDecoderAPI.h30 virtual bool hasLength() const = 0;
DSkHeifCodec.cpp109 bool hasLength() const override { in hasLength() function
110 return fStream->hasLength(); in hasLength()
DSkStreamBuffer.cpp14 , fHasLengthAndPosition(fStream->hasLength() && fStream->hasPosition()) in SkStreamBuffer()
DSkJpegUtility.cpp127 if (stream->hasLength() && stream->getMemoryBase()) { in skjpeg_source_mgr()
/external/skia/src/codec/
DSkStubHeifDecoderAPI.h30 virtual bool hasLength() const = 0;
DSkHeifCodec.cpp109 bool hasLength() const override { in hasLength() function
110 return fStream->hasLength(); in hasLength()
DSkStreamBuffer.cpp14 , fHasLengthAndPosition(fStream->hasLength() && fStream->hasPosition()) in SkStreamBuffer()
DSkJpegUtility.cpp127 if (stream->hasLength() && stream->getMemoryBase()) { in skjpeg_source_mgr()
/external/skqp/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()
/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()
/external/skqp/include/core/
DSkStream.h137 virtual bool hasLength() const { return false; } in hasLength() function
185 bool hasLength() const override { return true; } in hasLength() function
/external/skia/include/core/
DSkStream.h137 virtual bool hasLength() const { return false; } in hasLength() function
185 bool hasLength() const override { return true; } in hasLength() function
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
DThrowableExtensionTest.java150 assertThat(ThrowableExtension.getSuppressed(suppressor)).hasLength(1); in testCloseResource()
182 assertThat(ThrowableExtension.getSuppressed(suppressor)).hasLength(1); in testCloseResource()

12