/external/wpa_supplicant_8/src/crypto/ |
fips_prf_internal.c | 19 u8 xkey[64]; local 25 if (seed_len < sizeof(xkey)) 26 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); 28 seed_len = sizeof(xkey); 32 os_memcpy(xkey, seed, seed_len); 43 /* XVAL = (XKEY + XSEED_j) mod 2^b */ 47 SHA1Transform(_t, xkey); 55 /* XKEY = (1 + XKEY + w_i) mod 2^b * [all...] |
fips_prf_openssl.c | 28 u8 xkey[64]; local 34 if (seed_len < sizeof(xkey)) 35 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); 37 seed_len = sizeof(xkey); 41 os_memcpy(xkey, seed, seed_len); 52 /* XVAL = (XKEY + XSEED_j) mod 2^b */ 56 sha1_transform((u8 *) _t, xkey); 64 /* XKEY = (1 + XKEY + w_i) mod 2^b * [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgaevents.c | 82 XKeyEvent xkey; local 84 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); 85 keycode = xkey.keycode; 87 printf("KeyPress (X11 keycode = 0x%X)\n", xkey.keycode); 100 if ( XLookupString(&xkey, keybuf, sizeof(keybuf), NULL, &state) ) { 118 XKeyEvent xkey; local 120 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); 121 keycode = xkey.keycode [all...] |
/external/dropbear/libtomcrypt/src/ciphers/ |
rc2.c | 72 unsigned *xkey = skey->rc2.xkey; local 108 /* Phase 3 - copy to xkey in little-endian order */ 110 xkey[i] = (unsigned)tmp[2*i] + ((unsigned)tmp[2*i+1] << 8); 140 unsigned *xkey; local 147 xkey = skey->rc2.xkey; 155 x10 = (x10 + (x32 & ~x76) + (x54 & x76) + xkey[4*i+0]) & 0xFFFF; 158 x32 = (x32 + (x54 & ~x10) + (x76 & x10) + xkey[4*i+1]) & 0xFFFF; 161 x54 = (x54 + (x76 & ~x32) + (x10 & x32) + xkey[4*i+2]) & 0xFFFF 219 unsigned *xkey; local [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
keyboard_driven_event_rewriter.cc | 61 XKeyEvent* xkey = &(xev->xkey); local 62 xkey->state &= ~(ControlMask | Mod1Mask | ShiftMask);
|
keyboard_driven_event_rewriter_unittest.cc | 31 event->xkey.keycode = x_keycode; 32 event->xkey.state = x_state; 60 "ui_flags=%d x_state=%u", keyevent.flags(), xev.xkey.state);
|
/external/chromium_org/chrome/browser/ui/ash/ |
event_rewriter.cc | 355 if (event->native_event()->xkey.send_event) 474 XKeyEvent* xkey = &(xev->xkey); local 475 KeySym keysym = XLookupKeysym(xkey, 0); 478 KeyCode remapped_native_keycode = xkey->keycode; 542 GetRemappedModifierMasks(event->flags(), xkey->state, 571 XKeyEvent* xkey = &(xev->xkey); local 573 const KeySym keysym = XLookupKeysym(xkey, 0); 577 xkey->state | Mod2Mask 663 XKeyEvent* xkey = &(xev->xkey); local 833 XKeyEvent* xkey = &(xev->xkey); local 993 XKeyEvent* xkey = &(xev->xkey); local [all...] |
event_rewriter_unittest.cc | 42 event->xkey.keycode = x_keycode; 43 event->xkey.state = x_state; 59 xev.xkey.keycode, xev.xkey.state, xev.xkey.type); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
test_eap_sim_common.c | 15 u8 xkey[] = { local 30 eap_sim_prf(xkey, buf, sizeof(buf));
|
/external/chromium_org/ui/aura/test/ |
ui_controls_factory_aurax11.cc | 112 xevent.xkey.type = KeyPress; 119 xevent.xkey.keycode = 125 xevent.xkey.type = KeyRelease; 133 DCHECK(!xevent.xkey.state); 229 xevent->xkey.keycode = 233 xevent->xkey.state |= mask; 239 xevent->xkey.state ^= mask; 240 xevent->xkey.keycode =
|
/external/chromium_org/ash/wm/ |
sticky_keys.cc | 203 XKeyEvent* xkey = &(xev->xkey); local 206 xkey->state |= ControlMask; 209 xkey->state |= Mod1Mask; 212 xkey->state |= ShiftMask;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
RC2Engine.java | 66 int[] xKey = new int[128]; 70 xKey[i] = key[i] & 0xff; 80 x = xKey[len - 1]; 84 x = piTable[(x + xKey[index++]) & 255] & 0xff; 85 xKey[len++] = x; 92 x = piTable[xKey[128 - len] & (255 >> (7 & -bits))] & 0xff; 93 xKey[128 - len] = x; 97 x = piTable[x ^ xKey[i + len]] & 0xff; 98 xKey[i] = x; 106 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11events.c | 317 (peekevent.xkey.keycode == event->xkey.keycode) && 318 ((peekevent.xkey.time-event->xkey.time) < 2) ) { 561 KeyCode keycode = xevent.xkey.keycode; 564 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode); 596 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, sizeof(keybuf), &xkeysym, &status); 606 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, count, &xkeysym, &status); 734 if ( XLookupString(&xevent.xkey, 754 KeyCode keycode = xevent.xkey.keycode 1255 XKeyEvent xkey; local [all...] |
/external/chromium_org/content/browser/renderer_host/ |
web_input_event_aura_unittest.cc | 59 xev.xkey.keycode = XKeysymToKeycode(ui::GetXDisplay(), XK_Control_L); 71 xev.xkey.keycode = XKeysymToKeycode(ui::GetXDisplay(), XK_Control_R);
|
/external/chromium_org/third_party/skia/src/views/unix/ |
SkOSWindow_Unix.cpp | 165 if (evt.xkey.state & gModi[i].fXMask) { 228 int shiftLevel = (evt.xkey.state & ShiftMask) ? 1 : 0; 229 KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 242 this->handleKeyUp(XKeyToSkKey(XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 0, 0)));
|
/external/skia/src/views/unix/ |
SkOSWindow_Unix.cpp | 165 if (evt.xkey.state & gModi[i].fXMask) { 228 int shiftLevel = (evt.xkey.state & ShiftMask) ? 1 : 0; 229 KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 242 this->handleKeyUp(XKeyToSkKey(XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 0, 0)));
|
/external/chromium/chrome/browser/chromeos/ |
system_key_event_listener.cc | 97 int32 keycode = xevent->xkey.keycode; 100 if (!(xevent->xkey.state & (Mod1Mask | ShiftMask | ControlMask))) {
|
/external/chromium_org/ui/base/ime/ |
fake_input_method.cc | 80 const uint32 state = EventFlagsFromXFlags(native_event->xkey.state);
|
input_method_ibus_unittest.cc | 53 return !std::memcmp(&e1.xkey, &e2.xkey, sizeof(XKeyEvent)); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
xf86dga.h | 136 SDL_NAME(XDGAKeyEvent) xkey; member in union:__anon26860
|
/external/chromium_org/ui/base/keycodes/ |
keyboard_code_conversion_x.cc | 25 XLookupString(&xev->xkey, NULL, 0, &keysym, NULL); 28 keysym = DefaultXKeysymFromHardwareKeycode(xev->xkey.keycode); 442 int bytes_written = XLookupString(&xev->xkey, buf, 6, NULL, NULL);
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_sim_common.c | 112 u8 xkey[SHA1_MAC_LEN]; local 142 /* XKEY' = SHA1(Identity|counter|NONCE_S|MK) */ 143 sha1_vector(4, addr, len, xkey); 144 wpa_hexdump(MSG_DEBUG, "EAP-SIM: XKEY'", xkey, SHA1_MAC_LEN); 146 if (eap_sim_prf(xkey, buf, sizeof(buf)) < 0) {
|
/external/chromium_org/third_party/skia/src/effects/ |
SkDisplacementMapEffect.cpp | 535 EffectKey xKey = displacementMap.xChannelSelector() << (2 * GrGLEffectMatrix::kKeyBits); 539 return xKey | yKey | displKey | colorKey;
|
/external/chromium_org/ui/base/events/ |
event.cc | 587 XKeyEvent copy = native_event()->xkey; // bit-wise copy is safe. 588 // We can't use things like (native_event()->xkey.state & ShiftMask), as it
|
/external/skia/src/effects/ |
SkDisplacementMapEffect.cpp | 535 EffectKey xKey = displacementMap.xChannelSelector() << (2 * GrGLEffectMatrix::kKeyBits); 539 return xKey | yKey | displKey | colorKey;
|