| /external/mockito/src/main/java/org/mockito/internal/invocation/ | 
| D | InvocationsFinder.java | 14 import org.mockito.invocation.Invocation; 23 …public static List<Invocation> findInvocations(List<Invocation> invocations, MatchableInvocation w…  in findInvocations() 27 …public static List<Invocation> findAllMatchingUnverifiedChunks(List<Invocation> invocations, Match…  in findAllMatchingUnverifiedChunks() 28         List<Invocation> unverified = removeVerifiedInOrder(invocations, orderingContext);  in findAllMatchingUnverifiedChunks() 47 …public static List<Invocation> findMatchingChunk(List<Invocation> invocations, MatchableInvocation…  in findMatchingChunk() 48         List<Invocation> unverified = removeVerifiedInOrder(invocations, context);  in findMatchingChunk() 49         List<Invocation> firstChunk = getFirstMatchingChunk(wanted, unverified);  in findMatchingChunk() 58 …private static List<Invocation> getFirstMatchingChunk(MatchableInvocation wanted, List<Invocation>…  in getFirstMatchingChunk() 59         List<Invocation> firstChunk = new LinkedList<Invocation>();  in getFirstMatchingChunk() 60         for (Invocation invocation : unverified) {  in getFirstMatchingChunk() [all …] 
 | 
| D | InvocationMatcher.java | 22 import org.mockito.invocation.Invocation; 32     private final Invocation invocation; 36     public InvocationMatcher(Invocation invocation, List<ArgumentMatcher> matchers) {  in InvocationMatcher() 46     public InvocationMatcher(Invocation invocation) {  in InvocationMatcher() 50     public static List<InvocationMatcher> createFrom(List<Invocation> invocations) {  in createFrom() 52         for (Invocation i : invocations) {  in createFrom() 63     public Invocation getInvocation() {  in getInvocation() 80     public boolean matches(Invocation candidate) {  in matches() 88     public boolean hasSimilarMethod(Invocation candidate) {  in hasSimilarMethod() 109     public boolean hasSameMethod(Invocation candidate) {  in hasSameMethod() [all …] 
 | 
| D | InvocationMarker.java | 8 import org.mockito.invocation.Invocation; 17     public static void markVerified(List<Invocation> invocations, MatchableInvocation wanted) {  in markVerified() 18         for (Invocation invocation : invocations) {  in markVerified() 23     public static void markVerified(Invocation invocation, MatchableInvocation wanted) {  in markVerified() 28 …public static void markVerifiedInOrder(List<Invocation> chunk, MatchableInvocation wanted, InOrder…  in markVerifiedInOrder() 31         for (Invocation i : chunk) {  in markVerifiedInOrder()
  | 
| /external/mockito/src/main/java/org/mockito/internal/junit/ | 
| D | StubbingArgMismatches.java | 8 import org.mockito.invocation.Invocation; 20 …final Map<Invocation, Set<Invocation>> mismatches = new LinkedHashMap<Invocation, Set<Invocation>>… 22     public void add(Invocation invocation, Invocation stubbing) {  in add() 23         Set<Invocation> matchingInvocations = mismatches.get(stubbing);  in add() 25             matchingInvocations = new LinkedHashSet<Invocation>();  in add() 38         for (Map.Entry<Invocation, Set<Invocation>> m : mismatches.entrySet()) {  in format() 40             for (Invocation invocation : m.getValue()) {  in format()
  | 
| /external/clang/include/clang/Frontend/ | 
| D | CompilerInstance.h | 73   IntrusiveRefCntPtr<CompilerInvocation> Invocation;  variable 225   bool hasInvocation() const { return Invocation != nullptr; }  in hasInvocation() 228     assert(Invocation && "Compiler instance has no invocation!");  in getInvocation() 229     return *Invocation;  in getInvocation() 249     return Invocation->getAnalyzerOpts();  in getAnalyzerOpts() 253     return Invocation->getCodeGenOpts();  in getCodeGenOpts() 256     return Invocation->getCodeGenOpts();  in getCodeGenOpts() 260     return Invocation->getDependencyOutputOpts();  in getDependencyOutputOpts() 263     return Invocation->getDependencyOutputOpts();  in getDependencyOutputOpts() 267     return Invocation->getDiagnosticOpts();  in getDiagnosticOpts() [all …] 
 | 
| /external/mockito/src/test/java/org/mockito/internal/invocation/ | 
| D | InvocationsFinderTest.java | 14 import org.mockito.invocation.Invocation; 31     private LinkedList<Invocation> invocations = new LinkedList<Invocation>(); 32     private Invocation simpleMethodInvocation; 33     private Invocation simpleMethodInvocationTwo; 34     private Invocation differentMethodInvocation; 52 …List<Invocation> actual = InvocationsFinder.findInvocations(invocations, new InvocationMatcher(sim…  in shouldFindActualInvocations() 115 …Invocation overloadedSimpleMethod = new InvocationBuilder().mock(mock).simpleMethod().arg("test").…  in shouldFindFirstSimilarInvocationByName() 117 …Invocation found = InvocationsFinder.findSimilarInvocation(invocations, new InvocationMatcher(over…  in shouldFindFirstSimilarInvocationByName() 123 …Invocation overloadedDifferentMethod = new InvocationBuilder().differentMethod().arg("test").toInv…  in shouldFindInvocationWithTheSameMethod() 127 …Invocation found = InvocationsFinder.findSimilarInvocation(invocations, new InvocationMatcher(over…  in shouldFindInvocationWithTheSameMethod() [all …] 
 | 
| D | InvocationMatcherTest.java | 28 import org.mockito.invocation.Invocation; 45         Invocation invocation = new InvocationBuilder().toInvocation();  in should_be_a_citizen_of_hashes() 46         Invocation invocationTwo = new InvocationBuilder().args("blah").toInvocation();  in should_be_a_citizen_of_hashes() 77         Invocation same = new InvocationBuilder().mock(mock).simpleMethod().toInvocation();  in should_know_if_is_similar_to() 80         Invocation different = new InvocationBuilder().mock(mock).differentMethod().toInvocation();  in should_know_if_is_similar_to() 86         Invocation verified = new InvocationBuilder().simpleMethod().verified().toInvocation();  in should_not_be_similar_to_verified_invocation() 92 …Invocation onDifferentMock = new InvocationBuilder().simpleMethod().mock("different mock").toInvoc…  in should_not_be_similar_if_mocks_are_different() 104 …Invocation overloadedInvocation = new InvocationBuilder().method(overloadedMethod).arg(sameArg).to…  in should_not_be_similar_if_is_overloaded_but_used_with_the_same_arg() 115 …Invocation overloadedInvocation = new InvocationBuilder().mock(mock).method(overloadedMethod).arg(…  in should_be_similar_if_is_overloaded_but_used_with_different_arg() 123         Invocation invocation = new InvocationBuilder().args("1", 100).toInvocation();  in should_capture_arguments_from_invocation() [all …] 
 | 
| D | InvocationMarkerTest.java | 9 import org.mockito.invocation.Invocation; 23         Invocation i = new InvocationBuilder().toInvocation();  in shouldMarkInvocationAsVerified() 37         Invocation i = new InvocationBuilder().toInvocation();  in shouldCaptureArguments() 38         final AtomicReference<Invocation> box = new AtomicReference<Invocation>();  in shouldCaptureArguments() 40             public void captureArgumentsFrom(Invocation i) {  in shouldCaptureArguments() 56         Invocation i = new InvocationBuilder().toInvocation();  in shouldMarkInvocationsAsVerifiedInOrder()
  | 
| /external/mockito/src/main/java/org/mockito/internal/verification/ | 
| D | DefaultRegisteredInvocations.java | 10 import org.mockito.invocation.Invocation; 22     private final LinkedList<Invocation> invocations = new LinkedList<Invocation>(); 24     public void add(Invocation invocation) {  in add() 39     public List<Invocation> getAll() {  in getAll() 40         List<Invocation> copiedList;  in getAll() 42             copiedList = new LinkedList<Invocation>(invocations) ;  in getAll() 60     private static class RemoveToString implements Filter<Invocation> { 61         public boolean isOut(Invocation invocation) {  in isOut()
  | 
| D | AtMost.java | 17 import org.mockito.invocation.Invocation; 32         List<Invocation> invocations = data.getAllInvocations();  in verify() 35         List<Invocation> found = findInvocations(invocations, wanted);  in verify() 50     private void removeAlreadyVerified(List<Invocation> invocations) {  in removeAlreadyVerified() 51         for (Iterator<Invocation> iterator = invocations.iterator(); iterator.hasNext(); ) {  in removeAlreadyVerified() 52             Invocation i = iterator.next();  in removeAlreadyVerified()
  | 
| /external/mockito/src/main/java/org/mockito/internal/debugging/ | 
| D | WarningsFinder.java | 8 import org.mockito.invocation.Invocation; 15     private final List<Invocation> baseUnusedStubs; 18     public WarningsFinder(List<Invocation> unusedStubs, List<InvocationMatcher> allInvocations) {  in WarningsFinder() 24         List<Invocation> unusedStubs = new LinkedList<Invocation>(this.baseUnusedStubs);  in find() 27         Iterator<Invocation> unusedIterator = unusedStubs.iterator();  in find() 29             Invocation unused = unusedIterator.next();  in find() 41         for (Invocation i : unusedStubs) {  in find()
  | 
| /external/mockito/src/test/java/org/mockito/internal/verification/checkers/ | 
| D | AtLeastXNumberOfInvocationsCheckerTest.java | 16 import org.mockito.invocation.Invocation; 31         Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation();  in shouldMarkActualInvocationsAsVerifiedInOrder() 32         Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation();  in shouldMarkActualInvocationsAsVerifiedInOrder() 45         Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation();  in shouldReportTooLittleInvocationsInOrder() 46         Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation();  in shouldReportTooLittleInvocationsInOrder() 62         Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation();  in shouldMarkActualInvocationsAsVerified() 63         Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation();  in shouldMarkActualInvocationsAsVerified() 75         Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation();  in shouldReportTooLittleInvocations() 76         Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation();  in shouldReportTooLittleInvocations()
  | 
| D | NumberOfInvocationsInOrderCheckerTest.java | 22 import org.mockito.invocation.Invocation; 33     private List<Invocation> invocations; 65         Invocation first = buildSimpleMethod().toInvocation();  in shouldReportTooLittleInvocations() 66         Invocation second = buildSimpleMethod().toInvocation();  in shouldReportTooLittleInvocations() 81         Invocation invocation = buildSimpleMethod().toInvocation();  in shouldMarkAsVerifiedInOrder() 135         Invocation first = buildSimpleMethod().toInvocation();  in shouldReportWithFirstUndesiredInvocationStackTrace() 136         Invocation second = buildSimpleMethod().toInvocation();  in shouldReportWithFirstUndesiredInvocationStackTrace() 137         Invocation third = buildSimpleMethod().toInvocation();  in shouldReportWithFirstUndesiredInvocationStackTrace() 149         Invocation first = buildSimpleMethod().toInvocation();  in shouldReportTooManyActual() 150         Invocation second = buildSimpleMethod().toInvocation();  in shouldReportTooManyActual() [all …] 
 | 
| /external/mockito/src/test/java/org/mockito/ | 
| D | StaticMockingExperimentTest.java | 12 import org.mockito.invocation.Invocation; 61 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett…  in verify_static_method() 72 …Invocation verification = Mockito.framework().getInvocationFactory().createInvocation(mock, withSe…  in verify_static_method() 80 …Invocation differentArg = Mockito.framework().getInvocationFactory().createInvocation(mock, withSe…  in verify_static_method() 89 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett…  in verification_failure_static_method() 95 …Invocation differentArg = Mockito.framework().getInvocationFactory().createInvocation(mock, withSe…  in verification_failure_static_method() 107 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett…  in stubbing_static_method() 119 …Invocation differentArg = Mockito.framework().getInvocationFactory().createInvocation(mock, withSe…  in stubbing_static_method() 130         Invocation invocation = Mockito.framework().getInvocationFactory()  in do_answer_stubbing_static_method() 139 …Invocation differentArg = Mockito.framework().getInvocationFactory().createInvocation(mock, withSe…  in do_answer_stubbing_static_method() [all …] 
 | 
| /external/kotlinx.coroutines/kotlinx-coroutines-debug/src/junit/junit5/ | 
| D | CoroutinesTimeoutExtension.kt | 94         invocation: InvocationInterceptor.Invocation<T>,  in interceptTestClassConstructor() 159         invocation: InvocationInterceptor.Invocation<Void>,  in interceptTestMethod() 167         invocation: InvocationInterceptor.Invocation<Void>,  in interceptAfterAllMethod() 175         invocation: InvocationInterceptor.Invocation<Void>,  in interceptAfterEachMethod() 183         invocation: InvocationInterceptor.Invocation<Void>,  in interceptBeforeAllMethod() 191         invocation: InvocationInterceptor.Invocation<Void>,  in interceptBeforeEachMethod() 199         invocation: InvocationInterceptor.Invocation<T>,  in interceptTestFactoryMethod() 205         invocation: InvocationInterceptor.Invocation<Void>,  in interceptTestFactoryMethod() 219         invocation: InvocationInterceptor.Invocation<T>,  in interceptMethod() 260         invocation: InvocationInterceptor.Invocation<T>,  in interceptNormalMethod() [all …] 
 | 
| /external/clang/lib/Tooling/ | 
| D | Tooling.cpp | 94   clang::CompilerInvocation *Invocation = new clang::CompilerInvocation;  in newInvocation()  local 96       *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(),  in newInvocation() 98   Invocation->getFrontendOpts().DisableFree = false;  in newInvocation() 99   Invocation->getCodeGenOpts().DisableFree = false;  in newInvocation() 100   Invocation->getDependencyOutputOpts() = DependencyOutputOptions();  in newInvocation() 101   return Invocation;  in newInvocation() 140   ToolInvocation Invocation(getSyntaxOnlyToolArgs(ToolName, Args, FileNameRef),  in runToolOnCodeWithArgs()  local 155   return Invocation.run();  in runToolOnCodeWithArgs() 260   std::unique_ptr<clang::CompilerInvocation> Invocation(  in run()  local 267     Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(),  in run() [all …] 
 | 
| /external/clang/unittests/Frontend/ | 
| D | CodeGenActionTest.cpp | 43   CompilerInvocation *Invocation = new CompilerInvocation;  in TEST()  local 44   Invocation->getPreprocessorOpts().addRemappedFile(  in TEST() 47   Invocation->getFrontendOpts().Inputs.push_back(  in TEST() 49   Invocation->getFrontendOpts().ProgramAction = EmitLLVM;  in TEST() 50   Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";  in TEST() 52   Compiler.setInvocation(Invocation);  in TEST()
  | 
| /external/mockito/src/main/java/org/mockito/internal/invocation/finder/ | 
| D | AllInvocationsFinder.java | 12 import org.mockito.invocation.Invocation; 26     public static List<Invocation> find(Iterable<?> mocks) {  in find() 27         Set<Invocation> invocationsInOrder = new TreeSet<Invocation>(new InvocationComparator());  in find() 29 …          Collection<Invocation> fromSingleMock = new DefaultMockingDetails(mock).getInvocations();  in find() 33         return new LinkedList<Invocation>(invocationsInOrder);  in find()
  | 
| D | VerifiableInvocationsFinder.java | 10 import org.mockito.invocation.Invocation; 21     public static List<Invocation> find(List<?> mocks) {  in find() 22         List<Invocation> invocations = AllInvocationsFinder.find(mocks);  in find() 26     private static class RemoveIgnoredForVerification implements Filter<Invocation>{ 27         public boolean isOut(Invocation invocation) {  in isOut()
  | 
| /external/mockito/src/main/java/org/mockito/invocation/ | 
| D | MatchableInvocation.java | 30     Invocation getInvocation();  in getInvocation() 47     boolean matches(Invocation candidate);  in matches() 55     boolean hasSimilarMethod(Invocation candidate);  in hasSimilarMethod() 62     boolean hasSameMethod(Invocation candidate);  in hasSameMethod() 73     void captureArgumentsFrom(Invocation invocation);  in captureArgumentsFrom()
  | 
| /external/mockito/src/main/java/org/mockito/internal/verification/checkers/ | 
| D | MissingInvocationChecker.java | 21 import org.mockito.invocation.Invocation; 29 …public static void checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted…  in checkMissingInvocation() 30         List<Invocation> actualInvocations = findInvocations(invocations, wanted);  in checkMissingInvocation() 36         Invocation similar = findSimilarInvocation(invocations, wanted);  in checkMissingInvocation() 47 …public static void checkMissingInvocation(List<Invocation> invocations, MatchableInvocation wanted…  in checkMissingInvocation() 48         List<Invocation> chunk = findAllMatchingUnverifiedChunks(invocations, wanted, context);  in checkMissingInvocation() 54         Invocation previousInOrder = findPreviousVerifiedInOrder(invocations, context);  in checkMissingInvocation()
  | 
| /external/mockito/src/test/java/org/mockito/internal/verification/ | 
| D | NoMoreInteractionsTest.java | 16 import org.mockito.invocation.Invocation; 32         Invocation i = new InvocationBuilder().toInvocation();  in shouldVerifyInOrder() 47         Invocation i = new InvocationBuilder().toInvocation();  in shouldVerifyInOrderAndPass() 60         Invocation i = new InvocationBuilder().seq(1).toInvocation();  in shouldVerifyInOrderMultipleInvoctions() 61         Invocation i2 = new InvocationBuilder().seq(2).toInvocation();  in shouldVerifyInOrderMultipleInvoctions() 74         Invocation i = new InvocationBuilder().seq(1).toInvocation();  in shouldVerifyInOrderMultipleInvoctionsAndThrow() 75         Invocation i2 = new InvocationBuilder().seq(2).toInvocation();  in shouldVerifyInOrderMultipleInvoctionsAndThrow() 110         Invocation i = new InvocationBuilder().mock(mock).toInvocation();  in noMoreInteractionsInOrderExceptionMessageShouldDescribeMock()
  | 
| D | OnlyTest.java | 13 import org.mockito.invocation.Invocation; 25         private final Invocation invocation; 28         public VerificationDataStub(InvocationMatcher wanted, Invocation invocation) {  in VerificationDataStub() 33         public List<Invocation> getAllInvocations() {  in getAllInvocations() 50         Invocation invocation = new InvocationBuilder().toInvocation();  in shouldMarkAsVerified() 63         Invocation invocation = new InvocationBuilder().toInvocation();  in shouldNotMarkAsVerifiedWhenAssertionFailed()
  | 
| /external/easymock/src/org/easymock/internal/ | 
| D | LastControl.java | 31 …private static final ThreadLocal<Stack<Invocation>> threadToCurrentInvocation = new ThreadLocal<St… 103     public static Invocation getCurrentInvocation() {  in getCurrentInvocation() 104         Stack<Invocation> stack = threadToCurrentInvocation.get();  in getCurrentInvocation() 111     public static void pushCurrentInvocation(Invocation invocation) {  in pushCurrentInvocation() 112         Stack<Invocation> stack = threadToCurrentInvocation.get();  in pushCurrentInvocation() 114             stack = new Stack<Invocation>();  in pushCurrentInvocation() 121         Stack<Invocation> stack = threadToCurrentInvocation.get();  in popCurrentInvocation()
  | 
| /external/mockito/src/test/java/org/mockito/internal/exceptions/ | 
| D | ReporterTest.java | 16 import org.mockito.invocation.Invocation; 39 …Invocation invocation_with_bogus_default_answer = new InvocationBuilder().mock(mock(IMethods.class…  in can_use_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_no_more_interaction_wanted() 45 …Invocation invocation_with_bogus_default_answer = new InvocationBuilder().mock(mock(IMethods.class…  in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_no_more_interaction_wanted_in_order() 51 …Invocation invocation_with_bogus_default_answer = new InvocationBuilder().mock(mock(IMethods.class…  in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_invalid_argument_position() 57 …Invocation invocation_with_bogus_default_answer = new InvocationBuilder().mock(mock(IMethods.class…  in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_wrong_argument_to_return() 63         Invocation dumb_invocation = new InvocationBuilder().toInvocation();  in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_delegate_method_dont_exists() 70         Invocation dumb_invocation = new InvocationBuilder().toInvocation();  in can_use_print_mock_name_even_when_mock_bogus_default_answer_and_when_reporting_delegate_method_has_wrong_return_type()
  |