/system/media/camera/docs/ |
metadata-validate | 28 schema=$thisdir/metadata_properties.xsd 31 xmllint --noout --schema $schema $doc || exit 1
|
/external/flatbuffers/src/ |
idl_gen_fbs.cpp | 45 auto &schema = *_schema; local 46 schema += "namespace "; 49 if (it != name_space.components.begin()) schema += "."; 50 schema += *it; 52 schema += ";\n\n"; 55 // Generate a flatbuffer schema from the Parser's internal representation. 68 std::string schema; local 69 schema += "// Generated from " + file_name + ".proto\n\n"; 78 schema += "include \"" + basename + ".fbs\";\n"; 82 if (num_includes) schema += "\n" [all...] |
reflection.cpp | 63 const reflection::Schema *schema, int type_index) { 73 if (schema) { 77 auto &objectdef = *schema->objects()->Get(type_index); 89 auto val = GetAnyFieldS(*table_field, fielddef, schema); 158 // If your FlatBuffer's root table is not the schema's root table, you should 162 ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, 165 : schema_(schema), startptr_(flatbuf->data() + start), 174 ResizeTable(root_table ? *root_table : *schema.root_table(), root) [all...] |
/external/libxml2/python/tests/ |
schema.py | 8 schema="""<?xml version="1.0" encoding="iso-8859-1"?> 9 <schema xmlns = "http://www.w3.org/2001/XMLSchema"> 20 </schema>""" 30 ctxt_parser = libxml2.schemaNewMemParserCtxt(schema, len(schema)) 36 print("error doing schema validation")
|
relaxng.py | 8 schema="""<?xml version="1.0"?> 26 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
|
validSchemas.py | 20 schema="""<?xml version="1.0" encoding="iso-8859-1"?> 21 <schema xmlns = "http://www.w3.org/2001/XMLSchema"> 32 </schema>""" 50 ctxt_parser = libxml2.schemaNewMemParserCtxt(schema, len(schema)) 59 print("error doing schema validation") 67 print("Error: document supposer to be schema invalid")
|
reader6.py | 14 schema="""<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0" 37 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
|
validRNG.py | 20 schema="""<?xml version="1.0"?> 42 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema))
|
/external/libxml2/ |
check-relaxng-test-suite.py | 70 def handle_valid(node, schema): 95 ctxt = schema.relaxNGNewValidCtxt() 111 def handle_invalid(node, schema): 135 ctxt = schema.relaxNGNewValidCtxt() 156 schema = "" 160 schema = schema + child.serialize() 164 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema)) 169 log.write("\nFailed to compile correct schema:\n-----\n" [all...] |
check-relaxng-test-suite2.py | 57 def handle_valid(node, schema): 88 ctxt = schema.relaxNGNewValidCtxt() 110 def handle_invalid(node, schema): 141 ctxt = schema.relaxNGNewValidCtxt() 170 schema = "" 174 schema = schema + child.serialize() 178 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema)) 183 log.write("\nFailed to compile correct schema:\n-----\n" [all...] |
testRelax.c | 60 xmlRelaxNGPtr schema = NULL; local 84 if (schema == NULL) { 107 schema = xmlRelaxNGParse(ctxt); 118 schema = xmlRelaxNGParse(ctxt); 121 if (schema == NULL) { 122 printf("Relax-NG schema %s failed to compile\n", argv[i]); 129 xmlRelaxNGDump(stdout, schema); 132 xmlRelaxNGDumpTree(stdout, schema); 145 ctxt = xmlRelaxNGNewValidCtxt(schema); 166 if (schema != NULL [all...] |
testSchemas.c | 2 * testSchemas.c : a small tester program for Schema validation 60 xmlSchemaPtr schema = NULL; local 80 if (schema == NULL) { 103 schema = xmlSchemaParse(ctxt); 114 schema = xmlSchemaParse(ctxt); 120 xmlSchemaDump(stdout, schema); 123 if (schema == NULL) 136 ctxt = xmlSchemaNewValidCtxt(schema); 157 if (schema != NULL) 158 xmlSchemaFree(schema); [all...] |
check-xsddata-test-suite.py | 56 def handle_valid(node, schema): 87 ctxt = schema.relaxNGNewValidCtxt() 109 def handle_invalid(node, schema): 140 ctxt = schema.relaxNGNewValidCtxt() 168 schema = "" 172 schema = schema + child.serialize() 176 rngp = libxml2.relaxNGNewMemParserCtxt(schema, len(schema)) 181 log.write("\nFailed to compile correct schema:\n-----\n" [all...] |
schematron.c | 2 * schematron.c : implementation of the Schematron schema validity checking 130 const xmlChar *name; /* schema name */ 163 xmlSchematronPtr schema; member in struct:_xmlSchematronValidCtxt 194 xmlSchematronPtr schema; member in struct:_xmlSchematronParserCtxt 295 * @ctxt: the schema parsing context 333 xmlSchematronPErrMemory(ctxt, "allocating schema test", node); 380 * @ctxt: the schema parsing context 381 * @schema: a schema structure 391 xmlSchematronAddRule(xmlSchematronParserCtxtPtr ctxt, xmlSchematronPtr schema, 1750 xmlSchematronPtr schema = NULL; local [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Utils.java | 154 * @param schema 155 * a schema namespace 161 static boolean isInternalProperty(String schema, String prop) 165 if (NS_DC.equals(schema)) 172 else if (NS_XMP.equals(schema)) 181 else if (NS_PDF.equals(schema)) 190 else if (NS_TIFF.equals(schema)) 199 else if (NS_EXIF.equals(schema)) 207 else if (NS_EXIF_AUX.equals(schema)) 211 else if (NS_PHOTOSHOP.equals(schema)) [all...] |
/libcore/luni/src/main/java/javax/xml/validation/ |
SchemaFactory.java | 33 * Factory that creates {@link Schema} objects. Entry-point to 37 * {@link SchemaFactory} is a schema compiler. It reads external 53 * <h2><a name="schemaLanguage"></a>Schema Language</h2> 55 * This spec uses a namespace URI to designate a schema language. 59 * is only required to support W3C XML Schema 1.0. However, 60 * if it chooses to support other schema languages listed here, 64 * Schema languages not listed here are expected to 67 * implementations for other schema languages at run-time. 89 * <td><a href="http://www.w3.org/TR/xmlschema-1">W3C XML Schema 1.0</a></td> 118 * schema language and return it.</p [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/external/skia/infra/bots/recipe_modules/builder_name_schema/ |
builder_name_schema.py | 16 # The full schema. 38 """ Load the builder naming schema from the JSON file. """ 74 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/parameter-framework/upstream/tools/xmlValidator/ |
xmlValidator.py | 58 schema file we need. 64 str: the corresponding .schema name 73 Validates an .xml file based on his corresponding schema. 77 schemaFilePath (str): the absolute path to the schema. 84 schema = etree.XMLSchema(schemaContent) 88 if schema.validate(xmlContent): 91 PrintColor.error('Error: %s' % str(schema.error_log))
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
XSLTElementDef.java | 55 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, 66 schema.addAvailableElement(new QName(namespace, name)); 68 schema.addAvailableElement(new QName(namespace, nameAlias)); 84 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, 96 schema.addAvailableElement(new QName(namespace, name)); 98 schema.addAvailableElement(new QName(namespace, nameAlias)); 116 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, 121 this(schema, namespace, name, nameAlias, 142 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias, 148 this(schema, namespace, name, nameAlias [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/ |
spirv_definition.h | 62 uint32_t schema; // NOTE: Reserved member in struct:spv_header_t
|
/external/libxml2/include/libxml/ |
schematron.h | 98 xmlSchematronFree (xmlSchematronPtr schema); 129 xmlSchematronNewValidCtxt (xmlSchematronPtr schema,
|
/external/flatbuffers/android/jni/ |
include.mk | 25 # flatbuffers_fbs_to_h: Converts flatbuffer schema paths to header paths. 27 # Creates a build rule for a schema's generated header. This build rule 30 # Creates build rules for generated headers for each schema listed and sets 147 # Convert the specified schema path to a Flatbuffers generated header path. 162 # Generate a build rule that will convert a Flatbuffers schema to a generated 163 # header derived from the schema filename using flatbuffers_fbs_to_h. For 170 # the schema files depend on other schema files outside their own directory. 192 # $(1) schema_files: Space separated list of flatbuffer schema files. 218 $(foreach schema,$(1), [all...] |