HomeSort by relevance Sort by last modified time
    Searched refs:schema (Results 1 - 25 of 167) sorted by null

1 2 3 4 5 6 7

  /external/flatbuffers/src/
idl_gen_fbs.cpp 46 auto &schema = *_schema; local
47 schema += "namespace ";
50 if (it != name_space.components.begin()) schema += ".";
51 schema += *it;
53 schema += ";\n\n";
56 // Generate a flatbuffer schema from the Parser's internal representation.
68 std::string schema; local
69 schema += "// Generated from " + file_name + ".proto\n\n";
80 schema += "include \"" + basename + ".fbs\";\n";
83 if (num_includes) schema += "\n"
    [all...]
  /external/python/google-api-python-client/googleapiclient/
schema.py 15 """Schema processing for discovery based APIs
17 Schemas holds an APIs discovery schemas. It can return those schema as
19 conform to the schema.
21 For example, given the schema:
23 schema = \"\"\"{
45 s = Schemas(schema)
57 The constructor takes a discovery document in which to look up named schema.
79 out the named schema.
88 """Get pretty printed object prototype from the schema name.
91 name: string, Name of schema in the discovery document
    [all...]
  /external/flatbuffers/include/flatbuffers/
registry.h 25 // Simply pre-populate it with all schema filenames that may be in use, and
27 // schema.
33 Schema schema; local
34 schema.path_ = schema_path;
35 schemas_[file_identifier] = schema;
50 // Load and parse the schema.
66 // Load and parse the schema.
90 // Find the schema, if not, exit.
97 auto &schema = it->second local
    [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...]
  /external/deqp-deps/SPIRV-Tools/source/
spirv_definition.h 29 uint32_t schema; // NOTE: Reserved member in struct:spv_header_t
  /external/swiftshader/third_party/SPIRV-Tools/source/
spirv_definition.h 29 uint32_t schema; // NOTE: Reserved member in struct:spv_header_t
  /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...]
  /external/python/google-api-python-client/apiclient/
__init__.py 19 from googleapiclient import schema
31 'schema': schema,
  /build/soong/xml/
xml.go 25 // It also optionally validates the xml file against the schema.
40 Command: `$XmlLintCmd --schema $xsd $in > /dev/null && touch -a $out`,
61 Schema *string `android:"path"`
81 if p.properties.Schema != nil {
82 schema := android.PathForModuleSrc(ctx, proptools.String(p.properties.Schema))
84 switch schema.Ext() {
91 Implicit: schema,
93 "dtd": schema.String(),
103 Implicit: schema,
    [all...]
  /external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/
ignite_dataset_ops.cc 26 Status SchemaToTypes(const std::vector<int32>& schema, DataTypeVector* dtypes) {
27 for (auto e : schema) {
47 return errors::Unknown("Unexpected type in schema [type_id=", e, "]");
54 Status SchemaToShapes(const std::vector<int32>& schema,
56 for (auto e : schema) {
62 return errors::Unknown("Unexpected type in schema [type_id=", e, "]");
157 OP_REQUIRES_OK(ctx, ctx->input("schema", &schema_tensor));
159 errors::InvalidArgument("`schema` must be a vector."));
161 std::vector<int32> schema; variable
162 schema.reserve(schema_tensor->NumElements())
    [all...]
  /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/perfetto/src/trace_processor/
slice_table.cc 56 size_t name_index = schema().ColumnIndexFromName("name");
57 size_t cat_index = schema().ColumnIndexFromName("cat");
58 size_t ref_type_index = schema().ColumnIndexFromName("ref_type");
  /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...]
  /external/python/google-api-python-client/tests/
test_schema.py 15 """Unit tests for googleapiclient.schema."""
24 from googleapiclient.schema import Schemas
  /external/python/apitools/apitools/gen/
message_registry.py 219 def __DeclareMessageAlias(self, schema, alias_for):
220 """Declare schema as an alias for alias_for."""
223 message.name = self.__names.ClassName(schema['id'])
230 def __AddAdditionalProperties(self, message, schema, properties):
232 additional_properties_info = schema['additionalProperties']
253 def AddDescriptorFromSchema(self, schema_name, schema):
254 """Add a new MessageDescriptor named schema_name based on schema."""
258 if schema.get('enum'):
259 self.__DeclareEnum(schema_name, schema)
261 if schema.get('type') == 'any'
    [all...]
  /external/libtextclassifier/utils/
lua-utils.cc 74 const reflection::Schema *schema,
80 lua_pushlightuserdata(state, AsUserData(schema));
90 const reflection::Schema *schema = local
91 FromUpValue<reflection::Schema *>(kSchemaArgId, state);
96 return GetField(schema, type, table, state);
99 int LuaEnvironment::GetField(const reflection::Schema *schema,
151 schema->objects()->Get(field->type()->index())
    [all...]

Completed in 802 milliseconds

1 2 3 4 5 6 7