Home
last modified time | relevance | path

Searched refs:minalign (Results 1 – 16 of 16) sorted by relevance

/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java43 int minalign = 1; // Minimum alignment encountered so far. field in FlatBufferBuilder
98 minalign = 1; in init()
172 if (size > minalign) minalign = size; in prep()
752 prep(minalign, SIZEOF_INT); in finish()
766 prep(minalign, SIZEOF_INT + FILE_IDENTIFIER_LENGTH); in finish()
/external/flatbuffers/go/
Dbuilder.go13 minalign int member
32 b.minalign = 1
54 b.minalign = 1
83 b.minalign = 1
242 if size > b.minalign {
243 b.minalign = size
541 b.Prep(b.minalign, SizeUOffsetT)
/external/flatbuffers/python/flatbuffers/
Dbuilder.py129 self.minalign = 1
163 self.minalign = 1
322 if size > self.minalign:
323 self.minalign = size
464 self.Prep(self.minalign, N.UOffsetTFlags.bytewidth)
/external/flatbuffers/php/
DFlatbufferBuilder.php41 protected $minalign = 1; variable in Google\\FlatBuffers\\FlatbufferBuilder
141 if ($size > $this->minalign) {
142 $this->minalign = $size;
898 $this->prep($this->minalign, Constants::SIZEOF_INT);
902 $this->prep($this->minalign, Constants::SIZEOF_INT + Constants::FILE_IDENTIFIER_LENGTH);
/external/flatbuffers/js/
Dflatbuffers.js170 this.minalign = 1;
273 if (size > this.minalign) {
274 this.minalign = size;
665 this.prep(this.minalign, flatbuffers.SIZEOF_INT +
675 this.prep(this.minalign, flatbuffers.SIZEOF_INT);
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h623 int32_t minalign() const { in minalign() function
667 void add_minalign(int32_t minalign) { in add_minalign()
668 fbb_.AddElement<int32_t>(Object::VT_MINALIGN, minalign, 0); in add_minalign()
698 int32_t minalign = 0,
706 builder_.add_minalign(minalign);
718 int32_t minalign = 0,
727 minalign,
Didl.h250 minalign(1), in StructDef()
268 size_t minalign; // What the whole object needs to be aligned to. member
281 return IsStruct(type) ? type.struct_def->minalign : SizeOf(type.base_type); in InlineAlignment()
/external/flatbuffers/reflection/
Dreflection.fbs75 minalign:int;
/external/flatbuffers/src/
Didl_parser.cpp588 struct_def.minalign = std::max(struct_def.minalign, alignment); in AddField()
827 builder_.Align(struct_def.minalign); in SerializeStruct()
883 ? builder_.StartStruct(struct_def.minalign) in ParseTable()
1389 align < struct_def->minalign || in ParseDecl()
1395 struct_def->minalign = align; in ParseDecl()
1397 struct_def->PadLastField(struct_def->minalign); in ParseDecl()
2087 static_cast<int>(minalign), in Serialize()
Dreflection.cpp446 ? fbb.StartStruct(objectdef.minalign()) in CopyTable()
457 CopyInline(fbb, fielddef, table, subobjectdef.minalign(), in CopyTable()
Didl_gen_python.cpp323 code += " builder.Prep(" + NumToString(struct_def.minalign) + ", "; in StructBuilderBody()
Didl_gen_js.cpp350 *body += NumToString(struct_def.minalign) + ", "; in GenStructBody()
Didl_gen_go.cpp389 code += "\tbuilder.Prep(" + NumToString(struct_def.minalign) + ", "; in StructBuilderBody()
Didl_gen_php.cpp463 code += NumToString(struct_def.minalign) + ", "; in StructBuilderBody()
Didl_gen_general.cpp645 code += NumToString(struct_def.minalign) + ", "; in GenStructBody()
Didl_gen_cpp.cpp1741 code_.SetValue("ALIGN", NumToString(struct_def.minalign)); in GenStruct()