Home
last modified time | relevance | path

Searched refs:new_handle (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/memory/
Dshared_memory.h213 SharedMemoryHandle* new_handle) { in ShareReadOnlyToProcess() argument
214 return ShareToProcessCommon(process, new_handle, false, SHARE_READONLY); in ShareReadOnlyToProcess()
224 SharedMemoryHandle* new_handle) { in GiveReadOnlyToProcess() argument
225 return ShareToProcessCommon(process, new_handle, true, SHARE_READONLY); in GiveReadOnlyToProcess()
235 SharedMemoryHandle* new_handle) { in ShareToProcess() argument
236 return ShareToProcessCommon(process, new_handle, false, SHARE_CURRENT_MODE); in ShareToProcess()
246 SharedMemoryHandle* new_handle) { in GiveToProcess() argument
247 return ShareToProcessCommon(process, new_handle, true, SHARE_CURRENT_MODE); in GiveToProcess()
261 SharedMemoryHandle* new_handle,
Dshared_memory_mac.cc33 bool MakeMachSharedMemoryHandleReadOnly(SharedMemoryHandle* new_handle, in MakeMachSharedMemoryHandleReadOnly() argument
66 *new_handle = SharedMemoryHandle(named_right, size, base::GetCurrentProcId()); in MakeMachSharedMemoryHandleReadOnly()
191 SharedMemoryHandle* new_handle, in ShareToProcessCommon() argument
199 *new_handle = shm_.Duplicate(); in ShareToProcessCommon()
203 success = MakeMachSharedMemoryHandleReadOnly(new_handle, shm_, memory_); in ShareToProcessCommon()
208 new_handle->SetOwnershipPassesToIPC(true); in ShareToProcessCommon()
Dshared_memory_posix.cc468 SharedMemoryHandle* new_handle, in ShareToProcessCommon() argument
494 new_handle->fd = new_fd; in ShareToProcessCommon()
495 new_handle->auto_close = true; in ShareToProcessCommon()
/external/libmojo/mojo/edk/embedder/
Dplatform_handle_utils_win.cc17 HANDLE new_handle; in DuplicatePlatformHandle() local
20 GetCurrentProcess(), &new_handle, 0, TRUE, in DuplicatePlatformHandle()
23 DCHECK_NE(new_handle, INVALID_HANDLE_VALUE); in DuplicatePlatformHandle()
24 return ScopedPlatformHandle(PlatformHandle(new_handle)); in DuplicatePlatformHandle()
/external/libchrome/sandbox/win/sandbox_poc/pocdll/
Dutils.h36 HANDLE new_handle; in Translate() local
40 &new_handle, in Translate()
50 int c_file_handle = _open_osfhandle(reinterpret_cast<LONG_PTR>(new_handle), in Translate()
/external/bison/lib/
Dfcntl.c80 HANDLE new_handle; in dupfd() local
87 (PHANDLE) &new_handle, /* TargetHandle */ in dupfd()
97 duplicated_fd = _open_osfhandle ((intptr_t) new_handle, flags); in dupfd()
100 CloseHandle (new_handle); in dupfd()
/external/python/cpython2/Lib/multiprocessing/
Dreduction.py70 new_handle = duplicate(handle, process_handle)
71 conn.send(new_handle)
157 new_handle = recv_handle(conn)
159 return new_handle
/external/autotest/client/bin/net/
Dnet_tc.py50 def new_handle(): function
356 def __init__(self, handle=new_handle(), bands=3):
386 def __init__(self, handle=new_handle()):
398 def __init__(self, handle=new_handle()):
/external/libmojo/mojo/edk/test/
Dmojo_test_base.cc231 MojoHandle new_handle; in DuplicateBuffer() local
239 MojoDuplicateBufferHandle(h, &options, &new_handle)); in DuplicateBuffer()
240 return new_handle; in DuplicateBuffer()
/external/drm_hwcomposer/
Dhwcomposer.cpp205 native_handle_t *new_handle = in dup_buffer_handle() local
207 if (new_handle == NULL) in dup_buffer_handle()
211 int *new_data = new_handle->data; in dup_buffer_handle()
219 return new_handle; in dup_buffer_handle()