Lines Matching refs:it
122 for (ExpectationSet::const_iterator it = in RetireAllPreRequisites() local
124 it != exp->immediate_prerequisites_.end(); ++it) { in RetireAllPreRequisites()
125 ExpectationBase* next = it->expectation_base().get(); in RetireAllPreRequisites()
144 for (ExpectationSet::const_iterator it = in AllPrerequisitesAreSatisfied() local
146 it != exp->immediate_prerequisites_.end(); ++it) { in AllPrerequisitesAreSatisfied()
147 const ExpectationBase* next = it->expectation_base().get(); in AllPrerequisitesAreSatisfied()
164 for (ExpectationSet::const_iterator it = in FindUnsatisfiedPrerequisites() local
166 it != exp->immediate_prerequisites_.end(); ++it) { in FindUnsatisfiedPrerequisites()
167 const ExpectationBase* next = it->expectation_base().get(); in FindUnsatisfiedPrerequisites()
179 *result += *it; in FindUnsatisfiedPrerequisites()
379 for (UntypedExpectations::const_iterator it = untyped_expectations_.begin(); in GetHandleOf() local
380 it != untyped_expectations_.end(); ++it) { in GetHandleOf()
381 if (it->get() == exp) { in GetHandleOf()
382 return Expectation(*it); in GetHandleOf()
399 for (UntypedExpectations::const_iterator it = untyped_expectations_.begin(); in VerifyAndClearExpectationsLocked() local
400 it != untyped_expectations_.end(); ++it) { in VerifyAndClearExpectationsLocked()
401 ExpectationBase* const untyped_expectation = it->get(); in VerifyAndClearExpectationsLocked()
496 for (StateMap::const_iterator it = states_.begin(); it != states_.end(); in ~MockObjectRegistry() local
497 ++it) { in ~MockObjectRegistry()
498 if (it->second.leakable) // The user said it's fine to leak this object. in ~MockObjectRegistry()
504 const MockObjectState& state = it->second; in ~MockObjectRegistry()
513 << it->first << "."; in ~MockObjectRegistry()
653 for (FunctionMockers::const_iterator it = mockers.begin(); in VerifyAndClearExpectationsLocked() local
654 it != mockers.end(); ++it) { in VerifyAndClearExpectationsLocked()
655 if (!(*it)->VerifyAndClearExpectationsLocked()) { in VerifyAndClearExpectationsLocked()
713 for (MockObjectRegistry::StateMap::iterator it = in UnregisterLocked() local
715 it != g_mock_object_registry.states().end(); ++it) { in UnregisterLocked()
716 FunctionMockers& mockers = it->second.function_mockers; in UnregisterLocked()
720 g_mock_object_registry.states().erase(it); in UnregisterLocked()
741 for (FunctionMockers::const_iterator it = mockers.begin(); in ClearDefaultActionsLocked() local
742 it != mockers.end(); ++it) { in ClearDefaultActionsLocked()
743 (*it)->ClearDefaultActionsLocked(); in ClearDefaultActionsLocked()