Home
last modified time | relevance | path

Searched refs:MOJO_STATIC_ASSERT (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/mojo/public/c/system/
Dmessage_pipe.h38 MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment");
39 MOJO_STATIC_ASSERT(sizeof(MojoCreateMessagePipeOptions) == 8,
57 MOJO_STATIC_ASSERT(sizeof(MojoWriteMessageOptions) == 8,
75 MOJO_STATIC_ASSERT(sizeof(MojoReadMessageOptions) == 8,
93 MOJO_STATIC_ASSERT(sizeof(MojoFuseMessagePipesOptions) == 8,
110 MOJO_STATIC_ASSERT(sizeof(MojoCreateMessageOptions) == 8,
127 MOJO_STATIC_ASSERT(sizeof(MojoSerializeMessageOptions) == 8,
149 MOJO_STATIC_ASSERT(sizeof(MojoAppendMessageDataOptions) == 8,
170 MOJO_STATIC_ASSERT(sizeof(MojoGetMessageDataOptions) == 8,
187 MOJO_STATIC_ASSERT(sizeof(MojoSetMessageContextOptions) == 8,
[all …]
Ddata_pipe.h43 MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment");
44 MOJO_STATIC_ASSERT(sizeof(MojoCreateDataPipeOptions) == 16,
67 MOJO_STATIC_ASSERT(sizeof(MojoWriteDataOptions) == 8,
85 MOJO_STATIC_ASSERT(sizeof(MojoBeginWriteDataOptions) == 8,
103 MOJO_STATIC_ASSERT(sizeof(MojoEndWriteDataOptions) == 8,
142 MOJO_STATIC_ASSERT(sizeof(MojoReadDataOptions) == 8,
160 MOJO_STATIC_ASSERT(sizeof(MojoBeginReadDataOptions) == 8,
178 MOJO_STATIC_ASSERT(sizeof(MojoEndReadDataOptions) == 8,
Dinvitation.h51 MOJO_STATIC_ASSERT(sizeof(MojoProcessErrorDetails) == 24,
66 MOJO_STATIC_ASSERT(sizeof(MojoPlatformProcessHandle) == 16,
113 MOJO_STATIC_ASSERT(sizeof(MojoInvitationTransportEndpoint) == 24,
130 MOJO_STATIC_ASSERT(sizeof(MojoCreateInvitationOptions) == 8,
149 MOJO_STATIC_ASSERT(sizeof(MojoAttachMessagePipeToInvitationOptions) == 8,
168 MOJO_STATIC_ASSERT(
205 MOJO_STATIC_ASSERT(sizeof(MojoSendInvitationOptions) == 24,
226 MOJO_STATIC_ASSERT(sizeof(MojoAcceptInvitationOptions) == 8,
Dbuffer.h33 MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment");
34 MOJO_STATIC_ASSERT(sizeof(MojoCreateSharedBufferOptions) == 8,
52 MOJO_STATIC_ASSERT(sizeof(MojoGetBufferInfoOptions) == 8,
64 MOJO_STATIC_ASSERT(sizeof(MojoSharedBufferInfo) == 16,
95 MOJO_STATIC_ASSERT(sizeof(MojoDuplicateBufferHandleOptions) == 8,
113 MOJO_STATIC_ASSERT(sizeof(MojoMapBufferOptions) == 8,
Dplatform_handle.h70 MOJO_STATIC_ASSERT(sizeof(MojoPlatformHandle) == 16,
88 MOJO_STATIC_ASSERT(sizeof(MojoWrapPlatformHandleOptions) == 8,
106 MOJO_STATIC_ASSERT(sizeof(MojoUnwrapPlatformHandleOptions) == 8,
167 MOJO_STATIC_ASSERT(sizeof(MojoWrapPlatformSharedMemoryRegionOptions) == 8,
186 MOJO_STATIC_ASSERT(
Dtrap.h66 MOJO_STATIC_ASSERT(sizeof(MojoTrapEvent) == 32,
106 MOJO_STATIC_ASSERT(sizeof(MojoCreateTrapOptions) == 8,
126 MOJO_STATIC_ASSERT(sizeof(MojoAddTriggerOptions) == 8,
146 MOJO_STATIC_ASSERT(sizeof(MojoRemoveTriggerOptions) == 8,
166 MOJO_STATIC_ASSERT(sizeof(MojoArmTrapOptions) == 8,
Dtypes.h160 MOJO_STATIC_ASSERT(sizeof(MojoInitializeOptions) == 24,
214 MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int32_t) == 4, "int32_t has weird alignment");
219 MOJO_STATIC_ASSERT(sizeof(MojoHandleSignalsState) == 8,
Dmacros.h15 #define MOJO_STATIC_ASSERT(expr, msg) static_assert(expr, msg) macro
17 #define MOJO_STATIC_ASSERT(expr, msg) macro
Dquota.h28 MOJO_STATIC_ASSERT(sizeof(MojoSetQuotaOptions) == 8,
45 MOJO_STATIC_ASSERT(sizeof(MojoQueryQuotaOptions) == 8,
/external/libchrome/libchrome_tools/patch/
Dalignof_int64.patch55 -MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
56 +MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment");
57 MOJO_STATIC_ASSERT(sizeof(MojoCreateSharedBufferOptions) == 8,
68 -MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
69 +MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment");
70 MOJO_STATIC_ASSERT(sizeof(MojoCreateDataPipeOptions) == 16,
81 -MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
82 +MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment");
83 MOJO_STATIC_ASSERT(sizeof(MojoCreateMessagePipeOptions) == 8,
/external/libchrome/mojo/public/c/system/tests/
Dmacros_unittest.cc23 MOJO_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t),
28 MOJO_STATIC_ASSERT(sizeof(int32_t) == 2 * sizeof(int16_t), in TEST()