TianoCore EDK2 master
Loading...
Searching...
No Matches
HiiExpression.h File Reference

Go to the source code of this file.

Functions

INTN GetConditionalExpressionCount (IN EXPRESS_LEVEL Level)
 
HII_EXPRESSION ** GetConditionalExpressionList (IN EXPRESS_LEVEL Level)
 
EFI_STATUS PushConditionalExpression (IN HII_EXPRESSION *Pointer, IN EXPRESS_LEVEL Level)
 
EFI_STATUS PopConditionalExpression (IN EXPRESS_LEVEL Level)
 
VOID ResetCurrentExpressionStack (VOID)
 
EFI_STATUS PushCurrentExpression (IN VOID *Pointer)
 
EFI_STATUS PopCurrentExpression (OUT VOID **Pointer)
 
VOID ResetMapExpressionListStack (VOID)
 
EFI_STATUS PushMapExpressionList (IN VOID *Pointer)
 
EFI_STATUS PopMapExpressionList (OUT VOID **Pointer)
 
VOID ResetScopeStack (VOID)
 
EFI_STATUS PushScope (IN UINT8 Operand)
 
EFI_STATUS PopScope (OUT UINT8 *Operand)
 

Detailed Description

Definitions of Hii Expression.

Copyright (c) 2019, Intel Corporation. All rights reserved.
(C) Copyright 2021 Hewlett Packard Enterprise Development LP
Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file HiiExpression.h.

Function Documentation

◆ GetConditionalExpressionCount()

INTN GetConditionalExpressionCount ( IN EXPRESS_LEVEL  Level)

Get the expression list count.

Parameters
[in]LevelWhich type this expression belong to. Form, statement or option?
Return values
>=0The expression count
-1Input parameter error.

Get the expression list count.

Parameters
LevelWhich type this expression belong to. Form, statement or option?
Return values
>=0The expression count
-1Input parameter error.

Definition at line 423 of file Expression.c.

◆ GetConditionalExpressionList()

HII_EXPRESSION ** GetConditionalExpressionList ( IN EXPRESS_LEVEL  Level)

Get the expression Buffer pointer.

Parameters
[in]LevelWhich type this expression belong to. Form, statement or option?
Return values
Thestart pointer of the expression buffer or NULL.

Get the expression Buffer pointer.

Parameters
LevelWhich type this expression belong to. Form, statement or option?
Return values
Thestart pointer of the expression buffer or NULL.

Definition at line 450 of file Expression.c.

◆ PopConditionalExpression()

EFI_STATUS PopConditionalExpression ( IN EXPRESS_LEVEL  Level)

Pop the expression options from the Stack

Parameters
[in]LevelWhich type this expression belong to. Form, statement or option?
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Pop the expression options from the Stack

Parameters
LevelWhich type this expression belong to. Form, statement or option?
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 523 of file Expression.c.

◆ PopCurrentExpression()

EFI_STATUS PopCurrentExpression ( OUT VOID **  Pointer)

Pop current expression from the Stack

Parameters
[in]PointerPointer to current expression to be pop.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Pop current expression from the Stack

Parameters
PointerPointer to current expression to be pop.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 243 of file Expression.c.

◆ PopMapExpressionList()

EFI_STATUS PopMapExpressionList ( OUT VOID **  Pointer)

Pop the list of map expression from the Stack

Parameters
[in]PointerPointer to the list of map expression to be pop.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Pop the list of map expression from the Stack

Parameters
PointerPointer to the list of map expression to be pop.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 594 of file Expression.c.

◆ PopScope()

EFI_STATUS PopScope ( OUT UINT8 *  Operand)

Pop an Operand from the Stack

Parameters
[out]OperandOperand to pop.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Pop an Operand from the Stack

Parameters
OperandOperand to pop.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 663 of file Expression.c.

◆ PushConditionalExpression()

EFI_STATUS PushConditionalExpression ( IN HII_EXPRESSION Pointer,
IN EXPRESS_LEVEL  Level 
)

Push the expression options onto the Stack.

Parameters
[in]PointerPointer to the current expression.
[in]LevelWhich type this expression belong to. Form, statement or option?
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Push the expression options onto the Stack.

Parameters
PointerPointer to the current expression.
LevelWhich type this expression belong to. Form, statement or option?
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 488 of file HiiExpression.c.

◆ PushCurrentExpression()

EFI_STATUS PushCurrentExpression ( IN VOID *  Pointer)

Push current expression onto the Stack

Parameters
[in]PointerPointer to current expression.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Push current expression onto the Stack

Parameters
PointerPointer to current expression.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 216 of file Expression.c.

◆ PushMapExpressionList()

EFI_STATUS PushMapExpressionList ( IN VOID *  Pointer)

Push the list of map expression onto the Stack

Parameters
[in]PointerPointer to the list of map expression to be pushed.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Push the list of map expression onto the Stack

Parameters
PointerPointer to the list of map expression to be pushed.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 567 of file Expression.c.

◆ PushScope()

EFI_STATUS PushScope ( IN UINT8  Operand)

Push an Operand onto the Stack

Parameters
[in]OperandOperand to push.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Push an Operand onto the Stack

Parameters
OperandOperand to push.
Return values
EFI_SUCCESSThe value was pushed onto the stack.
EFI_OUT_OF_RESOURCESThere is not enough system memory to grow the stack.

Definition at line 635 of file Expression.c.

◆ ResetCurrentExpressionStack()

VOID ResetCurrentExpressionStack ( VOID  )

Reset stack pointer to begin of the stack.

Definition at line 196 of file Expression.c.

◆ ResetMapExpressionListStack()

VOID ResetMapExpressionListStack ( VOID  )

Reset stack pointer to begin of the stack.

Definition at line 266 of file Expression.c.

◆ ResetScopeStack()

VOID ResetScopeStack ( VOID  )

Reset stack pointer to begin of the stack.

Definition at line 617 of file Expression.c.