Home
last modified time | relevance | path

Searched refs:Key (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminalConIn.c44 if (!EfiKeyFiFoRemoveOneKey (TerminalDevice, &KeyData->Key)) { in ReadKeyStrokeWorker()
127 OUT EFI_INPUT_KEY *Key in TerminalConInReadKeyStroke() argument
144 CopyMem (Key, &KeyData.Key, sizeof (EFI_INPUT_KEY)); in TerminalConInReadKeyStroke()
174 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in IsKeyRegistered()
175 (RegsiteredData->Key.UnicodeChar != InputData->Key.UnicodeChar)) { in IsKeyRegistered()
617 EFI_INPUT_KEY Key; in KeyNotifyProcessHandler() local
635 HasKey = EfiKeyFiFoForNotifyRemoveOneKey (TerminalDevice->EfiKeyFiFoForNotify, &Key); in KeyNotifyProcessHandler()
636 CopyMem (&KeyData.Key, &Key, sizeof (EFI_INPUT_KEY)); in KeyNotifyProcessHandler()
954 EFI_INPUT_KEY *Key in EfiKeyFiFoInsertOneKey() argument
965 CopyMem (&KeyData.Key, Key, sizeof (EFI_INPUT_KEY)); in EfiKeyFiFoInsertOneKey()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DDictionary.py37 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 + ' = ' + str(Dict[Key])
70 def printList(Key, List): argument
73 if Key.find(TAB_SPLIT) != -1:
[all …]
DTargetTxtClassObject.py95 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/", ""…
112 … Tools_Def = os.path.join(self.ConfDirectoryPath, self.TargetTxtDictionary[Key].strip())
113 self.TargetTxtDictionary[Key] = Tools_Def
114 … if Key == DataType.TAB_TAT_DEFINES_BUILD_RULE_CONF and self.TargetTxtDictionary[Key]:
[all …]
DEdkIIWorkspace.py229 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[0]]
263 for Key in Keys:
264 if len(Key) > MaxLength:
265 MaxLength = len(Key)
270 Key = LineList[0].split()
271 if len(Key) == 1 and Key[0][0] != CommentCharacter and Key[0] in Dictionary:
[all …]
DInfClassObject.py196 for Key in self.KeyList:
197 self.RecordSet[Section[Key]] = []
669 for Key in BuildOptions.keys():
670 BuildOption = BuildOptionClass(Key[0], Key[1], Key[2])
671 BuildOption.SupArchList = BuildOptions[Key]
697 for Key in Includes.keys():
699 Include.FilePath = NormPath(Key)
700 Include.SupArchList = Includes[Key]
726 for Key in Libraries.keys():
729 Library.Library = Key.rsplit('.', 1)[0]
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/TargetTool/
DTargetTool.py67 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 == TAB_TAT_DEFINES_TARGET_ARCH \
74 … or Key == TAB_TAT_DEFINES_TOOL_CHAIN_TAG or Key == TAB_TAT_DEFINES_BUILD_RULE_CONF:
75 self.TargetTxtDictionary[Key] = LineList[1].split()
85 for Key in KeyList:
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DPcdXml.py53 def FromXml(self, Item, Key): argument
54 self.ValidValueList = XmlElement(Item, '%s/ValidValueList' % Key)
56 XmlAttribute(XmlNode(Item, '%s/ValidValueList' % Key), 'Lang')
57 …f.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): argument
102 Root = CreateXmlElement('%s' % Key, '', NodeList, AttributeList)
193 for Key in HexRangeDict.keys():
[all …]
DCommonXml.py55 def FromXml(self, Item, Key): argument
56 self.GUID = XmlElement(Item, '%s/GUID' % Key)
57 self.Version = XmlAttribute(XmlNode(Item, '%s/GUID' % Key), 'Version')
65 def ToXml(self, ClonedFrom, Key): argument
72 Root = CreateXmlElement('%s' % Key, '', NodeList, AttributeList)
89 def FromXml(self, Item, Key): argument
90 if Key:
114 def FromXml(self, Item, Key): argument
115 if Key:
120 def ToXml(self, Prompt, Key='Prompt'): argument
[all …]
DIniToXml.py100 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, File[1][Key]])
[all …]
DModuleSurfaceAreaXml.py80 def FromXml(self, Item, Key): argument
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): argument
182 Root = CreateXmlElement('%s' % Key, '', NodeList, [])
210 def FromXml(self, Item, Key): argument
211 self.Description = XmlElement(Item, '%s/Description' % Key)
[all …]
DGuidProtocolPpiXml.py60 def FromXml(self, Item, Key): argument
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):
70 HelpTextObj.FromXml(HelpTextItem, '%s/HelpText' % Key)
[all …]
DPackageSurfaceAreaXml.py49 def FromXml(self, Item, Key): argument
50 self.HeaderFile = XmlElement(Item, '%s/HeaderFile' % Key)
51 for HelpTextItem in XmlList(Item, '%s/HelpText' % Key):
53 HelpTextObj.FromXml(HelpTextItem, '%s/HelpText' % Key)
64 def ToXml(self, IndustryStandardHeader, Key): argument
69 Root = CreateXmlElement('%s' % Key, '', NodeList, AttributeList)
87 def FromXml(self, Item, Key): argument
88 self.HeaderFile = XmlElement(Item, '%s/HeaderFile' % Key)
89 self.CommonDefines.FromXml(XmlNode(Item, '%s/HeaderFile' % Key), 'HeaderFile')
90 for HelpTextItem in XmlList(Item, '%s/HelpText' % Key):
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/SimpleTextInOutSerial/
DSimpleTextInOut.c91 OUT EFI_INPUT_KEY *Key
294 OUT EFI_INPUT_KEY *Key in ReadKeyStroke() argument
312 Key->UnicodeChar = 0; in ReadKeyStroke()
313 Key->ScanCode = SCAN_NULL; in ReadKeyStroke()
320 Key->ScanCode = SCAN_UP; in ReadKeyStroke()
323 Key->ScanCode = SCAN_DOWN; in ReadKeyStroke()
326 Key->ScanCode = SCAN_RIGHT; in ReadKeyStroke()
329 Key->ScanCode = SCAN_LEFT; in ReadKeyStroke()
332 Key->ScanCode = SCAN_HOME; in ReadKeyStroke()
336 Key->ScanCode = SCAN_END; in ReadKeyStroke()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellEnvVar.c111 if (Node->Key != NULL) { in FreeEnvironmentVariableList()
112 FreePool(Node->Key); in FreeEnvironmentVariableList()
208 VarList->Key = AllocateCopyPool(StrSize(VariableName), VariableName); in GetEnvironmentVariableList()
209 if (VarList->Key == NULL) { in GetEnvironmentVariableList()
266 if (Node->Key != NULL) { in SetEnvironmentVariableList()
267 Status = SHELL_DELETE_ENVIRONMENT_VARIABLE(Node->Key); in SetEnvironmentVariableList()
283 Status = SHELL_SET_ENVIRONMENT_VARIABLE_NV(Node->Key, Size, Node->Val); in SetEnvironmentVariableList()
285 Status = SHELL_SET_ENVIRONMENT_VARIABLE_V (Node->Key, Size, Node->Val); in SetEnvironmentVariableList()
341 … Node->Key = AllocateZeroPool((StrStr(CurrentString, L"=") - CurrentString + 1) * sizeof(CHAR16)); in SetEnvironmentVariables()
342 if (Node->Key == NULL) { in SetEnvironmentVariables()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/
DWinNtGopInput.c123 OUT EFI_KEY_DATA *Key in GopPrivateDeleteQ() argument
133 CopyMem (Key, &Queue->Q[Queue->Front], sizeof (EFI_KEY_DATA)); in GopPrivateDeleteQ()
136 if (Key->Key.ScanCode == SCAN_NULL && Key->Key.UnicodeChar == CHAR_NULL) { in GopPrivateDeleteQ()
142 ZeroMem (Key, sizeof (EFI_KEY_DATA)); in GopPrivateDeleteQ()
196 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in GopPrivateIsKeyRegistered()
197 (RegsiteredData->Key.UnicodeChar != InputData->Key.UnicodeChar)) { in GopPrivateIsKeyRegistered()
285 IN EFI_INPUT_KEY Key in GopPrivateAddKey() argument
290 KeyData.Key = Key; in GopPrivateAddKey()
345 (KeyData.Key.UnicodeChar >= 1) && (KeyData.Key.UnicodeChar <= 26) in GopPrivateAddKey()
348 KeyData.Key.UnicodeChar = (CHAR16)(KeyData.Key.UnicodeChar + L'a' - 1); in GopPrivateAddKey()
[all …]
DWinNtGopScreen.c141 IN EFI_INPUT_KEY *Key in WinNtGopConvertParamToEfiKey() argument
147 case VK_HOME: Key->ScanCode = SCAN_HOME; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
148 case VK_END: Key->ScanCode = SCAN_END; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
149 case VK_LEFT: Key->ScanCode = SCAN_LEFT; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
150 case VK_RIGHT: Key->ScanCode = SCAN_RIGHT; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
151 case VK_UP: Key->ScanCode = SCAN_UP; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
152 case VK_DOWN: Key->ScanCode = SCAN_DOWN; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
153 case VK_DELETE: Key->ScanCode = SCAN_DELETE; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
154 case VK_INSERT: Key->ScanCode = SCAN_INSERT; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
155 case VK_PRIOR: Key->ScanCode = SCAN_PAGE_UP; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptPkcs7Sign.c60 EVP_PKEY *Key; in Pkcs7Sign() local
77 Key = NULL; in Pkcs7Sign()
115 Key = EVP_PKEY_new (); in Pkcs7Sign()
116 if (Key == NULL) { in Pkcs7Sign()
119 if (EVP_PKEY_assign_RSA (Key, (RSA *) RsaContext) == 0) { in Pkcs7Sign()
140 Key, in Pkcs7Sign()
189 if (Key != NULL) { in Pkcs7Sign()
190 Key->pkey.rsa = NULL; in Pkcs7Sign()
194 if (Key != NULL) { in Pkcs7Sign()
195 EVP_PKEY_free (Key); in Pkcs7Sign()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DEventLogInfo.c28 IN CONST UINT8 Key, in DisplaySELAccessMethod() argument
36 PRINT_INFO_OPTION (Key, Option); in DisplaySELAccessMethod()
41 switch (Key) { in DisplaySELAccessMethod()
63 if (Key <= 0x7f) { in DisplaySELAccessMethod()
79 UINT8 Key, in DisplaySELLogStatus() argument
87 PRINT_INFO_OPTION (Key, Option); in DisplaySELLogStatus()
92 if ((Key & 0x01) != 0) { in DisplaySELLogStatus()
98 if ((Key & 0x02) != 0) { in DisplaySELLogStatus()
104 if ((Key & 0xFC) != 0) { in DisplaySELLogStatus()
105 …L,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_RES_BITS_NOT_ZERO), gShellDebug1HiiHandle, Key & 0xFC); in DisplaySELLogStatus()
[all …]
DQueryTable.h22 UINT16 Key; member
68 IN UINT8 Key,
81 IN UINT8 Key,
466 IN UINT32 Key,
478 IN UINT32 Key,
634 IN UINT8 Key,
646 IN UINT8 Key,
658 IN UINT8 Key,
670 IN UINT8 Key,
682 IN UINT8 Key,
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DX11GraphicsWindow.c259 KeyData.Key.ScanCode = 0; in handleKeyEvent()
260 KeyData.Key.UnicodeChar = 0; in handleKeyEvent()
331 case XK_Home: KeyData.Key.ScanCode = SCAN_HOME; break; in handleKeyEvent()
334 case XK_End: KeyData.Key.ScanCode = SCAN_END; break; in handleKeyEvent()
337 case XK_Left: KeyData.Key.ScanCode = SCAN_LEFT; break; in handleKeyEvent()
340 case XK_Right: KeyData.Key.ScanCode = SCAN_RIGHT; break; in handleKeyEvent()
343 case XK_Up: KeyData.Key.ScanCode = SCAN_UP; break; in handleKeyEvent()
346 case XK_Down: KeyData.Key.ScanCode = SCAN_DOWN; break; in handleKeyEvent()
349 case XK_Delete: KeyData.Key.ScanCode = SCAN_DELETE; break; in handleKeyEvent()
352 case XK_Insert: KeyData.Key.ScanCode = SCAN_INSERT; break; in handleKeyEvent()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFirmwareVolumeBuffer.c753 UINTN Key; in FvBufAddVtfFile() local
770 Key = 0; in FvBufAddVtfFile()
774 Status = FvBufFindNextFile (Fv, &Key, (VOID **)&LastFile); in FvBufAddVtfFile()
933 IN OUT UINTN *Key, in FvBufFindNextFile() argument
978 if (*Key == 0) { in FvBufFindNextFile()
979 *Key = hdr->HeaderLength; in FvBufFindNextFile()
985 *Key = (UINTN)ALIGN_POINTER (*Key, 8); in FvBufFindNextFile()
986 (*Key + sizeof (*fhdr)) < fvSize; in FvBufFindNextFile()
987 *Key = (UINTN)ALIGN_POINTER (*Key, 8) in FvBufFindNextFile()
990 fhdr = (EFI_FFS_FILE_HEADER*) ((UINT8*)hdr + *Key); in FvBufFindNextFile()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DMisc.py306 def __setitem__(self, Key, Value): argument
307 if Key not in self._key_list:
308 self._key_list.append(Key)
309 IterableUserDict.__setitem__(self, Key, Value)
313 def __delitem__(self, Key): argument
314 self._key_list.remove(Key)
315 IterableUserDict.__delitem__(self, Key)
329 def __contains__(self, Key): argument
330 return Key in self._key_list
334 def index(self, Key): argument
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DPlatformSetupDxe.c365 EFI_INPUT_KEY Key; in SystemConfigCallback()
392 CreatePopUp (EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE, &Key, StringBuffer1, StringBuffer2, NULL); in SystemConfigCallback()
393 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
398 if (Key.UnicodeChar == CHAR_CARRIAGE_RETURN) { in SystemConfigCallback()
409 CreatePopUp (EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE, &Key, StringBuffer1, StringBuffer2, NULL); in SystemConfigCallback()
410 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
415 if (Key.UnicodeChar == CHAR_CARRIAGE_RETURN) { in SystemConfigCallback()
428 …CreatePopUp (EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE, &Key, StringBuffer1, StringBuffer2, StringBuffer… in SystemConfigCallback()
429 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
440 …CreatePopUp (EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE, &Key, StringBuffer1, StringBuffer2, StringBuffer… in SystemConfigCallback()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/
DIfrOpCodeCreation.c68 IN UINT16 Key, in CreateTextOpCode() argument
109 Text.Key = Key; in CreateTextOpCode()
123 IN UINT16 Key, in CreateGotoOpCode() argument
162 Hyperlink.Key = Key; in CreateGotoOpCode()
251 OneOfOption.Key = OptionsList[Index].Key; in CreateOneOfOpCode()
339 OrderedListOption.Key = OptionsList[Index].Key; in CreateOrderedListOpCode()
363 IN UINT16 Key, in CreateCheckBoxOpCode() argument
416 CheckBox.Key = Key; in CreateCheckBoxOpCode()
435 IN UINT16 Key, in CreateNumericOpCode() argument
500 Numeric.Key = Key; in CreateNumericOpCode()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/
DPs2KbdTextIn.c106 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in IsKeyRegistered()
107 (RegsiteredData->Key.UnicodeChar != InputData->Key.UnicodeChar)) { in IsKeyRegistered()
263 OUT EFI_INPUT_KEY *Key in KeyboardReadKeyStroke() argument
288 if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == CHAR_NULL) { in KeyboardReadKeyStroke()
296 if (KeyData.Key.UnicodeChar >= L'a' && KeyData.Key.UnicodeChar <= L'z') { in KeyboardReadKeyStroke()
297 KeyData.Key.UnicodeChar = (CHAR16) (KeyData.Key.UnicodeChar - L'a' + 1); in KeyboardReadKeyStroke()
298 } else if (KeyData.Key.UnicodeChar >= L'A' && KeyData.Key.UnicodeChar <= L'Z') { in KeyboardReadKeyStroke()
299 KeyData.Key.UnicodeChar = (CHAR16) (KeyData.Key.UnicodeChar - L'A' + 1); in KeyboardReadKeyStroke()
303 CopyMem (Key, &KeyData.Key, sizeof (EFI_INPUT_KEY)); in KeyboardReadKeyStroke()
349 if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == CHAR_NULL) { in KeyboardWaitForKey()

12345678910>>...14