Home
last modified time | relevance | path

Searched refs:winapi (Results 1 – 25 of 220) sorted by relevance

123456789

/third_party/boost/boost/process/detail/windows/
Djob_workaround.hpp19 BOOST_SYMBOL_IMPORT ::boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC CreateIoCompletionPort(
20 ::boost::winapi::HANDLE_ FileHandle,
21 ::boost::winapi::HANDLE_ ExistingCompletionPort,
22 ::boost::winapi::ULONG_PTR_ CompletionKey,
23 ::boost::winapi::DWORD_ NumberOfConcurrentThreads
26 BOOST_SYMBOL_IMPORT ::boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC GetQueuedCompletionStatus(
27 ::boost::winapi::HANDLE_ CompletionPort,
28 ::boost::winapi::LPDWORD_ lpNumberOfBytes,
29 ::boost::winapi::ULONG_PTR_ *lpCompletionKey,
31 ::boost::winapi::DWORD_ dwMilliseconds
[all …]
Dhandle_workaround.hpp25 ::boost::winapi::ULONG_ OwnerPid;
26 ::boost::winapi::BYTE_ ObjectType;
27 ::boost::winapi::BYTE_ HandleFlags;
28 ::boost::winapi::USHORT_ HandleValue;
29 ::boost::winapi::PVOID_ ObjectPointer;
30 ::boost::winapi::ULONG_ AccessMask;
35 ::boost::winapi::ULONG_ Count;
85 ::boost::winapi::USHORT_ Length;
86 ::boost::winapi::USHORT_ MaximumLength;
87 ::boost::winapi::LPWSTR_ Buffer;
[all …]
Dbasic_pipe.hpp27 ::boost::winapi::HANDLE_ _source = ::boost::winapi::INVALID_HANDLE_VALUE_;
28 ::boost::winapi::HANDLE_ _sink = ::boost::winapi::INVALID_HANDLE_VALUE_;
35 typedef ::boost::winapi::HANDLE_ native_handle_type;
37 explicit basic_pipe(::boost::winapi::HANDLE_ source, ::boost::winapi::HANDLE_ sink) in basic_pipe()
43 lhs._source = ::boost::winapi::INVALID_HANDLE_VALUE_; in basic_pipe()
44 lhs._sink = ::boost::winapi::INVALID_HANDLE_VALUE_; in basic_pipe()
50 if (_sink != ::boost::winapi::INVALID_HANDLE_VALUE_) in ~basic_pipe()
51 ::boost::winapi::CloseHandle(_sink); in ~basic_pipe()
52 if (_source != ::boost::winapi::INVALID_HANDLE_VALUE_) in ~basic_pipe()
53 ::boost::winapi::CloseHandle(_source); in ~basic_pipe()
[all …]
Dasync_pipe.hpp29 auto pid = ::boost::winapi::GetCurrentProcessId(); in make_pipe_name()
49 typedef ::boost::winapi::HANDLE_ native_handle_type;
203 _source.assign(::boost::winapi::INVALID_HANDLE_VALUE_, ec); in source()
210 _sink.assign(::boost::winapi::INVALID_HANDLE_VALUE_, ec); in sink()
216 auto proc = ::boost::winapi::GetCurrentProcess(); in source()
218 ::boost::winapi::HANDLE_ source; in source()
220 if (source_in == ::boost::winapi::INVALID_HANDLE_VALUE_) in source()
221 source = ::boost::winapi::INVALID_HANDLE_VALUE_; in source()
222 else if (!::boost::winapi::DuplicateHandle( in source()
224 static_cast<::boost::winapi::BOOL_>(true), in source()
[all …]
Dfile_descriptor.hpp26 static ::boost::winapi::DWORD_ desired_access(mode_t mode) in desired_access()
31 return ::boost::winapi::GENERIC_READ_; in desired_access()
33 return ::boost::winapi::GENERIC_WRITE_; in desired_access()
35 return ::boost::winapi::GENERIC_READ_ in desired_access()
36 | ::boost::winapi::GENERIC_WRITE_; in desired_access()
63 ::boost::winapi::create_file( in file_descriptor()
66 ::boost::winapi::FILE_SHARE_READ_ | in file_descriptor()
67 ::boost::winapi::FILE_SHARE_WRITE_, in file_descriptor()
69 ::boost::winapi::OPEN_ALWAYS_, in file_descriptor()
71 ::boost::winapi::FILE_ATTRIBUTE_NORMAL_, in file_descriptor()
[all …]
Dgroup_handle.hpp17 inline bool break_away_enabled(::boost::winapi::HANDLE_ h) in break_away_enabled()
32 inline void enable_break_away(::boost::winapi::HANDLE_ h) in enable_break_away()
57 inline void enable_break_away(::boost::winapi::HANDLE_ h, std::error_code & ec) in enable_break_away()
89 inline void associate_completion_port(::boost::winapi::HANDLE_ job, in associate_completion_port()
90 ::boost::winapi::HANDLE_ io_port) in associate_completion_port()
106 ::boost::winapi::HANDLE_ _job_object;
107 ::boost::winapi::HANDLE_ _io_port;
109 typedef ::boost::winapi::HANDLE_ handle_t;
114 _io_port(::CreateIoCompletionPort(::boost::winapi::INVALID_HANDLE_VALUE_, nullptr, 0, 1)) in group_handle()
121 group_handle() : group_handle(::boost::winapi::CreateJobObjectW(nullptr, nullptr)) in group_handle()
[all …]
/third_party/boost/boost/system/
Dwindows_error.hpp50 invalid_function = boost::winapi::ERROR_INVALID_FUNCTION_,
51 file_not_found = boost::winapi::ERROR_FILE_NOT_FOUND_,
52 path_not_found = boost::winapi::ERROR_PATH_NOT_FOUND_,
53 too_many_open_files = boost::winapi::ERROR_TOO_MANY_OPEN_FILES_,
54 access_denied = boost::winapi::ERROR_ACCESS_DENIED_,
55 invalid_handle = boost::winapi::ERROR_INVALID_HANDLE_,
56 arena_trashed = boost::winapi::ERROR_ARENA_TRASHED_,
57 not_enough_memory = boost::winapi::ERROR_NOT_ENOUGH_MEMORY_,
58 invalid_block = boost::winapi::ERROR_INVALID_BLOCK_,
59 bad_environment = boost::winapi::ERROR_BAD_ENVIRONMENT_,
[all …]
/third_party/boost/boost/winapi/
Dcritical_section.hpp29 namespace winapi { namespace
38 namespace winapi {
51 namespace winapi {
62 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::VOID_ BOOST_WINAPI_WINAPI_CC
63 InitializeCriticalSection(boost::winapi::detail::winsdk_critical_section* lpCriticalSection);
66 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::VOID_ BOOST_WINAPI_WINAPI_CC
67 EnterCriticalSection(boost::winapi::detail::winsdk_critical_section* lpCriticalSection);
69 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::VOID_ BOOST_WINAPI_WINAPI_CC
70 LeaveCriticalSection(boost::winapi::detail::winsdk_critical_section* lpCriticalSection);
74 BOOST_WINAPI_IMPORT boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC
[all …]
Dpipes.hpp26 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC CreateNamedPipeA(
27 boost::winapi::LPCSTR_ lpName,
28 boost::winapi::DWORD_ dwOpenMode,
29 boost::winapi::DWORD_ dwPipeMode,
30 boost::winapi::DWORD_ nMaxInstances,
31 boost::winapi::DWORD_ nOutBufferSize,
32 boost::winapi::DWORD_ nInBufferSize,
33 boost::winapi::DWORD_ nDefaultTimeOut,
41 BOOST_WINAPI_IMPORT boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC ImpersonateNamedPipeClient(
42 boost::winapi::HANDLE_ hNamedPipe);
[all …]
Dfile_management.hpp51 BOOST_WINAPI_IMPORT boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC
54 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC
56 boost::winapi::LPCSTR_ lpFileName,
57 boost::winapi::DWORD_ dwDesiredAccess,
58 boost::winapi::DWORD_ dwShareMode,
60 boost::winapi::DWORD_ dwCreationDisposition,
61 boost::winapi::DWORD_ dwFlagsAndAttributes,
62 boost::winapi::HANDLE_ hTemplateFile);
65 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC
66 FindFirstFileA(boost::winapi::LPCSTR_ lpFileName, ::_WIN32_FIND_DATAA* lpFindFileData);
[all …]
Dcrypt.hpp24 namespace boost { namespace winapi { namespace
31 BOOST_WINAPI_IMPORT boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC
33 boost::winapi::DWORD_ dwIndex,
34 boost::winapi::DWORD_ *pdwReserved,
35 boost::winapi::DWORD_ dwFlags,
36 boost::winapi::DWORD_ *pdwProvType,
37 boost::winapi::LPSTR_ szProvName,
38 boost::winapi::DWORD_ *pcbProvName);
40 BOOST_WINAPI_IMPORT boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC
42 boost::winapi::HCRYPTPROV_ *phProv,
[all …]
Dheap_memory.hpp24 BOOST_WINAPI_IMPORT boost::winapi::DWORD_ BOOST_WINAPI_WINAPI_CC
25 GetProcessHeaps(boost::winapi::DWORD_ NumberOfHeaps, boost::winapi::PHANDLE_ ProcessHeaps);
28 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC
31 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::LPVOID_ BOOST_WINAPI_WINAPI_CC
33 boost::winapi::HANDLE_ hHeap,
34 boost::winapi::DWORD_ dwFlags,
35 boost::winapi::SIZE_T_ dwBytes);
37 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC
39 boost::winapi::HANDLE_ hHeap,
40 boost::winapi::DWORD_ dwFlags,
[all …]
Ddll.hpp28 BOOST_WINAPI_IMPORT boost::winapi::HMODULE_ BOOST_WINAPI_WINAPI_CC
29 LoadLibraryA(boost::winapi::LPCSTR_ lpFileName);
31 BOOST_WINAPI_IMPORT boost::winapi::HMODULE_ BOOST_WINAPI_WINAPI_CC
33 boost::winapi::LPCSTR_ lpFileName,
34 boost::winapi::HANDLE_ hFile,
35 boost::winapi::DWORD_ dwFlags
38 BOOST_WINAPI_IMPORT boost::winapi::HMODULE_ BOOST_WINAPI_WINAPI_CC
39 GetModuleHandleA(boost::winapi::LPCSTR_ lpFileName);
41 BOOST_WINAPI_IMPORT boost::winapi::DWORD_ BOOST_WINAPI_WINAPI_CC
43 boost::winapi::HMODULE_ hModule,
[all …]
Dwait.hpp25 BOOST_WINAPI_IMPORT boost::winapi::DWORD_ BOOST_WINAPI_WINAPI_CC
27 boost::winapi::HANDLE_ hHandle,
28 boost::winapi::DWORD_ dwMilliseconds,
29 boost::winapi::BOOL_ bAlertable);
34 BOOST_WINAPI_IMPORT boost::winapi::DWORD_ BOOST_WINAPI_WINAPI_CC
36 boost::winapi::HANDLE_ hObjectToSignal,
37 boost::winapi::HANDLE_ hObjectToWaitOn,
38 boost::winapi::DWORD_ dwMilliseconds,
39 boost::winapi::BOOL_ bAlertable);
44 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::DWORD_ BOOST_WINAPI_WINAPI_CC
[all …]
Dsemaphore.hpp25 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC
28 boost::winapi::LONG_ lInitialCount,
29 boost::winapi::LONG_ lMaximumCount,
30 boost::winapi::LPCSTR_ lpName);
33 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC
36 boost::winapi::LONG_ lInitialCount,
37 boost::winapi::LONG_ lMaximumCount,
38 boost::winapi::LPCSTR_ lpName,
39 boost::winapi::DWORD_ dwFlags,
40 boost::winapi::DWORD_ dwDesiredAccess);
[all …]
Dfile_mapping.hpp37 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC
39 boost::winapi::HANDLE_ hFile,
41 boost::winapi::DWORD_ flProtect,
42 boost::winapi::DWORD_ dwMaximumSizeHigh,
43 boost::winapi::DWORD_ dwMaximumSizeLow,
44 boost::winapi::LPCSTR_ lpName);
46 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC
48 boost::winapi::DWORD_ dwDesiredAccess,
49 boost::winapi::BOOL_ bInheritHandle,
50 boost::winapi::LPCSTR_ lpName);
[all …]
Dlocal_memory.hpp23 namespace boost { namespace winapi { namespace
30 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::HLOCAL_ BOOST_WINAPI_WINAPI_CC
32 boost::winapi::UINT_ uFlags,
33 boost::winapi::UINT_ uBytes);
35 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::HLOCAL_ BOOST_WINAPI_WINAPI_CC
37 boost::winapi::HLOCAL_ hMem,
38 boost::winapi::UINT_ uBytes,
39 boost::winapi::UINT_ uFlags);
41 BOOST_WINAPI_IMPORT_EXCEPT_WM boost::winapi::HLOCAL_ BOOST_WINAPI_WINAPI_CC
43 boost::winapi::UINT_ uFlags,
[all …]
/third_party/boost/libs/chrono/test/
Dwin32_test.cpp27 boost::winapi::LARGE_INTEGER_ a; in test()
30 sizeof(boost::winapi::LARGE_INTEGER_)==sizeof(LARGE_INTEGER) in test()
31 ), NOTHING, (boost::winapi::LARGE_INTEGER_, LARGE_INTEGER)); in test()
36 offsetof(boost::winapi::LARGE_INTEGER_, QuadPart)==offsetof(LARGE_INTEGER, QuadPart) in test()
37 ), NOTHING, (boost::winapi::LARGE_INTEGER_, LARGE_INTEGER)); in test()
43 ), NOTHING, (boost::winapi::LARGE_INTEGER_, LARGE_INTEGER)); in test()
47 sizeof(boost::winapi::BOOL_)==sizeof(BOOL) in test()
48 ), NOTHING, (boost::winapi::BOOL_, BOOL)); in test()
50 boost::is_same<boost::winapi::BOOL_,BOOL>::value in test()
51 ), NOTHING, (boost::winapi::BOOL_, BOOL)); in test()
[all …]
/third_party/boost/boost/beast/core/impl/
Dfile_win32.ipp19 #include <boost/winapi/access_rights.hpp>
20 #include <boost/winapi/error_codes.hpp>
21 #include <boost/winapi/get_last_error.hpp>
30 // VFALCO Can't seem to get boost/detail/winapi to work with
33 boost::winapi::BOOL_
35 boost::winapi::HANDLE_ hFile,
36 boost::winapi::LARGE_INTEGER_ lpDistanceToMove,
37 boost::winapi::PLARGE_INTEGER_ lpNewFilePointer,
38 boost::winapi::DWORD_ dwMoveMethod)
41 auto dwLowPart = boost::winapi::SetFilePointer(
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dfile_win32.ipp19 #include <boost/winapi/access_rights.hpp>
20 #include <boost/winapi/error_codes.hpp>
21 #include <boost/winapi/get_last_error.hpp>
30 // VFALCO Can't seem to get boost/detail/winapi to work with
33 boost::winapi::BOOL_
35 boost::winapi::HANDLE_ hFile,
36 boost::winapi::LARGE_INTEGER_ lpDistanceToMove,
37 boost::winapi::PLARGE_INTEGER_ lpNewFilePointer,
38 boost::winapi::DWORD_ dwMoveMethod)
41 auto dwLowPart = boost::winapi::SetFilePointer(
[all …]
/third_party/boost/libs/log/src/windows/
Dmapped_shared_memory.cpp55 BOOST_VERIFY(boost::winapi::CloseHandle(m_handle) != 0); in ~mapped_shared_memory()
68 boost::winapi::HANDLE_ h = boost::winapi::CreateFileMappingW in create()
70 boost::winapi::INVALID_HANDLE_VALUE_, in create()
71 reinterpret_cast< boost::winapi::SECURITY_ATTRIBUTES_* >(perms.get_native()), in create()
72 boost::winapi::PAGE_READWRITE_ | boost::winapi::SEC_COMMIT_, in create()
73 static_cast< boost::winapi::DWORD_ >(size64 >> 32u), in create()
74 static_cast< boost::winapi::DWORD_ >(size64), in create()
78 boost::winapi::DWORD_ err = boost::winapi::GetLastError(); in create()
82 boost::winapi::CloseHandle(h); in create()
100 boost::winapi::HANDLE_ h = boost::winapi::CreateFileMappingW in create_or_open()
[all …]
Dipc_sync_wrappers.cpp59 boost::winapi::HANDLE_ h = boost::winapi::CreateEventExW in create()
61 reinterpret_cast< boost::winapi::SECURITY_ATTRIBUTES_* >(perms.get_native()), in create()
63 boost::winapi::CREATE_EVENT_MANUAL_RESET_ * manual_reset, in create()
64 boost::winapi::SYNCHRONIZE_ | boost::winapi::EVENT_MODIFY_STATE_ in create()
67 boost::winapi::HANDLE_ h = boost::winapi::CreateEventW in create()
69 reinterpret_cast< boost::winapi::SECURITY_ATTRIBUTES_* >(perms.get_native()), in create()
77 boost::winapi::DWORD_ err = boost::winapi::GetLastError(); in create()
87 boost::winapi::HANDLE_ h = boost::winapi::CreateEventExW in create_or_open()
89 reinterpret_cast< boost::winapi::SECURITY_ATTRIBUTES_* >(perms.get_native()), in create_or_open()
91 boost::winapi::CREATE_EVENT_MANUAL_RESET_ * manual_reset, in create_or_open()
[all …]
Dipc_sync_wrappers.hpp66 boost::winapi::HANDLE_ get_handle() const BOOST_NOEXCEPT { return m_event.get(); } in get_handle()
70 if (BOOST_UNLIKELY(!boost::winapi::SetEvent(m_event.get()))) in set()
72 const boost::winapi::DWORD_ err = boost::winapi::GetLastError(); in set()
79 BOOST_VERIFY(!!boost::winapi::SetEvent(m_event.get())); in set_noexcept()
84 if (BOOST_UNLIKELY(!boost::winapi::ResetEvent(m_event.get()))) in reset()
86 const boost::winapi::DWORD_ err = boost::winapi::GetLastError(); in reset()
93 …const boost::winapi::DWORD_ retval = boost::winapi::WaitForSingleObject(m_event.get(), boost::wina… in wait()
94 if (BOOST_UNLIKELY(retval != boost::winapi::wait_object_0)) in wait()
96 const boost::winapi::DWORD_ err = boost::winapi::GetLastError(); in wait()
101 bool wait(boost::winapi::HANDLE_ abort_handle) in wait()
[all …]
/third_party/boost/boost/interprocess/sync/windows/
Dnamed_sync.hpp76 : m_file_hnd(winapi::invalid_handle_value) in windows_named_sync()
83 winapi::interprocess_overlapped overlapped; in close()
84 if(winapi::lock_file_ex in close()
85 (m_file_hnd, winapi::lockfile_exclusive_lock, 0, sizeof_file_info, 0, &overlapped)){ in close()
86 … if(winapi::set_file_pointer(m_file_hnd, sizeof(sync_id::internal_type), 0, winapi::file_begin)){ in close()
90 if(winapi::write_file(m_file_hnd, buf, buflen, &written_or_read, 0)){ in close()
96 if(m_file_hnd != winapi::invalid_handle_value){ in close()
97 winapi::close_handle(m_file_hnd); in close()
98 m_file_hnd = winapi::invalid_handle_value; in close()
109 m_file_hnd = winapi::invalid_handle_value; in open_or_create()
[all …]
/third_party/boost/boost/interprocess/detail/
Dos_file_functions.hpp66 typedef enum { read_only = winapi::generic_read
67 , read_write = winapi::generic_read | winapi::generic_write
73 typedef enum { file_begin = winapi::file_begin
74 , file_end = winapi::file_end
75 , file_current = winapi::file_current
103 { return winapi::create_directory(path); } in create_directory()
106 { return winapi::remove_directory(path); } in remove_directory()
117 required_len = winapi::get_temp_path(buf_len, buffer); in get_temporary_path()
128 unsigned long attr = temporary ? winapi::file_attribute_temporary : 0; in create_new_file()
129 return winapi::create_file in create_new_file()
[all …]

123456789