/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/ |
FvSimpleFileSystemEntryPoint.c | 93 UINTN Key;
133 // Allocate Key
135 Key = 0;
142 &Key,
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/ |
DxeServicesLib.c | 241 UINTN Key;
278 Key = 0;
280 Status = Fv->GetNextFile (Fv, &Key, &FileType, &NameGuid, &Attributes, Size);
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Application/Ping6/ |
Ping6.c | 859 EFI_INPUT_KEY Key;
940 // 1. Hot key
952 Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
955 if ((Key.UnicodeChar == 0x1b) || (Key.UnicodeChar == 0x03) ||
956 ((Key.UnicodeChar == 0) && (Key.ScanCode == SCAN_ESC))) {
|
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/ |
PxeBcImpl.c | [all...] |
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/ |
WinNtGopScreen.c | 66 // left and right Ctrl, and Shift key.
141 IN EFI_INPUT_KEY *Key
147 case VK_HOME: Key->ScanCode = SCAN_HOME; Flag = TRUE; break;
148 case VK_END: Key->ScanCode = SCAN_END; Flag = TRUE; break;
149 case VK_LEFT: Key->ScanCode = SCAN_LEFT; Flag = TRUE; break;
150 case VK_RIGHT: Key->ScanCode = SCAN_RIGHT; Flag = TRUE; break;
151 case VK_UP: Key->ScanCode = SCAN_UP; Flag = TRUE; break;
152 case VK_DOWN: Key->ScanCode = SCAN_DOWN; Flag = TRUE; break;
153 case VK_DELETE: Key->ScanCode = SCAN_DELETE; Flag = TRUE; break;
154 case VK_INSERT: Key->ScanCode = SCAN_INSERT; Flag = TRUE; break; [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/ |
DxeTcg2PhysicalPresenceLib.c | 360 Read the specified key for user confirmation.
362 @param[in] CautionKey If true, F12 is used as confirm key;
363 If false, F10 is used as confirm key.
374 EFI_INPUT_KEY Key;
381 Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
382 if (Key.ScanCode == SCAN_ESC) {
383 InputKey = Key.ScanCode;
385 if ((Key.ScanCode == SCAN_F10) && !CautionKey) {
386 InputKey = Key.ScanCode;
388 if ((Key.ScanCode == SCAN_F12) && CautionKey) { [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/ |
DxeTcgPhysicalPresenceLib.c | 437 Read the specified key for user confirmation.
439 @param[in] CautionKey If true, F12 is used as confirm key;
440 If false, F10 is used as confirm key.
452 EFI_INPUT_KEY Key;
458 Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
468 if (Key.ScanCode == SCAN_ESC) {
469 InputKey = Key.ScanCode;
471 if ((Key.ScanCode == SCAN_F10) && !CautionKey) {
472 InputKey = Key.ScanCode;
474 if ((Key.ScanCode == SCAN_F12) && CautionKey) { [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/ |
PwdCredentialProvider.c | 321 EFI_INPUT_KEY Key;
340 &Key,
350 // Check key stroke
352 if (Key.ScanCode == SCAN_NULL) {
353 if (Key.UnicodeChar == CHAR_CARRIAGE_RETURN) {
355 } else if (Key.UnicodeChar == CHAR_BACKSPACE) {
359 } else if ((Key.UnicodeChar == CHAR_NULL) ||
360 (Key.UnicodeChar == CHAR_TAB) ||
361 (Key.UnicodeChar == CHAR_LINEFEED)) {
364 Password[PasswordLen] = Key.UnicodeChar; [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/ |
UsbCredentialProvider.c | 240 Read the specified file by FileName in the Usb key and return the file size in BufferSize
676 EFI_INPUT_KEY Key;
710 &Key,
896 EFI_INPUT_KEY Key;
947 &Key,
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/ |
UserProfileModify.c | [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
MainTextEditor.c | [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/ |
HexEditorTypes.h | 39 CHAR16 Key[3];
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/ |
daConsole.c | 249 EFI_INPUT_KEY Key = {0,0};
257 Status = Proto->ReadKeyStroke(Proto, &Key);
263 Key.ScanCode = SCAN_NULL;
264 Key.UnicodeChar = Stream->UnGetKey;
269 if (Key.ScanCode != 0) {
270 if (Key.ScanCode == SCAN_ESC) {
278 // Must be a control, function, or other non-printable key.
280 RetChar = TtyFunKeyMax - Key.ScanCode;
284 RetChar = Key.UnicodeChar;
364 NumRead = 1; // Indicate that Key holds the data [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/ |
PlatformSetupDxe.c | 331 consists of a unique key which is used to identify what data is either being passed back
365 EFI_INPUT_KEY Key;
392 CreatePopUp (EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE, &Key, StringBuffer1, StringBuffer2, NULL);
393 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN));
396 // If the user hits the YES Response key,
398 if (Key.UnicodeChar == CHAR_CARRIAGE_RETURN) {
409 CreatePopUp (EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE, &Key, StringBuffer1, StringBuffer2, NULL);
410 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/ |
HashList.cs | 58 Key, 94 public object Key 154 if (_mode == EnumerationMode.Key) 273 return new HashListEnumerator(_hashList, HashListEnumerator.EnumerationMode.Key); 388 public object this[object key] 390 get { return _dictionary[key]; } 393 bool isNewEntry = !_dictionary.Contains(key); 394 _dictionary[key] = value; 396 _insertionOrderList.Add(key); 401 public void Remove(object key) [all...] |
/external/clang/lib/CodeGen/ |
CodeGenTypes.cpp | 120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); 123 if (CGT.isRecordLayoutComplete(Key)) return true; 126 if (CGT.isRecordBeingLaidOut(Key)) 661 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); 663 llvm::StructType *&Entry = RecordDeclTypes[Key]; 685 bool InsertResult = RecordsBeingLaidOut.insert(Key).second; 700 CGRecordLayouts[Key] = Layout; 703 bool EraseResult = RecordsBeingLaidOut.erase(Key); (void)EraseResult; 724 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); 726 const CGRecordLayout *Layout = CGRecordLayouts.lookup(Key); [all...] |
/external/clang/lib/Serialization/ |
MultiOnDiskHashTable.h | 145 const internal_key_type &Key = InfoObj.ReadKey(LocalPtr, L.first); 146 data_type_builder ValueBuilder(Merged->Data[Key]); 147 InfoObj.ReadDataInto(Key, LocalPtr + L.first, L.second, 221 internal_key_type Key = Info::GetInternalKey(EKey); 222 auto KeyHash = Info::ComputeHash(Key); 225 auto It = M->Data.find(Key); 234 auto It = HT.find_hashed(Key, KeyHash); 236 HT.getInfoObj().ReadDataInto(Key, It.getDataPtr(), It.getDataLen(), 265 const internal_key_type &Key = InfoObj.ReadKey(LocalPtr, L.first); 266 InfoObj.ReadDataInto(Key, LocalPtr + L.first, L.second, ResultBuilder) [all...] |
/external/clang/test/CodeGen/ |
2008-03-24-BitField-And-Alloca.c | 61 } key; member in union:_Key 63 } Key; 65 static void foo(const Key iospec, int* ret) 86 __attribute__ ((unused)) Key iospec = (Key) key_token2;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
SizeStrategy.java | 19 private final GroupedLinkedMap<Key, Bitmap> groupedMap = new GroupedLinkedMap<Key, Bitmap>(); 25 final Key key = keyPool.get(size); local 27 groupedMap.put(key, bitmap); 29 Integer current = sortedSizes.get(key.size); 30 sortedSizes.put(key.size, current == null ? 1 : current + 1); 36 Key key = keyPool.get(size); local 40 keyPool.offer(key); [all...] |
/external/guice/core/test/com/google/inject/spi/ |
SpiBindingsTest.java | 30 import com.google.inject.Key; 66 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); 85 assertEquals(Key.get(String.class), binding.getKey()); 117 assertEquals(Key.get(String.class), binding.getKey()); 143 assertEquals(Key.get(String.class), binding.getKey()); 146 assertEquals(Key.get(StringProvider.class), binding.getProviderKey()); 157 final Key<String> aKey = Key.get(String.class, Names.named("a")); 158 final Key<String> bKey = Key.get(String.class, Names.named("b")) [all...] |
/external/guice/core/test/com/googlecode/guice/bundle/ |
OSGiTestActivator.java | 25 import com.google.inject.Key; 495 injector.getInstance(Key.get(api, named(vis.name()))); 497 aopInjector.getInstance(Key.get(api, named(vis.name())));
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/ |
AbstractInjectorGrapherTest.java | 26 import com.google.inject.Key; 112 aNode = new ImplementationNode(NodeId.newTypeId(Key.get(A.class)), null, 114 a2Node = new ImplementationNode(NodeId.newTypeId(Key.get(A2.class)), null, 116 iaNode = new InterfaceNode(NodeId.newTypeId(Key.get(IA.class)), null); 117 iaAnnNode = new InterfaceNode(NodeId.newTypeId(Key.get(IA.class, Ann.class)), null); 118 stringNode = new InterfaceNode(NodeId.newTypeId(Key.get(String.class)), null); 119 stringInstanceNode = new InstanceNode(NodeId.newInstanceId(Key.get(String.class)), null, 155 Node a2ProviderNode = new InstanceNode(NodeId.newInstanceId(Key.get(IA.class)), null, 176 }), ImmutableSet.<Key<?>>of(Key.get(String.class))) [all...] |
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ScopeRequestIntegrationTest.java | 24 import com.google.inject.Key; 70 ImmutableMap.<Key<?>, Object>of(Key.get(SomeObject.class), someObject))).get(); 81 ImmutableMap.<Key<?>, Object>of(Key.get(SomeObject.class), someObject))).get(); 103 ImmutableMap.<Key<?>, Object>of(Key.get(SomeObject.class), "Boo!")); 106 assertEquals("Value[Boo!] of type[java.lang.String] is not compatible with key[" + Key.get(SomeObject.class) + "]", iae.getMessage()); 127 Map<Key<?>, Object> map = Maps.newHashMap() [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UResource.java | 21 * ICU resource bundle key and value types. 26 * Represents a resource bundle item's key string. 31 public static final class Key implements CharSequence, Cloneable, Comparable<Key> { 32 // Stores a reference to the resource bundle key string bytes array, 33 // with an offset of the key, to avoid creating a String object 35 // Alternatively, we could try to always just get the key String object, 43 * Constructs an empty resource key string object. 45 public Key() { 50 * Constructs a resource key object equal to the given string [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
BaseLocale.java | 64 Key key = new Key(language, script, region, variant); local 65 BaseLocale baseLocale = CACHE.get(key); 154 private static class Key implements Comparable<Key> { 162 public Key(String language, String script, String region, String variant) { 181 (obj instanceof Key) 182 && AsciiUtil.caseIgnoreMatch(((Key)obj)._lang, this._lang) 183 && AsciiUtil.caseIgnoreMatch(((Key)obj)._scrt, this._scrt [all...] |