Lines Matching full:options
65 CoreLibraryInitializer(const MojoInitializeOptions* options) { in CoreLibraryInitializer() argument
69 if (options && options->struct_size >= sizeof(*options) && in CoreLibraryInitializer()
70 options->mojo_core_path) { in CoreLibraryInitializer()
71 base::StringPiece utf8_path(options->mojo_core_path, in CoreLibraryInitializer()
72 options->mojo_core_path_length); in CoreLibraryInitializer()
146 MojoResult MojoInitialize(const struct MojoInitializeOptions* options) { in MojoInitialize() argument
147 static base::NoDestructor<mojo::CoreLibraryInitializer> initializer(options); in MojoInitialize()
151 return INVOKE_THUNK(Initialize, options); in MojoInitialize()
168 MojoResult MojoCreateMessagePipe(const MojoCreateMessagePipeOptions* options, in MojoCreateMessagePipe() argument
171 return INVOKE_THUNK(CreateMessagePipe, options, message_pipe_handle0, in MojoCreateMessagePipe()
177 const MojoWriteMessageOptions* options) { in MojoWriteMessage() argument
179 options); in MojoWriteMessage()
183 const MojoReadMessageOptions* options, in MojoReadMessage() argument
185 return INVOKE_THUNK(ReadMessage, message_pipe_handle, options, in MojoReadMessage()
191 const MojoFuseMessagePipesOptions* options) { in MojoFuseMessagePipes() argument
192 return INVOKE_THUNK(FuseMessagePipes, handle0, handle1, options); in MojoFuseMessagePipes()
195 MojoResult MojoCreateDataPipe(const MojoCreateDataPipeOptions* options, in MojoCreateDataPipe() argument
198 return INVOKE_THUNK(CreateDataPipe, options, data_pipe_producer_handle, in MojoCreateDataPipe()
205 const MojoWriteDataOptions* options) { in MojoWriteData() argument
207 num_elements, options); in MojoWriteData()
211 const MojoBeginWriteDataOptions* options, in MojoBeginWriteData() argument
214 return INVOKE_THUNK(BeginWriteData, data_pipe_producer_handle, options, in MojoBeginWriteData()
220 const MojoEndWriteDataOptions* options) { in MojoEndWriteData() argument
222 num_elements_written, options); in MojoEndWriteData()
226 const MojoReadDataOptions* options, in MojoReadData() argument
229 return INVOKE_THUNK(ReadData, data_pipe_consumer_handle, options, elements, in MojoReadData()
234 const MojoBeginReadDataOptions* options, in MojoBeginReadData() argument
237 return INVOKE_THUNK(BeginReadData, data_pipe_consumer_handle, options, buffer, in MojoBeginReadData()
243 const MojoEndReadDataOptions* options) { in MojoEndReadData() argument
245 options); in MojoEndReadData()
249 const MojoCreateSharedBufferOptions* options, in MojoCreateSharedBuffer() argument
251 return INVOKE_THUNK(CreateSharedBuffer, num_bytes, options, in MojoCreateSharedBuffer()
257 const MojoDuplicateBufferHandleOptions* options, in MojoDuplicateBufferHandle() argument
259 return INVOKE_THUNK(DuplicateBufferHandle, buffer_handle, options, in MojoDuplicateBufferHandle()
266 const MojoMapBufferOptions* options, in MojoMapBuffer() argument
268 return INVOKE_THUNK(MapBuffer, buffer_handle, offset, num_bytes, options, in MojoMapBuffer()
277 const MojoGetBufferInfoOptions* options, in MojoGetBufferInfo() argument
279 return INVOKE_THUNK(GetBufferInfo, buffer_handle, options, info); in MojoGetBufferInfo()
283 const MojoCreateTrapOptions* options, in MojoCreateTrap() argument
285 return INVOKE_THUNK(CreateTrap, handler, options, trap_handle); in MojoCreateTrap()
293 const MojoAddTriggerOptions* options) { in MojoAddTrigger() argument
295 context, options); in MojoAddTrigger()
300 const MojoRemoveTriggerOptions* options) { in MojoRemoveTrigger() argument
301 return INVOKE_THUNK(RemoveTrigger, trap_handle, context, options); in MojoRemoveTrigger()
305 const MojoArmTrapOptions* options, in MojoArmTrap() argument
308 return INVOKE_THUNK(ArmTrap, trap_handle, options, num_blocking_events, in MojoArmTrap()
312 MojoResult MojoCreateMessage(const MojoCreateMessageOptions* options, in MojoCreateMessage() argument
314 return INVOKE_THUNK(CreateMessage, options, message); in MojoCreateMessage()
322 const MojoSerializeMessageOptions* options) { in MojoSerializeMessage() argument
323 return INVOKE_THUNK(SerializeMessage, message, options); in MojoSerializeMessage()
330 const MojoAppendMessageDataOptions* options, in MojoAppendMessageData() argument
334 num_handles, options, buffer, buffer_size); in MojoAppendMessageData()
338 const MojoGetMessageDataOptions* options, in MojoGetMessageData() argument
343 return INVOKE_THUNK(GetMessageData, message, options, buffer, num_bytes, in MojoGetMessageData()
351 const MojoSetMessageContextOptions* options) { in MojoSetMessageContext() argument
353 destructor, options); in MojoSetMessageContext()
357 const MojoGetMessageContextOptions* options, in MojoGetMessageContext() argument
359 return INVOKE_THUNK(GetMessageContext, message, options, context); in MojoGetMessageContext()
365 const MojoNotifyBadMessageOptions* options) { in MojoNotifyBadMessage() argument
367 options); in MojoNotifyBadMessage()
371 const MojoWrapPlatformHandleOptions* options, in MojoWrapPlatformHandle() argument
373 return INVOKE_THUNK(WrapPlatformHandle, platform_handle, options, in MojoWrapPlatformHandle()
379 const MojoUnwrapPlatformHandleOptions* options, in MojoUnwrapPlatformHandle() argument
381 return INVOKE_THUNK(UnwrapPlatformHandle, mojo_handle, options, in MojoUnwrapPlatformHandle()
391 const MojoWrapPlatformSharedMemoryRegionOptions* options, in MojoWrapPlatformSharedMemoryRegion() argument
395 options, mojo_handle); in MojoWrapPlatformSharedMemoryRegion()
400 const MojoUnwrapPlatformSharedMemoryRegionOptions* options, in MojoUnwrapPlatformSharedMemoryRegion() argument
406 return INVOKE_THUNK(UnwrapPlatformSharedMemoryRegion, mojo_handle, options, in MojoUnwrapPlatformSharedMemoryRegion()
411 MojoResult MojoCreateInvitation(const MojoCreateInvitationOptions* options, in MojoCreateInvitation() argument
413 return INVOKE_THUNK(CreateInvitation, options, invitation_handle); in MojoCreateInvitation()
420 const MojoAttachMessagePipeToInvitationOptions* options, in MojoAttachMessagePipeToInvitation() argument
423 name_num_bytes, options, message_pipe_handle); in MojoAttachMessagePipeToInvitation()
430 const MojoExtractMessagePipeFromInvitationOptions* options, in MojoExtractMessagePipeFromInvitation() argument
433 name_num_bytes, options, message_pipe_handle); in MojoExtractMessagePipeFromInvitation()
442 const MojoSendInvitationOptions* options) { in MojoSendInvitation() argument
445 options); in MojoSendInvitation()
450 const MojoAcceptInvitationOptions* options, in MojoAcceptInvitation() argument
452 return INVOKE_THUNK(AcceptInvitation, transport_endpoint, options, in MojoAcceptInvitation()
459 const MojoSetQuotaOptions* options) { in MojoSetQuota() argument
460 return INVOKE_THUNK(SetQuota, handle, type, limit, options); in MojoSetQuota()
465 const MojoQueryQuotaOptions* options, in MojoQueryQuota() argument
468 return INVOKE_THUNK(QueryQuota, handle, type, options, limit, usage); in MojoQueryQuota()