Home
last modified time | relevance | path

Searched refs:struct_size (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/mojo/system/
Doptions_validation.h40 static_assert(offsetof(Options, struct_size) == 0, in UserOptionsReader()
63 return options().struct_size >= offset + size; in HasMember()
68 uint32_t struct_size = in GetSizeForReader() local
70 if (struct_size < sizeof(uint32_t)) in GetSizeForReader()
77 struct_size); in GetSizeForReader()
78 options.template ReinterpretCast<const char>().CheckArray(struct_size); in GetSizeForReader()
80 return std::min(static_cast<size_t>(struct_size), sizeof(Options)); in GetSizeForReader()
Doptions_validation_unittest.cc23 uint32_t struct_size; member
43 offsetof(TestOptions, struct_size) + sizeof(uint32_t))}; in TEST()
63 options->struct_size = kSizeOfTestOptions + 1; in TEST()
73 options->struct_size = kSizeOfTestOptions + 4; in TEST()
122 options->struct_size = static_cast<uint32_t>(sizeof(TestOptions)); in TEST()
Dshared_buffer_dispatcher_unittest.cc32 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size); in RevalidateCreateOptions()
39 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size); in RevalidateCreateOptions()
Ddata_pipe_unittest.cc27 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size); in RevalidateCreateOptions()
39 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size); in RevalidateCreateOptions()
/external/chromium_org/mojo/public/c/system/
Dbuffer.h43 uint32_t struct_size; member
71 uint32_t struct_size; member
Dmessage_pipe.h36 uint32_t struct_size; member
Ddata_pipe.h51 uint32_t struct_size; member
/external/chromium_org/tools/usb_gadget/
Dusb_descriptors.py167 def struct_size(self): member in Descriptor
174 return self.struct_size
233 return self.struct_size + sum([descriptor.total_size
358 def struct_size(self): member in HidDescriptor
359 return super(HidDescriptor, self).struct_size + self.num_descriptors * 3
Dusb_descriptors_test.py96 self.assertEquals(obj.struct_size, 1)
/external/chromium_org/mojo/public/python/mojo/
Dc_core.pxd83 uint32_t struct_size
113 uint32_t struct_size
172 uint32_t struct_size
179 uint32_t struct_size
Dsystem.pyx559 coptions.struct_size = sizeof(c_core.MojoDuplicateBufferHandleOptions)
620 coptions.struct_size = sizeof(c_core.MojoCreateMessagePipeOptions)
660 coptions.struct_size = sizeof(c_core.MojoCreateDataPipeOptions)
692 coptions.struct_size = sizeof(c_core.MojoCreateSharedBufferOptions)
/external/chromium_org/mojo/android/system/
Dcore_impl.cc86 DCHECK_EQ(options->struct_size, buffer_size); in CreateMessagePipe()
106 DCHECK_EQ(options->struct_size, buffer_size); in CreateDataPipe()
127 DCHECK_EQ(options->struct_size, buffer_size); in CreateSharedBuffer()
301 DCHECK_EQ(options->struct_size, buffer_size); in Duplicate()
/external/chromium_org/mojo/public/tools/bindings/generators/cpp_templates/
Dstruct_declaration.tmpl21 MOJO_COMPILE_ASSERT(sizeof({{class_name}}) == {{struct.packed|struct_size}},
Dparams_definition.tmpl32 MOJO_COMPILE_ASSERT(sizeof({{class_name}}) == {{struct.packed|struct_size}},
/external/chromium_org/chrome/utility/
Dchrome_content_utility_client.cc187 int64_t struct_size = sizeof(ChromeUtilityHostMsg_DecodeImage_Succeeded); in DecodeImage() local
190 while (struct_size + (image_size >> 2*halves) > max_ipc_message_size_) in DecodeImage()
/external/chromium_org/mojo/services/html_viewer/
Dblink_url_request_type_converters.cc67 options.struct_size = sizeof(MojoCreateDataPipeOptions); in AddRequestBody()
/external/chromium_org/mojo/bindings/js/
Dcore.cc64 options.struct_size = 8; in CreateMessagePipe()
163 options.struct_size = 16; in CreateDataPipe()
/external/chromium_org/device/serial/
Ddata_sender.cc75 options.struct_size = sizeof(options); in DataSender()
/external/chromium_org/mojo/public/tools/bindings/generators/java_templates/
Dstruct_definition.tmpl52 private static final int STRUCT_SIZE = {{struct.packed|struct_size}};
/external/chromium_org/media/mojo/services/
Dmedia_type_converters.cc149 options.struct_size = sizeof(MojoCreateDataPipeOptions); in Convert()
/external/chromium_org/mojo/public/cpp/bindings/tests/
Dsample_service_unittest.cc66 options.struct_size = sizeof(MojoCreateDataPipeOptions); in MakeFoo()
/external/compiler-rt/lib/msandr/
Dmsandr.cc835 ops.struct_size = sizeof(ops); in dr_init()