Lines Matching refs:DWORD

122     DWORD     file_size;  in load_file()
148 DWORD out_bytes; in load_file()
324 DWORD read_bytes; in _fh_file_read()
326 if ( !ReadFile( f->fh_handle, buf, (DWORD)len, &read_bytes, NULL ) ) { in _fh_file_read()
330 } else if (read_bytes < (DWORD)len) { in _fh_file_read()
337 DWORD wrote_bytes; in _fh_file_write()
339 if ( !WriteFile( f->fh_handle, buf, (DWORD)len, &wrote_bytes, NULL ) ) { in _fh_file_write()
343 } else if (wrote_bytes < (DWORD)len) { in _fh_file_write()
350 DWORD method; in _fh_file_lseek()
351 DWORD result; in _fh_file_lseek()
386 DWORD desiredAccess = 0; in adb_open()
387 DWORD shareMode = FILE_SHARE_READ | FILE_SHARE_WRITE; in adb_open()
418 const DWORD err = GetLastError(); in adb_open()
464 const DWORD err = GetLastError(); in adb_creat()
624 static void _socket_set_errno( const DWORD err ) { in _socket_set_errno()
730 const DWORD err = WSAGetLastError(); in _fh_socket_close()
747 const DWORD err = WSAGetLastError(); in _fh_socket_read()
763 const DWORD err = WSAGetLastError(); in _fh_socket_write()
860 const DWORD err = WSAGetLastError(); in network_loopback_client()
871 const DWORD err = WSAGetLastError(); in network_loopback_client()
914 const DWORD err = WSAGetLastError(); in _network_server()
928 const DWORD err = WSAGetLastError(); in _network_server()
938 const DWORD err = WSAGetLastError(); in _network_server()
948 const DWORD err = WSAGetLastError(); in _network_server()
1002 const DWORD err = WSAGetLastError(); in network_connect()
1019 const DWORD err = WSAGetLastError(); in network_connect()
1032 const DWORD err = WSAGetLastError(); in network_connect()
1070 const DWORD err = WSAGetLastError(); in adb_socket_accept()
1102 const DWORD err = WSAGetLastError(); in adb_setsockopt()
1122 const DWORD err = WSAGetLastError(); in adb_getsockname()
1143 const DWORD err = WSAGetLastError(); in adb_shutdown()
1245 DWORD bytes_returned = 0; in set_tcp_keepalive()
1248 const DWORD err = WSAGetLastError(); in set_tcp_keepalive()
1307 static HANDLE _get_console_handle(int fd, DWORD* mode=nullptr) { in _get_console_handle()
1325 DWORD temp_mode = 0; in _get_console_handle()
1351 DWORD read_count = 0; in _get_key_event_record()
1393 static __inline__ bool _is_shift_pressed(const DWORD control_key_state) { in _is_shift_pressed()
1397 static __inline__ bool _is_ctrl_pressed(const DWORD control_key_state) { in _is_ctrl_pressed()
1401 static __inline__ bool _is_alt_pressed(const DWORD control_key_state) { in _is_alt_pressed()
1405 static __inline__ bool _is_numlock_on(const DWORD control_key_state) { in _is_numlock_on()
1409 static __inline__ bool _is_capslock_on(const DWORD control_key_state) { in _is_capslock_on()
1413 static __inline__ bool _is_enhanced_key(const DWORD control_key_state) { in _is_enhanced_key()
1426 const KEY_EVENT_RECORD* const key_event, const DWORD control_key_state, in _get_char_ignoring_modifier()
1479 const KEY_EVENT_RECORD* const key_event, const DWORD control_key_state) { in _get_non_control_char()
1486 const KEY_EVENT_RECORD* const key_event, const DWORD control_key_state) { in _get_non_alt_char()
1495 const KEY_EVENT_RECORD* const key_event, const DWORD control_key_state) { in _get_control_character()
1552 static DWORD _normalize_altgr_control_key_state( in _normalize_altgr_control_key_state()
1554 DWORD control_key_state = key_event->dwControlKeyState; in _normalize_altgr_control_key_state()
1607 static DWORD _normalize_keypad_control_key_state(const WORD vk, in _normalize_keypad_control_key_state()
1608 const DWORD control_key_state) { in _normalize_keypad_control_key_state()
1632 static const char* _get_keypad_sequence(const DWORD control_key_state, in _get_keypad_sequence()
1651 DWORD control_key_state, const char* const normal) { in _get_modifier_sequence()
1694 const DWORD control_key_state, const char* const normal, in _get_modifier_keypad_sequence()
1767 const DWORD control_key_state = _normalize_altgr_control_key_state( in _console_read()
2103 static DWORD _old_console_mode; // previous GetConsoleMode() result
2118 DWORD new_console_mode = _old_console_mode & ~(ENABLE_PROCESSED_INPUT | in stdin_raw_init()
2535 DWORD written = 0; in _console_write_utf8()