Home
last modified time | relevance | path

Searched refs:schema (Results 1 – 25 of 251) sorted by relevance

1234567891011

/external/flatbuffers/src/
Didl_gen_fbs.cpp47 auto &schema = *_schema; in GenNameSpace() local
48 schema += "namespace "; in GenNameSpace()
51 if (it != name_space.components.begin()) schema += "."; in GenNameSpace()
52 schema += *it; in GenNameSpace()
54 schema += ";\n\n"; in GenNameSpace()
69 std::string schema; in GenerateFBS() local
70 schema += "// Generated from " + file_name + ".proto\n\n"; in GenerateFBS()
80 schema += "include \"" + basename + ".fbs\";\n"; in GenerateFBS()
83 if (num_includes) schema += "\n"; in GenerateFBS()
91 GenNameSpace(*enum_def.defined_namespace, &schema, &last_namespace); in GenerateFBS()
[all …]
Dreflection.cpp63 const reflection::Schema *schema, int type_index) { in GetAnyValueS() argument
73 if (schema) { in GetAnyValueS()
77 auto &objectdef = *schema->objects()->Get(type_index); in GetAnyValueS()
89 auto val = GetAnyFieldS(*table_field, fielddef, schema); in GetAnyValueS()
165 ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, in ResizeContext() argument
168 : schema_(schema), startptr_(vector_data(*flatbuf) + start), in ResizeContext()
177 ResizeTable(root_table ? *root_table : *schema.root_table(), root); in ResizeContext()
294 void SetString(const reflection::Schema &schema, const std::string &val, in SetString() argument
305 ResizeContext(schema, start, delta, flatbuf, root_table); in SetString()
314 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, in ResizeAnyVector() argument
[all …]
/external/libxml2/
Dcheck-relaxng-test-suite2.py57 def handle_valid(node, schema): argument
88 ctxt = schema.relaxNGNewValidCtxt()
110 def handle_invalid(node, schema): argument
141 ctxt = schema.relaxNGNewValidCtxt()
170 schema = ""
174 schema = schema + child.serialize()
178 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
184 log.write(schema)
196 schema = ""
200 schema = schema + child.serialize()
[all …]
Dcheck-relaxng-test-suite.py70 def handle_valid(node, schema): argument
95 ctxt = schema.relaxNGNewValidCtxt()
111 def handle_invalid(node, schema): argument
135 ctxt = schema.relaxNGNewValidCtxt()
156 schema = ""
160 schema = schema + child.serialize()
164 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
170 log.write(schema)
182 schema = ""
186 schema = schema + child.serialize()
[all …]
Dcheck-xsddata-test-suite.py56 def handle_valid(node, schema): argument
87 ctxt = schema.relaxNGNewValidCtxt()
109 def handle_invalid(node, schema): argument
140 ctxt = schema.relaxNGNewValidCtxt()
168 schema = ""
172 schema = schema + child.serialize()
176 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
182 log.write(schema)
194 schema = ""
198 schema = schema + child.serialize()
[all …]
DtestRelax.c60 xmlRelaxNGPtr schema = NULL; in main() local
84 if (schema == NULL) { in main()
107 schema = xmlRelaxNGParse(ctxt); in main()
118 schema = xmlRelaxNGParse(ctxt); in main()
121 if (schema == NULL) { in main()
129 xmlRelaxNGDump(stdout, schema); in main()
132 xmlRelaxNGDumpTree(stdout, schema); in main()
145 ctxt = xmlRelaxNGNewValidCtxt(schema); in main()
166 if (schema != NULL) in main()
167 xmlRelaxNGFree(schema); in main()
DtestSchemas.c60 xmlSchemaPtr schema = NULL; in main() local
80 if (schema == NULL) { in main()
103 schema = xmlSchemaParse(ctxt); in main()
114 schema = xmlSchemaParse(ctxt); in main()
120 xmlSchemaDump(stdout, schema); in main()
123 if (schema == NULL) in main()
136 ctxt = xmlSchemaNewValidCtxt(schema); in main()
157 if (schema != NULL) in main()
158 xmlSchemaFree(schema); in main()
Dschematron.c163 xmlSchematronPtr schema; member
194 xmlSchematronPtr schema; member
391 xmlSchematronAddRule(xmlSchematronParserCtxtPtr ctxt, xmlSchematronPtr schema, in xmlSchematronAddRule() argument
398 if ((ctxt == NULL) || (schema == NULL) || (node == NULL) || in xmlSchematronAddRule()
425 if (schema->rules == NULL) { in xmlSchematronAddRule()
426 schema->rules = ret; in xmlSchematronAddRule()
428 xmlSchematronRulePtr prev = schema->rules; in xmlSchematronAddRule()
485 xmlSchematronPtr schema, xmlNodePtr node, xmlChar *name) in xmlSchematronAddPattern() argument
489 if ((ctxt == NULL) || (schema == NULL) || (node == NULL) || (name == NULL)) in xmlSchematronAddPattern()
500 if (schema->patterns == NULL) { in xmlSchematronAddPattern()
[all …]
Dxmlschemas.c305 #define WXS_SCHEMA(ctx) (ctx)->schema
447 xmlSchemaPtr schema; member
610 xmlSchemaPtr schema; /* The main schema in use */ member
979 xmlSchemaPtr schema; /* The schema in use */ member
1065 xmlSchemaPtr schema,
1068 xmlSchemaPtr schema,
1076 xmlSchemaParseImport(xmlSchemaParserCtxtPtr ctxt, xmlSchemaPtr schema,
1086 xmlSchemaParseModelGroup(xmlSchemaParserCtxtPtr ctxt, xmlSchemaPtr schema,
1109 xmlSchemaPtr schema,
3562 if (WXS_IMPBUCKET(bucket)->schema != NULL) in xmlSchemaBucketFree()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DUtils.java161 static boolean isInternalProperty(String schema, String prop) in isInternalProperty() argument
165 if (NS_DC.equals(schema)) in isInternalProperty()
172 else if (NS_XMP.equals(schema)) in isInternalProperty()
181 else if (NS_PDF.equals(schema)) in isInternalProperty()
190 else if (NS_TIFF.equals(schema)) in isInternalProperty()
199 else if (NS_EXIF.equals(schema)) in isInternalProperty()
207 else if (NS_EXIF_AUX.equals(schema)) in isInternalProperty()
211 else if (NS_PHOTOSHOP.equals(schema)) in isInternalProperty()
218 else if (NS_CAMERARAW.equals(schema)) in isInternalProperty()
226 else if (NS_ADOBESTOCKPHOTO.equals(schema)) in isInternalProperty()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTElementDef.java55 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, in XSLTElementDef() argument
66 schema.addAvailableElement(new QName(namespace, name)); in XSLTElementDef()
68 schema.addAvailableElement(new QName(namespace, nameAlias)); in XSLTElementDef()
84 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, in XSLTElementDef() argument
96 schema.addAvailableElement(new QName(namespace, name)); in XSLTElementDef()
98 schema.addAvailableElement(new QName(namespace, nameAlias)); in XSLTElementDef()
116 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, in XSLTElementDef() argument
121 this(schema, namespace, name, nameAlias, in XSLTElementDef()
142 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, in XSLTElementDef() argument
148 this(schema, namespace, name, nameAlias, in XSLTElementDef()
[all …]
/external/flatbuffers/include/flatbuffers/
Dregistry.h33 Schema schema; in Register() local
34 schema.path_ = schema_path; in Register()
35 schemas_[file_identifier] = schema; in Register()
101 auto &schema = it->second; in LoadSchema() local
104 if (!LoadFile(schema.path_.c_str(), false, &schematext)) { in LoadSchema()
105 lasterror_ = "could not load schema: " + schema.path_; in LoadSchema()
111 schema.path_.c_str())) { in LoadSchema()
Dreflection.h53 const reflection::Schema &schema) { in GetTypeSizeInline() argument
55 schema.objects()->Get(type_index)->is_struct()) { in GetTypeSizeInline()
56 return schema.objects()->Get(type_index)->bytesize(); in GetTypeSizeInline()
156 const reflection::Schema *schema,
181 const reflection::Schema *schema) { in GetAnyFieldS() argument
183 return field_ptr ? GetAnyValueS(field.type()->base_type(), field_ptr, schema, in GetAnyFieldS()
391 const reflection::Schema &schema, const reflection::Object &parent, in GetUnionType() argument
393 auto enumdef = schema.enums()->Get(unionfield.type()->index()); in GetUnionType()
408 void SetString(const reflection::Schema &schema, const std::string &val,
417 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize,
[all …]
/external/flatbuffers/CMake/
DBuildFlatBuffers.cmake18 # flatbuffers_schemas: A list of flatbuffer schema files to process.
20 # schema_include_dirs: A list of schema file include directories, which will be
38 # binary_schemas_dir: If you specify an optional binary schema directory, binary
43 # all schema include directories) copied into a directory (for example, if you
89 foreach(schema ${flatbuffers_schemas})
90 get_filename_component(filename ${schema} NAME_WE)
91 # For each schema, do the things we requested.
99 -c ${schema}
100 DEPENDS ${FLATC_TARGET} ${schema} ${additional_dependencies})
108 COMMAND ${FLATC} -b --schema
[all …]
/external/flatbuffers/docs/source/
DCompiler.md1 Using the schema compiler {#flatbuffers_guide_using_schema_compiler}
11 the most recent schema specified.
14 FlatBuffer format conforming to the schema indicated before it.
19 For any schema input files, one or more generators can be specified:
42 if one is specified in the schema).
57 the schema file being parsed.
91 - `--gen-all`: Generate not just code for the current schema files, but
103 This may crash flatc given a mismatched schema.
112 - `--schema`: Serialize schemas instead of JSON (use with -b). This will
113 output a binary version of the specified schema that itself corresponds
[all …]
DSchemas.md1 Writing a schema {#flatbuffers_guide_writing_schema}
4 The syntax of the schema language (aka IDL, [Interface Definition Language][])
53 - You can add new fields in the schema ONLY at the end of a table
58 schema, you can manually assign ids (much like Protocol Buffers),
61 - You cannot delete fields you don't use anymore from the schema,
132 the schema. There are situations, however, where this may be
185 When using the `flatc` compiler to generate code for schema definitions,
198 needs you to know its schema to parse it correctly. But if you
209 You can specify in a schema, similar to `root_type`, that you intend
217 For any schema that has such an identifier, `flatc` will automatically
[all …]
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
DBUILD26 "//tensorflow/contrib/lite/schema:schema_fbs",
57 "//tensorflow/contrib/lite/schema:schema_fbs",
86 "//tensorflow/contrib/lite/schema:schema_fbs",
101 "//tensorflow/contrib/lite/schema:schema_fbs",
118 "//tensorflow/contrib/lite/schema:schema_fbs",
133 "//tensorflow/contrib/lite/schema:schema_fbs",
/external/skia/infra/bots/recipe_modules/builder_name_schema/
Dbuilder_name_schema.py78 schema = BUILDER_NAME_SCHEMA.get(role)
79 if not schema:
84 if not k in schema:
85 raise ValueError('Schema does not contain "%s": %s' %(k, schema))
90 name_parts.extend([kwargs[attribute] for attribute in schema])
/external/skqp/infra/bots/recipe_modules/builder_name_schema/
Dbuilder_name_schema.py78 schema = BUILDER_NAME_SCHEMA.get(role)
79 if not schema:
84 if not k in schema:
85 raise ValueError('Schema does not contain "%s": %s' %(k, schema))
90 name_parts.extend([kwargs[attribute] for attribute in schema])
/external/tensorflow/tensorflow/contrib/tensorboard/db/
DBUILD16 name = "schema",
17 srcs = ["schema.cc"],
18 hdrs = ["schema.h"],
31 ":schema",
58 ":schema",
118 ":schema",
/external/flatbuffers/android/jni/
Dinclude.mk218 $(foreach schema,$(1),\
220 $(schema),$(strip $(2)),$(strip $(3)),$(strip $(4))))\
223 $(foreach schema,$(strip $(1)),\
224 $(call flatbuffers_fbs_to_h,$(strip $(2)),$(strip $(3)),$(schema)))))\
226 $(foreach schema,$(strip $(1)),\
228 $(call flatbuffers_fbs_to_h,$(strip $(2)),$(strip $(3)),$(schema)))),)\
/external/tensorflow/tensorflow/contrib/lite/
Dbuild_def.bzl152 schema = "//tensorflow/contrib/lite/schema:schema.fbs"
155 srcs = [schema, src],
161 % (src, flatc, schema, out),
175 schema = "//tensorflow/contrib/lite/schema:schema_fbs"
178 srcs = [schema, src],
184 % (src, flatc, schema, out),
/external/libxml2/xstc/
Dxstc.py329 schema = None
333 schema = ctxt.schemaParse()
338 return schema
348 schema = None
357 schema = parseSchema(filePath)
359 if schema is None:
365 if (schema is None and self.val) or (schema is not None and self.val == 0):
367 if (schema == None):
374 self.group.setSchema(self.fileName, schema is not None)
375 del schema
[all …]
/external/libxml2/python/tests/
Dschema.py8 schema="""<?xml version="1.0" encoding="iso-8859-1"?> variable
30 ctxt_parser = libxml2.schemaNewMemParserCtxt(schema, len(schema))
Drelaxng.py8 schema="""<?xml version="1.0"?> variable
26 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))

1234567891011