Home
last modified time | relevance | path

Searched refs:Match (Results 1 – 25 of 42) sorted by relevance

12

/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/
Dreplace.c24 char *Match; member
51 MATCH_PAIR *Match; in main() local
82 Match = calloc (MaxMatch, sizeof (MATCH_PAIR)); in main()
83 if (Match == NULL) { in main()
88 Match[n].Match = argv[3 + n*2]; in main()
89 Match[n].MatchSize = strlen (argv[3 + n*2]); in main()
90 Match[n].Replace = argv[3 + n*2 + 1]; in main()
91 if (Match[n].MatchSize > MaxLenKey) { in main()
93 MaxLenKey = Match[n].MatchSize; in main()
95 if (Match[n].MatchSize < MinLenKey) { in main()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Tools/
Dreplace.c24 char *Match; member
51 MATCH_PAIR *Match; in main() local
82 Match = calloc (MaxMatch, sizeof (MATCH_PAIR)); in main()
83 if (Match == NULL) { in main()
88 Match[n].Match = argv[3 + n*2]; in main()
89 Match[n].MatchSize = strlen (argv[3 + n*2]); in main()
90 Match[n].Replace = argv[3 + n*2 + 1]; in main()
91 if (Match[n].MatchSize > MaxLenKey) { in main()
93 MaxLenKey = Match[n].MatchSize; in main()
95 if (Match[n].MatchSize < MinLenKey) { in main()
[all …]
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/
DGenCfgOpt.py106Match = re.match("^([_a-zA-Z0-9]+).(MemoryInitUpdOffset)\s*\|\s*(0x[0-9A-F]+)\s*\|\s*(\d+|0x[0-9a-…
107 if Match:
108 MemUpdInitOffsetValue = int(Match.group(5), 0)
109Match = re.match("^\s*([_a-zA-Z0-9]+).(SiliconInitUpdOffset)\s*\|\s*(0x[0-9A-F]+)\s*\|\s*(\d+|0x[0…
110 if Match:
111 SiUpdInitOffsetValue = int(Match.group(5), 0)
112Match = re.match("^([_a-zA-Z0-9]+).([_a-zA-Z0-9]+)\s*\|\s*(0x[0-9A-F]+)\s*\|\s*(\d+|0x[0-9a-fA-F]+…
113 if Match:
114 MemUpdInitOffset = int(Match.group(3), 0)
115Match = re.match("^([_a-zA-Z0-9]+).([_a-zA-Z0-9]+)\s*\|\s*(0x[0-9A-F]+)\s*\|\s*(\d+|0x[0-9a-fA-F]+…
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DMatch.c63 BOOLEAN Match; in MatchSpdEntry() local
65 Match = FALSE; in MatchSpdEntry()
68 Match = TRUE; in MatchSpdEntry()
72 Match = TRUE; in MatchSpdEntry()
78 return Match; in MatchSpdEntry()
98 BOOLEAN Match; in MatchSadEntry() local
100 Match = FALSE; in MatchSadEntry()
102 Match = (BOOLEAN) (CompareMem (&Indexer->SaId, SaId, sizeof (EFI_IPSEC_SA_ID)) == 0); in MatchSadEntry()
105 Match = TRUE; in MatchSadEntry()
110 return Match; in MatchSadEntry()
[all …]
DIpSecConfig.inf36 Match.c
37 Match.h
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/
DUefiLanguageLib.c276 CONST CHAR8 *Match; in ConvertIso639ToRfc4646() local
287 Match = mIso639ToRfc4646ConversionTable; in ConvertIso639ToRfc4646()
289 Match = AsciiStrStr (Match, Rfc4646Language); in ConvertIso639ToRfc4646()
290 if (Match == NULL) { in ConvertIso639ToRfc4646()
293 if (((Match - mIso639ToRfc4646ConversionTable) % 5) == 0) { in ConvertIso639ToRfc4646()
296 ++Match; in ConvertIso639ToRfc4646()
298 Rfc4646Language[0] = Match[3]; in ConvertIso639ToRfc4646()
299 Rfc4646Language[1] = Match[4]; in ConvertIso639ToRfc4646()
329 CONST CHAR8 *Match; in ConvertRfc4646ToIso639() local
354 Match = mIso639ToRfc4646ConversionTable; in ConvertRfc4646ToIso639()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SmbiosLib/
DSmbiosLib.c259 UINTN Match; in SmbiosLibReadString() local
262 for (Match = 1;!(*Data == 0 && *(Data+1) == 0); ) { in SmbiosLibReadString()
263 if (StringNumber == Match) { in SmbiosLibReadString()
268 Match++; in SmbiosLibReadString()
296 UINTN Match; in SmbiosLibGetRecord() local
298 Match = 0; in SmbiosLibGetRecord()
303 if (Match == Instance) { in SmbiosLibGetRecord()
306 Match++; in SmbiosLibGetRecord()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
DBuildReport.py154 for Match in gIncludePattern.finditer(FileContents):
155 FileName = Match.group(1).strip()
165 for Match in gIncludePattern2.finditer(FileContents):
166 Key = Match.group(2)
167 Type = Match.group(1)
374 Match = gDxsDependencyPattern.search(open(Source.Path).read())
375 if Match:
376 self.Depex = Match.group(1).strip()
591 Match = gModuleSizePattern.search(FileContents)
592 if Match:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DExpressionValidate.py152 for Match in MatchList:
153 if Match and Match.start() == 0:
155 self.Token[self.Index:self.Index+Match.end()]
159 self.Index += Match.end()
164 self.Index -= Match.end()
167 Token = self.Token[self.Index - Match.end():self.Index]
170 self.Index -= Match.end()
473 for Match in MatchList:
474 if Match and Match.start() == 0:
476 self.Token[self.Index:self.Index+Match.end()]
[all …]
DParserValidate.py224 Match = re.compile(ReString).match(Token)
225 return Match and Match.start() == 0 and Match.end() == len(Token)
DParsing.py896 Match = MacroDefPattern.match(LineContent)
897 if not Match:
903 TokenList = GetSplitValueList(LineContent[Match.end(1):], \
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PCD/Dxe/
DPcd.c1193 BOOLEAN Match; in GetDistinctTokenSpace() local
1202 Match = FALSE; in GetDistinctTokenSpace()
1209 Match = TRUE; in GetDistinctTokenSpace()
1213 if (!Match) { in GetDistinctTokenSpace()
1257 BOOLEAN Match; in DxePcdGetNextTokenSpace() local
1294 Match = FALSE; in DxePcdGetNextTokenSpace()
1297 Match = TRUE; in DxePcdGetNextTokenSpace()
1301 if (!Match) { in DxePcdGetNextTokenSpace()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DExpression.py552 Match = self.RegGuidPattern.match(Expr)
553 if Match and not Expr[Match.end():Match.end()+1].isalnum() \
554 and Expr[Match.end():Match.end()+1] != '_':
555 self._Idx += Match.end()
556 …self._Token = ValueExpression(GuidStringToGuidStructureString(Expr[0:Match.end()]))(True, self._De…
DRangeExpression.py667 Match = self.RegGuidPattern.match(Expr)
668 if Match and not Expr[Match.end():Match.end() + 1].isalnum() \
669 and Expr[Match.end():Match.end() + 1] != '_':
670 self._Idx += Match.end()
671 self._Token = Expr[0:Match.end()]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DIniToXml.py216 Match = re.compile(Elem[0]).match(Value)
217 if Match and Match.start() == 0 and Match.end() == len(Value):
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DCommand.c189 EBL_COMMAND_TABLE *Match; in EblGetCommand() local
200 for (Index = 0, BestMatchCount = 0, Match = NULL; Index < mCmdTableNextFreeIndex; Index++) { in EblGetCommand()
209 Match = mCmdTable[Index]; in EblGetCommand()
214 return Match; in EblGetCommand()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Misc.c190 TCP_CB *Match; in TcpLocateListenTcb() local
195 Match = NULL; in TcpLocateListenTcb()
229 Match = Node; in TcpLocateListenTcb()
233 return Match; in TcpLocateListenTcb()
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpMisc.c251 TCP_CB *Match; in TcpLocateListenTcb() local
256 Match = NULL; in TcpLocateListenTcb()
292 Match = Node; in TcpLocateListenTcb()
296 return Match; in TcpLocateListenTcb()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmHotkey.c1039 BOOLEAN Match; in EfiBootManagerDeleteKeyOptionVariable() local
1058 Match = (BOOLEAN) (Hotkey->CodeCount == KeyOption.KeyData.Options.InputKeyCount); in EfiBootManagerDeleteKeyOptionVariable()
1060 for (Index = 0; Match && (Index < Hotkey->CodeCount); Index++) { in EfiBootManagerDeleteKeyOptionVariable()
1074 Match = FALSE; in EfiBootManagerDeleteKeyOptionVariable()
1079 if (Match) { in EfiBootManagerDeleteKeyOptionVariable()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EfiFileLib/
DEfiFileLib.c235 BOOLEAN Match; in EblMatchVolumeName() local
243 for (Compare = 0, Match = TRUE; Compare < (FileStart - 1); Compare++) { in EblMatchVolumeName()
245 Match = FALSE; in EblMatchVolumeName()
251 Match = FALSE; in EblMatchVolumeName()
256 if (Match) { in EblMatchVolumeName()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/
DFwVol.c1954 BOOLEAN Match; in FindNextCoreFvHandle() local
1970 for (Index = 0, Match = FALSE; Index < Private->FvCount; Index++) { in FindNextCoreFvHandle()
1972 Match = TRUE; in FindNextCoreFvHandle()
1981 if (!Match) { in FindNextCoreFvHandle()
1984 Match = TRUE; in FindNextCoreFvHandle()
1995 if (!Match) { in FindNextCoreFvHandle()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminal.c1529 BOOLEAN Match; in TerminalRemoveConsoleDevVariable() local
1569 Match = FALSE; in TerminalRemoveConsoleDevVariable()
1579 Match = TRUE; in TerminalRemoveConsoleDevVariable()
1589 if (!Match) { in TerminalRemoveConsoleDevVariable()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfSectionParser.py454 for Match in ReFindHobArchRe.finditer(HobSectionStr):
455 Arch = Match.groups(1)[0].upper()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/
DUefiIfrForm.c1456 BOOLEAN Match; in IsConfigHdrMatch() local
1502 Match = TRUE; in IsConfigHdrMatch()
1524 Match = FALSE; in IsConfigHdrMatch()
1529 return Match; in IsConfigHdrMatch()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddifflib.py39 Match = _namedtuple('Match', 'a b size') variable
458 return Match(besti, bestj, bestsize)
529 return map(Match._make, self.matching_blocks)

12