/external/libchrome/base/memory/ |
D | shared_memory.h | 213 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,
|
D | shared_memory_mac.cc | 33 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()
|
D | shared_memory_posix.cc | 468 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/ |
D | platform_handle_utils_win.cc | 17 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/ |
D | utils.h | 36 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/ |
D | fcntl.c | 80 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/ |
D | reduction.py | 70 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/ |
D | net_tc.py | 50 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/ |
D | mojo_test_base.cc | 231 MojoHandle new_handle; in DuplicateBuffer() local 239 MojoDuplicateBufferHandle(h, &options, &new_handle)); in DuplicateBuffer() 240 return new_handle; in DuplicateBuffer()
|
/external/drm_hwcomposer/ |
D | hwcomposer.cpp | 205 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()
|