Home
last modified time | relevance | path

Searched refs:getResult (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
DWatcherImplTest.java108 public int getResult() { in getResult() method in WatcherImplTest.WatcherResult
123 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testCorrectResult()
126 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testCorrectResult()
131 Assert.assertEquals(MojoResult.OK, watcherResult.getResult()); in testCorrectResult()
145 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingPeerHandle()
148 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingPeerHandle()
151 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingPeerHandle()
155 Assert.assertEquals(MojoResult.FAILED_PRECONDITION, watcherResult.getResult()); in testClosingPeerHandle()
169 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingWatchedHandle()
172 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingWatchedHandle()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DLoopPassManager.h94 (void)AM.template getResult<AnalysisT>(L, AR);
282 LoopInfo &LI = AM.getResult<LoopAnalysis>(F);
290 ? (&AM.getResult<MemorySSAAnalysis>(F).getMSSA())
292 LoopStandardAnalysisResults LAR = {AM.getResult<AAManager>(F),
293 AM.getResult<AssumptionAnalysis>(F),
294 AM.getResult<DominatorTreeAnalysis>(F),
295 AM.getResult<LoopAnalysis>(F),
296 AM.getResult<ScalarEvolutionAnalysis>(F),
297 AM.getResult<TargetLibraryAnalysis>(F),
298 AM.getResult<TargetIRAnalysis>(F),
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DRpcProtocolVersionsUtilTest.java71 assertTrue(checkResult.getResult()); in checkRpcVersions()
86 assertTrue(checkResult.getResult()); in checkRpcVersions()
101 assertTrue(checkResult.getResult()); in checkRpcVersions()
116 assertTrue(checkResult.getResult()); in checkRpcVersions()
131 assertTrue(checkResult.getResult()); in checkRpcVersions()
146 assertTrue(checkResult.getResult()); in checkRpcVersions()
161 assertTrue(checkResult.getResult()); in checkRpcVersions()
176 assertTrue(checkResult.getResult()); in checkRpcVersions()
191 assertTrue(checkResult.getResult()); in checkRpcVersions()
206 assertFalse(checkResult.getResult()); in checkRpcVersions()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccountManagerTest.java331 assertThat(future.getResult()).isFalse(); in removeAccount_doesNotRemoveAccountOfDifferentName()
342 assertThat(future.getResult()).isTrue(); in removeAccount_does()
527 Bundle resultBundle = result.getResult(); in addAccount_noActivitySpecified()
537 Bundle resultBundle = result.getResult(); in addAccount_activitySpecified()
557 Bundle resultBundle = callback.getResult(); in addAccount_shouldCallCallback()
576 Bundle resultBundle = callback.getResult(); in addAccount_whenSchedulerPaused_shouldCallCallbackAfterSchedulerUnpaused()
585 future.getResult(); in addAccount_noAuthenticatorDefined()
630 futureResult.getResult(); in addAccount_withNoAuthenticatorForType_throwsExceptionInGetResult()
669 … assertThat(future.getResult().getString(AccountManager.KEY_ACCOUNT_NAME)).isEqualTo(account.name); in getAuthToken_withActivity_returnsCorrectToken()
670 … assertThat(future.getResult().getString(AccountManager.KEY_ACCOUNT_TYPE)).isEqualTo(account.type); in getAuthToken_withActivity_returnsCorrectToken()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DAbstractStorelessUnivariateStatistic.java91 return getResult(); in evaluate()
108 public abstract double getResult(); in getResult() method in AbstractStorelessUnivariateStatistic
169 return MathUtils.equalsIncludingNaN(stat.getResult(), this.getResult()) && in equals()
180 return 31* (31 + MathUtils.hash(getResult())) + MathUtils.hash(getN()); in hashCode()
DSummaryStatistics.java181 return sumImpl.getResult(); in getSum()
192 return sumsqImpl.getResult(); in getSumsq()
204 return new Mean(secondMoment).getResult(); in getMean()
206 return meanImpl.getResult(); in getMean()
238 return new Variance(secondMoment).getResult(); in getVariance()
240 return varianceImpl.getResult(); in getVariance()
252 return maxImpl.getResult(); in getMax()
263 return minImpl.getResult(); in getMin()
274 return geoMeanImpl.getResult(); in getGeometricMean()
286 return sumLogImpl.getResult(); in getSumOfLogs()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DOneWayAnovaImpl.java168 double ss = sumsq.getResult() - sum.getResult() * sum.getResult() / num; in anovaStats()
171 double sst = totsumsq.getResult() - totsum.getResult() * in anovaStats()
172 totsum.getResult()/totnum; in anovaStats()
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp594 AAR->addAAResult(getAnalysis<BasicAAWrapperPass>().getResult()); in runOnFunction()
598 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
600 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
603 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
605 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
607 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
609 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
611 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
652 AAR.addAAResult(WrapperPass->getResult()); in createLegacyPMAAResults()
654 AAR.addAAResult(WrapperPass->getResult()); in createLegacyPMAAResults()
[all …]
DMemoryDependenceAnalysis.cpp770 if (Entry.getResult().isDirty()) in getNonLocalCallDependency()
818 if (!Entry->getResult().isDirty()) in getNonLocalCallDependency()
829 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
947 if (ExistingResult && !ExistingResult->getResult().isDirty()) { in GetNonLocalInfoForBlock()
949 return ExistingResult->getResult(); in GetNonLocalInfoForBlock()
956 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
957 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
960 ScanPos = ExistingResult->getResult().getInst()->getIterator(); in GetNonLocalInfoForBlock()
1076 if (Instruction *Inst = Entry.getResult().getInst()) in getNonLocalPointerDepFromBB()
1095 if (Instruction *Inst = Entry.getResult().getInst()) in getNonLocalPointerDepFromBB()
[all …]
DRegionInfo.cpp189 auto *DT = &AM.getResult<DominatorTreeAnalysis>(F); in run()
190 auto *PDT = &AM.getResult<PostDominatorTreeAnalysis>(F); in run()
191 auto *DF = &AM.getResult<DominanceFrontierAnalysis>(F); in run()
203 AM.getResult<RegionInfoAnalysis>(F).print(OS); in run()
210 AM.getResult<RegionInfoAnalysis>(F).verifyAnalysis(); in run()
/external/fonttools/Tests/pens/
DpointInsidePen_test.py81 if pen.getResult():
99 self.assertEqual(piPen.getResult(), False)
104 self.assertEqual(piPen.getResult(), True)
117 self.assertEqual(piPen.getResult(), True)
130 self.assertEqual(piPen.getResult(), True)
142 self.assertEqual(piPen.getResult(), True)
146 self.assertEqual(piPen.getResult(), True)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp806 if (Entry.getResult().isDirty()) in getNonLocalCallDependency()
854 if (!Entry->getResult().isDirty()) in getNonLocalCallDependency()
865 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
928 ReverseNonLocalDefsCache[NonLocalDefIt->second.getResult().getInst()] in getNonLocalPointerDependency()
993 if (ExistingResult && !ExistingResult->getResult().isDirty()) { in GetNonLocalInfoForBlock()
995 return ExistingResult->getResult(); in GetNonLocalInfoForBlock()
1002 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
1003 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
1006 ScanPos = ExistingResult->getResult().getInst()->getIterator(); in GetNonLocalInfoForBlock()
1122 if (Instruction *Inst = Entry.getResult().getInst()) in getNonLocalPointerDepFromBB()
[all …]
DAliasAnalysis.cpp727 AAR->addAAResult(getAnalysis<BasicAAWrapperPass>().getResult()); in runOnFunction()
731 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
733 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
736 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
738 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
740 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
742 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
744 AAR->addAAResult(WrapperPass->getResult()); in runOnFunction()
785 AAR.addAAResult(WrapperPass->getResult()); in createLegacyPMAAResults()
787 AAR.addAAResult(WrapperPass->getResult()); in createLegacyPMAAResults()
[all …]
DRegionInfo.cpp192 auto *DT = &AM.getResult<DominatorTreeAnalysis>(F); in run()
193 auto *PDT = &AM.getResult<PostDominatorTreeAnalysis>(F); in run()
194 auto *DF = &AM.getResult<DominanceFrontierAnalysis>(F); in run()
206 AM.getResult<RegionInfoAnalysis>(F).print(OS); in run()
213 AM.getResult<RegionInfoAnalysis>(F).verifyAnalysis(); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp278 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager(); in TEST_F()
280 AM.getResult<FunctionAnalysisManagerCGSCCProxy>(C, CG).getManager(); in TEST_F()
286 TestSCCAnalysis::Result &AR = AM.getResult<TestSCCAnalysis>(C, CG); in TEST_F()
290 FAM.getResult<TestFunctionAnalysis>(N.getFunction()); in TEST_F()
294 (void)FAM.getResult<TestImmutableFunctionAnalysis>(N.getFunction()); in TEST_F()
353 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager(); in TEST_F()
372 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager(); in TEST_F()
394 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager(); in TEST_F()
432 AM.getResult<ModuleAnalysisManagerFunctionProxy>(F).getManager(); in TEST_F()
453 AM.getResult<ModuleAnalysisManagerFunctionProxy>(F).getManager(); in TEST_F()
[all …]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/
DParseResultTest.java44 assertThat(result.getResult().isPresent()).isTrue(); in whenParsingSucceedsThenWeGetResultsAndNoProblems()
45 assertThat(result.getResult().get().getParsed()).isEqualTo(PARSED); in whenParsingSucceedsThenWeGetResultsAndNoProblems()
56 assertThat(result.getResult().isPresent()).isTrue(); in whenParsingFailsThenWeGetProblemsAndABadResult()
57 assertThat(result.getResult().get().getParsed()).isEqualTo(UNPARSABLE); in whenParsingFailsThenWeGetProblemsAndABadResult()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/
DParseErrorRecoveryTest.java18 … CompilationUnit cu = parser.parse(ParseStart.COMPILATION_UNIT, provider("XXX")).getResult().get(); in compilationUnitRecovery()
24 …n cu = parser.parse(ParseStart.CLASS_BODY, provider("int x(){X X X;}")).getResult().get().asMethod… in bodystatementSemicolonRecovery()
31 …on cu = parser.parse(ParseStart.CLASS_BODY, provider("int x(){X X X}")).getResult().get().asMethod… in bodystatementClosingBraceRecovery()
38 …ser.parse(ParseStart.COMPILATION_UNIT, provider("class X{int x(){aaa:X X X;}}")).getResult().get(); in labeledStatementSemicolonRecovery()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DSourceRoot.java114 result.getResult().ifPresent(cu -> cu.setStorage(path)); in tryToParse()
243 return result.getResult().get(); in parse()
284 result.getResult().ifPresent(cu -> cu.setStorage(absolutePath)); in parse()
286 if (result.getResult().isPresent()) { in parse()
287 save(result.getResult().get(), path); in parse()
332 result.getResult().ifPresent(cu -> cu.setStorage(file)); in parseParallelized()
334 if (result.getResult().isPresent()) { in parseParallelized()
335 save(result.getResult().get(), path); in parseParallelized()
433 if (cu.getValue().getResult().isPresent()) { in saveAll()
435 save(cu.getValue().getResult().get(), path); in saveAll()
[all …]
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp134 (void)AM.getResult<TestModuleAnalysis>(M); in run()
156 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C).getManager(); in run()
158 AM.getResult<FunctionAnalysisManagerCGSCCProxy>(C).getManager(); in run()
174 TestSCCAnalysis::Result &AR = AM.getResult<TestSCCAnalysis>(C); in run()
178 FAM.getResult<TestFunctionAnalysis>(N.getFunction()); in run()
182 (void)FAM.getResult<TestImmutableFunctionAnalysis>(N.getFunction()); in run()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java94 assertSame(null, getResponse(methodName).getResult()); in callAndAssertReturns()
106 assertEquals(expected, getResponse(methodName).getResult()); in callAndAssertReturns()
118 assertEquals(expected, getResponse(methodName).getResult()); in callAndAssertReturns()
173 assertEquals(null, getResponse(methodName).getResult()); in assertPriorCallReturns()
182 assertEquals(expected, getResponse(methodName).getResult()); in assertPriorCallReturns()
284 Object getResult() { in getResult() method in TestThread.Response
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/
DVarTypeTest.java29 ….parse(ParseStart.COMPILATION_UNIT, provider("class X{void x(){var abc = 1;}}")).getResult().get(); in resolveAPrimitive()
39 …rse(ParseStart.COMPILATION_UNIT, provider("class X{void x(){var abc = \"\";}}")).getResult().get(); in resolveAReferenceType()
49 …rser.parse(ParseStart.COMPILATION_UNIT, provider("class X{void x(){var abc;}}")).getResult().get(); in failResolveNoInitializer()
57 …Parser.parse(ParseStart.COMPILATION_UNIT, provider("class X{void x(var x){};}")).getResult().get(); in failResolveWrongLocation()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp614 if (I->getResult().isDirty()) in getNonLocalCallDependency()
662 if (!Entry->getResult().isDirty()) in getNonLocalCallDependency()
673 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
774 if (ExistingResult && !ExistingResult->getResult().isDirty()) { in GetNonLocalInfoForBlock()
776 return ExistingResult->getResult(); in GetNonLocalInfoForBlock()
783 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
784 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
787 ScanPos = ExistingResult->getResult().getInst(); in GetNonLocalInfoForBlock()
904 if (Instruction *Inst = DI->getResult().getInst()) in getNonLocalPointerDepFromBB()
925 if (Instruction *Inst = DI->getResult().getInst()) in getNonLocalPointerDepFromBB()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInstSimplifyPass.cpp131 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); in run()
132 auto &TLI = AM.getResult<TargetLibraryAnalysis>(F); in run()
133 auto &AC = AM.getResult<AssumptionAnalysis>(F); in run()
134 auto &ORE = AM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run()
DLoopLoadElimination.cpp664 auto &SE = AM.getResult<ScalarEvolutionAnalysis>(F); in run()
665 auto &LI = AM.getResult<LoopAnalysis>(F); in run()
666 auto &TTI = AM.getResult<TargetIRAnalysis>(F); in run()
667 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); in run()
668 auto &TLI = AM.getResult<TargetLibraryAnalysis>(F); in run()
669 auto &AA = AM.getResult<AAManager>(F); in run()
670 auto &AC = AM.getResult<AssumptionAnalysis>(F); in run()
672 auto &LAM = AM.getResult<LoopAnalysisManagerFunctionProxy>(F).getManager(); in run()
677 return LAM.getResult<LoopAccessAnalysis>(L, AR); in run()
/external/volley/src/test/java/com/android/volley/toolbox/
DAndroidAuthenticatorTest.java57 when(mFuture.getResult()).thenThrow(new AuthenticatorException("sadness!")); in failedGetAuthToken()
68 when(mFuture.getResult()).thenReturn(bundle); in resultContainsIntent()
79 when(mFuture.getResult()).thenReturn(bundle); in missingAuthToken()
97 when(mFuture.getResult()).thenReturn(bundle); in goodToken()

12345678910>>...16