/external/dropbear/libtomcrypt/src/ciphers/ |
D | rc2.c | 72 unsigned *xkey = skey->rc2.xkey; in rc2_setup() local 110 xkey[i] = (unsigned)tmp[2*i] + ((unsigned)tmp[2*i+1] << 8); in rc2_setup() 140 unsigned *xkey; in _rc2_ecb_encrypt() local 147 xkey = skey->rc2.xkey; in _rc2_ecb_encrypt() 155 x10 = (x10 + (x32 & ~x76) + (x54 & x76) + xkey[4*i+0]) & 0xFFFF; in _rc2_ecb_encrypt() 158 x32 = (x32 + (x54 & ~x10) + (x76 & x10) + xkey[4*i+1]) & 0xFFFF; in _rc2_ecb_encrypt() 161 x54 = (x54 + (x76 & ~x32) + (x10 & x32) + xkey[4*i+2]) & 0xFFFF; in _rc2_ecb_encrypt() 164 x76 = (x76 + (x10 & ~x54) + (x32 & x54) + xkey[4*i+3]) & 0xFFFF; in _rc2_ecb_encrypt() 168 x10 = (x10 + xkey[x76 & 63]) & 0xFFFF; in _rc2_ecb_encrypt() 169 x32 = (x32 + xkey[x10 & 63]) & 0xFFFF; in _rc2_ecb_encrypt() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
D | SDL_dgaevents.c | 82 XKeyEvent xkey; in DGA_DispatchEvent() local 84 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); in DGA_DispatchEvent() 85 keycode = xkey.keycode; in DGA_DispatchEvent() 87 printf("KeyPress (X11 keycode = 0x%X)\n", xkey.keycode); in DGA_DispatchEvent() 100 if ( XLookupString(&xkey, keybuf, sizeof(keybuf), NULL, &state) ) { in DGA_DispatchEvent() 118 XKeyEvent xkey; in DGA_DispatchEvent() local 120 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); in DGA_DispatchEvent() 121 keycode = xkey.keycode; in DGA_DispatchEvent() 123 printf("KeyRelease (X11 keycode = 0x%X)\n", xkey.keycode); in DGA_DispatchEvent()
|
/external/wpa_supplicant_8/src/crypto/ |
D | fips_prf_internal.c | 19 u8 xkey[64]; in fips186_2_prf() local 25 if (seed_len < sizeof(xkey)) in fips186_2_prf() 26 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); in fips186_2_prf() 28 seed_len = sizeof(xkey); in fips186_2_prf() 32 os_memcpy(xkey, seed, seed_len); in fips186_2_prf() 47 SHA1Transform(_t, xkey); in fips186_2_prf() 58 carry += xkey[k] + xpos[k]; in fips186_2_prf() 59 xkey[k] = carry & 0xff; in fips186_2_prf()
|
D | fips_prf_openssl.c | 28 u8 xkey[64]; in fips186_2_prf() local 34 if (seed_len < sizeof(xkey)) in fips186_2_prf() 35 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); in fips186_2_prf() 37 seed_len = sizeof(xkey); in fips186_2_prf() 41 os_memcpy(xkey, seed, seed_len); in fips186_2_prf() 56 sha1_transform((u8 *) _t, xkey); in fips186_2_prf() 67 carry += xkey[k] + xpos[k]; in fips186_2_prf() 68 xkey[k] = carry & 0xff; in fips186_2_prf()
|
/external/chromium_org/chrome/browser/ui/ash/ |
D | event_rewriter.cc | 379 if (event->native_event()->xkey.send_event) in Rewrite() 497 XKeyEvent* xkey = &(xev->xkey); in RewriteModifiers() local 498 KeySym keysym = XLookupKeysym(xkey, 0); in RewriteModifiers() 501 KeyCode remapped_native_keycode = xkey->keycode; in RewriteModifiers() 565 GetRemappedModifierMasks(event->flags(), xkey->state, in RewriteModifiers() 594 XKeyEvent* xkey = &(xev->xkey); in RewriteNumPadKeys() local 596 const KeySym keysym = XLookupKeysym(xkey, 0); in RewriteNumPadKeys() 600 xkey->state | Mod2Mask, in RewriteNumPadKeys() 606 xkey->state | Mod2Mask, in RewriteNumPadKeys() 612 xkey->state | Mod2Mask, in RewriteNumPadKeys() [all …]
|
D | event_rewriter_unittest.cc | 45 xevent->xkey.keycode = x_keycode; in GetRewrittenEventAsString() 46 xevent->xkey.state = x_state; in GetRewrittenEventAsString() 52 xevent->xkey.keycode, xevent->xkey.state, xevent->xkey.type); in GetRewrittenEventAsString() 2300 xevent->xkey.keycode = keycode_control_l_; in TEST_F() 2301 xevent->xkey.send_event = True; // XSendEvent() always does this. in TEST_F() 2308 xevent->xkey.keycode, xevent->xkey.state, xevent->xkey.type); in TEST_F() 2354 xevent->xkey.keycode = keycode_f1; in TEST_F()
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | x11_input_method_context_impl_gtk2.cc | 28 GdkEvent* GdkEventFromXKeyEvent(XKeyEvent& xkey, bool is_modifier) { in GdkEventFromXKeyEvent() argument 29 DCHECK(xkey.type == KeyPress || xkey.type == KeyRelease); in GdkEventFromXKeyEvent() 32 GdkDisplay* display = gdk_x11_lookup_xdisplay(xkey.display); in GdkEventFromXKeyEvent() 44 XLookupString(&xkey, NULL, 0, &keysym, NULL); in GdkEventFromXKeyEvent() 50 gdk_keymap_get_entries_for_keycode(keymap, xkey.keycode, in GdkEventFromXKeyEvent() 64 GdkWindow* window = gdk_x11_window_lookup_for_display(display, xkey.window); in GdkEventFromXKeyEvent() 68 window = gdk_x11_window_foreign_new_for_display(display, xkey.window); in GdkEventFromXKeyEvent() 75 GdkEventType event_type = xkey.type == KeyPress ? in GdkEventFromXKeyEvent() 81 event->key.send_event = xkey.send_event; in GdkEventFromXKeyEvent() 82 event->key.time = xkey.time; in GdkEventFromXKeyEvent() [all …]
|
/external/chromium_org/ui/events/test/ |
D | events_test_utils_x11.cc | 136 event_->xkey.serial = 0; in InitKeyEvent() 137 event_->xkey.send_event = 0; in InitKeyEvent() 138 event_->xkey.display = display; in InitKeyEvent() 139 event_->xkey.time = 0; in InitKeyEvent() 140 event_->xkey.window = 0; in InitKeyEvent() 141 event_->xkey.root = 0; in InitKeyEvent() 142 event_->xkey.subwindow = 0; in InitKeyEvent() 143 event_->xkey.x = 0; in InitKeyEvent() 144 event_->xkey.y = 0; in InitKeyEvent() 145 event_->xkey.x_root = 0; in InitKeyEvent() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11events.c | 317 (peekevent.xkey.keycode == event->xkey.keycode) && in X11_KeyRepeat() 318 ((peekevent.xkey.time-event->xkey.time) < 2) ) { in X11_KeyRepeat() 561 KeyCode keycode = xevent.xkey.keycode; in X11_DispatchEvent() 564 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode); in X11_DispatchEvent() 596 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, sizeof(keybuf), &xkeysym, &status); in X11_DispatchEvent() 606 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, count, &xkeysym, &status); in X11_DispatchEvent() 734 if ( XLookupString(&xevent.xkey, in X11_DispatchEvent() 754 KeyCode keycode = xevent.xkey.keycode; in X11_DispatchEvent() 765 printf("KeyRelease (X11 keycode = 0x%X)\n", xevent.xkey.keycode); in X11_DispatchEvent() 1255 XKeyEvent xkey; in X11_KeyToUnicode() local [all …]
|
/external/chromium_org/ui/aura/test/ |
D | ui_controls_factory_aurax11.cc | 111 xevent.xkey.type = KeyPress; in SendKeyPressNotifyWhenDone() 118 xevent.xkey.keycode = in SendKeyPressNotifyWhenDone() 124 xevent.xkey.type = KeyRelease; in SendKeyPressNotifyWhenDone() 132 DCHECK(!xevent.xkey.state); in SendKeyPressNotifyWhenDone() 230 xevent->xkey.keycode = in SetKeycodeAndSendThenMask() 233 xevent->xkey.state |= mask; in SetKeycodeAndSendThenMask() 239 xevent->xkey.state ^= mask; in UnmaskAndSetKeycodeThenSend() 240 xevent->xkey.keycode = in UnmaskAndSetKeycodeThenSend()
|
/external/chromium_org/ui/views/test/ |
D | ui_controls_factory_desktop_aurax11.cc | 131 xevent.xkey.type = KeyPress; in SendKeyPressNotifyWhenDone() 140 xevent.xkey.keycode = in SendKeyPressNotifyWhenDone() 146 xevent.xkey.type = KeyRelease; in SendKeyPressNotifyWhenDone() 156 DCHECK(!xevent.xkey.state); in SendKeyPressNotifyWhenDone() 282 xevent->xkey.keycode = XKeysymToKeycode(x_display_, keysym); in SetKeycodeAndSendThenMask() 284 xevent->xkey.state |= mask; in SetKeycodeAndSendThenMask() 291 xevent->xkey.state ^= mask; in UnmaskAndSetKeycodeThenSend() 292 xevent->xkey.keycode = XKeysymToKeycode(x_display_, keysym); in UnmaskAndSetKeycodeThenSend()
|
/external/chromium_org/chrome/browser/chromeos/ |
D | keyboard_driven_event_rewriter.cc | 62 XKeyEvent* xkey = &(xev->xkey); in RewriteEvent() local 63 xkey->state &= ~(ControlMask | Mod1Mask | ShiftMask); in RewriteEvent()
|
D | keyboard_driven_event_rewriter_unittest.cc | 43 xevent->xkey.keycode = x_keycode; in GetRewrittenEventAsString() 44 xevent->xkey.state = x_state; in GetRewrittenEventAsString() 49 xevent->xkey.state, in GetRewrittenEventAsString()
|
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
D | test_eap_sim_common.c | 15 u8 xkey[] = { in test_eap_sim_prf() local 30 eap_sim_prf(xkey, buf, sizeof(buf)); in test_eap_sim_prf()
|
/external/chromium_org/content/browser/renderer_host/ |
D | web_input_event_aura_unittest.cc | 52 xevent->xkey.keycode = XKeysymToKeycode(gfx::GetXDisplay(), XK_Control_L); in TEST() 62 xevent->xkey.keycode = XKeysymToKeycode(gfx::GetXDisplay(), XK_Control_R); in TEST()
|
D | web_input_event_aurax11.cc | 96 XKeyEvent* native_key_event = &native_event->xkey; in MakeWebKeyboardEventFromAuraEvent()
|
/external/chromium_org/chrome/browser/extensions/ |
D | global_shortcut_listener_x11.cc | 178 modifiers |= (x_event->xkey.state & ShiftMask) ? ui::EF_SHIFT_DOWN : 0; in OnXKeyPressEvent() 179 modifiers |= (x_event->xkey.state & ControlMask) ? ui::EF_CONTROL_DOWN : 0; in OnXKeyPressEvent() 180 modifiers |= (x_event->xkey.state & Mod1Mask) ? ui::EF_ALT_DOWN : 0; in OnXKeyPressEvent()
|
/external/chromium_org/ash/wm/ |
D | sticky_keys.cc | 403 XKeyEvent* xkey = &(xev->xkey); in AppendModifier() local 404 AppendNativeEventMask(&xkey->state); in AppendModifier() 419 XButtonEvent* xkey = &(xev->xbutton); in AppendModifier() local 420 AppendNativeEventMask(&xkey->state); in AppendModifier()
|
/external/skia/src/views/unix/ |
D | SkOSWindow_Unix.cpp | 165 if (evt.xkey.state & gModi[i].fXMask) { in getModi() 228 int shiftLevel = (evt.xkey.state & ShiftMask) ? 1 : 0; in nextXEvent() 229 KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, in nextXEvent() 242 this->handleKeyUp(XKeyToSkKey(XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 0, 0))); in nextXEvent()
|
/external/chromium_org/third_party/skia/src/views/unix/ |
D | SkOSWindow_Unix.cpp | 165 if (evt.xkey.state & gModi[i].fXMask) { in getModi() 228 int shiftLevel = (evt.xkey.state & ShiftMask) ? 1 : 0; in nextXEvent() 229 KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, in nextXEvent() 242 this->handleKeyUp(XKeyToSkKey(XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 0, 0))); in nextXEvent()
|
/external/chromium/chrome/browser/chromeos/ |
D | system_key_event_listener.cc | 97 int32 keycode = xevent->xkey.keycode; in GdkEventFilter() 100 if (!(xevent->xkey.state & (Mod1Mask | ShiftMask | ControlMask))) { in GdkEventFilter()
|
/external/chromium_org/ui/events/keycodes/ |
D | keyboard_code_conversion_x.cc | 26 XLookupString(&xev->xkey, NULL, 0, &keysym, NULL); in KeyboardCodeFromXKeyEvent() 29 keysym = DefaultXKeysymFromHardwareKeycode(xev->xkey.keycode); in KeyboardCodeFromXKeyEvent() 445 xev->xkey.keycode); in CodeFromXEvent() 450 int bytes_written = XLookupString(&xev->xkey, buf, 6, NULL, NULL); in GetCharacterFromXEvent()
|
/external/chromium_org/ui/events/x/ |
D | events_x.cc | 50 state_ = native_event->xkey.state; in UpdateStateFromEvent() 326 return GetEventFlagsFromXState(native_event->xkey.state); in EventFlagsFromNative() 383 return base::TimeDelta::FromMilliseconds(native_event->xkey.time); in EventTimeFromNative()
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
D | xf86dga.h | 136 SDL_NAME(XDGAKeyEvent) xkey;
|
/external/chromium_org/ui/base/ime/chromeos/ |
D | character_composer.cc | 422 ::XLookupString(&xevent->xkey, NULL, 0, &keysym, NULL); in FilterKeyPress() 424 return FilterKeyPressInternal(keysym, xevent->xkey.keycode, event.flags()); in FilterKeyPress()
|