Home
last modified time | relevance | path

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

/external/libtextclassifier/native/actions/
Dtest-utils.cc27 flatbuffers::FlatBufferBuilder schema_builder; in TestEntityDataSchema() local
30 schema_builder, in TestEntityDataSchema()
31 /*name=*/schema_builder.CreateString("greeting"), in TestEntityDataSchema()
33 reflection::CreateType(schema_builder, in TestEntityDataSchema()
38 schema_builder, in TestEntityDataSchema()
39 /*name=*/schema_builder.CreateString("location"), in TestEntityDataSchema()
41 reflection::CreateType(schema_builder, in TestEntityDataSchema()
46 schema_builder, in TestEntityDataSchema()
47 /*name=*/schema_builder.CreateString("person"), in TestEntityDataSchema()
49 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 …]
/external/libtextclassifier/native/utils/testing/
Dannotator.cc134 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()
[all …]
/external/llvm-project/lldb/source/Target/
DTraceSessionFileParser.cpp68 std::ostringstream schema_builder; in BuildSchema() local
69 schema_builder << "{\n \"trace\": "; in BuildSchema()
70 schema_builder << plugin_schema.data() << ","; in BuildSchema()
71 schema_builder << R"( in BuildSchema()
96 return schema_builder.str(); in BuildSchema()