Home
last modified time | relevance | path

Searched refs:Opt (Results 1 – 25 of 26) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/
DUPT.py58 def CheckConflictOption(Opt): argument
59 …if (Opt.PackFileToCreate or Opt.PackFileToInstall or Opt.PackFileToRemove or Opt.PackFileToReplace…
60 and Opt.InventoryWs:
62 …elif Opt.PackFileToReplace and (Opt.PackFileToCreate or Opt.PackFileToInstall or Opt.PackFileToRem…
64 elif (Opt.PackFileToCreate and Opt.PackFileToInstall and Opt.PackFileToRemove):
66 elif Opt.PackFileToCreate and Opt.PackFileToInstall:
68 elif Opt.PackFileToInstall and Opt.PackFileToRemove:
70 elif Opt.PackFileToCreate and Opt.PackFileToRemove:
73 if Opt.CustomPath and Opt.UseGuidedPkgPath:
75 Opt.UseGuidedPkgPath = False
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/TargetTool/
DTargetTool.py31 self.Opt = opt
141 if Key == TAB_TAT_DEFINES_ACTIVE_PLATFORM and self.Opt.DSCFILE != None:
142 dscFullPath = os.path.join(self.WorkSpace, self.Opt.DSCFILE)
144 Line = "%-30s = %s\n" % (Key, self.Opt.DSCFILE)
147 "DSC file %s does not exist!" % self.Opt.DSCFILE, RaiseError=False)
148 elif Key == TAB_TAT_DEFINES_TOOL_CHAIN_CONF and self.Opt.TOOL_DEFINITION_FILE != None:
149 tooldefFullPath = os.path.join(self.WorkSpace, self.Opt.TOOL_DEFINITION_FILE)
151 Line = "%-30s = %s\n" % (Key, self.Opt.TOOL_DEFINITION_FILE)
154 … "Tooldef file %s does not exist!" % self.Opt.TOOL_DEFINITION_FILE, RaiseError=False)
156 elif self.Opt.NUM >= 2:
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Option.c165 EFI_MTFTP6_OPTION *Opt; in Mtftp6ParseExtensionOption() local
173 Opt = Options + Index; in Mtftp6ParseExtensionOption()
175 if (Opt->OptionStr == NULL || Opt->ValueStr == NULL) { in Mtftp6ParseExtensionOption()
179 if (AsciiStriCmp ((CHAR8 *) Opt->OptionStr, "blksize") == 0) { in Mtftp6ParseExtensionOption()
183 Value = (UINT32) AsciiStrDecimalToUintn ((CHAR8 *) Opt->ValueStr); in Mtftp6ParseExtensionOption()
192 } else if (AsciiStriCmp ((CHAR8 *) Opt->OptionStr, "timeout") == 0) { in Mtftp6ParseExtensionOption()
196 Value = (UINT32) AsciiStrDecimalToUintn ((CHAR8 *) Opt->ValueStr); in Mtftp6ParseExtensionOption()
205 } else if (AsciiStriCmp ((CHAR8 *) Opt->OptionStr, "tsize") == 0) { in Mtftp6ParseExtensionOption()
209 ExtInfo->Tsize = (UINT32) AsciiStrDecimalToUintn ((CHAR8 *) Opt->ValueStr); in Mtftp6ParseExtensionOption()
212 } else if (AsciiStriCmp ((CHAR8 *) Opt->OptionStr, "multicast") == 0) { in Mtftp6ParseExtensionOption()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DUpdateBuildVersions.py75 def ShellCommandResults(CmdLine, Opt): argument
86 if not Opt.silent:
95 if not Opt.silent:
105 if not Opt.silent:
115 if not Opt.silent:
203 def RevertCmd(Filename, Opt): argument
209 if not Opt.silent:
214 if not Opt.silent:
220 if not Opt.silent:
226 if not Opt.silent:
[all …]
DConvertMasmToNasm.py48 (self.Opt, self.Args) = self.ProcessCommandLine()
50 (self.Opt, self.Args) = (clone.Opt, clone.Args)
59 self.diff = self.Opt.diff
60 self.git = self.Opt.git
61 self.force = self.Opt.force
86 (Opt, Args) = Parser.parse_args()
88 if not Opt.quiet:
92 return (Opt, Args)
187 if not self.Opt.quiet:
236 if not self.Opt.quiet:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Dmain.c122 } Opt; typedef
124 Opt options[] = {
143 void ProcessArgs(int argc, char **argv, Opt *options) in ProcessArgs()
148 Opt *options;
151 Opt *p;
190 Opt *p = options;
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp6.h116 #define GET_NEXT_DHCP6_OPTION(Opt) \ argument
117 (EFI_DHCP6_PACKET_OPTION *) ((UINT8 *) (Opt) + \
118 sizeof (EFI_DHCP6_PACKET_OPTION) + (NTOHS ((Opt)->OpLen)) - 1)
DHttpBootDhcp4.h203 #define GET_NEXT_DHCP_OPTION(Opt) \ argument
204 (EFI_DHCP4_PACKET_OPTION *) ((UINT8 *) (Opt) + \
205 sizeof (EFI_DHCP4_PACKET_OPTION) + (Opt)->Length - 1)
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp6.h66 #define GET_NEXT_DHCP6_OPTION(Opt) \ argument
67 (EFI_DHCP6_PACKET_OPTION *) ((UINT8 *) (Opt) + \
68 sizeof (EFI_DHCP6_PACKET_OPTION) + (NTOHS ((Opt)->OpLen)) - 1)
DPxeBcDhcp4.h180 #define GET_NEXT_DHCP_OPTION(Opt) \ argument
181 (EFI_DHCP4_PACKET_OPTION *) ((UINT8 *) (Opt) + \
182 sizeof (EFI_DHCP4_PACKET_OPTION) + (Opt)->Length - 1)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrCompiler.cpp189 INT8 *Opt = NULL; in AppendCPreprocessorOptions() local
195 Opt = new INT8[Len]; in AppendCPreprocessorOptions()
196 if (Opt == NULL) { in AppendCPreprocessorOptions()
200 Opt[0] = 0; in AppendCPreprocessorOptions()
202 strcat (Opt, mOptions.CPreprocessorOptions); in AppendCPreprocessorOptions()
204 strcat (Opt, " "); in AppendCPreprocessorOptions()
205 strcat (Opt, Options); in AppendCPreprocessorOptions()
209 mOptions.CPreprocessorOptions = Opt; in AppendCPreprocessorOptions()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Misc.c99 IN TCP_OPTION *Opt in TcpInitTcbPeer() argument
104 ASSERT ((Tcb != NULL) && (Seg != NULL) && (Opt != NULL)); in TcpInitTcbPeer()
117 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_MSS)) { in TcpInitTcbPeer()
118 Tcb->SndMss = (UINT16) MAX (64, Opt->Mss); in TcpInitTcbPeer()
139 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_WS) && in TcpInitTcbPeer()
142 Tcb->SndWndScale = Opt->WndScale; in TcpInitTcbPeer()
154 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_TS) && in TcpInitTcbPeer()
160 Tcb->TsRecent = Opt->TSVal; in TcpInitTcbPeer()
DTcp4Func.h127 IN TCP_OPTION *Opt
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpMisc.c105 IN TCP_OPTION *Opt in TcpInitTcbPeer() argument
110 ASSERT ((Tcb != NULL) && (Seg != NULL) && (Opt != NULL)); in TcpInitTcbPeer()
123 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_MSS)) { in TcpInitTcbPeer()
124 Tcb->SndMss = (UINT16) MAX (64, Opt->Mss); in TcpInitTcbPeer()
145 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_WS) && !TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_WS)) { in TcpInitTcbPeer()
147 Tcb->SndWndScale = Opt->WndScale; in TcpInitTcbPeer()
159 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_TS) && !TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_TS)) { in TcpInitTcbPeer()
164 Tcb->TsRecent = Opt->TSVal; in TcpInitTcbPeer()
DTcpFunc.h63 IN TCP_OPTION *Opt
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/genmk/
Dgenmk_old.c77 } Opt; typedef
80 static void ProcessArgs(int, char **, Opt *);
236 Opt options[] = {
303 Opt *p = options; in help()
707 ProcessArgs( int argc, char **argv, Opt *options ) in ProcessArgs()
712 Opt *options;
715 Opt *p;
Dgenmk.c93 } Opt; typedef
96 static void ProcessArgs(int, char **, Opt *);
345 Opt options[] = {
433 Opt *p = options; in help()
996 ProcessArgs( int argc, char **argv, Opt *options ) in ProcessArgs()
1001 Opt *options;
1004 Opt *p;
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrCompiler.cpp250 CHAR8 *Opt = NULL; in AppendCPreprocessorOptions() local
256 Opt = new CHAR8[Len]; in AppendCPreprocessorOptions()
257 if (Opt == NULL) { in AppendCPreprocessorOptions()
261 Opt[0] = 0; in AppendCPreprocessorOptions()
263 strcat (Opt, mOptions.CPreprocessorOptions); in AppendCPreprocessorOptions()
265 strcat (Opt, " "); in AppendCPreprocessorOptions()
266 strcat (Opt, Options); in AppendCPreprocessorOptions()
270 mOptions.CPreprocessorOptions = Opt; in AppendCPreprocessorOptions()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.h286 #define GET_NEXT_DHCP_OPTION(Opt) \ argument
287 …(EFI_DHCP4_PACKET_OPTION *) ((UINT8 *) (Opt) + sizeof (EFI_DHCP4_PACKET_OPTION) + (Opt)->Length - …
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DString.py848 Opt = OptionList[Index]
849 if not Opt.startswith(Which):
851 if len(Opt) > len(Which):
852 Val = Opt[len(Which):]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dmain.c59 } Opt; typedef
62 extern void ProcessArgs(int, char **, Opt *);
495 Opt options[] = {
1016 Opt *p = options; in help()
1385 ProcessArgs( int argc, char **argv, Opt *options ) in ProcessArgs()
1390 Opt *options;
1393 Opt *p;
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DString.py706 Opt = OptionList[Index]
707 if not Opt.startswith(Which):
709 if len(Opt) > len(Which):
710 Val = Opt[len(Which):]
/device/linaro/bootloader/edk2/BaseTools/gcc/
Dmingw-gcc-build.py119 (Opt, Args) = Parser.parse_args()
121 self.arch = Opt.arch.lower()
133 return (Opt, Args)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DEcc.py427 (Opt, Args)=Parser.parse_args()
429 return (Opt, Args)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DEot.py629 (Opt, Args)=Parser.parse_args()
631 return (Opt, Args)

12