Home
last modified time | relevance | path

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

12345678910

/external/flatbuffers/src/
Didl_gen_fbs.cpp45 auto &schema = *_schema; in GenNameSpace() local
46 schema += "namespace "; in GenNameSpace()
49 if (it != name_space.components.begin()) schema += "."; in GenNameSpace()
50 schema += *it; in GenNameSpace()
52 schema += ";\n\n"; in GenNameSpace()
68 std::string schema; in GenerateFBS() local
69 schema += "// Generated from " + file_name + ".proto\n\n"; in GenerateFBS()
78 schema += "include \"" + basename + ".fbs\";\n"; in GenerateFBS()
82 if (num_includes) schema += "\n"; in GenerateFBS()
90 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()
162 ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, in ResizeContext() argument
165 : schema_(schema), startptr_(flatbuf->data() + start), in ResizeContext()
174 ResizeTable(root_table ? *root_table : *schema.root_table(), root); in ResizeContext()
291 void SetString(const reflection::Schema &schema, const std::string &val, in SetString() argument
302 ResizeContext(schema, start, delta, flatbuf, root_table); in SetString()
311 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, in ResizeAnyVector() argument
[all …]
/external/libxml2/
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 …]
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-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 …]
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/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,
128 the schema. There are situations, however, where this may be
181 When using the `flatc` compiler to generate code for schema definitions,
194 needs you to know its schema to parse it correctly. But if you
205 You can specify in a schema, similar to `root_type`, that you intend
213 For any schema that has such an identifier, `flatc` will automatically
[all …]
/external/skia/infra/bots/recipe_modules/builder_name_schema/
Dbuilder_name_schema.py74 schema = BUILDER_NAME_SCHEMA.get(role)
75 if not schema:
80 if not k in schema:
81 raise ValueError('Schema does not contain "%s": %s' %(k, schema))
86 name_parts.extend([kwargs[attribute] for attribute in schema])
/external/flatbuffers/include/flatbuffers/
Dreflection.h44 const reflection::Schema &schema) { in GetTypeSizeInline() argument
46 schema.objects()->Get(type_index)->is_struct()) { in GetTypeSizeInline()
47 return schema.objects()->Get(type_index)->bytesize(); in GetTypeSizeInline()
135 const reflection::Schema *schema,
160 const reflection::Schema *schema) { in GetAnyFieldS() argument
162 return field_ptr ? GetAnyValueS(field.type()->base_type(), field_ptr, schema, in GetAnyFieldS()
358 const reflection::Schema &schema, const reflection::Object &parent, in GetUnionType() argument
360 auto enumdef = schema.enums()->Get(unionfield.type()->index()); in GetUnionType()
375 void SetString(const reflection::Schema &schema, const std::string &val,
384 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize,
[all …]
/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/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))
DvalidSchemas.py20 schema="""<?xml version="1.0" encoding="iso-8859-1"?> variable
50 ctxt_parser = libxml2.schemaNewMemParserCtxt(schema, len(schema))
DvalidRNG.py20 schema="""<?xml version="1.0"?> variable
42 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
Dreader6.py14 schema="""<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" variable
37 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
/external/flatbuffers/tests/
Dtest.cpp473 auto &schema = *reflection::GetSchema(bfbsfile.c_str()); in ReflectionTest() local
474 auto root_table = schema.root_table(); in ReflectionTest()
492 auto pos_table_ptr = schema.objects()->Get(pos_field_ptr->type()->index()); in ReflectionTest()
500 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), flatbuf, length), in ReflectionTest()
512 auto hp_string = flatbuffers::GetAnyFieldS(root, hp_field, &schema); in ReflectionTest()
524 auto test3_object = schema.objects()->Get(test3_field->type()->index()); in ReflectionTest()
546 TEST_EQ(flatbuffers::Verify(schema, *schema.root_table(), flatbuf, length), in ReflectionTest()
562 SetString(schema, "totally new string", GetFieldS(**rroot, name_field), in ReflectionTest()
571 flatbuffers::ResizeVector<uint8_t>(schema, 110, 50, *rinventory, in ReflectionTest()
590 schema, 3, 0, *rtestarrayofstring, &resizingbuf); in ReflectionTest()
[all …]
/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/include/libxml/
Drelaxng.h159 xmlRelaxNGFree (xmlRelaxNGPtr schema);
163 xmlRelaxNGPtr schema);
166 xmlRelaxNGPtr schema);
185 xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema);

12345678910