/external/chromium_org/mojo/system/ |
options_validation.h | 6 // (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, 26 // properly aligned and with a |struct_size| field (which must the first field 30 COMPILE_ASSERT(offsetof(Options, struct_size) == 0, 32 // TODO(vtl): With C++11, use |sizeof(Options::struct_size)| instead. 33 COMPILE_ASSERT(sizeof(static_cast<const Options*>(buffer)->struct_size) == 43 return static_cast<const Options*>(buffer)->struct_size >= sizeof(uint32_t); 56 return static_cast<const Options*>(buffer)->struct_size >= 88 // Does basic cursory checks on |in_options| (|struct_size| and |flags|; |flags| 89 // must immediately follow |struct_size|); |in_options| must be non-null. Th [all...] |
options_validation_unittest.cc | 23 uint32_t struct_size; variable 43 static_cast<uint32_t>(offsetof(TestOptions, struct_size) + sizeof(uint32_t)) 60 options->struct_size = kSizeOfTestOptions + 1; 66 options->struct_size = kSizeOfTestOptions + 4; 133 EXPECT_EQ(kDefaultOptions.struct_size, validated_options.struct_size); 150 EXPECT_EQ(kDefaultOptions.struct_size, validated_options.struct_size); 169 // |struct_size| too small:
|
data_pipe_unittest.cc | 27 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size); 39 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size); 71 offsetof(MojoCreateDataPipeOptions, flags) // |struct_size|. 91 // |struct_size|. 106 kSizeOfCreateOptions, // |struct_size|. 128 kSizeOfCreateOptions, // |struct_size|. 148 kSizeOfCreateOptions, // |struct_size|. 167 // |struct_size|. 189 kSizeOfCreateOptions, // |struct_size| [all...] |
shared_buffer_dispatcher_unittest.cc | 31 EXPECT_EQ(kSizeOfCreateOptions, validated_options.struct_size); 38 EXPECT_EQ(validated_options.struct_size, revalidated_options.struct_size); 63 kSizeOfCreateOptions, // |struct_size|. 78 // Invalid |struct_size|. 81 1, // |struct_size|. 92 kSizeOfCreateOptions, // |struct_size|. 202 // Invalid |struct_size|.
|
/external/chromium_org/mojo/public/c/system/ |
buffer.h | 21 // |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
|
message_pipe.h | 18 // |uint32_t struct_size|: Set to the size of the 36 uint32_t struct_size; variable
|
data_pipe.h | 18 // |uint32_t struct_size|: Set to the size of the |MojoCreateDataPipeOptions| 51 uint32_t struct_size; variable
|
/external/chromium_org/mojo/android/system/ |
core_impl.cc | 97 DCHECK_EQ(options->struct_size, buffer_size); 117 DCHECK_EQ(options->struct_size, buffer_size); 291 DCHECK_EQ(options->struct_size, buffer_size);
|
/external/chromium_org/mojo/bindings/js/ |
core.cc | 133 // For future struct_size, we can probably infer that from the presence of 135 options.struct_size = 16;
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
sample_service_unittest.cc | 65 options.struct_size = sizeof(MojoCreateDataPipeOptions);
|
/external/compiler-rt/lib/msandr/ |
msandr.cc | 835 ops.struct_size = sizeof(ops);
|