/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
H A D | SDL_dgaevents.c | 97 char keybuf[32]; local 99 if ( XLookupString(&xkey, keybuf, sizeof(keybuf), NULL, &state) ) { 106 keysym.unicode = (Uint8)keybuf[0];
|
/external/dropbear/ |
H A D | cli-authpubkey.c | 64 buffer* keybuf = NULL; local 77 keybuf = buf_new(MAX_PUBKEY_SIZE); 92 keybuf->pos = keybuf->len = 0; 93 buf_put_pub_key(keybuf, keyitem->key, keytype); 94 buf_setpos(keybuf, 0); 95 buf_incrpos(keybuf, 4); /* first int is the length of the remainder (ie 100 if (keybuf->len-4 != remotelen) { 101 TRACE(("lengths differed: localh %d remote %d", keybuf->len, remotelen)) 105 if (memcmp(buf_getptr(keybuf, remotele [all...] |
/external/sqlite/android/ |
H A D | sqlite3_android.cpp | 372 char keybuf[1024]; local 373 uint32_t result = ucol_getSortKey(collator, token, -1, (uint8_t*)keybuf, sizeof(keybuf)-1); 374 if (result > sizeof(keybuf)) { 382 base16Encode(base16buf, keybuf, keysize);
|
/external/qemu/block/ |
H A D | qcow2.c | 272 uint8_t keybuf[16]; local 275 memset(keybuf, 0, 16); 282 keybuf[i] = key[i]; 286 if (AES_set_encrypt_key(keybuf, 128, &s->aes_encrypt_key) != 0) 288 if (AES_set_decrypt_key(keybuf, 128, &s->aes_decrypt_key) != 0)
|
H A D | qcow.c | 179 uint8_t keybuf[16]; local 182 memset(keybuf, 0, 16); 189 keybuf[i] = key[i]; 193 if (AES_set_encrypt_key(keybuf, 128, &s->aes_encrypt_key) != 0) 195 if (AES_set_decrypt_key(keybuf, 128, &s->aes_decrypt_key) != 0)
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
H A D | SDL_fbevents.c | 987 unsigned char keybuf[BUFSIZ]; local 993 nread = read(keyboard_fd, keybuf, BUFSIZ); 995 scancode = keybuf[i] & 0x7F; 996 if ( keybuf[i] & 0x80 ) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
H A D | SDL_ipodvideo.c | 446 unsigned char keybuf[128]; local 455 nread = read (kbfd, keybuf, 128); 457 char ascii = iPod_SC_keymap[keybuf[i] & 0x7f]; 459 if (dbgout) fprintf (dbgout, "Key! %02x is %c %s", keybuf[i], ascii, (keybuf[i] & 0x80)? "up" : "down"); 462 ev.type = (keybuf[i] & 0x80)? SDL_KEYUP : SDL_KEYDOWN;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
H A D | SDL_gsevents.c | 762 unsigned char keybuf[BUFSIZ]; local 768 nread = read(keyboard_fd, keybuf, BUFSIZ); 770 scancode = keybuf[i] & 0x7F; 771 if ( keybuf[i] & 0x80 ) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
H A D | SDL_dx5events.c | 272 static void handle_keyboard(const int numevents, DIDEVICEOBJECTDATA *keybuf) argument 279 if ( keybuf[i].dwData & 0x80 ) { 281 TranslateKey(keybuf[i].dwOfs, &keysym, 1)); 284 TranslateKey(keybuf[i].dwOfs, &keysym, 0));
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
H A D | SDL_x11events.c | 583 char keybuf[32]; local 584 char *keydata = keybuf; 591 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, sizeof(keybuf), &xkeysym, &status); 712 if (keydata != NULL && keybuf != keydata) { 723 char keybuf[32]; local 730 keybuf, sizeof(keybuf), 738 keysym.unicode = (Uint8)keybuf[0]; 1227 char keybuf[32]; local 1274 if ( XLookupString(&xkey, keybuf, sizeo [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | sys_dos.cpp | 51 static unsigned char keybuf[KEYBUF_SIZE];
variable 149 keybuf[keybuf_head] = dos_inportb(0x60);
152 if (scantokey[keybuf[keybuf_head]&0x7f] == K_CTRL)
153 ctrl=keybuf[keybuf_head]&0x80;
154 if (ctrl && scantokey[keybuf[keybuf_head]&0x7f] == 'c')
494 k = keybuf[keybuf_tail++];
499 next = keybuf[(keybuf_tail-2)&(KEYBUF_SIZE-1)];
511 if ( keybuf[(keybuf_tail-2)&(KEYBUF_SIZE-1)]==0xe0 )
517 if (k==0xc5 && keybuf[(keybuf_tail-2)&(KEYBUF_SIZE-1)] == 0x9d)
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
H A D | ikev2_common.c | 702 u8 *keybuf, *pos; local 721 keybuf = os_malloc(keybuf_len); 722 if (keybuf == NULL) 726 data, data_len, keybuf, keybuf_len)) { 727 os_free(keybuf); 731 pos = keybuf; 788 os_free(keybuf);
|