Home
last modified time | relevance | path

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

/external/icing/icing/schema/
Dschema-util_test.cc681 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 …]
Dschema-store.cc72 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()
Dschema-util.h155 const SchemaProto& old_schema, const SchemaProto& new_schema,
Dschema-util.cc432 const SchemaProto& old_schema, const SchemaProto& new_schema, in ComputeCompatibilityDelta() argument
441 for (const auto& old_type_config : old_schema.types()) { in ComputeCompatibilityDelta()