/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
H A D | Dictionary.py | 37 Key = LineList[0].split()
38 if len(Key) == 1 and Key[0][0] != CommentCharacter and Key[0] not in Keys:
40 Dictionary[Key[0]] = LineList[1].replace('\\', '/').split(ValueSplitCharacter)
42 Dictionary[Key[0]] = LineList[1].strip().replace('\\', '/')
43 Keys += [Key[0]]
59 for Key in KeyList:
60 if Dict[Key] != '':
61 print Key [all...] |
H A D | TargetTxtClassObject.py | 74 # @param KeySplitCharacter: Key split char, between key name and key value. Key1 = Value1, '=' is the key split char
95 Key = LineList[0].strip()
101 if Key in [DataType.TAB_TAT_DEFINES_ACTIVE_PLATFORM, DataType.TAB_TAT_DEFINES_TOOL_CHAIN_CONF, \
103 self.TargetTxtDictionary[Key] = Value.replace('\\', '/')
104 if Key == DataType.TAB_TAT_DEFINES_TOOL_CHAIN_CONF and self.TargetTxtDictionary[Key]:
105 if self.TargetTxtDictionary[Key].startswith("Conf/"):
106 Tools_Def = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].strip())
109 Tools_Def = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].replace("Conf/", "", 1).strip())
112 Tools_Def = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key] [all...] |
H A D | EdkIIWorkspace.py | 177 # @param KeySplitCharacter: Key split char, between key name and key value. Key1 = Value1, '=' is the key split char
195 # @param KeySplitCharacter: Key split char, between key name and key value. Key1 = Value1, '=' is the key split char
213 # @param KeySplitCharacter: Key split char, between key name and key value. Key1 = Value1, '=' is the key split char
229 Key = LineList[0].split()
230 if len(Key) == 1 and Key[0][0] != CommentCharacter and Key[0] not in Keys:
232 Dictionary[Key[0]] = LineList[1].replace('\\', '/').split(ValueSplitCharacter)
234 Dictionary[Key[0]] = LineList[1].strip().replace('\\', '/')
235 Keys += [Key[ [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/RandomNumberGenerator/RngDxe/ |
H A D | AesCore.h | 21 @param[in] Key AES symmetric key buffer.
32 IN UINT8 *Key,
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/ |
H A D | PcdXml.py | 53 def FromXml(self, Item, Key):
54 self.ValidValueList = XmlElement(Item, '%s/ValidValueList' % Key)
56 XmlAttribute(XmlNode(Item, '%s/ValidValueList' % Key), 'Lang')
57 self.ValidValueRange = self.TransferValidEpxr2ValidRange(XmlElement(Item, '%s/ValidValueRange' % Key))
58 self.Expression = XmlElement(Item, '%s/Expression' % Key)
59 self.ErrorNumber = XmlElement(Item, '%s/ErrorNumber' % Key)
60 for ErrMsg in XmlList(Item, '%s/ErrorMessage' % Key):
76 def ToXml(self, PcdError, Key):
102 Root = CreateXmlElement('%s' % Key, '', NodeList, AttributeList)
193 for Key i [all...] |
H A D | CommonXml.py | 55 def FromXml(self, Item, Key):
56 self.GUID = XmlElement(Item, '%s/GUID' % Key)
57 self.Version = XmlAttribute(XmlNode(Item, '%s/GUID' % Key), 'Version')
65 def ToXml(self, ClonedFrom, Key):
72 Root = CreateXmlElement('%s' % Key, '', NodeList, AttributeList)
89 def FromXml(self, Item, Key):
90 if Key:
114 def FromXml(self, Item, Key):
115 if Key:
120 def ToXml(self, Prompt, Key [all...] |
H A D | IniToXml.py | 100 Key = Attr[0].strip()
102 if Key not in ['OS', 'Executable']:
103 return False, ST.ERR_UNKNOWN_FILELIST_ATTR % Key
105 if Key == 'OS' and Val not in ["Win32", "Win64", "Linux32",
109 elif Key == 'Executable' and Val not in ['true', 'false']:
111 FileList[1][Key] = Val
152 for Key in Map:
153 if len(Map[Key]) > 0:
169 for Key in File[1]:
170 AttrList.append([Key, Fil [all...] |
H A D | GuidProtocolPpiXml.py | 60 def FromXml(self, Item, Key):
61 self.UiName = XmlAttribute(XmlNode(Item, '%s' % Key), 'UiName')
62 self.GuidType = XmlAttribute(XmlNode(Item, '%s' % Key), 'GuidType')
63 self.Notify = XmlAttribute(XmlNode(Item, '%s' % Key), 'Notify')
64 self.CName = XmlElement(Item, '%s/CName' % Key)
65 self.GuidValue = XmlElement(Item, '%s/GuidValue' % Key)
66 self.VariableName = XmlElement(Item, '%s/VariableName' % Key)
67 self.CommonDefines.FromXml(XmlNode(Item, '%s' % Key), Key)
68 for HelpTextItem in XmlList(Item, '%s/HelpText' % Key) [all...] |
H A D | ModuleSurfaceAreaXml.py | 80 def FromXml(self, Item, Key):
86 for SubItem in XmlList(Item, '%s/Filename' % Key):
97 for AsBuiltItem in XmlList(Item, '%s/AsBuilt' % Key):
113 for SubItem in XmlList(Item, '%s/AsBuilt/LibraryInstances/GUID' % Key):
120 if XmlList(Item, '%s/AsBuilt/LibraryInstances' % Key) and not LibraryList:
124 for SubItem in XmlList(Item, '%s/AsBuilt/BuildFlags' % Key):
132 def ToXml(self, BinaryFile, Key):
182 Root = CreateXmlElement('%s' % Key, '', NodeList, [])
210 def FromXml(self, Item, Key):
211 self.Description = XmlElement(Item, '%s/Description' % Key)
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/ |
H A D | TerminalConIn.c | 43 if (!EfiKeyFiFoRemoveOneKey (TerminalDevice, &KeyData->Key)) {
112 @param Key A pointer to a buffer that is filled in with the
125 OUT EFI_INPUT_KEY *Key
142 CopyMem (Key, &KeyData.Key, sizeof (EFI_INPUT_KEY));
160 @retval TRUE Key be pressed matches a registered key.
172 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) ||
173 (RegsiteredData->Key.UnicodeChar != InputData->Key 1057 EFI_INPUT_KEY Key; local 1184 EFI_INPUT_KEY Key; local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/TargetTool/ |
H A D | TargetTool.py | 67 Key = LineList[0].strip()
68 if Key.startswith(CommentCharacter) == False and Key in self.TargetTxtDictionary.keys():
69 if Key == TAB_TAT_DEFINES_ACTIVE_PLATFORM or Key == TAB_TAT_DEFINES_TOOL_CHAIN_CONF \
70 or Key == TAB_TAT_DEFINES_MAX_CONCURRENT_THREAD_NUMBER \
71 or Key == TAB_TAT_DEFINES_ACTIVE_MODULE:
72 self.TargetTxtDictionary[Key] = LineList[1].replace('\\', '/').strip()
73 elif Key == TAB_TAT_DEFINES_TARGET or Key [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
H A D | CryptPkcs7Sign.c | 60 EVP_PKEY *Key;
local 77 Key = NULL;
115 Key = EVP_PKEY_new ();
116 if (Key == NULL) {
119 if (EVP_PKEY_assign_RSA (Key, (RSA *) RsaContext) == 0) {
140 Key,
189 if (Key != NULL) {
190 Key->pkey.rsa = NULL;
194 if (Key != NULL) {
195 EVP_PKEY_free (Key);
[all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/SimpleTextInOutSerial/ |
H A D | SimpleTextInOut.c | 91 OUT EFI_INPUT_KEY *Key
294 OUT EFI_INPUT_KEY *Key
312 Key->UnicodeChar = 0;
313 Key->ScanCode = SCAN_NULL;
320 Key->ScanCode = SCAN_UP;
323 Key->ScanCode = SCAN_DOWN;
326 Key->ScanCode = SCAN_RIGHT;
329 Key->ScanCode = SCAN_LEFT;
332 Key->ScanCode = SCAN_HOME;
336 Key [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Bds/ |
H A D | FirmwareVolume.c | 39 VOID *Key;
local 58 Key = AllocatePool (Fv->KeySize);
59 ASSERT (Key != NULL);
60 ZeroMem (Key, Fv->KeySize);
65 NextStatus = Fv->GetNextFile (Fv, Key, &FileType, NameGuid, &Attributes, &Size);
72 FreePool (Key);
92 FreePool (Key);
101 FreePool (Key);
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Bds/ |
H A D | FirmwareVolume.c | 39 VOID *Key;
local 58 Key = AllocatePool (Fv->KeySize);
59 ASSERT (Key != NULL);
60 ZeroMem (Key, Fv->KeySize);
65 NextStatus = Fv->GetNextFile (Fv, Key, &FileType, NameGuid, &Attributes, &Size);
72 FreePool (Key);
92 FreePool (Key);
101 FreePool (Key);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/ |
H A D | QueryTable.h | 22 UINT16 Key;
member in struct:TABLE_ITEM 41 Given a table and a Key, return the responding info.
44 Table[Index].Key is change from UINT8 to UINT16,
51 Now define Key = 0x7F07, that is to say: High = 0x7F, Low = 0x07.
52 Then all the Key Value between Low and High gets the same string
57 @param[in] Key The query Key.
61 @return the found Key and Info is valid.
68 IN UINT8 Key,
76 @param[in] Key Th [all...] |
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Protocol/ |
H A D | ActiveBios.h | 63 IN UINTN Key
76 @param[in] Key If the interface is locked, Key must be the Key
90 IN OUT UINTN *Key
103 @param[in] Key If Lock is TRUE, then a key will be returned. If
106 protocol. The value of Key is undefined except that
|
H A D | ActiveBiosProtocol.h | 50 IN UINTN Key
67 Key If the interface is locked, Key must be the Key
83 IN OUT UINTN *Key
98 Key If Lock is TRUE, then a key will be returned. If
101 protocol. The value of Key is undefined except that it
|
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/ |
H A D | WinNtGopInput.c | 81 @param Key TODO: add argument description
113 @param Key TODO: add argument description
123 OUT EFI_KEY_DATA *Key
133 CopyMem (Key, &Queue->Q[Queue->Front], sizeof (EFI_KEY_DATA));
136 if (Key->Key.ScanCode == SCAN_NULL && Key->Key.UnicodeChar == CHAR_NULL) {
142 ZeroMem (Key, sizeof (EFI_KEY_DATA));
189 TRUE - Key b [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pem/ |
H A D | CryptPem.c | 24 @param[in] Key Key data to be passed to the callback routine.
34 IN VOID *Key
40 if (Key != NULL) {
44 KeyLength = (INTN) AsciiStrLen ((CHAR8 *)Key);
46 CopyMem (Buf, Key, (UINTN) KeyLength);
54 Retrieve the RSA Private Key from the password-protected PEM key data.
66 @retval TRUE RSA Private Key was retrieved successfully.
121 // Retrieve RSA Private Key from encrypted PEM data.
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Tools/ |
H A D | replace.c | 48 char *Key, *Replace;
local 100 Key = malloc (MaxLenKey);
101 if (Key == NULL) {
115 ReadCount = fread (Key, 1, MaxLenKey, In);
118 if (!memcmp (Key, Match[i].Match, Match[i].MatchSize)) {
127 fputc (Key[0], Out);
142 free (Key);
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/ |
H A D | replace.c | 48 char *Key, *Replace;
local 100 Key = malloc (MaxLenKey);
101 if (Key == NULL) {
115 ReadCount = fread (Key, 1, MaxLenKey, In);
118 if (!memcmp (Key, Match[i].Match, Match[i].MatchSize)) {
127 fputc (Key[0], Out);
142 free (Key);
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
H A D | X11GraphicsWindow.c | 259 KeyData.Key.ScanCode = 0; 260 KeyData.Key.UnicodeChar = 0; 331 case XK_Home: KeyData.Key.ScanCode = SCAN_HOME; break; 334 case XK_End: KeyData.Key.ScanCode = SCAN_END; break; 337 case XK_Left: KeyData.Key.ScanCode = SCAN_LEFT; break; 340 case XK_Right: KeyData.Key.ScanCode = SCAN_RIGHT; break; 343 case XK_Up: KeyData.Key.ScanCode = SCAN_UP; break; 346 case XK_Down: KeyData.Key.ScanCode = SCAN_DOWN; break; 349 case XK_Delete: KeyData.Key.ScanCode = SCAN_DELETE; break; 352 case XK_Insert: KeyData.Key [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
H A D | ShellEnvVar.c | 105 if (Node->Key != NULL) {
106 FreePool(Node->Key);
197 VarList->Key = AllocateCopyPool(StrSize(VariableName), VariableName);
198 if (VarList->Key == NULL) {
256 if (Node->Key != NULL) {
257 Status = SHELL_DELETE_ENVIRONMENT_VARIABLE(Node->Key);
273 Status = SHELL_SET_ENVIRONMENT_VARIABLE_NV(Node->Key, Size, Node->Val);
275 Status = SHELL_SET_ENVIRONMENT_VARIABLE_V (Node->Key, Size, Node->Val);
332 Node->Key = AllocateZeroPool((StrStr(CurrentString, L"=") - CurrentString + 1) * sizeof(CHAR16));
333 if (Node->Key [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/ |
H A D | IfrOpCodeCreation.c | 68 IN UINT16 Key,
90 Key - Key of the text
109 Text.Key = Key;
123 IN UINT16 Key,
145 Key - Key of the hyperlink
162 Hyperlink.Key = Key;
63 CreateTextOpCode( IN STRING_REF StringToken, IN STRING_REF StringTokenTwo, IN STRING_REF StringTokenThree, IN UINT8 Flags, IN UINT16 Key, IN OUT VOID *FormBuffer ) argument 118 CreateGotoOpCode( IN UINT16 FormId, IN STRING_REF StringToken, IN STRING_REF StringTokenTwo, IN UINT8 Flags, IN UINT16 Key, IN OUT VOID *FormBuffer ) argument 357 CreateCheckBoxOpCode( IN UINT16 QuestionId, IN UINT8 DataWidth, IN STRING_REF PromptToken, IN STRING_REF HelpToken, IN UINT8 Flags, IN UINT16 Key, IN OUT VOID *FormBuffer ) argument 425 CreateNumericOpCode( IN UINT16 QuestionId, IN UINT8 DataWidth, IN STRING_REF PromptToken, IN STRING_REF HelpToken, IN UINT16 Minimum, IN UINT16 Maximum, IN UINT16 Step, IN UINT16 Default, IN UINT8 Flags, IN UINT16 Key, IN OUT VOID *FormBuffer ) argument 509 CreateStringOpCode( IN UINT16 QuestionId, IN UINT8 DataWidth, IN STRING_REF PromptToken, IN STRING_REF HelpToken, IN UINT8 MinSize, IN UINT8 MaxSize, IN UINT8 Flags, IN UINT16 Key, IN OUT VOID *FormBuffer ) argument [all...] |