/openbsd/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/ |
H A D | DebuggerThread.h | 49 DWORD thread_id); 51 DWORD thread_id); 53 DWORD thread_id); 55 DWORD thread_id); 57 DWORD thread_id); 58 DWORD HandleLoadDllEvent(const LOAD_DLL_DEBUG_INFO &info, DWORD thread_id); 59 DWORD HandleUnloadDllEvent(const UNLOAD_DLL_DEBUG_INFO &info, 60 DWORD thread_id); 61 DWORD HandleODSEvent(const OUTPUT_DEBUG_STRING_INFO &info, DWORD thread_id); 62 DWORD HandleRipEvent(const RIP_INFO &info, DWORD thread_id); [all …]
|
H A D | DebuggerThread.cpp | 122 if (!DebugActiveProcess((DWORD)pid)) { in DebuggerThreadAttachRoutine() 354 DWORD 366 DWORD 394 DWORD 404 DWORD 418 DWORD dwFileSizeHi = 0; in GetFileNameFromHandleFallback() 471 DWORD 494 DWORD required_size = in HandleLoadDllEvent() 522 DWORD 534 DWORD [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Win32API-File/ |
H A D | File.xs | 268 DWORD 278 DWORD 288 DWORD 298 DWORD 308 DWORD 330 DWORD 339 DWORD 361 DWORD 515 DWORD 529 DWORD [all …]
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/ |
H A D | DIALineNumber.cpp | 18 DWORD Line = 0; in getLineNumber() 23 DWORD LineEnd = 0; in getLineNumberEnd() 28 DWORD Column = 0; in getColumnNumber() 33 DWORD ColumnEnd = 0; in getColumnNumberEnd() 38 DWORD Section = 0; in getAddressSection() 43 DWORD Offset = 0; in getAddressOffset() 48 DWORD RVA = 0; in getRelativeVirtualAddress() 58 DWORD Length = 0; in getLength() 63 DWORD Id = 0; in getSourceFileId() 68 DWORD Id = 0; in getCompilandId()
|
H A D | DIAInjectedSource.cpp | 22 DWORD Crc; in getCrc32() 45 DWORD Compression = 0; in getCompression() 52 DWORD DataSize; in getCode()
|
/openbsd/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_malloc_win.cpp | 32 typedef unsigned long DWORD; typedef 45 LPVOID WINAPI HeapAlloc(HANDLE hHeap, DWORD dwFlags, size_t dwBytes); 46 LPVOID WINAPI HeapReAlloc(HANDLE hHeap, DWORD dwFlags, LPVOID lpMem, 48 BOOL WINAPI HeapFree(HANDLE hHeap, DWORD dwFlags, LPVOID lpMem); 49 size_t WINAPI HeapSize(HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem); 207 INTERCEPTOR_WINAPI(size_t, HeapSize, HANDLE hHeap, DWORD dwFlags, in INTERCEPTOR_WINAPI() 224 INTERCEPTOR_WINAPI(LPVOID, HeapAlloc, HANDLE hHeap, DWORD dwFlags, in INTERCEPTOR_WINAPI() 270 using AllocFunction = LPVOID(WINAPI *)(HANDLE, DWORD, size_t); 272 using SizeFunction = size_t(WINAPI *)(HANDLE, DWORD, LPVOID); 273 using FreeFunction = BOOL(WINAPI *)(HANDLE, DWORD, LPVOID); [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Win32/ |
H A D | Win32.xs | 34 typedef BOOL (WINAPI *PFNGetProductInfo)(DWORD, DWORD, DWORD, DWORD, DWORD*); 115 DWORD dwPlatformId; 133 DWORD wlen; in sv_to_wstr() 417 DWORD SIDLen; in XS() 420 DWORD DomLen; in XS() 868 DWORD size; 869 DWORD handle; 1064 DWORD retval; 1233 DWORD len; 1508 DWORD type; [all …]
|
/openbsd/gnu/usr.bin/perl/win32/ |
H A D | win32.h | 414 DWORD dwFlags; 415 DWORD dwX; 416 DWORD dwY; 417 DWORD dwXSize; 418 DWORD dwYSize; 419 DWORD dwXCountChars; 420 DWORD dwYCountChars; 421 DWORD dwFillAttribute; 520 DWORD pseudo_id; 612 typedef DWORD Dev_t; [all …]
|
H A D | win32.c | 242 DWORD (__stdcall *pfnGetLongPathNameW)(LPCWSTR, LPWSTR, DWORD) = in set_w32_module_name() 243 (DWORD (__stdcall *)(LPCWSTR, LPWSTR, DWORD)) in set_w32_module_name() 283 DWORD type; in get_regstr_from() 286 DWORD datalen; in get_regstr_from() 1548 typedef DWORD (__stdcall *pGetFinalPathNameByHandleA_t)(HANDLE, LPSTR, DWORD, DWORD); 2355 DWORD needlen; in win32_getenv() 2520 DWORD attrs; in win32_unlink() 2802 DllExport DWORD 3248 DWORD dwLen; in win32_str_os_error() 3986 DWORD mode; in win32_isatty() [all …]
|
/openbsd/gnu/llvm/clang/lib/DirectoryWatcher/windows/ |
H A D | DirectoryWatcher-windows.cpp | 33 std::vector<DWORD> Notifications; 90 DWORD Size = GetFinalPathNameByHandleW(DirectoryHandle, NULL, 0, 0); in DirectoryWatcherWindows() 103 Notifications.resize((4 * EntrySize) / sizeof(DWORD)); in DirectoryWatcherWindows() 146 DWORD NotifyFilter = FILE_NOTIFY_CHANGE_FILE_NAME in WatcherThreadProc() 152 DWORD BytesTransferred; in WatcherThreadProc() 154 Notifications.size() * sizeof(DWORD), in WatcherThreadProc() 243 auto error(DWORD ErrorCode) { in error() 244 DWORD Flags = FORMAT_MESSAGE_ALLOCATE_BUFFER in error() 279 DWORD DesiredAccess = FILE_LIST_DIRECTORY; in create() 280 DWORD ShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; in create() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld_win.cpp | 30 InternalMmapVector<DWORD> threadIds; 83 DWORD WINAPI RunThread(void *argument) { in RunThread() 86 const DWORD this_thread = GetCurrentThreadId(); in RunThread() 87 const DWORD this_process = GetCurrentProcessId(); in RunThread() 125 if (SuspendThread(thread) == (DWORD)-1) { in RunThread() 126 DWORD last_error = GetLastError(); in RunThread() 163 DWORD trace_thread_id; in StopTheWorld()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | gthr-win32.h | 84 static DWORD __gthread_objc_data_tls = (DWORD) -1; 93 if ((__gthread_objc_data_tls = TlsAlloc ()) != (DWORD) -1) in __gthread_objc_init_thread_system() 103 if (__gthread_objc_data_tls != (DWORD) -1) in __gthread_objc_close_thread_system() 114 DWORD thread_id = 0; in __gthread_objc_thread_detach() 219 DWORD lasterror; in __gthread_objc_thread_get_data() 499 DWORD tls_index = TlsAlloc (); in __gthread_key_create() 532 DWORD lasterror; in __gthread_getspecific()
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | win32-nat.c | 101 DWORD id; 421 DWORD len; in psapi_get_dll_name() 426 DWORD cbNeeded; in psapi_get_dll_name() 514 DWORD load_addr; 515 DWORD end_addr; 641 DWORD done; in get_image_name() 1212 DWORD 1513 DWORD size; in set_process_privilege() 1576 DWORD pid; in child_attach() 1718 DWORD flags; in child_create_inferior() [all …]
|
H A D | wince-stub.c | 116 static DWORD 119 DWORD n; in getdword() 188 putdword (LPCWSTR huh, int s, gdb_wince_id what, DWORD n) in putdword() 239 DWORD flags = getdword (L"CreateProcess flags", s, GDB_CREATEPROCESS); in create_process() 296 DWORD nread; in skip_message() 319 DWORD ms = getdword (L"WaitForDebugEvent ms", s, GDB_WAITFORDEBUGEVENT); in wait_for_debug_event() 388 DWORD outlen; in read_process_memory() 405 DWORD outlen; in write_process_memory() 409 res = WriteProcessMemory (h, p, buf, (DWORD) len, &outlen); in write_process_memory() 430 DWORD res; in suspend_thread() [all …]
|
H A D | wince.c | 141 DWORD id; 512 static DWORD 515 DWORD n; in getdword() 760 continue_debug_event (DWORD pid, DWORD tid, DWORD status) in continue_debug_event() 1049 child_add_thread (DWORD id, HANDLE h) in child_add_thread() 1086 child_delete_thread (DWORD id) in child_delete_thread() 1366 DWORD continue_status, event_code; in get_child_debug_event() 1492 DWORD event_code; in child_wait() 1564 DWORD err; in upload_to_device() 1627 DWORD nbytes; in upload_to_device() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | gthr-win32.h | 85 static DWORD __gthread_objc_data_tls = (DWORD) -1; 94 if ((__gthread_objc_data_tls = TlsAlloc ()) != (DWORD) -1) in __gthread_objc_init_thread_system() 104 if (__gthread_objc_data_tls != (DWORD) -1) in __gthread_objc_close_thread_system() 115 DWORD thread_id = 0; in __gthread_objc_thread_detach() 220 DWORD lasterror; in __gthread_objc_thread_get_data() 568 DWORD tls_index = TlsAlloc (); in __gthread_key_create() 592 DWORD lasterror; in __gthread_getspecific() 678 DWORD me = GetCurrentThreadId(); in __gthread_recursive_mutex_lock() 710 DWORD me = GetCurrentThreadId(); in __gthread_recursive_mutex_trylock()
|
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerIOWindows.cpp | 44 DWORD FileType = GetFileType(FileHandle); in IsFile() 63 DWORD Att = GetFileAttributesA(Path.c_str()); in IsFile() 74 static bool IsDir(DWORD FileAttrs) { in IsDir() 80 DWORD Att = GetFileAttributesA(Path.c_str()); in IsDirectory() 101 DWORD LastError = GetLastError(); in FileSize() 152 DWORD LastError = GetLastError(); in ListFilesInDirRecursive() 169 DWORD DirAttrs = GetFileAttributesA(Dir.c_str()); in IterateDirRecursive() 181 DWORD LastError = GetLastError(); in IterateDirRecursive() 192 DWORD PathAttrs = FindInfo.dwFileAttributes; in IterateDirRecursive() 204 DWORD LastError = GetLastError(); in IterateDirRecursive() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/profile/ |
H A D | WindowsMMap.c | 38 DWORD flProtect; in mmap() 62 DWORD dwDesiredAccess; in mmap() 128 int lock(HANDLE handle, DWORD lockType, BOOL blocking) { in lock() 129 DWORD flags = lockType; in lock() 138 DWORD dw = GetLastError(); in lock() 149 DWORD dwNumBytes; in lock()
|
/openbsd/lib/libcurses/tinfo/ |
H A D | lib_win32con.c | 105 #define REQUIRED_MIN_V (DWORD)0 171 DWORD dwFlag = 0; in IsConsoleHandle() 246 DWORD dwFlag = 0; in _nc_console_setmode() 307 DWORD dwFlag = 0; in _nc_console_getmode() 840 DWORD nRead = 0, rc = (DWORD) (-1); in _nc_console_twait() 889 DWORD n = 0; in _nc_console_twait() 893 DWORD i; in _nc_console_twait() 901 DWORD ctrlMask = in _nc_console_twait() 1030 DWORD nRead; in _nc_console_read() 1132 DWORD num_buttons; in _nc_console_checkinit() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/interception/ |
H A D | interception_win.cpp | 203 uptr address, uptr size, DWORD *old_protection) { in ChangeMemoryProtection() 210 uptr address, uptr size, DWORD old_protection) { in RestoreMemoryProtection() 211 DWORD unused; in RestoreMemoryProtection() 713 DWORD protection = 0; in OverrideFunctionWithDetour() 755 DWORD protection = 0; in OverrideFunctionWithRedirectJump() 804 DWORD protection = 0; in OverrideFunctionWithHotPatch() 861 DWORD protection = 0; in OverrideFunctionWithTrampoline() 952 for (DWORD i = 0; i < exports->NumberOfNames; i++) { in InternalGetProcAddress() 955 DWORD index = ordinals[i]; in InternalGetProcAddress() 959 DWORD offset = functions[index]; in InternalGetProcAddress() [all …]
|
/openbsd/gnu/llvm/lldb/source/Host/windows/ |
H A D | ConnectionGenericFileWindows.cpp | 30 void Set(size_t bytes, ConnectionStatus status, DWORD error_code) { in Set() 169 DWORD bytes_read = 0; in Read() 186 DWORD milliseconds = in Read() 191 DWORD wait_result = ::WaitForMultipleObjects( in Read() 211 DWORD result_error = ::GetLastError(); in Read() 261 DWORD bytes_written = 0; in Write() 311 void ConnectionGenericFile::IncrementFilePointer(DWORD amount) { in IncrementFilePointer()
|
H A D | ProcessLauncherWindows.cpp | 92 DWORD flags = CREATE_NEW_CONSOLE | CREATE_UNICODE_ENVIRONMENT; in LaunchProcess() 158 DWORD access = 0; in GetStdioHandle() 159 DWORD share = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; in GetStdioHandle() 160 DWORD create = 0; in GetStdioHandle() 161 DWORD flags = 0; in GetStdioHandle()
|
H A D | HostThreadWindows.cpp | 36 DWORD wait_result = ::WaitForSingleObject(m_thread, INFINITE); in Join() 38 DWORD exit_code = 0; in Join() 54 DWORD result = ::QueueUserAPC(::ExitThreadProxy, m_thread, 0); in Cancel()
|
/openbsd/gnu/gcc/gcc/config/i386/ |
H A D | gthr-win32.c | 108 DWORD tls_index = TlsAlloc (); in __gthr_win32_key_create() 132 DWORD lasterror; in __gthr_win32_getspecific() 198 DWORD me = GetCurrentThreadId(); in __gthr_win32_recursive_mutex_lock() 227 DWORD me = GetCurrentThreadId(); in __gthr_win32_recursive_mutex_trylock()
|
/openbsd/gnu/llvm/libcxx/src/support/win32/ |
H A D | thread_win32.cpp | 32 static_assert(sizeof(__libcpp_thread_id) == sizeof(DWORD), ""); 33 static_assert(alignof(__libcpp_thread_id) == alignof(DWORD), ""); 38 static_assert(sizeof(__libcpp_tls_key) == sizeof(DWORD), ""); 39 static_assert(alignof(__libcpp_tls_key) == alignof(DWORD), ""); 255 DWORD index = FlsAlloc(__at_exit); in __libcpp_tls_create()
|