Home
last modified time | relevance | path

Searched refs:largest_scalar_t (Results 1 – 8 of 8) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h128 typedef uintmax_t largest_scalar_t; typedef
499 : reserved_((initial_size + sizeof(largest_scalar_t) - 1) &
500 ~(sizeof(largest_scalar_t) - 1)),
536 return (bytes / 2) & ~(sizeof(largest_scalar_t) - 1);
600 auto largest_align = AlignOf<largest_scalar_t>();
Didl.h94 static_assert(sizeof(CTYPE) <= sizeof(largest_scalar_t), \
Dflexbuffers.h1168 byte_width <= sizeof(flatbuffers::largest_scalar_t); in ElemWidth()
/external/flatbuffers/src/
Dreflection.cpp168 auto mask = static_cast<int>(sizeof(largest_scalar_t) - 1); in ResizeContext()
342 !(flatbuf.size() & (sizeof(largest_scalar_t) - 1))) { in AddFlatBuffer()
Didl_gen_general.cpp1156 for (size_t size = struct_def.sortbysize ? sizeof(largest_scalar_t) : 1; in GenStruct()
Didl_gen_cpp.cpp1333 for (size_t size = struct_def.sortbysize ? sizeof(largest_scalar_t) : 1; in GenBuilders()
Didl_parser.cpp886 for (size_t size = struct_def.sortbysize ? sizeof(largest_scalar_t) : 1; in ParseTable()
/external/flatbuffers/tests/
Dtest.cpp727 builder.PreAlign<flatbuffers::largest_scalar_t>(0); // Align whole buffer. in FuzzTest1()