Home
last modified time | relevance | path

Searched refs:Expression (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueDebugLib.h207 #define _ASSERT(Expression) DebugAssert (__FILE__, __LINE__, #Expression) argument
209 #define _ASSERT(Expression) argument
236 #define _DEBUG(Expression) DebugPrint Expression argument
238 #define _DEBUG(Expression) argument
259 #define ASSERT(Expression) \ argument
262 if (!(Expression)) { \
263 _ASSERT (Expression); \
269 #define ASSERT(Expression) do{} while(0) argument
276 #define ASSERT(Expression) \ argument
279 if (!(Expression)) { \
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DDebugLib.h248 #define _ASSERT(Expression) DebugAssert (__FILE__, __LINE__, #Expression) argument
271 #define _DEBUG(Expression) _DEBUG_PRINT Expression argument
273 #define _DEBUG(Expression) DebugPrint Expression argument
289 #define ASSERT(Expression) \ argument
292 if (!(Expression)) { \
293 _ASSERT (Expression); \
299 #define ASSERT(Expression) argument
315 #define DEBUG(Expression) \ argument
318 _DEBUG (Expression); \
322 #define DEBUG(Expression) argument
[all …]
DPerformanceLib.h360 #define PERF_CODE(Expression) \ argument
362 Expression \
/device/linaro/bootloader/edk2/StdLib/Include/
Dassert.h75 #define assert(Expression) /* ignored */ argument
78 #define assert(Expression) ((Expression) ? (void)0 :\ argument
79 __assert(__FILE__, __func__, __LINE__, #Expression) )
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DDepexSection.py82 self.Expression = self.Expression.replace("\n", " ").replace("\r", " ")
83 ExpList = self.Expression.split()
96 self.Expression = self.Expression.replace(Item, ExpGuidDict[Item])
98 self.Expression = self.Expression.strip()
116 Depex = DependencyExpression(self.Expression, ModuleType)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DCommentParsing.py337 Expression = Comment.replace(TAB_PCD_EXPRESSION, "", 1).strip()
338 Valid, Cause = _CheckExpression(Expression)
340 ValueList = Expression.split(TAB_VALUE_SPLIT)
345 PcdErr.SetExpression(Expression)
422 def _CheckListExpression(Expression): argument
424 if TAB_VALUE_SPLIT in Expression:
425 ListExpr = Expression[Expression.find(TAB_VALUE_SPLIT)+1:]
427 ListExpr = Expression
435 def _CheckExpression(Expression): argument
437 if TAB_VALUE_SPLIT in Expression:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenDepex.py128 def __init__(self, Expression, ModuleType, Optimize=False): argument
131 if type(Expression) == type([]):
132 self.ExpressionString = " ".join(Expression)
133 self.TokenList = Expression
135 self.ExpressionString = Expression
412 if len(Input) > 0 and Option.Expression == "":
416 elif Option.Expression != "":
417 if Option.Expression[0] == '"':
418 DxsString = Option.Expression[1:-1]
420 DxsString = Option.Expression
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
DIfrParse.c73 Statement->Expression = (FORM_EXPRESSION_LIST *) AllocatePool( in CreateStatement()
75 ASSERT (Statement->Expression != NULL); in CreateStatement()
76 Statement->Expression->Count = (UINTN) ConditionalExprCount; in CreateStatement()
77 Statement->Expression->Signature = FORM_EXPRESSION_LIST_SIGNATURE; in CreateStatement()
78 …CopyMem (Statement->Expression->Expression, GetConditionalExpressionList(ExpressStatement), (UINTN… in CreateStatement()
300 FORM_EXPRESSION *Expression; in CreateExpression() local
302 Expression = AllocateZeroPool (sizeof (FORM_EXPRESSION)); in CreateExpression()
303 ASSERT (Expression != NULL); in CreateExpression()
304 Expression->Signature = FORM_EXPRESSION_SIGNATURE; in CreateExpression()
305 InitializeListHead (&Expression->OpCodeListHead); in CreateExpression()
[all …]
DSetupBrowserDxe.inf38 Expression.c
40 Expression.h
DExpression.h225 IN OUT FORM_EXPRESSION *Expression
DPresentation.c46 FORM_EXPRESSION *Expression; in EvaluateFormExpressions() local
50 Expression = FORM_EXPRESSION_FROM_LINK (Link); in EvaluateFormExpressions()
53 if (Expression->Type == EFI_HII_EXPRESSION_INCONSISTENT_IF || in EvaluateFormExpressions()
54 Expression->Type == EFI_HII_EXPRESSION_NO_SUBMIT_IF || in EvaluateFormExpressions()
55 Expression->Type == EFI_HII_EXPRESSION_WARNING_IF || in EvaluateFormExpressions()
56 Expression->Type == EFI_HII_EXPRESSION_WRITE || in EvaluateFormExpressions()
57 (Expression->Type == EFI_HII_EXPRESSION_READ && Form->FormType != STANDARD_MAP_FORM_TYPE)) { in EvaluateFormExpressions()
64 Status = EvaluateExpression (FormSet, Form, Expression); in EvaluateFormExpressions()
302 …if ((EvaluateExpressionList(Statement->Expression, FALSE, NULL, NULL) == ExpressGrayOut) || Statem… in InitializeDisplayStatement()
575 if (EvaluateExpressionList(Statement->Expression, FALSE, NULL, NULL) > ExpressGrayOut) { in AddStatementToDisplayForm()
[all …]
DExpression.c924 FORM_EXPRESSION *Expression; in RuleIdToExpression() local
928 Expression = FORM_EXPRESSION_FROM_LINK (Link); in RuleIdToExpression()
930 if (Expression->Type == EFI_HII_EXPRESSION_RULE && Expression->RuleId == RuleId) { in RuleIdToExpression()
931 return Expression; in RuleIdToExpression()
2527 IN OUT FORM_EXPRESSION *Expression in EvaluateExpression() argument
2563 ASSERT (Expression != NULL); in EvaluateExpression()
2564 Expression->Result.Type = EFI_IFR_TYPE_OTHER; in EvaluateExpression()
2566 Link = GetFirstNode (&Expression->OpCodeListHead); in EvaluateExpression()
2567 while (!IsNull (&Expression->OpCodeListHead, Link)) { in EvaluateExpression()
2570 Link = GetNextNode (&Expression->OpCodeListHead, Link); in EvaluateExpression()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Library/XenConsoleSerialPortLib/
DXenConsoleSerialPortLib.c31 #define ASSERT(Expression) \ argument
33 if (!(Expression)) { \
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/
DDecPomAlignment.py818 Expression = Valid.GetExpression()
819 if Expression:
824 QuotedMatchedObj = re.search(QUOTED_PATTERN, Expression)
828 Expression = Expression.replace(MatchedStr, MatchedStr[1:].strip())
830 Expression = self.ReplaceForEval(Expression, IsExpr=True)
831 Expression = Expression.replace(PcdGuidName, 'x')
833 ValidationExpressions.append((Expression, Message))
869 for (Expression, Msg) in ValidationExpressions:
871 if not eval(Expression, {'x':DefaultValue}):
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DPcdXml.py49 self.Expression = ''
58 self.Expression = XmlElement(Item, '%s/Expression' % Key)
70 Error.SetExpression(self.Expression)
77 if self.Expression:
107 if self.Expression:
163 if self.Expression:
249 = %s Expression = %s ErrorNumber = %s %s" % \
251 self.Expression, self.ErrorNumber, self.ErrorMessage)
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtDxeHobLib/
DHobLib.c16 #define ASSERT(Expression) \ argument
18 if (!(Expression)) { \
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/
DIntelFrameworkModulePkg.dec161 …# @Expression 0x80000002 | (gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSupportedFeatures &…
206 …# @Expression 0x80000001 | (gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize < …
216 …# @Expression 0x80000001 | (gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemoryBase >…
223 …# @Expression 0x80000001 | (gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemorySize <…
235 …# @Expression 0x80000001 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEndOpromShadowAddress < 0x…
241 …# @Expression 0x80000001 | (gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLowPmmMemorySize < 0x1000…
247 …# @Expression 0x80000001 | (gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHighPmmMemorySize & 0x100…
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/
DSourceLevelDebugPkg.dec72 …# @Expression 0x80000001 | (gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciPciAddress & 0xF0000F…
78 …# @Expression 0x80000001 | (gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger …
107 …# @Expression 0x80000001 | (gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciPciAddress & 0xF0000F…
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileParser.py31 from Common.Expression import *
1821 ErrorCode, Expression = ValidFormt.split('|', 1)
1824 Expression = ValidFormt
1825 ErrorCode, Expression = ErrorCode.strip(), Expression.strip()
1831 if not PatternValidRng.search(Expression):
1832 …'Parser', '@ValidRange Expression(%s) of PCD %s is incorrect format.' % (Expression, TokenList[0]))
1837 ErrorCode, Expression = ValidFormt.split('|', 1)
1840 Expression = ValidFormt
1841 ErrorCode, Expression = ErrorCode.strip(), Expression.strip()
1847 Values = Expression.split(',')
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DFvImage.py163 for Index in range(0, len(Depex.Expression)):
164 Item = Depex.Expression[Index]
167 Guid = gGuidStringFormat % Depex.Expression[Index]
168 if Guid in self.OrderedFfsDict and Depex.Expression[Index + 1] == 0x08:
172 Guid = gGuidStringFormat % Depex.Expression[Index]
173 if Guid in self.OrderedFfsDict and Depex.Expression[Index + 1] == 0x08:
177 Guid = gGuidStringFormat % Depex.Expression[Index]
200 if Index != len(Depex.Expression) - 1:
762 for T in m.Expression:
798 Expression = property(_GetExpression) variable in Depex
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/POM/
DCommonObject.py741 self.Expression = ''
767 def SetExpression(self, Expression): argument
768 self.Expression = Expression
771 return self.Expression
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DExpression.py219 def __init__(self, Expression, SymbolTable={}): argument
221 if type(Expression) != type(''):
222 self._Expr = Expression
226 self._Expr = ReplaceExprMacro(Expression.strip(),
DRangeExpression.py369 def __init__(self, Expression, PcdDataType, SymbolTable = {}): argument
371 if type(Expression) != type(''):
372 self._Expr = Expression
376 self._Expr = Expression.strip()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DSafeString.c24 #define SAFE_STRING_CONSTRAINT_CHECK(Expression, Status) \ argument
26 ASSERT (Expression); \
27 if (!(Expression)) { \
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
DGenDecFile.py686 Expression = PcdErrObject.GetExpression()
687 if Expression:
691 CommentStr += Expression + END_OF_LINE

123