Lines Matching refs:schema_builder
134 flatbuffers::FlatBufferBuilder schema_builder; in AddTestEntitySchemaData() local
137 schema_builder, in AddTestEntitySchemaData()
138 /*name=*/schema_builder.CreateString("first_name"), in AddTestEntitySchemaData()
140 reflection::CreateType(schema_builder, in AddTestEntitySchemaData()
145 schema_builder, in AddTestEntitySchemaData()
146 /*name=*/schema_builder.CreateString("is_alive"), in AddTestEntitySchemaData()
148 reflection::CreateType(schema_builder, in AddTestEntitySchemaData()
153 schema_builder, in AddTestEntitySchemaData()
154 /*name=*/schema_builder.CreateString("last_name"), in AddTestEntitySchemaData()
156 reflection::CreateType(schema_builder, in AddTestEntitySchemaData()
161 schema_builder, in AddTestEntitySchemaData()
162 /*name=*/schema_builder.CreateString("age"), in AddTestEntitySchemaData()
164 reflection::CreateType(schema_builder, in AddTestEntitySchemaData()
169 schema_builder, in AddTestEntitySchemaData()
170 /*name=*/schema_builder.CreateString("former_us_president"), in AddTestEntitySchemaData()
172 reflection::CreateType(schema_builder, in AddTestEntitySchemaData()
179 schema_builder, in AddTestEntitySchemaData()
180 /*name=*/schema_builder.CreateString("EntityData"), in AddTestEntitySchemaData()
182 schema_builder.CreateVectorOfSortedTables(&fields))}; in AddTestEntitySchemaData()
183 schema_builder.Finish(reflection::CreateSchema( in AddTestEntitySchemaData()
184 schema_builder, schema_builder.CreateVectorOfSortedTables(&objects), in AddTestEntitySchemaData()
185 schema_builder.CreateVectorOfSortedTables(&enums), in AddTestEntitySchemaData()
191 schema_builder.GetBufferPointer(), in AddTestEntitySchemaData()
192 schema_builder.GetBufferPointer() + schema_builder.GetSize()); in AddTestEntitySchemaData()