Lines Matching refs:PlatformSharedMemoryHandle
516 using PlatformSharedMemoryHandle = intptr_t; variable
517 static constexpr PlatformSharedMemoryHandle kInvalidSharedMemoryHandle = -1;
528 inline PlatformSharedMemoryHandle SharedMemoryHandleFromMachMemoryEntry( in SharedMemoryHandleFromMachMemoryEntry()
530 return static_cast<PlatformSharedMemoryHandle>(port); in SharedMemoryHandleFromMachMemoryEntry()
533 PlatformSharedMemoryHandle handle) { in MachMemoryEntryFromSharedMemoryHandle()
538 inline PlatformSharedMemoryHandle SharedMemoryHandleFromVMO(uint32_t handle) { in SharedMemoryHandleFromVMO()
539 return static_cast<PlatformSharedMemoryHandle>(handle); in SharedMemoryHandleFromVMO()
541 inline uint32_t VMOFromSharedMemoryHandle(PlatformSharedMemoryHandle handle) { in VMOFromSharedMemoryHandle()
547 inline PlatformSharedMemoryHandle SharedMemoryHandleFromFileMapping( in SharedMemoryHandleFromFileMapping()
549 return reinterpret_cast<PlatformSharedMemoryHandle>(handle); in SharedMemoryHandleFromFileMapping()
552 PlatformSharedMemoryHandle handle) { in FileMappingFromSharedMemoryHandle()
557 inline PlatformSharedMemoryHandle SharedMemoryHandleFromFileDescriptor(int fd) { in SharedMemoryHandleFromFileDescriptor()
558 return static_cast<PlatformSharedMemoryHandle>(fd); in SharedMemoryHandleFromFileDescriptor()
561 PlatformSharedMemoryHandle handle) { in FileDescriptorFromSharedMemoryHandle()
769 PlatformSharedMemoryHandle handle, uint64_t offset) = 0;