Home
last modified time | relevance | path

Searched refs:vectortype (Results 1 – 7 of 7) sorted by relevance

/external/flatbuffers/src/
Didl_gen_lobster.cpp131 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local
133 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor()
135 ") + i * " + NumToString(InlineSize(vectortype)); in GenStructAccessor()
136 if (!(vectortype.struct_def->fixed)) { in GenStructAccessor()
142 if (vectortype.base_type == BASE_TYPE_STRING) in GenStructAccessor()
145 code += "buf_.read_" + GenTypeName(vectortype) + "_le"; in GenStructAccessor()
147 ") + i * " + NumToString(InlineSize(vectortype)) + ")\n"; in GenStructAccessor()
Didl_gen_python.cpp289 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local
297 code += NumToString(InlineSize(vectortype)) + "\n"; in GetMemberOfVectorOfStruct()
298 if (!(vectortype.struct_def->fixed)) { in GetMemberOfVectorOfStruct()
315 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfNonStruct() local
325 code += NumToString(InlineSize(vectortype)) + "))\n"; in GetMemberOfVectorOfNonStruct()
326 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct()
340 auto vectortype = field.value.type.VectorType(); in GetVectorOfNonStructAsNumpy() local
344 if (!(IsScalar(vectortype.base_type))) { return; } in GetVectorOfNonStructAsNumpy()
356 if (vectortype.base_type == BASE_TYPE_STRING) { in GetVectorOfNonStructAsNumpy()
517 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local
[all …]
Didl_gen_php.cpp331 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local
364 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GetMemberOfVectorOfStruct()
366 if (vectortype.struct_def->fixed) { in GetMemberOfVectorOfStruct()
368 code += NumToString(InlineSize(vectortype)); in GetMemberOfVectorOfStruct()
371 code += NumToString(InlineSize(vectortype)) + ")"; in GetMemberOfVectorOfStruct()
391 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfNonStruct() local
407 code += NumToString(InlineSize(vectortype)) + ") : "; in GetMemberOfVectorOfNonStruct()
413 code += NumToString(InlineSize(vectortype)) + ") : "; in GetMemberOfVectorOfNonStruct()
423 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfUnion() local
437 code += NumToString(InlineSize(vectortype)) + " - $this->bb_pos) : null;\n"; in GetMemberOfVectorOfUnion()
[all …]
Didl_gen_js_ts.cpp843 auto vectortype = field.value.type.VectorType(); in GenStruct() local
844 auto vectortypename = GenTypeName(vectortype, false); in GenStruct()
845 auto inline_size = InlineSize(vectortype); in GenStruct()
852 switch (vectortype.base_type) { in GenStruct()
879 } else if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()
881 vectortypename, vectortype.struct_def->file); in GenStruct()
885 imported_files.insert(vectortype.struct_def->file); in GenStruct()
887 } else if (vectortype.base_type == BASE_TYPE_STRING) { in GenStruct()
900 if (vectortype.base_type == BASE_TYPE_STRUCT || is_union) { in GenStruct()
902 } else if (vectortype.base_type == BASE_TYPE_STRING) { in GenStruct()
[all …]
Didl_gen_lua.cpp294 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local
302 code += NumToString(InlineSize(vectortype)) + ")\n"; in GetMemberOfVectorOfStruct()
303 if (!(vectortype.struct_def->fixed)) { in GetMemberOfVectorOfStruct()
319 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfNonStruct() local
329 code += NumToString(InlineSize(vectortype)) + "))\n"; in GetMemberOfVectorOfNonStruct()
331 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct()
495 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local
496 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor()
Didl_gen_go.cpp374 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local
382 code += NumToString(InlineSize(vectortype)) + "\n"; in GetMemberOfVectorOfStruct()
383 if (!(vectortype.struct_def->fixed)) { in GetMemberOfVectorOfStruct()
398 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfNonStruct() local
407 code += NumToString(InlineSize(vectortype)) + "))\n"; in GetMemberOfVectorOfNonStruct()
409 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct()
411 } else if (vectortype.base_type == BASE_TYPE_BOOL) { in GetMemberOfVectorOfNonStruct()
575 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local
576 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor()
Didl_gen_general.cpp1014 auto vectortype = field.value.type.VectorType(); in GenStruct() local
1015 if (vectortype.base_type == BASE_TYPE_UNION && in GenStruct()
1021 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()
1025 } else if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()
1031 if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()
1040 NumToString(InlineSize(vectortype)); in GenStruct()
1041 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()
1042 code += vectortype.struct_def->fixed in GenStruct()
1046 } else if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()