Searched refs:old_schema (Results 1 – 4 of 4) sorted by relevance
/external/icing/icing/schema/ |
D | schema-util_test.cc | 681 SchemaProto old_schema = in TEST() local 710 old_schema, new_schema_with_optional, no_dependencies_map), in TEST() 716 SchemaProto old_schema = in TEST() local 746 old_schema, new_schema_with_required, no_dependencies_map), in TEST() 752 SchemaProto old_schema = in TEST() local 781 EXPECT_THAT(SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in TEST() 828 SchemaProto old_schema = in TEST() local 852 EXPECT_THAT(SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in TEST() 859 SchemaProto old_schema = in TEST() local 913 old_schema, new_schema, dependencies_map); in TEST() [all …]
|
D | schema-store.cc | 72 const SchemaProto& old_schema, const SchemaProto& new_schema) { in SchemaTypeIdsChanged() argument 76 for (int i = 0; i < old_schema.types_size(); ++i) { in SchemaTypeIdsChanged() 77 old_types_and_index.emplace(old_schema.types(i).schema_type(), i); in SchemaTypeIdsChanged() 339 const SchemaProto old_schema = *schema_proto_or.ValueOrDie(); in SetSchema() local 344 if (new_schema.SerializeAsString() == old_schema.SerializeAsString()) { in SetSchema() 351 SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in SetSchema() 383 SchemaTypeIdsChanged(old_schema, new_schema); in SetSchema()
|
D | schema-util.h | 155 const SchemaProto& old_schema, const SchemaProto& new_schema,
|
D | schema-util.cc | 432 const SchemaProto& old_schema, const SchemaProto& new_schema, in ComputeCompatibilityDelta() argument 441 for (const auto& old_type_config : old_schema.types()) { in ComputeCompatibilityDelta()
|