Home
last modified time | relevance | path

Searched refs:Argv (Results 1 – 25 of 86) sorted by relevance

1234

/device/linaro/bootloader/edk2/ShellPkg/Application/ShellCTestApp/
DTestArgv.log8 Argv[1]: "^"
10 Argv[1]: "#"
12 Argv[1]: "%Var_EFCF356F_228C_47C2_AD0C_3B5DAC9A8CFA%"
14 Argv[1]: """
16 Argv[1]: " 1"
18 Argv[1]: ""
20 Argv[1]: "1"
22 Argv[1]: "^""
24 Argv[1]: "^"
26 Argv[1] = NULL
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/
DGenAprioriFile.c60 char *Argv[]
78 char *Argv[] in main() argument
123 Status = ProcessArgs (Argc, Argv); in main()
326 char *Argv[] in ProcessArgs() argument
349 Argv++; in ProcessArgs()
358 if (_stricmp (Argv[0], "-f") == 0) { in ProcessArgs()
363 mGlobals.AprioriFileName = Argv[1]; in ProcessArgs()
365 Error (NULL, 0, 0, NULL, "missing filename with %s", Argv[0]); in ProcessArgs()
371 Argv++; in ProcessArgs()
372 } else if (_stricmp (Argv[0], "-i") == 0) { in ProcessArgs()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/
DEbcDebuggerConfig.c188 CHAR16 **Argv; in InitializeEbcDebuggerConfig() local
204 Argv = ShellParameters->Argv; in InitializeEbcDebuggerConfig()
212 if ((StrCmp (Argv[1], L"/?") == 0) || in InitializeEbcDebuggerConfig()
213 (StrCmp (Argv[1], L"-?") == 0) || in InitializeEbcDebuggerConfig()
214 (StrCmp (Argv[1], L"-h") == 0) || in InitializeEbcDebuggerConfig()
215 (StrCmp (Argv[1], L"-H") == 0) ) { in InitializeEbcDebuggerConfig()
231 if (StriCmp (Argv[1], L"SHOWINFO") == 0) { in InitializeEbcDebuggerConfig()
237 ((StriCmp (Argv[1], L"BOC") == 0) || in InitializeEbcDebuggerConfig()
238 (StriCmp (Argv[1], L"BOCX") == 0) || in InitializeEbcDebuggerConfig()
239 (StriCmp (Argv[1], L"BOR") == 0) || in InitializeEbcDebuggerConfig()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/
DEfiRom.c24 char *Argv[] in main() argument
63 if (ParseCommandLine (Argc, Argv, &mOptions)) { in main()
857 char *Argv[], in ParseCommandLine() argument
911 Argv++; in ParseCommandLine()
921 if ((stricmp(Argv[0], "-h") == 0) || (stricmp(Argv[0], "--help") == 0)) { in ParseCommandLine()
926 if ((stricmp(Argv[0], "--version") == 0)) { in ParseCommandLine()
935 if (Argv[0][0] == '-') { in ParseCommandLine()
939 if (stricmp (Argv[0], "-f") == 0) { in ParseCommandLine()
943 Status = AsciiStringToUint64(Argv[1], FALSE, &TempValue); in ParseCommandLine()
945 Error (NULL, 0, 2000, "Invalid option value", "%s = %s", Argv[0], Argv[1]); in ParseCommandLine()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/MakeDeps/
DMakeDeps.c182 char *Argv[]
200 char *Argv[] in main() argument
232 Status = ProcessArgs (Argc, Argv); in main()
1074 char *Argv[] in ProcessArgs() argument
1091 Argv++; in ProcessArgs()
1104 if (_stricmp (Argv[0], "-i") == 0) { in ProcessArgs()
1121 NewList->Str = malloc (strlen (Argv[1]) + 2); in ProcessArgs()
1128 strcpy (NewList->Str, Argv[1]); in ProcessArgs()
1146 Error (NULL, 0, 0, Argv[0], "option requires an include path"); in ProcessArgs()
1152 Argv++; in ProcessArgs()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrCompiler.cpp62 IN CHAR8 **Argv in OptionInitialization() argument
96 for (Index = 1; (Index < Argc) && (Argv[Index][0] == '-'); Index++) { in OptionInitialization()
97 if ((stricmp(Argv[Index], "-h") == 0) || (stricmp(Argv[Index], "--help") == 0)) { in OptionInitialization()
101 } else if (stricmp(Argv[Index], "--version") == 0) { in OptionInitialization()
105 } else if (stricmp(Argv[Index], "-l") == 0) { in OptionInitialization()
108 } else if (stricmp(Argv[Index], "-i") == 0) { in OptionInitialization()
110 if ((Index >= Argc) || (Argv[Index][0] == '-')) { in OptionInitialization()
115 AppendIncludePath(Argv[Index]); in OptionInitialization()
116 …} else if (stricmp(Argv[Index], "-o") == 0 || stricmp(Argv[Index], "--output-directory") == 0 || s… in OptionInitialization()
118 if ((Index >= Argc) || (Argv[Index][0] == '-')) { in OptionInitialization()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/
DStrGather.c215 char *Argv[]
288 char *Argv[] in main() argument
314 Status = ProcessArgs (Argc, Argv); in main()
1510 char *Argv[] in ProcessArgs() argument
1523 Argv++; in ProcessArgs()
1534 while ((Argc > 0) && (Argv[0][0] == '-')) { in ProcessArgs()
1538 if (_stricmp (Argv[0], "-parse") == 0) { in ProcessArgs()
1548 } else if (_stricmp (Argv[0], "-scan") == 0) { in ProcessArgs()
1558 } else if (_stricmp (Argv[0], "-vscan") == 0) { in ProcessArgs()
1563 } else if (_stricmp (Argv[0], "-dump") == 0) { in ProcessArgs()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DHwIoDebug.c45 IN CHAR8 **Argv in EblIoReadCmd() argument
56 Port = AsciiStrHexToUintn (Argv[1]); in EblIoReadCmd()
57 Width = WidthFromCommandName (Argv[0], 1); in EblIoReadCmd()
96 IN CHAR8 **Argv in EblIoWriteCmd() argument
107 Port = AsciiStrHexToUintn (Argv[1]); in EblIoWriteCmd()
108 Data = AsciiStrHexToUintn (Argv[2]); in EblIoWriteCmd()
109 Width = WidthFromCommandName (Argv[0], 1); in EblIoWriteCmd()
DCommand.c263 IN CHAR8 **Argv in EblHelpCmd() argument
285 } else if (Argv[1] != NULL) { in EblHelpCmd()
288 if (AsciiStriCmp (Argv[1], mCmdTable[Index]->Name) == 0) { in EblHelpCmd()
290 AsciiPrint ("%a%a\n", Argv[1], Ptr); in EblHelpCmd()
321 IN CHAR8 **Argv in EblExitCmd() argument
333 if (AsciiStriCmp (Argv[1], "efi") != 0) { in EblExitCmd()
427 IN CHAR8 **Argv in EblPauseCmd() argument
434 Delay = (Argc == 1)? 10 : AsciiStrDecimalToUintn (Argv[1]); in EblPauseCmd()
462 IN CHAR8 **Argv in EblBreakPointCmd() argument
489 IN CHAR8 **Argv in EblResetCmd() argument
[all …]
DHwDebug.c47 IN CHAR8 **Argv in EblMdCmd() argument
54 Width = WidthFromCommandName (Argv[0], 1); in EblMdCmd()
58 Length = AsciiStrHexToUintn(Argv[2]); in EblMdCmd()
60 Address = (UINT8 *)AsciiStrHexToUintn (Argv[1]); in EblMdCmd()
97 IN CHAR8 **Argv in EblMfillCmd() argument
110 Width = WidthFromCommandName (Argv[0], 4); in EblMfillCmd()
112 Address = AsciiStrHexToUintn (Argv[1]); in EblMfillCmd()
113 Data = (Argc > 2) ? (UINT32)AsciiStrHexToUintn (Argv[2]) : 0; in EblMfillCmd()
114 Length = (Argc > 3) ? AsciiStrHexToUintn (Argv[3]) : 1; in EblMfillCmd()
178 IN CHAR8 **Argv in EblPciCmd() argument
[all …]
DEfiDevice.c209 IN CHAR8 **Argv in EblDeviceCmd() argument
293 IN CHAR8 **Argv in EblStartCmd() argument
312 File = EfiOpen (Argv[1], EFI_FILE_MODE_READ, 0); in EblStartCmd()
344 ImageInfo->LoadOptionsSize = (UINT32)AsciiStrSize (Argv[2]); in EblStartCmd()
346 AsciiStrCpyS (ImageInfo->LoadOptions, ImageInfo->LoadOptionsSize, Argv[2]); in EblStartCmd()
379 IN CHAR8 **Argv in EblLoadFvCmd() argument
393 File = EfiOpen (Argv[1], EFI_FILE_MODE_READ, 0); in EblLoadFvCmd()
436 IN CHAR8 **Argv in EblConnectCmd() argument
448 if ((*Argv[1] == 'd') || (*Argv[1] == 'D')) { in EblConnectCmd()
468 File = EfiOpen (Argv[1], EFI_FILE_MODE_READ, 0); in EblConnectCmd()
[all …]
DVariable.c24 IN CHAR8 **Argv in EblGetCmd() argument
41 if (Argv[Index][0] == '-') { in EblGetCmd()
42 AsciiPrint("Warning: '%a' not recognized.\n",Argv[Index]); in EblGetCmd()
44 AsciiVariableName = Argv[Index]; in EblGetCmd()
89 IN CHAR8 **Argv in EblSetCmd() argument
109 if (AsciiStrCmp(Argv[Index],"-v") == 0) { in EblSetCmd()
111 } else if (Argv[Index][0] == '-') { in EblSetCmd()
112 AsciiPrint("Warning: '%a' not recognized.\n",Argv[Index]); in EblSetCmd()
114 AsciiVariableSetting = Argv[Index]; in EblSetCmd()
DDir.c69 IN CHAR8 **Argv in EblDirCmd() argument
104 Path = Argv[1]; in EblDirCmd()
119 AsciiStrToUnicodeStrS (Argv[2], UnicodeFileName, in EblDirCmd()
129 Length = AsciiStrLen (Argv[3]); in EblDirCmd()
131 if (AsciiStriCmp (gFvFileType[Index], Argv[3]) == 0) { in EblDirCmd()
137 if (AsciiStrniCmp (Argv[3], gFvFileType[Index], Length) == 0) { in EblDirCmd()
235 AsciiStrToUnicodeStrS (Argv[2], UnicodeFileName, MAX_CMD_LINE); in EblDirCmd()
316 IN CHAR8 **Argv in EblCdCmd() argument
323 return EfiSetCwd (Argv[1]); in EblCdCmd()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/
DEfiRom.c163 char *Argv[],
213 char *Argv[] in main() argument
250 if (ParseCommandLine (Argc, Argv, &mOptions)) { in main()
989 char *Argv[], in ParseCommandLine() argument
1039 Argv++; in ParseCommandLine()
1052 if ((Argv[0][0] == '-') || (Argv[0][0] == '/')) { in ParseCommandLine()
1056 Argv[0][0] = '-'; in ParseCommandLine()
1061 if (_stricmp (Argv[0], "-v") == 0) { in ParseCommandLine()
1066 Options->VendId = (UINT16) strtol (Argv[1], NULL, 16); in ParseCommandLine()
1072 Argv[0] in ParseCommandLine()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/EblExternCmd/
DEntryPointGlue.c28 IN CHAR8 **Argv
57 OUT CHAR8 **Argv in ParseArguments() argument
85 Argv[Arg++] = ++Char; in ParseArguments()
89 Argv[Arg++] = Char; in ParseArguments()
141 CHAR8 *Argv[MAX_ARGS]; in EdkExternCmdEntry() local
148 ParseArguments (ImageInfo->LoadOptions, ImageInfo->LoadOptionsSize, &Argc, Argv); in EdkExternCmdEntry()
151 return EblMain (Argc, Argv); in EdkExternCmdEntry()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/
DStrGather.c228 char *Argv[]
314 char *Argv[] in main() argument
340 Status = ProcessArgs (Argc, Argv); in main()
1779 char *Argv[] in ProcessArgs() argument
1795 Argv++; in ProcessArgs()
1806 while ((Argc > 0) && (Argv[0][0] == '-')) { in ProcessArgs()
1810 if (_stricmp (Argv[0], "-parse") == 0) { in ProcessArgs()
1820 } else if (_stricmp (Argv[0], "-scan") == 0) { in ProcessArgs()
1830 } else if (_stricmp (Argv[0], "-vscan") == 0) { in ProcessArgs()
1835 } else if (_stricmp (Argv[0], "-dump") == 0) { in ProcessArgs()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/
DHiiPack.c106 char *Argv[]
237 char *Argv[] in main() argument
266 Status = ProcessArgs (Argc, Argv); in main()
2139 char *Argv[] in ProcessArgs() argument
2171 Argv++; in ProcessArgs()
2180 if (_stricmp (Argv[0], "create") == 0) { in ProcessArgs()
2182 } else if (_stricmp (Argv[0], "merge") == 0) { in ProcessArgs()
2184 } else if (_stricmp (Argv[0], "defaults") == 0) { in ProcessArgs()
2186 } else if (_stricmp (Argv[0], "dump") == 0) { in ProcessArgs()
2188 } else if (strcmp (Argv[0], "-?") == 0) { in ProcessArgs()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiHiiPack/
DHiiPack.c84 char *Argv[]
121 char *Argv[] in main() argument
150 Status = ProcessArgs (Argc, Argv); in main()
560 char *Argv[] in ProcessArgs() argument
589 Argv++; in ProcessArgs()
596 if (_stricmp (Argv[0], "-h") == 0 || _stricmp (Argv[0], "-?") == 0) { in ProcessArgs()
605 if (_stricmp (Argv[0], "-rc") == 0) { in ProcessArgs()
607 Argv++; in ProcessArgs()
615 strcpy (mGlobals.ResourceFileName, Argv[0]); in ProcessArgs()
618 } else if (_stricmp (Argv[0], "-hii") == 0) { in ProcessArgs()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrCompiler.cpp45 IN INT8 **Argv in OptionInitialization() argument
63 for (Index = 1; (Index < Argc) && (Argv[Index][0] == '-'); Index++) { in OptionInitialization()
64 if ((_stricmp(Argv[Index], "-?") == 0) || (_stricmp(Argv[Index], "-h") == 0)) { in OptionInitialization()
68 } else if (_stricmp(Argv[Index], "-l") == 0) { in OptionInitialization()
71 } else if (_stricmp(Argv[Index], "-i") == 0) { in OptionInitialization()
73 if ((Index >= Argc) || (Argv[Index][0] == '-')) { in OptionInitialization()
78 AppendIncludePath(Argv[Index]); in OptionInitialization()
79 } else if (_stricmp(Argv[Index], "-od") == 0) { in OptionInitialization()
81 if ((Index >= Argc) || (Argv[Index][0] == '-')) { in OptionInitialization()
85 strcpy (mOptions.OutputDirectory, Argv[Index]); in OptionInitialization()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNetByName/
DGetNetByName.c38 IN char **Argv in main() argument
46 Argv[0])); in main()
50 Print ( L"%a <network name>\r\n", Argv[0]); in main()
54 pNetwork = getnetbyname ( Argv[1]); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByDns/
DGetHostByDns.c40 IN char **Argv in main() argument
48 Argv[0])); in main()
52 Print ( L"%a <host name>\r\n", Argv[0]); in main()
56 pHost = _gethostbydnsname ( Argv[1], AF_INET ); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetHostName/
DSetHostName.c40 IN char **Argv in main() argument
47 Argv[0])); in main()
57 AppStatus = sethostname ( Argv[1], strlen ( Argv[1])); in main()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/
DGenTEImage.c98 char *Argv[]
138 char *Argv[] in main() argument
166 if (ParseCommandLine (Argc, Argv)) { in main()
642 char *Argv[] in ParseCommandLine() argument
673 Argv++; in ParseCommandLine()
684 while ((Argc > 0) && ((Argv[0][0] == '-') || (Argv[0][0] == '/'))) { in ParseCommandLine()
688 Argv[0][0] = '-'; in ParseCommandLine()
689 if (_stricmp (Argv[0], "-o") == 0) { in ParseCommandLine()
695 strcpy (mOptions.OutFileName, Argv[1]); in ParseCommandLine()
697 Error (NULL, 0, 0, Argv[0], "missing output file name with option"); in ParseCommandLine()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNameInfo/
DGetNameInfo.c42 IN char **Argv in main() argument
56 printf ( "%s <host address> <server name>\r\n", Argv[0]); in main()
62 pHostName = Argv[1]; in main()
65 pServerName = Argv[2]; in main()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/
DShift.c53 SHELL_FREE_NON_NULL(CurrentScriptFile->Argv[LoopVar]); in ShellCommandRunShift()
56 CurrentScriptFile->Argv[LoopVar] = CurrentScriptFile->Argv[LoopVar+1]; in ShellCommandRunShift()
58 CurrentScriptFile->Argv[LoopVar] = NULL; in ShellCommandRunShift()

1234