Home
last modified time | relevance | path

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

/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java38 int minalign = 1; // Minimum alignment encountered so far. field in FlatBufferBuilder
142 minalign = 1; in init()
219 minalign = 1; in clear()
281 if (size > minalign) minalign = size; in prep()
887 prep(minalign, SIZEOF_INT + (size_prefix ? SIZEOF_INT : 0)); in finish()
923 prep(minalign, SIZEOF_INT + FILE_IDENTIFIER_LENGTH + (size_prefix ? SIZEOF_INT : 0)); in finish()
/external/flatbuffers/go/
Dbuilder.go13 minalign int member
36 b.minalign = 1
57 b.minalign = 1
250 if size > b.minalign {
251 b.minalign = size
568 b.Prep(b.minalign, SizeInt32+fileIdentifierLength)
580 b.Prep(b.minalign, SizeUOffsetT)
/external/flatbuffers/lua/flatbuffers/
Dbuilder.lua56 minalign = 1,
69 self.minalign = 1
206 if size > self.minalign then
207 self.minalign = size
300 self:Prep(self.minalign, sizePrefix and 8 or 4)
/external/flatbuffers/js/
Dflatbuffers.js176 this.minalign = 1;
238 this.minalign = 1;
292 if (size > this.minalign) {
293 this.minalign = size;
691 this.prep(this.minalign, flatbuffers.SIZEOF_INT +
701 this.prep(this.minalign, flatbuffers.SIZEOF_INT + size_prefix);
/external/flatbuffers/php/
DFlatbufferBuilder.php41 protected $minalign = 1; variable in Google\\FlatBuffers\\FlatbufferBuilder
141 if ($size > $this->minalign) {
142 $this->minalign = $size;
909 $this->prep($this->minalign, Constants::SIZEOF_INT);
913 $this->prep($this->minalign, Constants::SIZEOF_INT + Constants::FILE_IDENTIFIER_LENGTH);
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp604 const bool minalign,
636 …bool declareImageFormatInShader, const bool singleLayerBind, const bool minalign, const bool buffe… in BaseTestInstance() argument
642 , m_minalign (minalign) in BaseTestInstance()
700 const bool minalign);
750 …mat format, const bool declareImageFormatInShader, const bool singleLayerBind, const bool minalign) in StoreTestInstance() argument
751 …tInstance (context, texture, format, declareImageFormatInShader, singleLayerBind, minalign, false) in StoreTestInstance()
793 const bool minalign);
819 const bool minalign) in ImageStoreTestInstance() argument
820 …eTestInstance (context, texture, format, declareImageFormatInShader, singleLayerBind, minalign) in ImageStoreTestInstance()
953 const bool minalign);
[all …]
/external/flatbuffers/lobster/
Dflatbuffers.lobster41 minalign = 1
76 minalign = 1
133 if size > minalign:
134 minalign = size
185 Prep(minalign, prep_size)
/external/flatbuffers/python/flatbuffers/
Dbuilder.py130 self.minalign = 1
318 if size > self.minalign:
319 self.minalign = size
522 self.Prep(self.minalign, prepSize)
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h715 int32_t minalign() const { in minalign() function
760 void add_minalign(int32_t minalign) { in add_minalign()
761 fbb_.AddElement<int32_t>(Object::VT_MINALIGN, minalign, 0); in add_minalign()
791 int32_t minalign = 0,
799 builder_.add_minalign(minalign);
811 int32_t minalign = 0,
824 minalign,
Didl.h327 minalign(1), in StructDef()
347 size_t minalign; // What the whole object needs to be aligned to. member
470 return type.struct_def->minalign; in InlineAlignment()
472 return IsStruct(type.VectorType()) ? type.struct_def->minalign in InlineAlignment()
/external/flatbuffers/reflection/
Dreflection.fbs80 minalign:int;
/external/flatbuffers/src/
Didl_parser.cpp657 struct_def.minalign = std::max(struct_def.minalign, alignment); in AddField()
1026 builder.Align(struct_def.minalign); in SerializeStruct()
1157 auto start = struct_def.fixed ? builder_.StartStruct(struct_def.minalign) in ParseTable()
2269 align < struct_def->minalign || align > FLATBUFFERS_MAX_ALIGNMENT || in ParseDecl()
2275 struct_def->minalign = align; in ParseDecl()
2279 struct_def->PadLastField(struct_def->minalign); in ParseDecl()
3187 static_cast<int>(minalign), in Serialize()
3217 : PaddingBytes(tmp_struct_size, minalign); in Deserialize()
3503 struct_def->minalign = it->minalign(); in Deserialize()
Dreflection.cpp463 auto start = objectdef.is_struct() ? fbb.StartStruct(objectdef.minalign()) in CopyTable()
474 CopyInline(fbb, fielddef, table, subobjectdef.minalign(), in CopyTable()
Didl_gen_lobster.cpp315 code += " b_.Prep(" + NumToString(struct_def.minalign) + ", " + in StructBuilderBody()
Didl_gen_lua.cpp381 NumToString(struct_def.minalign) + ", "; in StructBuilderBody()
Didl_gen_swift.cpp267 code_.SetValue("MINALIGN", NumToString(struct_def.minalign)); in GenObjectHeader()
Didl_gen_php.cpp469 code += NumToString(struct_def.minalign) + ", "; in StructBuilderBody()
Didl_gen_rust.cpp1628 code_.SetValue("ALIGN", NumToString(struct_def.minalign)); in GenStruct()
Didl_gen_kotlin.cpp377 writer.SetValue("align", NumToString(struct_def.minalign)); in GenStructBody()
Didl_gen_java.cpp458 code += NumToString(struct_def.minalign) + ", "; in GenStructBody()
Didl_gen_js_ts.cpp573 *body += NumToString(struct_def.minalign) + ", "; in GenStructBody()
Didl_gen_go.cpp516 code += "\tbuilder.Prep(" + NumToString(struct_def.minalign) + ", "; in StructBuilderBody()
Didl_gen_python.cpp466 indent + " builder.Prep(" + NumToString(struct_def.minalign) + ", "; in StructBuilderBody()
Didl_gen_csharp.cpp415 code += NumToString(struct_def.minalign) + ", "; in GenStructBody()
Didl_gen_cpp.cpp2868 code_.SetValue("ALIGN", NumToString(struct_def.minalign)); in GenStruct()