Home
last modified time | relevance | path

Searched refs:type_config (Results 1 – 13 of 13) sorted by relevance

/external/icing/icing/testing/
Dschema-generator.h61 void SetType(SchemaTypeConfigProto* type_config, std::string_view name, in SetType() argument
63 type_config->set_schema_type(name.data(), name.length()); in SetType()
66 (*type_config->add_properties()) = (*prop_generator_)(prop_name); in SetType()
92 void SetType(SchemaTypeConfigProto* type_config, std::string_view name, in SetType() argument
94 type_config->set_schema_type(name.data(), name.length()); in SetType()
97 (*type_config->add_properties()) = (*prop_generator_)(prop_name); in SetType()
Ddocument-generator.h88 const SchemaTypeConfigProto& type_config = (*schema_types_)(); in generateDoc() local
92 .SetSchema(type_config.schema_type()) in generateDoc()
101 type_config.properties_size(); in generateDoc()
102 for (const PropertyConfigProto& prop : type_config.properties()) { in generateDoc()
/external/icing/icing/schema/
Dschema-util.cc213 for (const auto& type_config : schema.types()) { in BuildTransitiveDependencyGraph() local
214 std::string_view schema_type(type_config.schema_type()); in BuildTransitiveDependencyGraph()
221 for (const auto& property_config : type_config.properties()) { in BuildTransitiveDependencyGraph()
264 for (const auto& type_config : schema.types()) { in Validate() local
265 std::string_view schema_type(type_config.schema_type()); in Validate()
271 for (const auto& property_config : type_config.properties()) { in Validate()
401 for (const SchemaTypeConfigProto& type_config : schema.types()) { in BuildTypeConfigMap() local
402 type_config_map->emplace(type_config.schema_type(), type_config); in BuildTypeConfigMap()
407 const SchemaTypeConfigProto& type_config) { in ParsePropertyConfigs() argument
412 for (const PropertyConfigProto& property_config : type_config.properties()) { in ParsePropertyConfigs()
Dschema-store.cc201 for (const SchemaTypeConfigProto& type_config : schema_proto->types()) { in InitializeDerivedFiles() local
203 type_config_map_.emplace(type_config.schema_type(), type_config); in InitializeDerivedFiles()
218 for (const SchemaTypeConfigProto& type_config : schema_proto->types()) { in RegenerateDerivedFiles() local
220 type_config_map_.emplace(type_config.schema_type(), type_config); in RegenerateDerivedFiles()
224 type_config.schema_type(), schema_type_mapper_->num_keys())); in RegenerateDerivedFiles()
Dsection-manager_test.cc166 SchemaTypeConfigProto type_config; in TEST_F() local
167 type_config.set_schema_type("type"); in TEST_F()
171 auto property = type_config.add_properties(); in TEST_F()
180 type_config_map.emplace("type", type_config); in TEST_F()
Dschema-util.h117 const SchemaTypeConfigProto& type_config);
Dsection-manager.cc142 const SchemaTypeConfigProto& type_config = name_and_type.second; in BuildSectionMetadataCache() local
144 ICING_RETURN_IF_ERROR(AssignSections(type_config, in BuildSectionMetadataCache()
/external/icing/icing/query/
Dquery-processor_benchmark.cc120 auto type_config = schema.add_types(); in BM_QueryOneTerm() local
121 type_config->set_schema_type("type1"); in BM_QueryOneTerm()
237 auto type_config = schema.add_types(); in BM_QueryFiveTerms() local
238 type_config->set_schema_type("type1"); in BM_QueryFiveTerms()
372 auto type_config = schema.add_types(); in BM_QueryDiacriticTerm() local
373 type_config->set_schema_type("type1"); in BM_QueryDiacriticTerm()
492 auto type_config = schema.add_types(); in BM_QueryHiragana() local
493 type_config->set_schema_type("type1"); in BM_QueryHiragana()
/external/icing/icing/
Dschema-builder.h79 SchemaTypeConfigBuilder(SchemaTypeConfigProto type_config) in SchemaTypeConfigBuilder() argument
80 : type_config_(std::move(type_config)) {} in SchemaTypeConfigBuilder()
Dicing-search-engine_test.cc3677 auto type_config = schema.add_types(); in TEST_F() local
3678 type_config->set_schema_type("message"); in TEST_F()
3680 auto property = type_config->add_properties(); in TEST_F()
3728 type_config = schema.add_types(); in TEST_F()
3729 type_config->set_schema_type("email"); in TEST_F()
3732 type_config = schema.add_types(); in TEST_F()
3733 type_config->set_schema_type("message"); in TEST_F()
3735 property = type_config->add_properties(); in TEST_F()
/external/icing/icing/util/
Ddocument-validator.cc73 const SchemaTypeConfigProto* type_config = in Validate() local
78 SchemaUtil::ParsePropertyConfigs(*type_config); in Validate()
/external/icing/icing/scoring/
Dscore-and-rank_benchmark.cc71 auto type_config = schema.add_types(); in CreateSchemaWithEmailType() local
72 type_config->set_schema_type("Email"); in CreateSchemaWithEmailType()
73 auto subject = type_config->add_properties(); in CreateSchemaWithEmailType()
/external/icing/icing/index/
Dindex-processor_benchmark.cc71 void CreateFakeTypeConfig(SchemaTypeConfigProto* type_config) { in CreateFakeTypeConfig() argument
72 type_config->set_schema_type("Fake_Type"); in CreateFakeTypeConfig()
75 auto property = type_config->add_properties(); in CreateFakeTypeConfig()