Lines Matching defs:Expression
2 Utility functions for expression evaluation.
218 Push current expression onto the Stack
220 @param Pointer Pointer to current expression.
246 Pop current expression from the Stack
248 @param Pointer Pointer to current expression to be pop.
428 Get the expression list count.
430 @param Level Which type this expression belong to. Form,
433 @retval >=0 The expression count
456 Get the expression Buffer pointer.
458 @param Level Which type this expression belong to. Form,
461 @retval The start pointer of the expression buffer or NULL.
484 Push the expression options onto the Stack.
486 @param Pointer Pointer to the current expression.
487 @param Level Which type this expression belong to. Form,
529 Pop the expression options from the Stack
531 @param Level Which type this expression belong to. Form,
575 Push the list of map expression onto the Stack
577 @param Pointer Pointer to the list of map expression to be pushed.
603 Pop the list of map expression from the Stack
605 @param Pointer Pointer to the list of map expression to be pop.
703 Push an Expression value onto the Stack
705 @param Value Expression value to push.
727 Pop an Expression value from the stack.
729 @param Value Expression value to pop.
908 Get Expression given its RuleId.
910 @param Form The form which contains this Expression.
911 @param RuleId Id of this Expression.
913 @retval Pointer The Expression.
914 @retval NULL Specified Expression not found in the form.
924 FORM_EXPRESSION *Expression;
928 Expression = FORM_EXPRESSION_FROM_LINK (Link);
930 if (Expression->Type == EFI_HII_EXPRESSION_RULE && Expression->RuleId == RuleId) {
931 return Expression;
997 @param Value Expression value to compare on.
1023 @param Value Expression value to compare on.
1053 @param Value Expression value to compare on.
1087 @param Value Expression value to compare on.
2186 @param Value1 Expression value to compare on left-hand.
2187 @param Value2 Expression value to compare on right-hand.
2506 Evaluate the result of a HII expression.
2508 If Expression is NULL, then ASSERT.
2510 @param FormSet FormSet associated with this expression.
2511 @param Form Form associated with this expression.
2512 @param Expression Expression to be evaluated.
2514 @retval EFI_SUCCESS The expression evaluated successfuly
2520 @retval EFI_INVALID_PARAMETER Syntax error with the Expression
2527 IN OUT FORM_EXPRESSION *Expression
2563 ASSERT (Expression != NULL);
2564 Expression->Result.Type = EFI_IFR_TYPE_OTHER;
2566 Link = GetFirstNode (&Expression->OpCodeListHead);
2567 while (!IsNull (&Expression->OpCodeListHead, Link)) {
2570 Link = GetNextNode (&Expression->OpCodeListHead, Link);
2800 // Pop an expression from the expression stack
2808 // Validate the expression value
2846 // push the questions' value on to the expression stack
2854 // Find expression for this rule
2863 // Evaluate this rule expression
2940 // Pop an expression from the expression stack
2948 // Validate the expression value
2966 // Pop an expression from the expression stack
2974 // Validate the expression value
2997 // Pop an expression from the expression stack
3005 // Convert an expression to a Boolean
3101 // Pop an expression from the expression stack
3118 // Pop an expression from the expression stack
3246 // Pop an expression from the expression stack
3254 // Pop another expression from the expression stack
3328 // Pop another expression from the expression stack
3367 // Pop another expression from the expression stack
3458 // Pop third expression from the expression stack
3466 // Pop second expression from the expression stack
3474 // Pop first expression from the expression stack
3524 // Go through map expression list.
3530 // Evaluate the first expression in this pair.
3537 // Compare the expression value with current value
3557 // Skip the second expression on this pair.
3565 // Goto the first expression on next pair.
3593 // Pop the final result from expression stack
3602 // After evaluating an expression, there should be only one value left on the expression stack
3611 CopyMem (&Expression->Result, Value, sizeof (EFI_HII_VALUE));
3656 Return the result of the expression list. Check the expression list and
3660 @param ExpList The input expression list.
3661 @param Evaluate Whether need to evaluate the expression first.
3662 @param FormSet FormSet associated with this expression.
3663 @param Form Form associated with this expression.
3690 // Check whether need to evaluate the expression first.
3694 Status = EvaluateExpression (FormSet, Form, ExpList->Expression[Index++]);
3706 if (IsTrue (&ExpList->Expression[Index]->Result)) {
3707 switch (ExpList->Expression[Index]->Type) {