/external/icing/icing/schema/ |
D | schema-store_test.cc | 70 schema_ = in SchemaStoreTest() 87 SchemaProto schema_; member in icing::lib::__anon288335810111::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/ |
D | schema-builder.h | 110 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/ |
D | lua-utils_test.cc | 42 : 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::__anon8a7bb94a0111::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/ |
D | document-generator.h | 46 : 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/ |
D | generated_message_reflection.cc | 224 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 …]
|
D | message.cc | 153 return static_cast<char*>(msg) + r->schema_.GetFieldOffset(f); in GetOffset()
|
D | message.h | 879 const internal::ReflectionSchema schema_; variable
|
/external/libtextclassifier/native/utils/flatbuffers/ |
D | mutable.cc | 75 : 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()
|
D | mutable.h | 70 : 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
|
D | mutable_test.cc | 42 : schema_(LoadTestMetadata()), builder_(schema_.get()) {} in MutableFlatbufferTest() 45 OwnedFlatbuffer<reflection::Schema, std::string> schema_; member in libtextclassifier3::__anon059da9570111::MutableFlatbufferTest
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator-section-restrict_test.cc | 69 schema_ = SchemaBuilder() in SetUp() 88 ICING_ASSERT_OK(schema_store_->SetSchema(schema_)); in SetUp() 107 SchemaProto schema_; member in icing::lib::__anon1d49ad0d0111::DocHitInfoIteratorSectionRestrictTest
|
/external/perfetto/src/trace_processor/sqlite/ |
D | db_sqlite_table.cc | 90 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()
|
D | sqlite_table.h | 235 table->schema_ = std::move(schema); 340 const Schema& schema() const { return schema_; } in schema() 364 Schema schema_; variable
|
D | db_sqlite_table.h | 191 Table::Schema schema_; variable
|
/external/flatbuffers/src/ |
D | reflection.cpp | 182 : 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/ |
D | PROTOCOL-HTTP2.md | 45 * **Message-Type** → "grpc-message-type" {_type name for message schema_}
|