Searched refs:vectortype (Results 1 – 10 of 10) sorted by relevance
528 auto vectortype = field.value.type.VectorType(); in GenTableReaderVectorFields() local529 code_.SetValue("SIZE", NumToString(InlineSize(vectortype))); in GenTableReaderVectorFields()532 code_.SetValue("CONSTANT", IsScalar(vectortype.base_type) == true in GenTableReaderVectorFields()535 auto nullable = IsScalar(vectortype.base_type) == true ? "" : "?"; in GenTableReaderVectorFields()536 nullable = IsEnum(vectortype) == true ? "?" : nullable; in GenTableReaderVectorFields()537 if (vectortype.base_type != BASE_TYPE_UNION) { in GenTableReaderVectorFields()546 if (IsBool(vectortype.base_type)) { in GenTableReaderVectorFields()550 if (!IsEnum(vectortype)) in GenTableReaderVectorFields()552 const_string + (IsBool(vectortype.base_type) ? "0 != " : "") + "\\"; in GenTableReaderVectorFields()554 if (IsScalar(vectortype.base_type) && !IsEnum(vectortype) && in GenTableReaderVectorFields()[all …]
141 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local143 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor()145 ") + i * " + NumToString(InlineSize(vectortype)); in GenStructAccessor()146 if (!(vectortype.struct_def->fixed)) { in GenStructAccessor()152 if (vectortype.base_type == BASE_TYPE_STRING) in GenStructAccessor()155 code += "buf_.read_" + GenTypeName(vectortype) + "_le"; in GenStructAccessor()157 ") + i * " + NumToString(InlineSize(vectortype)) + ")\n"; in GenStructAccessor()
331 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local364 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() local407 code += NumToString(InlineSize(vectortype)) + ") : "; in GetMemberOfVectorOfNonStruct()413 code += NumToString(InlineSize(vectortype)) + ") : "; in GetMemberOfVectorOfNonStruct()423 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfUnion() local437 code += NumToString(InlineSize(vectortype)) + " - $this->bb_pos) : null;\n"; in GetMemberOfVectorOfUnion()[all …]
333 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local341 code += NumToString(InlineSize(vectortype)) + "\n"; in GetMemberOfVectorOfStruct()342 if (!(vectortype.struct_def->fixed)) { in GetMemberOfVectorOfStruct()362 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfNonStruct() local372 code += NumToString(InlineSize(vectortype)) + "))\n"; in GetMemberOfVectorOfNonStruct()373 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct()387 auto vectortype = field.value.type.VectorType(); in GetVectorOfNonStructAsNumpy() local391 if (!(IsScalar(vectortype.base_type))) { return; } in GetVectorOfNonStructAsNumpy()403 if (vectortype.base_type == BASE_TYPE_STRING) { in GetVectorOfNonStructAsNumpy()604 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local[all …]
886 auto vectortype = field.value.type.VectorType(); in GenStruct() local887 auto vectortypename = GenTypeName(vectortype, false); in GenStruct()888 auto inline_size = InlineSize(vectortype); in GenStruct()895 switch (vectortype.base_type) { in GenStruct()922 } else if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()924 vectortypename, vectortype.struct_def->file); in GenStruct()928 imported_files.insert(vectortype.struct_def->file); in GenStruct()930 } else if (vectortype.base_type == BASE_TYPE_STRING) { in GenStruct()943 if (vectortype.base_type == BASE_TYPE_STRUCT || is_union) { in GenStruct()945 } else if (vectortype.base_type == BASE_TYPE_STRING) { in GenStruct()[all …]
288 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local297 code += NumToString(InlineSize(vectortype)) + ")\n"; in GetMemberOfVectorOfStruct()298 if (!(vectortype.struct_def->fixed)) { in GetMemberOfVectorOfStruct()317 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfNonStruct() local328 code += NumToString(InlineSize(vectortype)) + "))\n"; in GetMemberOfVectorOfNonStruct()330 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct()493 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local494 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor()
425 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfStruct() local433 code += NumToString(InlineSize(vectortype)) + "\n"; in GetMemberOfVectorOfStruct()434 if (!(vectortype.struct_def->fixed)) { in GetMemberOfVectorOfStruct()448 auto vectortype = field.value.type.VectorType(); in GetMemberOfVectorOfNonStruct() local459 NumToString(InlineSize(vectortype)) + "))"); in GetMemberOfVectorOfNonStruct()461 if (vectortype.base_type == BASE_TYPE_STRING) { in GetMemberOfVectorOfNonStruct()463 } else if (vectortype.base_type == BASE_TYPE_BOOL) { in GetMemberOfVectorOfNonStruct()631 auto vectortype = field.value.type.VectorType(); in GenStructAccessor() local632 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStructAccessor()684 auto vectortype = field.value.type.VectorType(); in MutateElementOfVectorOfNonStruct() local[all …]
724 auto vectortype = field.value.type.VectorType(); in GenStruct() local726 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()729 } else if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()734 if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()745 index += "j * " + NumToString(InlineSize(vectortype)); in GenStruct()746 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()747 code += vectortype.struct_def->fixed in GenStruct()839 auto vectortype = field.value.type.VectorType(); in GenStruct() local840 code += NumToString(InlineSize(vectortype)) + ", "; in GenStruct()
921 auto vectortype = field.value.type.VectorType(); in GenerateStructGetters() local923 std::string nullable = IsScalar(vectortype.base_type) ? "" : "?"; in GenerateStructGetters()925 if (vectortype.base_type == BASE_TYPE_STRUCT || in GenerateStructGetters()926 vectortype.base_type == BASE_TYPE_UNION) { in GenerateStructGetters()932 auto inline_size = NumToString(InlineSize(vectortype)); in GenerateStructGetters()937 switch (vectortype.base_type) { in GenerateStructGetters()939 bool fixed = vectortype.struct_def->fixed; in GenerateStructGetters()
690 auto vectortype = field.value.type.VectorType(); in GenStruct() local691 if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()696 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()698 } else if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()702 if (vectortype.base_type == BASE_TYPE_UNION) { in GenStruct()713 index += "j * " + NumToString(InlineSize(vectortype)); in GenStruct()714 if (vectortype.base_type == BASE_TYPE_STRUCT) { in GenStruct()715 code += vectortype.struct_def->fixed in GenStruct()731 if (vectortype.base_type == BASE_TYPE_UNION && in GenStruct()732 HasUnionStringValue(*vectortype.enum_def)) { in GenStruct()