Searched defs:struct_size (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/mojo/public/c/system/
H A Dbuffer.h21 // |uint32_t struct_size|: Set to the size of the
43 uint32_t struct_size; variable
51 // |uint32_t struct_size|: Set to the size of the
71 uint32_t struct_size; member in struct:MojoDuplicateBufferHandleOptions
H A Dmessage_pipe.h18 // |uint32_t struct_size|: Set to the size of the
36 uint32_t struct_size; variable
H A Ddata_pipe.h18 // |uint32_t struct_size|: Set to the size of the |MojoCreateDataPipeOptions|
51 uint32_t struct_size; variable
/external/chromium_org/mojo/system/
H A Doptions_validation.h6 // (public, C) API. These are "extensible" structs, which all have |struct_size|
7 // as their first member. All fields (other than |struct_size|) are optional,
40 static_assert(offsetof(Options, struct_size) == 0,
41 "struct_size not first member of Options");
43 // static_assert(sizeof(Options::struct_size) == sizeof(uint32_t),
44 // "Options::struct_size not a uint32_t");
63 return options().struct_size >= offset + size;
68 uint32_t struct_size = local
70 if (struct_size < sizeof(uint32_t))
77 struct_size);
[all...]
H A Doptions_validation_unittest.cc23 uint32_t struct_size; variable
43 offsetof(TestOptions, struct_size) + sizeof(uint32_t))};
63 options->struct_size = kSizeOfTestOptions + 1;
73 options->struct_size = kSizeOfTestOptions + 4;
122 options->struct_size = static_cast<uint32_t>(sizeof(TestOptions));
/external/chromium_org/tools/usb_gadget/
H A Dusb_descriptors.py167 def struct_size(self): member in class:Descriptor
174 return self.struct_size
200 DeviceDescriptor.AddComputedField('bLength', 'B', 'struct_size')
233 return self.struct_size + sum([descriptor.total_size
276 ConfigurationDescriptor.AddComputedField('bLength', 'B', 'struct_size')
312 InterfaceDescriptor.AddComputedField('bLength', 'B', 'struct_size')
334 EndpointDescriptor.AddComputedField('bLength', 'B', 'struct_size')
358 def struct_size(self): member in class:HidDescriptor
359 return super(HidDescriptor, self).struct_size + self.num_descriptors * 3
377 HidDescriptor.AddComputedField('bLength', 'B', 'struct_size')
[all...]
/external/chromium_org/chrome/utility/
H A Dchrome_content_utility_client.cc187 int64_t struct_size = sizeof(ChromeUtilityHostMsg_DecodeImage_Succeeded); local
190 while (struct_size + (image_size >> 2*halves) > max_ipc_message_size_)

Completed in 1934 milliseconds