Searched refs:local_handle (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/sandbox/win/src/
H A Dprocess_thread_policy.cc120 HANDLE local_handle; local
121 NTSTATUS status = NtOpenThread(&local_handle, desired_access, &attributes,
124 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
151 HANDLE local_handle; local
152 NTSTATUS status = NtOpenProcess(&local_handle, desired_access, &attributes,
155 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
176 HANDLE local_handle;
178 &local_handle);
180 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
201 HANDLE local_handle;
[all...]
H A Dsync_policy.cc203 HANDLE local_handle = NULL; local
204 status = NtCreateEvent(&local_handle, EVENT_ALL_ACCESS, &object_attributes,
206 if (NULL == local_handle)
209 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
240 HANDLE local_handle = NULL; local
241 status = NtOpenEvent(&local_handle, desired_access, &object_attributes);
242 if (NULL == local_handle)
245 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
H A Dfilesystem_policy.cc34 HANDLE local_handle = INVALID_HANDLE_VALUE; local
35 NTSTATUS status = NtCreateFile(&local_handle, desired_access, obj_attributes,
43 if (!sandbox::SameObject(local_handle, obj_attributes->ObjectName->Buffer)) {
45 ::CloseHandle(local_handle);
49 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
354 HANDLE local_handle = NULL; local
356 ::GetCurrentProcess(), &local_handle, 0, FALSE,
362 base::win::ScopedHandle handle(local_handle);
366 *nt_status = NtSetInformationFile(local_handle, io_block, file_info, length,
H A Dregistry_policy.cc71 HANDLE local_handle = INVALID_HANDLE_VALUE; local
72 NTSTATUS status = NtCreateKey(&local_handle, desired_access, obj_attributes,
78 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
99 HANDLE local_handle = INVALID_HANDLE_VALUE; local
100 NTSTATUS status = NtOpenKey(&local_handle, desired_access, obj_attributes);
105 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
/external/chromium_org/ipc/
H A Dipc_channel_win.cc266 HANDLE local_handle; local
270 &local_handle,
277 pipe_.Set(local_handle);

Completed in 73 milliseconds