Home
last modified time | relevance | path

Searched refs:schema_ (Results 1 – 16 of 16) sorted by relevance

/external/icing/icing/schema/
Dschema-store_test.cc70 schema_ = in SchemaStoreTest()
87 SchemaProto schema_; member in icing::lib::__anon3b2434680111::SchemaStoreTest
106 EXPECT_THAT(schema_store->SetSchema(schema_), in TEST_F()
110 EXPECT_THAT(*actual_schema, EqualsProto(schema_)); in TEST_F()
141 EXPECT_THAT(schema_store->SetSchema(schema_), in TEST_F()
145 EXPECT_THAT(*actual_schema, EqualsProto(schema_)); in TEST_F()
165 EXPECT_THAT(*actual_schema, EqualsProto(schema_)); in TEST_F()
178 EXPECT_THAT(schema_store->SetSchema(schema_), in TEST_F()
182 EXPECT_THAT(*actual_schema, EqualsProto(schema_)); in TEST_F()
205 EXPECT_THAT(*actual_schema, EqualsProto(schema_)); in TEST_F()
[all …]
/external/icing/icing/
Dschema-builder.h110 SchemaBuilder(SchemaProto schema) : schema_(std::move(schema)) {} in SchemaBuilder()
113 *schema_.add_types() = std::move(type); in AddType()
117 *schema_.add_types() = type_builder.Build(); in AddType()
121 SchemaProto Build() { return std::move(schema_); } in Build()
124 SchemaProto schema_;
/external/libtextclassifier/native/utils/
Dlua-utils_test.cc42 : schema_(GetTestFileContent("utils/lua_utils_tests.bfbs")), in LuaUtilsTest()
43 flatbuffer_builder_(schema_.get()) { in LuaUtilsTest()
60 OwnedFlatbuffer<reflection::Schema, std::string> schema_; member in libtextclassifier3::__anonb2a36c110111::LuaUtilsTest
114 PushFlatbuffer(schema_.get(), in TEST_F()
169 PushFlatbuffer(schema_.get(), in TEST_F()
254 PushFlatbuffer(schema_.get(), in TEST_F()
344 PushFlatbuffer(schema_.get(), flatbuffers::GetRoot<flatbuffers::Table>( in TEST_F()
369 PushFlatbuffer(schema_.get(), flatbuffers::GetRoot<flatbuffers::Table>( in TEST_F()
376 PushFlatbuffer(schema_.get(), flatbuffers::GetRoot<flatbuffers::Table>( in TEST_F()
/external/icing/icing/testing/
Ddocument-generator.h46 : schema_(&schema), num_invocations_(0) {} in EvenDistributionTypeSelector()
48 return schema_->types(num_invocations_++ % schema_->types_size()); in operator()
52 const SchemaProto* schema_;
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc224 schema_(schema), in Reflection()
245 size_t total_size = schema_.GetObjectSize(); in SpaceUsedLong()
249 if (schema_.HasExtensionSet()) { in SpaceUsedLong()
345 if (schema_.IsDefaultInstance(message)) { in SpaceUsedLong()
636 if (schema_.HasHasbits()) { in Swap()
666 if (schema_.HasExtensionSet()) { in Swap()
847 if (!schema_.HasHasbits()) { in ClearField()
1034 if (schema_.IsDefaultInstance(message)) return; in ListFields()
1042 schema_.HasHasbits() ? GetHasBits(message) : nullptr; in ListFields()
1043 const uint32* const has_bits_indices = schema_.has_bit_indices_; in ListFields()
[all …]
Dmessage.cc153 return static_cast<char*>(msg) + r->schema_.GetFieldOffset(f); in GetOffset()
Dmessage.h879 const internal::ReflectionSchema schema_; variable
/external/libtextclassifier/native/utils/flatbuffers/
Dmutable.cc75 : schema_(schema), root_type_(TypeForName(schema, root_type)) {} in MutableFlatbufferBuilder()
83 return NewTable(TypeForName(schema_, table_name)); in NewTable()
88 if (type_id < 0 || type_id >= schema_->objects()->size()) { in NewTable()
92 return NewTable(schema_->objects()->Get(type_id)); in NewTable()
100 return std::make_unique<MutableFlatbuffer>(schema_, type); in NewTable()
145 Variant variant_value = ParseEnumValue(schema_, field->type(), value_name); in SetFromEnumValueName()
247 schema_, schema_->objects()->Get(field->type()->index()))))); in Mutable()
292 new RepeatedField(schema_, field)); in Repeated()
565 schema_, schema_->objects()->Get(field_->type()->index()))); in Add()
Dmutable.h70 : schema_(schema), type_(type) {} in MutableFlatbuffer()
196 const reflection::Schema* const schema_; variable
218 : schema_(schema), root_type_(schema->root_table()) {} in MutableFlatbufferBuilder()
239 const reflection::Schema* const schema_;
249 : schema_(schema), in RepeatedField()
297 const reflection::Schema* const schema_; variable
Dmutable_test.cc42 : schema_(LoadTestMetadata()), builder_(schema_.get()) {} in MutableFlatbufferTest()
45 OwnedFlatbuffer<reflection::Schema, std::string> schema_; member in libtextclassifier3::__anoneb9cc0de0111::MutableFlatbufferTest
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-section-restrict_test.cc69 schema_ = SchemaBuilder() in SetUp()
88 ICING_ASSERT_OK(schema_store_->SetSchema(schema_)); in SetUp()
107 SchemaProto schema_; member in icing::lib::__anon53d6ddb40111::DocHitInfoIteratorSectionRestrictTest
/external/perfetto/src/trace_processor/sqlite/
Ddb_sqlite_table.cc90 schema_(std::move(context.schema)), in DbSqliteTable()
124 *schema = ComputeSchema(schema_, name().c_str()); in Init()
156 BestIndex(schema_, static_table_->row_count(), qc, info); in BestIndex()
162 BestIndex(schema_, generator_->EstimateRowCount(), qc, info); in BestIndex()
190 ModifyConstraints(schema_, qc); in ModifyConstraints()
Dsqlite_table.h235 table->schema_ = std::move(schema);
340 const Schema& schema() const { return schema_; } in schema()
364 Schema schema_; variable
Ddb_sqlite_table.h191 Table::Schema schema_; variable
/external/flatbuffers/src/
Dreflection.cpp182 : schema_(schema), in ResizeContext()
249 ? schema_.objects()->Get(fielddef.type()->index()) in ResizeTable()
270 ? schema_.objects()->Get(fielddef.type()->index()) in ResizeTable()
284 ResizeTable(GetUnionType(schema_, objectdef, fielddef, *table), in ResizeTable()
302 const reflection::Schema &schema_; member in flatbuffers::ResizeContext
/external/grpc-grpc/doc/
DPROTOCOL-HTTP2.md45 * **Message-Type** → "grpc-message-type" {_type name for message schema_}