/external/icing/icing/testing/ |
D | schema-generator.h | 61 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()
|
D | document-generator.h | 88 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/ |
D | schema-util.cc | 213 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()
|
D | schema-store.cc | 201 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()
|
D | section-manager_test.cc | 166 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()
|
D | schema-util.h | 117 const SchemaTypeConfigProto& type_config);
|
D | section-manager.cc | 142 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/ |
D | query-processor_benchmark.cc | 120 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/ |
D | schema-builder.h | 79 SchemaTypeConfigBuilder(SchemaTypeConfigProto type_config) in SchemaTypeConfigBuilder() argument 80 : type_config_(std::move(type_config)) {} in SchemaTypeConfigBuilder()
|
D | icing-search-engine_test.cc | 3677 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/ |
D | document-validator.cc | 73 const SchemaTypeConfigProto* type_config = in Validate() local 78 SchemaUtil::ParsePropertyConfigs(*type_config); in Validate()
|
/external/icing/icing/scoring/ |
D | score-and-rank_benchmark.cc | 71 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/ |
D | index-processor_benchmark.cc | 71 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()
|