/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/ |
H A D | HiiLib.c | 33 @param Guid Package GUID.
48 VOID **Package;
local 61 Package = (VOID **) (((UINT8 *) HiiPackages) + sizeof (EFI_HII_PACKAGES));
66 *Package = VA_ARG (Args, VOID *);
67 Package++;
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/ |
H A D | Stall.c | 32 LIST_ENTRY *Package;
local 51 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
61 if (ShellCommandLineGetRawValue(Package, 2) != NULL) {
64 } else if (ShellCommandLineGetRawValue(Package, 1) == NULL) {
68 Status = ShellConvertStringToUint64(ShellCommandLineGetRawValue(Package, 1), &Intermediate, FALSE, FALSE);
70 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_PARAM_INV), gShellLevel1HiiHandle, L"stall", ShellCommandLineGetRawValue(Package, 1));
80 ShellCommandLineFreeVarList (Package);
|
H A D | Exit.c | 37 LIST_ENTRY *Package;
local 57 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
71 Return = ShellCommandLineGetRawValue(Package, 1);
81 ShellCommandRegisterExit((BOOLEAN)(gEfiShellProtocol->BatchIsActive() && ShellCommandLineGetFlag(Package, L"/b")), RetVal);
88 ShellCommandRegisterExit((BOOLEAN)(gEfiShellProtocol->BatchIsActive() && ShellCommandLineGetFlag(Package, L"/b")), 0);
93 ShellCommandLineFreeVarList (Package);
|
H A D | Goto.c | 32 LIST_ENTRY *Package;
local 59 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
69 if (ShellCommandLineGetRawValue(Package, 2) != NULL) {
72 } else if (ShellCommandLineGetRawValue(Package, 1) == NULL) {
79 CompareString = StrnCatGrow(&CompareString, &Size, ShellCommandLineGetRawValue(Package, 1), 0);
100 ShellCommandLineFreeVarList (Package);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/ |
H A D | GetMtc.c | 34 LIST_ENTRY *Package;
local 51 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
64 if (ShellCommandLineGetFlag(Package, L"-?")) {
66 } else if (ShellCommandLineGetRawValue(Package, 1) != NULL) {
92 ShellCommandLineFreeVarList (Package);
|
H A D | Echo.c | 40 LIST_ENTRY *Package;
local 61 Status = ShellCommandLineParseEx (ParamList, &Package, &ProblemParam, TRUE, TRUE);
74 if (ShellCommandLineGetFlag(Package, L"-?")) {
77 if (ShellCommandLineGetFlag(Package, L"-on")) {
82 } else if (ShellCommandLineGetFlag(Package, L"-off")) {
87 } else if (ShellCommandLineGetRawValue(Package, 1) == NULL) {
101 ; ShellCommandLineGetRawValue(Package, ParamCount) != NULL
104 StrnCatGrow(&PrintString, &Size, ShellCommandLineGetRawValue(Package, ParamCount), 0);
105 if (ShellCommandLineGetRawValue(Package, ParamCount+1) != NULL) {
116 ShellCommandLineFreeVarList (Package);
[all...] |
H A D | Pause.c | 37 LIST_ENTRY *Package;
local 63 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
76 if (ShellCommandLineGetFlag(Package, L"-?")) {
78 } else if (ShellCommandLineGetRawValue(Package, 1) != NULL) {
82 if (!ShellCommandLineGetFlag(Package, L"-q")) {
101 ShellCommandLineFreeVarList (Package);
|
H A D | Ver.c | 43 LIST_ENTRY *Package;
local 64 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
77 if (ShellCommandLineGetFlag(Package, L"-?")) {
80 if (ShellCommandLineGetRawValue(Package, 1) != NULL) {
87 if (ShellCommandLineGetFlag(Package, L"-s")) {
88 if (ShellCommandLineGetFlag(Package, L"-terse") || ShellCommandLineGetFlag(Package, L"-t")){
113 if (!ShellCommandLineGetFlag(Package, L"-terse") && !ShellCommandLineGetFlag(Package, L"-t")){
140 if (ShellCommandLineGetFlag(Package, [all...] |
H A D | Cls.c | 38 LIST_ENTRY *Package;
local 63 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
76 if (ShellCommandLineGetFlag(Package, L"-?")) {
78 } else if (ShellCommandLineGetFlag (Package, L"-sfo")) {
79 if (ShellCommandLineGetCount (Package) > 1) {
101 BackColorStr = ShellCommandLineGetRawValue (Package, 1);
102 ForeColorStr = ShellCommandLineGetRawValue (Package, 2);
109 } else if (ShellCommandLineGetCount (Package) > 3) {
223 ShellCommandLineFreeVarList (Package);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
H A D | SetSize.c | 32 LIST_ENTRY *Package;
local 55 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
65 if (ShellCommandLineGetCount(Package) < 3) {
70 Temp1 = ShellCommandLineGetRawValue(Package, 1);
79 for (LoopVar = 2 ; LoopVar < ShellCommandLineGetCount(Package) && ShellStatus == SHELL_SUCCESS ; LoopVar++) {
80 Status = ShellOpenFileByName(ShellCommandLineGetRawValue(Package, LoopVar), &FileHandle, EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE, 0);
82 Status = ShellOpenFileByName(ShellCommandLineGetRawValue(Package, LoopVar), &FileHandle, EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE|EFI_FILE_MODE_CREATE, 0);
88 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_FILE_OPEN_FAIL), gShellDebug1HiiHandle, L"setsize", ShellCommandLineGetRawValue(Package, LoopVar));
97 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_SET_SIZE_FAIL), gShellDebug1HiiHandle, L"setsize", ShellCommandLineGetRawValue(Package, LoopVar));
100 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_SET_SIZE_DONE), gShellDebug1HiiHandle, ShellCommandLineGetRawValue(Package, LoopVa [all...] |
H A D | Mode.c | 32 LIST_ENTRY *Package;
local 58 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
68 if (ShellCommandLineGetCount(Package) > 3) {
71 } else if (ShellCommandLineGetCount(Package) == 2) {
74 } else if (ShellCommandLineGetCount(Package) == 3) {
75 Temp = ShellCommandLineGetRawValue(Package, 1);
81 Temp = ShellCommandLineGetRawValue(Package, 2);
111 } else if (ShellCommandLineGetCount(Package) == 1) {
124 ShellCommandLineFreeVarList (Package);
|
H A D | Dblk.c | 103 LIST_ENTRY *Package;
local 128 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
138 if (ShellCommandLineGetCount(Package) > 4) {
141 } else if (ShellCommandLineGetCount(Package) < 2) {
148 BlockName = ShellCommandLineGetRawValue(Package, 1);
149 LbaString = ShellCommandLineGetRawValue(Package, 2);
150 BlockCountString = ShellCommandLineGetRawValue(Package, 3);
197 ShellCommandLineFreeVarList (Package);
|
H A D | Dmem.c | 105 LIST_ENTRY *Package;
local 135 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
145 if (ShellCommandLineGetCount(Package) > 3) {
149 Temp1 = ShellCommandLineGetRawValue(Package, 1);
158 Temp1 = ShellCommandLineGetRawValue(Package, 2);
171 if (!ShellCommandLineGetFlag(Package, L"-mmio")) {
229 ShellCommandLineFreeVarList (Package);
|
H A D | EfiCompress.c | 33 LIST_ENTRY *Package;
local 70 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
80 if (ShellCommandLineGetCount(Package) > 3) {
83 } else if (ShellCommandLineGetCount(Package) < 3) {
87 TempParam = ShellCommandLineGetRawValue(Package, 1);
90 OutFileName = ShellCommandLineGetRawValue(Package, 2);
106 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_FILE_OPEN_FAIL), gShellDebug1HiiHandle, L"eficompress", ShellCommandLineGetRawValue(Package, 1));
111 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_FILE_OPEN_FAIL), gShellDebug1HiiHandle, L"eficompress", ShellCommandLineGetRawValue(Package, 2));
151 ShellCommandLineFreeVarList (Package);
|
H A D | EfiDecompress.c | 34 LIST_ENTRY *Package;
local 77 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
87 if (ShellCommandLineGetCount(Package) > 3) {
90 } else if (ShellCommandLineGetCount(Package) < 3) {
94 TempParam = ShellCommandLineGetRawValue(Package, 1);
97 OutFileName = ShellCommandLineGetRawValue(Package, 2);
113 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_FILE_OPEN_FAIL), gShellDebug1HiiHandle, L"efidecompress", ShellCommandLineGetRawValue(Package, 1));
142 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_FILE_OPEN_FAIL), gShellDebug1HiiHandle, ShellCommandLineGetRawValue(Package, 2), Status);
171 ShellCommandLineFreeVarList (Package);
|
H A D | SerMode.c | 186 LIST_ENTRY *Package;
local 197 Package = NULL;
199 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
209 if (ShellCommandLineGetCount(Package) < 6 && ShellCommandLineGetCount(Package) > 2) {
212 } else if (ShellCommandLineGetCount(Package) > 6) {
216 Temp = ShellCommandLineGetRawValue(Package, 1);
220 Temp = ShellCommandLineGetRawValue(Package, 2);
229 Temp = ShellCommandLineGetRawValue(Package, 2);
236 Temp = ShellCommandLineGetRawValue(Package, [all...] |
H A D | SetVar.c | 68 LIST_ENTRY *Package;
local 100 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
110 if (ShellCommandLineGetCount(Package) < 2) {
113 } else if (ShellCommandLineGetCount(Package) > 3) {
117 VariableName = ShellCommandLineGetRawValue(Package, 1);
118 Data = ShellCommandLineGetRawValue(Package, 2);
119 if (!ShellCommandLineGetFlag(Package, L"-guid")){
122 StringGuid = ShellCommandLineGetValue(Package, L"-guid");
182 if (ShellCommandLineGetFlag(Package, L"-bs")) {
185 if (ShellCommandLineGetFlag(Package, [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/ |
H A D | Reconnect.c | 57 LIST_ENTRY *Package;
local 76 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
88 if (ShellCommandLineGetFlag(Package, L"-r")) {
|
H A D | Unload.c | 63 LIST_ENTRY *Package;
local 72 Package = NULL;
86 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
96 if (ShellCommandLineGetCount(Package) > 2){
102 } else if (ShellCommandLineGetCount(Package) < 2) {
106 Param1 = ShellCommandLineGetRawValue(Package, 1);
117 if (ShellCommandLineGetFlag(Package, L"-v") || ShellCommandLineGetFlag(Package, L"-verbose")) {
121 if (!ShellCommandLineGetFlag(Package, L"-n")) {
125 if (ShellCommandLineGetFlag(Package, [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
H A D | MkDir.c | 34 LIST_ENTRY *Package;
local 50 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
63 if (ShellCommandLineGetFlag(Package, L"-?")) {
70 if (ShellCommandLineGetRawValue(Package, 1) == NULL) {
85 NewDirName = ShellCommandLineGetRawValue(Package, DirCreateCount);
125 ShellCommandLineFreeVarList (Package);
|
H A D | Attrib.c | 48 LIST_ENTRY *Package;
local 70 Status = ShellCommandLineParse (AttribParamList, &Package, &ProblemParam, TRUE);
84 if (ShellCommandLineGetFlag(Package, L"-?")) {
93 if (ShellCommandLineGetFlag(Package, L"+a")) {
96 if (ShellCommandLineGetFlag(Package, L"-a")) {
99 if (ShellCommandLineGetFlag(Package, L"+s")) {
102 if (ShellCommandLineGetFlag(Package, L"-s")) {
105 if (ShellCommandLineGetFlag(Package, L"+h")) {
108 if (ShellCommandLineGetFlag(Package, L"-h")) {
111 if (ShellCommandLineGetFlag(Package, [all...] |
H A D | Reset.c | 40 LIST_ENTRY *Package;
local 60 Status = ShellCommandLineParse (ResetParamList, &Package, &ProblemParam, TRUE);
73 if (ShellCommandLineGetFlag(Package, L"-?")) {
75 } else if (ShellCommandLineGetRawValue(Package, 1) != NULL) {
80 if (ShellCommandLineGetFlag (Package, L"-fwui")) {
115 if (ShellCommandLineGetFlag(Package, L"-w")) {
116 if (ShellCommandLineGetFlag(Package, L"-s") || ShellCommandLineGetFlag(Package, L"-c")) {
120 String = ShellCommandLineGetValue(Package, L"-w");
127 } else if (ShellCommandLineGetFlag(Package, [all...] |
H A D | Set.c | 67 LIST_ENTRY *Package;
local 91 Status = ShellCommandLineParse (SetParamList, &Package, &ProblemParam, TRUE);
104 if (ShellCommandLineGetFlag(Package, L"-?")) {
106 } else if (ShellCommandLineGetRawValue(Package, 3) != NULL) {
109 } else if (ShellCommandLineGetRawValue(Package, 1) != NULL && ShellCommandLineGetFlag(Package, L"-d")) {
112 } else if (ShellCommandLineGetFlag(Package, L"-d")) {
116 KeyName = ShellCommandLineGetValue(Package, L"-d");
121 Status = ShellSetEnvironmentVariable(KeyName, L"", ShellCommandLineGetFlag(Package, L"-v"));
127 } else if (ShellCommandLineGetRawValue(Package, [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
H A D | Edit.c | 36 LIST_ENTRY *Package;
local 59 Status = ShellCommandLineParse (EmptyParamList, &Package, &ProblemParam, TRUE);
69 if (ShellCommandLineGetCount(Package) > 2) {
105 if (ShellCommandLineGetCount(Package) == 2) {
106 TempParam = ShellCommandLineGetRawValue(Package, 1);
159 ShellCommandLineFreeVarList (Package);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/ |
H A D | HexEdit.c | 46 LIST_ENTRY *Package;
local 74 Status = ShellCommandLineParse (ParamList, &Package, &ProblemParam, TRUE);
87 if (ShellCommandLineGetFlag(Package, L"-d")){
88 if (ShellCommandLineGetCount(Package) < 4) {
91 } else if (ShellCommandLineGetCount(Package) > 4) {
96 Name = ShellCommandLineGetRawValue(Package, 1);
97 Offset = ShellStrToUintn(ShellCommandLineGetRawValue(Package, 2));
98 Size = ShellStrToUintn(ShellCommandLineGetRawValue(Package, 3));
109 if (ShellCommandLineGetFlag(Package, L"-f") && (WhatToDo == FileTypeNone)){
110 if (ShellCommandLineGetCount(Package) < [all...] |