Home
last modified time | relevance | path

Searched refs:hasError (Results 1 – 25 of 57) sorted by relevance

123

/external/dagger2/javatests/dagger/internal/codegen/
DMultibindsValidationTest.java50 .hasError("@Multibinds methods can only be present within a @Module or @ProducerModule"); in notWithinModule()
57 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in voidMethod()
64 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in primitiveMethod()
71 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in rawMap()
78 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in wildcardMap()
85 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in providerMap()
92 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in producerMap()
99 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in producedMap()
106 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in rawSet()
113 .hasError("@Multibinds methods must return Map<K, V> or Set<T>"); in wildcardSet()
[all …]
DProducerModuleFactoryGeneratorTest.java45 .hasError("@Produces methods can only be present within a @ProducerModule"); in producesMethodNotInModule()
50 .hasError("@Produces methods cannot be abstract"); in producesMethodAbstract()
55 .hasError("@Produces methods cannot be private"); in producesMethodPrivate()
60 .hasError("@Produces methods must return a value (not void)"); in producesMethodReturnVoid()
66 .hasError("@Produces methods must not return framework types"); in producesProvider()
72 .hasError("@Produces methods must not return framework types"); in producesLazy()
79 .hasError("@Produces methods must not return framework types"); in producesMembersInjector()
85 .hasError("@Produces methods must not return framework types"); in producesProducer()
91 .hasError("@Produces methods must not return framework types"); in producesProduced()
97 .hasError("@Produces methods cannot return a raw ListenableFuture"); in producesMethodReturnRawFuture()
[all …]
DBindsMethodValidationTest.java54 .hasError("must be abstract"); in nonAbstract()
59 assertThatMethod("@Binds abstract String notAssignable(Object impl);").hasError("assignable"); in notAssignable()
65 .hasError("one parameter"); in moreThanOneParameter()
71 .hasError("type parameters"); in typeParameters()
77 .hasError("within a @Module or @ProducerModule"); in notInModule()
84 .hasError("only throw unchecked"); in throwsException()
89 assertThatMethod("@Binds abstract void returnsVoid(Object impl);").hasError("void"); in returnsVoid()
97 .hasError("more than one @Qualifier"); in tooManyQualifiersOnMethod()
105 .hasError("more than one @Qualifier"); in tooManyQualifiersOnParameter()
110 assertThatMethod("@Binds abstract Object noParameters();").hasError("one parameter"); in noParameters()
[all …]
DBindsOptionalOfMethodValidationTest.java57 .hasError("must be abstract"); in nonAbstract()
63 .hasError("parameters"); in hasParameters()
68 assertThatMethod("@BindsOptionalOf abstract <S> S generic();").hasError("type parameters"); in typeParameters()
74 .hasError("within a @Module or @ProducerModule"); in notInModule()
80 .hasError("may not throw"); in throwsException()
85 assertThatMethod("@BindsOptionalOf abstract void returnsVoid();").hasError("void"); in returnsVoid()
91 .hasError("framework"); in returnsMembersInjector()
99 .hasError("more than one @Qualifier"); in tooManyQualifiers()
105 .hasError("cannot have multibinding annotations"); in intoSet()
111 .hasError("cannot have multibinding annotations"); in elementsIntoSet()
[all …]
DModuleFactoryGeneratorTest.java51 .hasError("@Provides methods can only be present within a @Module or @ProducerModule"); in providesMethodNotInModule()
56 .hasError("@Provides methods cannot be abstract"); in providesMethodAbstract()
61 .hasError("@Provides methods cannot be private"); in providesMethodPrivate()
66 .hasError("@Provides methods must return a value (not void)"); in providesMethodReturnVoid()
72 .hasError("@Provides methods must not return framework types"); in providesMethodReturnsProvider()
78 .hasError("@Provides methods must not return framework types"); in providesMethodReturnsLazy()
84 .hasError("@Provides methods must not return framework types"); in providesMethodReturnsMembersInjector()
90 .hasError("@Provides methods must not return framework types"); in providesMethodReturnsProducer()
96 .hasError("@Provides methods must not return framework types"); in providesMethodReturnsProduced()
101 .hasError("@Provides methods may not have type parameters"); in providesMethodWithTypeParameter()
[all …]
DDaggerModuleMethodSubject.java147 void hasError(String errorSubstring) { in hasError() method in DaggerModuleMethodSubject
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h75 bool hasError() const { in hasError() function
225 if (Flags.hasError()) in JITSymbol()
234 if (Flags.hasError())
242 if (Flags.hasError()) in ~JITSymbol()
250 return !Flags.hasError() && (CachedAddr || GetAddress);
255 if (Flags.hasError()) in takeError()
263 assert(!Flags.hasError() && "getAddress called on error value"); in getAddress()
DRuntimeDyld.h217 bool hasError();
/external/dagger2/java/dagger/android/processor/
DAndroidInjectorDescriptor.java143 return reporter.hasError ? Optional.empty() : Optional.of(builder.build()); in createIfValid()
150 private boolean hasError; field in AndroidInjectorDescriptor.Validator.ErrorReporter
158 hasError = true; in reportError()
163 hasError = true; in reportError()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp48 if (LHSResult.hasError()) in evaluate()
58 if (RHSResult.hasError()) in evaluate()
104 bool hasError() const { return ErrorMsg != ""; } in hasError() function in llvm::RuntimeDyldCheckerExprEval::EvalResult
147 assert(R.hasError() && "Not an error result."); in handleError()
241 if (OpIdxExpr.hasError()) in evalDecodeOperand()
492 if (SubExprResult.hasError()) in evalParensExpr()
515 if (ReadSizeExpr.hasError()) in evalLoadExpr()
530 if (LoadAddrExprResult.hasError()) in evalLoadExpr()
568 if (SubExprResult.hasError()) in evalSimpleExpr()
598 if (HighBitExpr.hasError()) in evalSliceExpr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp48 if (LHSResult.hasError()) in evaluate()
58 if (RHSResult.hasError()) in evaluate()
104 bool hasError() const { return ErrorMsg != ""; } in hasError() function in llvm::RuntimeDyldCheckerExprEval::EvalResult
147 assert(R.hasError() && "Not an error result."); in handleError()
241 if (OpIdxExpr.hasError()) in evalDecodeOperand()
492 if (SubExprResult.hasError()) in evalParensExpr()
515 if (ReadSizeExpr.hasError()) in evalLoadExpr()
530 if (LoadAddrExprResult.hasError()) in evalLoadExpr()
568 if (SubExprResult.hasError()) in evalSimpleExpr()
598 if (HighBitExpr.hasError()) in evalSliceExpr()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSyncResultTest.java27 assertTrue(result.hasError()); in hasSoftError()
36 assertTrue(result.hasError()); in hasHardError()
/external/angle/util/
DEGLWindow.h78 virtual bool hasError() const = 0;
122 bool hasError() const override;
/external/angle/util/windows/
DWGLWindow.h40 bool hasError() const override;
DWGLWindow.cpp231 bool WGLWindow::hasError() const in hasError() function in WGLWindow
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java631 if(!hasError(aNLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
646 if(!hasError(aTLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
661 if(!hasError(uNLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
676 if(!hasError(uTLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
850 private boolean hasError(IDNA.Info info, IDNA.Error error) { in hasError() method in UTS46Test
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUTS46Test.java634 if(!hasError(aNLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
649 if(!hasError(aTLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
664 if(!hasError(uNLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
679 if(!hasError(uTLInfo, IDNA.Error.LABEL_HAS_DOT)) { in TestSomeCases()
853 private boolean hasError(IDNA.Info info, IDNA.Error error) { in hasError() method in UTS46Test
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp322 if (Dyld.hasError()) in printLineInfoForInput()
445 if (Dyld.hasError()) { in executeInput()
713 if (Dyld.hasError()) { in linkAndVerify()
729 if (Dyld.hasError()) in linkAndVerify()
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp316 if (Dyld.hasError()) in printLineInfoForInput()
439 if (Dyld.hasError()) { in executeInput()
708 if (Dyld.hasError()) { in linkAndVerify()
724 if (Dyld.hasError()) in linkAndVerify()
/external/skia/src/xml/
DSkXMLParser.h38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError() function
/external/skqp/src/xml/
DSkXMLParser.h38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError() function
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp85 if (TP.hasError()) in FillWithPossibleTypes()
155 if (InVT.isCompletelyUnknown() || *this == InVT || TP.hasError()) in MergeInTypeInfo()
230 if (TP.hasError()) in EnforceInteger()
256 if (TP.hasError()) in EnforceFloatingPoint()
282 if (TP.hasError()) in EnforceScalar()
309 if (TP.hasError()) in EnforceVector()
338 if (TP.hasError()) in EnforceSmallerThan()
381 if (TP.hasError()) in EnforceSmallerThan()
484 if (TP.hasError()) in EnforceVectorEltTypeIs()
515 if (TP.hasError()) in EnforceVectorSubVectorTypeIs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h114 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError() function
118 if (hasError()) in getError()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h98 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError() function
101 if (hasError()) in getError()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayer.cpp153 if (RTDyld->hasError()) { in emit()

123