• Home
  • Raw
  • Download

Lines Matching defs:MojoSystemThunks

39 struct MojoSystemThunks {  struct
40 size_t size; // Should be set to sizeof(MojoSystemThunks). argument
41 MojoTimeTicks (*GetTimeTicksNow)();
42 MojoResult (*Close)(MojoHandle handle);
43 MojoResult (*Wait)(MojoHandle handle,
47 MojoResult (*WaitMany)(const MojoHandle* handles,
53 MojoResult (*CreateMessagePipe)(
57 MojoResult (*WriteMessage)(MojoHandle message_pipe_handle,
63 MojoResult (*ReadMessage)(MojoHandle message_pipe_handle,
69 MojoResult (*CreateDataPipe)(const struct MojoCreateDataPipeOptions* options,
72 MojoResult (*WriteData)(MojoHandle data_pipe_producer_handle,
76 MojoResult (*BeginWriteData)(MojoHandle data_pipe_producer_handle,
80 MojoResult (*EndWriteData)(MojoHandle data_pipe_producer_handle,
82 MojoResult (*ReadData)(MojoHandle data_pipe_consumer_handle,
86 MojoResult (*BeginReadData)(MojoHandle data_pipe_consumer_handle,
90 MojoResult (*EndReadData)(MojoHandle data_pipe_consumer_handle,
92 MojoResult (*CreateSharedBuffer)(
96 MojoResult (*DuplicateBufferHandle)(
100 MojoResult (*MapBuffer)(MojoHandle buffer_handle,
105 MojoResult (*UnmapBuffer)(void* buffer);
107 MojoResult (*CreateWaitSet)(MojoHandle* wait_set);
108 MojoResult (*AddHandle)(MojoHandle wait_set,
111 MojoResult (*RemoveHandle)(MojoHandle wait_set,
113 MojoResult (*GetReadyHandles)(MojoHandle wait_set,
118 MojoResult (*Watch)(MojoHandle handle,
122 MojoResult (*CancelWatch)(MojoHandle handle, uintptr_t context);
123 MojoResult (*FuseMessagePipes)(MojoHandle handle0, MojoHandle handle1);
124 MojoResult (*WriteMessageNew)(MojoHandle message_pipe_handle,
127 MojoResult (*ReadMessageNew)(MojoHandle message_pipe_handle,
133 MojoResult (*AllocMessage)(uint32_t num_bytes,
138 MojoResult (*FreeMessage)(MojoMessageHandle message);
139 MojoResult (*GetMessageBuffer)(MojoMessageHandle message, void** buffer);
140 MojoResult (*WrapPlatformHandle)(
143 MojoResult (*UnwrapPlatformHandle)(
146 MojoResult (*WrapPlatformSharedBufferHandle)(
171 const struct MojoSystemThunks* system_thunks); argument