Home
last modified time | relevance | path

Searched refs:DuplicateHandle (Results 1 – 25 of 72) sorted by relevance

123

/external/chromium_org/sandbox/win/src/
Dprocess_thread_policy.cc58 if (!::DuplicateHandle(::GetCurrentProcess(), lpProcessInformation->hProcess, in CreateProcessExWHelper()
64 if (!::DuplicateHandle(::GetCurrentProcess(), lpProcessInformation->hThread, in CreateProcessExWHelper()
124 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenThreadAction()
156 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenProcessAction()
182 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenProcessTokenAction()
208 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenProcessTokenExAction()
Dhandle_policy_test.cc41 ResultCode result = SandboxFactory::GetTargetServices()->DuplicateHandle( in Handle_DuplicateEvent()
48 TEST(HandlePolicyTest, DuplicateHandle) { in TEST() argument
Dregistry_dispatcher.cc83 if (!::DuplicateHandle(ipc->client_info->process, root, in NtCreateKey()
129 if (!::DuplicateHandle(ipc->client_info->process, root, in NtOpenKey()
Dtarget_services.h49 virtual ResultCode DuplicateHandle(HANDLE source_handle,
Dregistry_policy.cc78 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in NtCreateKeyInTarget()
105 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in NtOpenKeyInTarget()
DWow64.cc104 if (!::DuplicateHandle(current_process, dll_load_, child_->Process(), in WaitForNtdll()
107 if (!::DuplicateHandle(current_process, continue_load_, child_->Process(), in WaitForNtdll()
Dsharedmem_ipc_server.cc118 if (!::DuplicateHandle(::GetCurrentProcess(), in Init()
398 if (!::DuplicateHandle(::GetCurrentProcess(), *server_ping, target_process_, in MakeEvents()
403 if (!::DuplicateHandle(::GetCurrentProcess(), *server_pong, target_process_, in MakeEvents()
Drestricted_token.cc25 if (::DuplicateHandle(::GetCurrentProcess(), in Init()
136 BOOL status = ::DuplicateHandle(::GetCurrentProcess(), in GetRestrictedTokenHandle()
174 BOOL status = ::DuplicateHandle(::GetCurrentProcess(), in GetRestrictedTokenHandleForImpersonation()
Dsandbox.h155 virtual ResultCode DuplicateHandle(HANDLE source_handle,
Dsync_policy.cc209 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in CreateEventAction()
245 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle, in OpenEventAction()
Dhandle_policy.cc84 if (!::DuplicateHandle(client_info.process, source_handle, target_process, in DuplicateHandleProxyAction()
Dnamed_pipe_policy.cc31 if (!::DuplicateHandle(::GetCurrentProcess(), pipe, in CreateNamedPipeHelper()
Dhandle_dispatcher.cc54 if (!::DuplicateHandle(ipc->client_info->process, source_handle, in DuplicateHandleProxy()
/external/chromium_org/chrome/browser/task_manager/
Dos_resource_win.cc17 if (DuplicateHandle(current_process, process, current_process, in GetWinGDIHandles()
34 if (DuplicateHandle(current_process, process, current_process, in GetWinUSERHandles()
/external/chromium_org/content/renderer/pepper/
Dpepper_broker.cc25 base::SyncSocket::Handle DuplicateHandle(base::SyncSocket::Handle handle) { in DuplicateHandle() function
29 if (!::DuplicateHandle(::GetCurrentProcess(), in DuplicateHandle()
247 plugin_handle = DuplicateHandle(plugin_socket->handle()); in ConnectPluginToBroker()
/external/chromium/chrome/browser/nacl_host/
Dnacl_process_host.cc196 DuplicateHandle(base::GetCurrentProcessHandle(), in OnProcessLaunched()
218 DuplicateHandle(base::GetCurrentProcessHandle(), in OnProcessLaunched()
248 if (!DuplicateHandle(GetCurrentProcess(), in SendStartMessage()
/external/chromium/base/
Dshared_memory_win.cc44 ::DuplicateHandle(process, handle, in SharedMemory()
179 if (!DuplicateHandle(GetCurrentProcess(), mapped_file, process, in ShareToProcessCommon()
/external/chromium_org/ipc/
Dipc_platform_file.cc22 !::DuplicateHandle(::GetCurrentProcess(), in GetFileHandleForProcess()
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/
Dutils.h36 BOOL result = ::DuplicateHandle(::GetCurrentProcess(), in Translate()
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
Dpthread_self.c110 if (!DuplicateHandle (GetCurrentProcess (), in pthread_self()
/external/chromium_org/base/memory/
Dshared_memory_win.cc61 ::DuplicateHandle(process, handle, in SharedMemory()
213 if (!DuplicateHandle(GetCurrentProcess(), mapped_file, process, in ShareToProcessCommon()
/external/chromium_org/content/common/
Dsandbox_win.cc550 g_iat_orig_duplicate_handle = ::DuplicateHandle; in InitBrokerServices()
717 return !!::DuplicateHandle(::GetCurrentProcess(), source_handle, in BrokerDuplicateHandle()
725 g_target_services->DuplicateHandle(source_handle, target_process_id, in BrokerDuplicateHandle()
736 return !!::DuplicateHandle(::GetCurrentProcess(), source_handle, in BrokerDuplicateHandle()
/external/chromium_org/content/browser/renderer_host/media/
Daudio_input_sync_writer.cc67 ::DuplicateHandle(GetCurrentProcess(), foreign_socket_->handle(), in PrepareForeignSocketHandle()
/external/chromium_org/base/win/
Dscoped_process_information.cc23 if (!::DuplicateHandle(::GetCurrentProcess(), source, in CheckAndDuplicateHandle()
/external/chromium_org/remoting/host/native_messaging/
Dnative_messaging_channel.cc23 if (!DuplicateHandle(GetCurrentProcess(), in DuplicatePlatformFile()

123