Home
last modified time | relevance | path

Searched refs:IsStruct (Results 1 – 23 of 23) sorted by relevance

/third_party/flatbuffers/src/
Didl_gen_swift.cpp222 IsStruct(field.value.type) ? (type + "()") : field.value.constant; in GenStructReader()
281 } else if (IsStruct(field.value.type)) { in GenMutableStructReader()
286 if (parser_.opts.mutable_buffer && !IsStruct(field.value.type)) in GenMutableStructReader()
338 if (IsStruct(field.value.type)) { in GenerateStructArgs()
595 if (IsStruct(field.value.type)) { in GenTableWriterFields()
614 IsStruct(field.value.type) && field.value.type.struct_def->fixed in GenTableWriterFields()
694 if (IsStruct(field.value.type) && field.value.type.struct_def->fixed) { in GenTableReaderFields()
937 if (IsStruct(field.value.type)) { in GenerateObjectAPIStructConstructor()
1304 auto is_struct = IsStruct(field.union_type) ? type + Mutable() : type; in BuildUnionEnumSwitchCaseWritter()
1333 auto type = IsStruct(field.union_type) in BuildUnionEnumSwitchCase()
Didl_gen_cpp.cpp682 } else if (IsStruct(type)) { in GenTypeWire()
694 } else if (IsStruct(type)) { in GenTypeSize()
785 if (IsStruct(type)) { in GenTypeNative()
1676 if (IsStruct(vtype)) { in GenParam()
1726 if (IsStruct(field.value.type) && native_default) { in GenMember()
1763 if (IsStruct(field.value.type)) { in GenDefaultConstructor()
1877 if (IsScalar(field.value.type.base_type) || IsStruct(field.value.type)) { in GenVerifyCall()
2013 else if (IsStruct(type)) in GenTableFieldGetter()
2206 std::string accessor = IsStruct(type) ? "GetStruct<" : "GetPointer<"; in GenTableFieldSetter()
2400 const auto type = IsStruct(vtype) ? WrapInNameSpace(*vtype.struct_def) in GenVectorForceAlign()
[all …]
Didl_gen_dart.cpp666 if (IsStruct(field.value.type)) { in StructBuilderBody()
686 if (IsStruct(field.value.type)) { in StructBuilderBody()
725 } else if (IsStruct(field.value.type)) { in TableBuilderBody()
807 if (IsScalar(field.value.type.base_type) || IsStruct(field.value.type)) in GenObjectBuilder()
877 if (IsStruct(field.value.type)) { in StructObjectBuilderBody()
912 } else if (IsStruct(field.value.type)) { in TableObjectBuilderBody()
Didl_gen_text.cpp125 const auto is_struct = IsStruct(type); in PrintContainer()
264 FLATBUFFERS_ASSERT(IsStruct(fd.value.type) || IsArray(fd.value.type)); in GenFieldOffset()
277 val = IsStruct(fd.value.type) in GenFieldOffset()
Didl_gen_lobster.cpp82 : (IsStruct(type) ? "Struct" : "UOffsetTRelative"); in GenMethod()
298 if (IsStruct(field.value.type)) { in StructBuilderArgs()
325 if (IsStruct(field.value.type)) { in StructBuilderBody()
Didl_gen_java.cpp412 : (IsStruct(type) ? "Struct" : "Offset"); in GenMethod()
428 if (IsStruct(type)) { in GenStructArgs()
464 if (IsStruct(field_type)) { in GenStructBody()
478 if (IsStruct(type)) { in GenStructBody()
962 if (IsStruct(field.value.type)) { in GenStruct()
1043 if (!IsStruct(vector_type)) { in GenStruct()
Didl_gen_csharp.cpp378 : (IsStruct(type) ? "Struct" : "Offset"); in GenMethod()
393 if (IsStruct(type)) { in GenStructArgs()
434 if (IsStruct(field_type)) { in GenStructBody()
448 if (IsStruct(type)) { in GenStructBody()
979 if (IsStruct(field.value.type)) { in GenStruct()
1000 if (IsStruct(field.value.type) && opts.generate_object_based_api) { in GenStruct()
1032 if (IsStruct(field.value.type) && in GenStruct()
1092 if (!IsStruct(vector_type)) { in GenStruct()
2037 if (IsStruct(field.value.type)) { in GenStruct_ObjectAPI()
Didl_gen_kotlin.cpp382 : (IsStruct(type) ? "Struct" : "Offset"); in GenMethod()
392 if (IsStruct(field.value.type)) { in GenStructArgs()
423 if (IsStruct(field.value.type)) { in GenStructBody()
518 if (!IsStruct(vector_type)) { in GenStruct()
786 if (IsStruct(field.value.type)) { in GenerateTableCreator()
1338 if (IsStruct(field.value.type)) { in StructConstructorParams()
Didl_gen_lua.cpp370 if (IsStruct(field.value.type)) { in StructBuilderArgs()
405 if (IsStruct(field.value.type)) { in StructBuilderBody()
614 : (IsStruct(field.value.type) ? "Struct" : "UOffsetTRelative"); in GenMethod()
Didl_gen_ts.cpp296 : (IsStruct(type) ? "Struct" : "Offset"); in GenWriteMethod()
312 if (IsStruct(field.value.type)) { in GenStructArgs()
338 if (IsStruct(field.value.type)) { in GenStructBody()
735 if (IsStruct(field.value.type)) { in GenStructMemberValueTS()
1399 if (!IsStruct(vector_type)) { in GenStruct()
Didl_gen_php.cpp448 if (IsStruct(field.value.type)) { in StructBuilderArgs()
478 if (IsStruct(field.value.type)) { in StructBuilderBody()
857 : (IsStruct(field.value.type) ? "Struct" : "Offset"); in GenMethod()
Didl_gen_rust.cpp2429 IsStruct(field.value.type) || IsArray(field.value.type) ? "&" : ""); in ForAllStructFields()
2560 if (IsStruct(field.value.type)) { in GenStruct()
2590 if (IsStruct(field.value.type)) { in GenStruct()
2655 std::string unpack = IsStruct(field.value.type) ? ".unpack()" : ""; in GenStruct()
2682 if (IsStruct(field.value.type)) { in GenStruct()
Didl_gen_python.cpp241 if (IsStruct(vec_type)) { in GetArrayOfStruct()
473 if (IsStruct(type)) { in StructBuilderArgs()
517 if (IsStruct(field_type)) { in StructBuilderBody()
529 if (IsStruct(type)) { in StructBuilderBody()
1649 : (IsStruct(field.value.type) ? "Struct" : "UOffsetTRelative"); in GenMethod()
Didl_parser.cpp756 auto valid = IsScalar(type.base_type) || IsStruct(type); in ParseField()
759 valid |= IsScalar(elem_type.base_type) || IsStruct(elem_type); in ParseField()
805 if (IsStruct(type) || (struct_def.fixed && field->value.constant != "0")) in ParseField()
981 if (field->native_inline && !IsStruct(field->value.type)) in ParseField()
1354 if (IsStruct(field->value.type)) { \ in ParseTable()
1541 if (IsStruct(val.type)) SerializeStruct(*val.type.struct_def, val); \ in ParseVector()
1629 if (IsStruct(type)) { in ParseArray()
1645 if (IsStruct(val.type)) { \ in ParseArray()
3236 (IsStruct(val.union_type) || IsString(val.union_type))) in ParseRoot()
Didl_gen_go.cpp503 if (IsStruct(field.value.type)) { in StructBuilderArgs()
536 if (IsStruct(field.value.type)) { in StructBuilderBody()
1163 : (IsStruct(field.value.type) ? "Struct" : "UOffsetT"); in GenMethod()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.h124 BTFTypeStruct(const DICompositeType *STy, bool IsStruct, bool HasBitField,
278 void visitStructType(const DICompositeType *STy, bool IsStruct,
DBTFDebug.cpp218 BTFTypeStruct::BTFTypeStruct(const DICompositeType *STy, bool IsStruct, in BTFTypeStruct() argument
221 Kind = IsStruct ? BTF::BTF_KIND_STRUCT : BTF::BTF_KIND_UNION; in BTFTypeStruct()
448 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType() argument
466 std::make_unique<BTFTypeStruct>(CTy, IsStruct, HasBitField, VLen); in visitStructType()
/third_party/flatbuffers/include/flatbuffers/
Didl.h470 inline bool IsStruct(const Type &type) { in IsStruct() function
495 return IsStruct(type) in InlineSize()
503 if (IsStruct(type)) { in InlineAlignment()
506 return IsStruct(type.VectorType()) ? type.struct_def->minalign in InlineAlignment()
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.cc569 if (element() != nullptr && IsStruct(*element()->parent_field())) { in StartObject()
590 if (IsStruct(*field)) { in StartObject()
1344 bool ProtoStreamObjectWriter::IsStruct(const google::protobuf::Field& field) { in IsStruct() function in google::protobuf::util::converter::ProtoStreamObjectWriter
Dprotostream_objectwriter.h339 inline bool IsStruct(const google::protobuf::Field& field);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4013 bool IsStruct = FullTy->isStructTy(); in parseFunctionBody() local
4016 if (!IsStruct && !IsArray) in parseFunctionBody()
4020 if (IsStruct && Index >= FullTy->getStructNumElements()) in parseFunctionBody()
4026 if (IsStruct) in parseFunctionBody()
4055 bool IsStruct = CurTy->isStructTy(); in parseFunctionBody() local
4058 if (!IsStruct && !IsArray) in parseFunctionBody()
4062 if (IsStruct && Index >= CurTy->getStructNumElements()) in parseFunctionBody()
4068 if (IsStruct) in parseFunctionBody()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.hpp490 bool IsStruct() const;
Dgl4cEnhancedLayoutsTests.cpp1148 else if (variable.IsStruct()) in checkVarying()
3891 bool Variable::IsStruct() const in IsStruct() function in gl4cts::EnhancedLayouts::Utils::Variable