Home
last modified time | relevance | path

Searched refs:schema_builder (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/actions/
Dtest_utils.cc25 flatbuffers::FlatBufferBuilder schema_builder; in TestEntityDataSchema() local
28 schema_builder, in TestEntityDataSchema()
29 /*name=*/schema_builder.CreateString("greeting"), in TestEntityDataSchema()
31 reflection::CreateType(schema_builder, in TestEntityDataSchema()
36 schema_builder, in TestEntityDataSchema()
37 /*name=*/schema_builder.CreateString("location"), in TestEntityDataSchema()
39 reflection::CreateType(schema_builder, in TestEntityDataSchema()
44 schema_builder, in TestEntityDataSchema()
45 /*name=*/schema_builder.CreateString("person"), in TestEntityDataSchema()
47 reflection::CreateType(schema_builder, in TestEntityDataSchema()
[all …]
Dlua-ranker_test.cc40 flatbuffers::FlatBufferBuilder schema_builder; in TestEntitySchema() local
43 schema_builder, in TestEntitySchema()
44 /*name=*/schema_builder.CreateString("test"), in TestEntitySchema()
46 reflection::CreateType(schema_builder, in TestEntitySchema()
53 schema_builder, in TestEntitySchema()
54 /*name=*/schema_builder.CreateString("EntityData"), in TestEntitySchema()
56 schema_builder.CreateVectorOfSortedTables(&fields))}; in TestEntitySchema()
57 schema_builder.Finish(reflection::CreateSchema( in TestEntitySchema()
58 schema_builder, schema_builder.CreateVectorOfSortedTables(&objects), in TestEntitySchema()
59 schema_builder.CreateVectorOfSortedTables(&enums), in TestEntitySchema()
[all …]