Home
last modified time | relevance | path

Searched refs:Schema (Results 1 – 25 of 599) sorted by relevance

12345678910>>...24

/external/libchrome/components/policy/core/common/
Dschema.h51 class Schema; variable
53 typedef std::vector<Schema> SchemaList;
63 class POLICY_EXPORT Schema {
69 Schema();
72 Schema(const Schema& schema);
74 ~Schema();
76 Schema& operator=(const Schema& schema);
81 static Schema Wrap(const internal::SchemaData* data);
86 static Schema Parse(const std::string& schema, std::string* error);
140 Schema schema() const;
[all …]
Dschema.cc152 class Schema::InternalStorage
287 Schema::InternalStorage::InternalStorage() { in InternalStorage()
290 Schema::InternalStorage::~InternalStorage() { in ~InternalStorage()
294 scoped_refptr<const Schema::InternalStorage> Schema::InternalStorage::Wrap( in Wrap()
310 scoped_refptr<const Schema::InternalStorage>
311 Schema::InternalStorage::ParseSchema(const base::DictionaryValue& schema, in ParseSchema()
372 re2::RE2* Schema::InternalStorage::CompileRegex( in CompileRegex()
385 void Schema::InternalStorage::DetermineStorageSizes( in DetermineStorageSizes()
468 bool Schema::InternalStorage::Parse(const base::DictionaryValue& schema, in Parse()
535 bool Schema::InternalStorage::ParseDictionary( in ParseDictionary()
[all …]
Dregistry_dict.h26 class Schema; variable
32 ConvertRegistryValue(const base::Value& value, const Schema& schema);
88 std::unique_ptr<base::Value> ConvertToJSON(const class Schema& schema) const;
Dregistry_dict.cc37 const Schema& schema) { in ConvertRegistryValue()
299 const Schema& schema) const { in ConvertToJSON()
308 Schema subschema = in ConvertToJSON()
309 schema.valid() ? schema.GetProperty(entry->first) : Schema(); in ConvertToJSON()
317 Schema subschema = in ConvertToJSON()
318 schema.valid() ? schema.GetProperty(entry->first) : Schema(); in ConvertToJSON()
328 Schema item_schema = schema.valid() ? schema.GetItems() : Schema(); in ConvertToJSON()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DProtobuf.java50 private final ConcurrentMap<Class<?>, Schema<?>> schemaCache =
51 new ConcurrentHashMap<Class<?>, Schema<?>>();
88 public <T> Schema<T> schemaFor(Class<T> messageType) { in schemaFor()
91 Schema<T> schema = (Schema<T>) schemaCache.get(messageType); in schemaFor()
95 Schema<T> previous = (Schema<T>) registerSchema(messageType, schema); in schemaFor()
106 public <T> Schema<T> schemaFor(T message) { in schemaFor()
118 public Schema<?> registerSchema(Class<?> messageType, Schema<?> schema) { in registerSchema()
133 public Schema<?> registerSchemaOverride(Class<?> messageType, Schema<?> schema) { in registerSchemaOverride()
145 for (Schema<?> schema : schemaCache.values()) { in getTotalSchemaSize()
DReader.java138 <T> T readMessageBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readMessageBySchemaWithCheck()
158 <T> T readGroupBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readGroupBySchemaWithCheck()
289 List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws IOException; in readMessageList()
309 List<T> target, Schema<T> targetType, ExtensionRegistryLite extensionRegistry) in readGroupList()
DWriter.java105 void writeMessage(int fieldNumber, Object value, Schema schema) throws IOException; in writeMessage()
121 void writeGroup(int fieldNumber, Object value, Schema schema) throws IOException; in writeGroup()
191 void writeMessageList(int fieldNumber, List<?> value, Schema schema) throws IOException; in writeMessageList()
207 void writeGroupList(int fieldNumber, List<?> value, Schema schema) throws IOException; in writeGroupList()
/external/perfetto/src/trace_processor/sqlite/
Ddb_sqlite_table.h48 virtual Table::Schema CreateSchema() = 0;
143 Table::Schema schema;
155 Table::Schema schema,
169 SqliteTable::Schema*) override final;
176 static SqliteTable::Schema ComputeSchema(const Table::Schema&,
178 static void ModifyConstraints(const Table::Schema&, QueryConstraints*);
179 static void BestIndex(const Table::Schema&,
185 static QueryCost EstimateCost(const Table::Schema&,
191 Table::Schema schema_;
Dsqlite_table.cc186 SqliteTable::Schema::Schema(std::vector<Column> columns, in Schema() function in perfetto::trace_processor::SqliteTable::Schema
197 SqliteTable::Schema::Schema() = default;
198 SqliteTable::Schema::Schema(const Schema&) = default;
199 SqliteTable::Schema& SqliteTable::Schema::operator=(const Schema&) = default;
201 std::string SqliteTable::Schema::ToCreateTableStmt() const { in ToCreateTableStmt()
Dsqlite_table.h131 class Schema {
133 Schema();
134 Schema(std::vector<Column>, std::vector<size_t> primary_keys);
137 Schema(const Schema&);
138 Schema& operator=(const Schema& t);
220 Schema schema;
323 virtual util::Status Init(int argc, const char* const* argv, Schema*) = 0;
340 const Schema& schema() const { return schema_; } in schema()
364 Schema schema_;
Ddb_sqlite_table.cc98 Table::Schema schema, in RegisterTable()
109 Table::Schema schema = generator->CreateSchema(); in RegisterTable()
123 util::Status DbSqliteTable::Init(int, const char* const*, Schema* schema) { in Init()
128 SqliteTable::Schema DbSqliteTable::ComputeSchema(const Table::Schema& schema, in ComputeSchema()
140 [](const Table::Schema::Column& c) { return c.name == "id"; }); in ComputeSchema()
150 return Schema(std::move(schema_cols), std::move(primary_keys)); in ComputeSchema()
168 void DbSqliteTable::BestIndex(const Table::Schema& schema, in BestIndex()
194 void DbSqliteTable::ModifyConstraints(const Table::Schema& schema, in ModifyConstraints()
249 const Table::Schema& schema, in EstimateCost()
/external/libtextclassifier/native/actions/
Dlua-ranker.h33 const reflection::Schema* entity_data_schema,
34 const reflection::Schema* annotations_entity_data_schema,
42 const reflection::Schema* actions_entity_data_schema, in ActionsSuggestionsLuaRanker()
43 const reflection::Schema* annotations_entity_data_schema, in ActionsSuggestionsLuaRanker()
58 const reflection::Schema* actions_entity_data_schema_;
59 const reflection::Schema* annotations_entity_data_schema_;
Dlua-actions.h36 const reflection::Schema* actions_entity_data_schema,
37 const reflection::Schema* annotations_entity_data_schema);
47 const reflection::Schema* actions_entity_data_schema,
48 const reflection::Schema* annotations_entity_data_schema);
68 const reflection::Schema* actions_entity_data_schema_;
69 const reflection::Schema* annotations_entity_data_schema_;
Dlua-actions.cc60 const reflection::Schema* actions_entity_data_schema, in CreateLuaActionsSuggestions()
61 const reflection::Schema* annotations_entity_data_schema) { in CreateLuaActionsSuggestions()
79 const reflection::Schema* actions_entity_data_schema, in LuaActionsSuggestions()
80 const reflection::Schema* annotations_entity_data_schema) in LuaActionsSuggestions()
/external/libtextclassifier/native/utils/
Dlua-utils.h210 void PushFlatbuffer(const reflection::Schema* schema, in PushFlatbuffer()
316 const reflection::Schema* entity_data_schema) const;
319 const reflection::Schema* entity_data_schema) const;
321 const reflection::Schema* entity_data_schema) const;
325 const reflection::Schema* entity_data_schema) const { in PushAnnotations()
345 const reflection::Schema* entity_data_schema) const;
347 const reflection::Schema* entity_data_schema) const;
353 const reflection::Schema* entity_data_schema) const;
355 const reflection::Schema* entity_data_schema,
358 const reflection::Schema* entity_data_schema) const;
[all …]
Dlua-utils.cc70 void LuaEnvironment::PushFlatbuffer(const reflection::Schema* schema, in PushFlatbuffer()
77 int LuaEnvironment::GetField(const reflection::Schema* schema, in GetField()
383 const reflection::Schema* entity_data_schema) const { in PushAnnotation()
407 const reflection::Schema* entity_data_schema) const { in PushAnnotation()
415 const reflection::Schema* entity_data_schema) const { in PushAnnotation()
433 const reflection::Schema* entity_data_schema) const { in PushAnnotatedSpan()
449 const reflection::Schema* entity_data_schema) const { in PushAnnotatedSpans()
480 const reflection::Schema* entity_data_schema, in ReadAnnotations()
506 const reflection::Schema* entity_data_schema) const { in ReadAnnotation()
526 const reflection::Schema* entity_data_schema) const { in ReadClassificationResult()
[all …]
Dflatbuffers.h151 ReflectiveFlatbuffer(const reflection::Schema* schema, in ReflectiveFlatbuffer()
246 const reflection::Schema* const schema_;
274 explicit ReflectiveFlatbufferBuilder(const reflection::Schema* schema) in ReflectiveFlatbufferBuilder()
286 const reflection::Schema* const schema_;
293 RepeatedField(const reflection::Schema* const schema, in RepeatedField()
336 const reflection::Schema* const schema_;
420 bool SwapFieldNamesForOffsetsInPath(const reflection::Schema* schema,
/external/v8/src/inspector/
Dv8-schema-agent-impl.h20 class V8SchemaAgentImpl : public protocol::Schema::Backend {
27 std::unique_ptr<protocol::Array<protocol::Schema::Domain>>*) override;
31 protocol::Schema::Frontend m_frontend;
Dv8-inspector-session-impl.cc78 protocol::Schema::Metainfo::commandPrefix); in canDispatchMethod()
135 this, this, agentState(protocol::Schema::Metainfo::domainName))); in V8InspectorSessionImpl()
136 protocol::Schema::Dispatcher::wire(&m_dispatcher, m_schemaAgent.get()); in V8InspectorSessionImpl()
387 std::vector<std::unique_ptr<protocol::Schema::API::Domain>>
389 std::vector<std::unique_ptr<protocol::Schema::Domain>> domains = in supportedDomains()
391 std::vector<std::unique_ptr<protocol::Schema::API::Domain>> result; in supportedDomains()
397 std::vector<std::unique_ptr<protocol::Schema::Domain>>
399 std::vector<std::unique_ptr<protocol::Schema::Domain>> result; in supportedDomainsImpl()
400 result.push_back(protocol::Schema::Domain::create() in supportedDomainsImpl()
404 result.push_back(protocol::Schema::Domain::create() in supportedDomainsImpl()
[all …]
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_counter_dur_generator.cc27 Table::Schema ExperimentalCounterDurGenerator::CreateSchema() { in CreateSchema()
28 Table::Schema schema = tables::CounterTable::Schema(); in CreateSchema()
30 Table::Schema::Column{"dur", SqlValue::Type::kLong, false /* is_id */, in CreateSchema()
/external/libtextclassifier/native/utils/intents/
Dintent-generator.h40 const reflection::Schema* annotations_entity_data_schema,
49 const reflection::Schema* annotations_entity_data_schema,
50 const reflection::Schema* actions_entity_data_schema,
/external/flatbuffers/include/flatbuffers/
Dregistry.h33 Schema schema; in Register()
114 struct Schema { struct
122 std::map<std::string, Schema> schemas_; argument
Dreflection_generated.h27 struct Schema;
1013 struct Schema FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1065 fbb_.AddOffset(Schema::VT_OBJECTS, objects); in add_objects()
1068 fbb_.AddOffset(Schema::VT_ENUMS, enums); in add_enums()
1071 fbb_.AddOffset(Schema::VT_FILE_IDENT, file_ident); in add_file_ident()
1074 fbb_.AddOffset(Schema::VT_FILE_EXT, file_ext); in add_file_ext()
1077 fbb_.AddOffset(Schema::VT_ROOT_TABLE, root_table); in add_root_table()
1080 fbb_.AddOffset(Schema::VT_SERVICES, services); in add_services()
1087 flatbuffers::Offset<Schema> Finish() { in Finish()
1089 auto o = flatbuffers::Offset<Schema>(end); in Finish()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DExperimentalSerializationUtil.java51 public static <T> byte[] toByteArray(T msg, Schema<T> schema) throws IOException { in toByteArray()
90 Schema<T> schema = Protobuf.getInstance().schemaFor(messageType); in fromByteArray()
104 Schema<T> schema = Protobuf.getInstance().schemaFor(messageType); in fromByteArrayFastPath()
/external/perfetto/src/trace_processor/tables/
Dmacros_internal.h250 schema.columns.emplace_back(Table::Schema::Column{ \
400 static Table::Schema Schema() { \
401 Table::Schema schema; \
402 schema.columns.emplace_back(Table::Schema::Column{ \
404 schema.columns.emplace_back(Table::Schema::Column{ \

12345678910>>...24