Lines Matching defs:condition
28 void AddCondition(Condition* condition);
206 ConditionContainer::AddCondition(Condition* condition)
208 if (condition != NULL)
209 fConditions.AddItem(condition);
213 /*! A single constant failing condition makes this constant, too, otherwise,
214 a single non-constant condition makes this non-constant as well.
221 const Condition* condition = fConditions.ItemAt(index);
222 if (condition->IsConstant(context)) {
223 if (!condition->Test(context))
265 Condition* condition = fConditions.ItemAt(index);
266 if (!condition->Test(context))
299 Condition* condition = fConditions.ItemAt(index);
300 if (condition->Test(context))
307 /*! If there is a single succeeding constant condition, this is constant, too.
308 Otherwise, it is non-constant if there is a single non-constant condition.
315 const Condition* condition = fConditions.ItemAt(index);
316 if (condition->IsConstant(context)) {
317 if (condition->Test(context))
354 Condition* condition = fConditions.ItemAt(index);
355 if (condition->Test(context))
577 Conditions::AddNotSafeMode(Condition* condition)
579 AndCondition* andCondition = dynamic_cast<AndCondition*>(condition);
582 if (andCondition != condition && condition != NULL)
583 andCondition->AddCondition(condition);