Home
last modified time | relevance | path

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

12345678910>>...15

/external/python/google-api-python-client/googleapiclient/
Dschema.py129 def _prettyPrintSchema(self, schema, seen=None, dent=0): argument
144 return _SchemaToStruct(schema, seen, dent=dent).to_str(self._prettyPrintByName)
146 def prettyPrintSchema(self, schema): argument
157 return self._prettyPrintSchema(schema, dent=1)[:-2]
173 def __init__(self, schema, seen, dent=0): argument
189 self.schema = schema
241 def _to_str_impl(self, schema): argument
250 stype = schema.get('type')
252 self.emitEnd('{', schema.get('description', ''))
254 if 'properties' in schema:
[all …]
Ddiscovery.py74 from googleapiclient.schema import Schemas
347 schema = Schemas(service)
384 resourceDesc=service, rootDesc=service, schema=schema)
458 def _fix_up_parameters(method_desc, root_desc, http_method, schema): argument
498 if not _methodProperties(method_desc, schema, 'request'):
550 def _fix_up_method_description(method_desc, root_desc, schema): argument
586 parameters = _fix_up_parameters(method_desc, root_desc, http_method, schema)
702 def createMethod(methodName, methodDesc, rootDesc, schema): argument
714 maxSize, mediaPathUrl) = _fix_up_method_description(methodDesc, rootDesc, schema)
736 _methodProperties(methodDesc, schema, 'response')):
[all …]
/external/flatbuffers/src/
Didl_gen_fbs.cpp46 auto &schema = *_schema; in GenNameSpace() local
47 schema += "namespace "; in GenNameSpace()
50 if (it != name_space.components.begin()) schema += "."; in GenNameSpace()
51 schema += *it; in GenNameSpace()
53 schema += ";\n\n"; in GenNameSpace()
68 std::string schema; in GenerateFBS() local
69 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()
92 GenNameSpace(*enum_def.defined_namespace, &schema, &last_namespace); in GenerateFBS()
[all …]
Dreflection.cpp65 const reflection::Schema *schema, int type_index) { in GetAnyValueS() argument
75 if (schema) { in GetAnyValueS()
79 auto &objectdef = *schema->objects()->Get(type_index); in GetAnyValueS()
91 auto val = GetAnyFieldS(*table_field, fielddef, schema); in GetAnyValueS()
169 ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, in ResizeContext() argument
172 : schema_(schema), in ResizeContext()
183 ResizeTable(root_table ? *root_table : *schema.root_table(), root); in ResizeContext()
299 void SetString(const reflection::Schema &schema, const std::string &val, in SetString() argument
310 ResizeContext(schema, start, delta, flatbuf, root_table); in SetString()
319 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/python/pyasn1/docs/source/pyasn1/
Dcontents.rst9 post-1995, revision (X.680) introduced some changes to the schema
14 As for ASN.1 schema language, pyasn1 package does
42 comprise a *schema* describing data structures of unbounded complexity.
60 ASN.1 schema can be "instantiated" by essentially putting some concrete value
61 into the type container. Such instantiated schema object can still be
62 used as a schema, but additionally it can play a role of a value in the
78 To tell instantiated schema object from just a schema, the *.isValue*
83 schema = RSAPublicKey()
85 # non-instantiated schema
86 assert schema.isValue == False
[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/python/apitools/apitools/gen/
Dmessage_registry.py219 def __DeclareMessageAlias(self, schema, alias_for): argument
223 message.name = self.__names.ClassName(schema['id'])
230 def __AddAdditionalProperties(self, message, schema, properties): argument
232 additional_properties_info = schema['additionalProperties']
253 def AddDescriptorFromSchema(self, schema_name, schema): argument
258 if schema.get('enum'):
259 self.__DeclareEnum(schema_name, schema)
261 if schema.get('type') == 'any':
262 self.__DeclareMessageAlias(schema, 'extra_types.JsonValue')
264 if schema.get('type') != 'object':
[all …]
Dservice_registry.py270 schema = {}
271 schema['id'] = self.__names.ClassName('%sRequest' % (
273 schema['type'] = 'object'
274 schema['properties'] = collections.OrderedDict()
287 schema['properties'][field_name] = field
291 if body_field_name in schema['properties']:
297 schema['properties'][body_field_name] = body_type
298 self.__message_registry.AddDescriptorFromSchema(schema['id'], schema)
299 return schema['id']
303 schema = {}
[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()
97 auto &schema = it->second; in LoadSchema() local
100 if (!LoadFile(schema.path_.c_str(), false, &schematext)) { in LoadSchema()
101 lasterror_ = "could not load schema: " + schema.path_; in LoadSchema()
107 schema.path_.c_str())) { in LoadSchema()
/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
91 foreach(schema ${flatbuffers_schemas})
92 get_filename_component(filename ${schema} NAME_WE)
93 # For each schema, do the things we requested.
101 -c ${schema}
102 DEPENDS ${FLATC_TARGET} ${schema} ${additional_dependencies}
111 COMMAND ${FLATC} -b --schema
[all …]
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/
Dignite_dataset_ops.cc26 Status SchemaToTypes(const std::vector<int32>& schema, DataTypeVector* dtypes) { in SchemaToTypes() argument
27 for (auto e : schema) { in SchemaToTypes()
54 Status SchemaToShapes(const std::vector<int32>& schema, in SchemaToShapes() argument
56 for (auto e : schema) { in SchemaToShapes()
161 std::vector<int32> schema; in MakeDataset() local
162 schema.reserve(schema_tensor->NumElements()); in MakeDataset()
164 schema.push_back(schema_tensor->flat<int32>()(i)); in MakeDataset()
182 OP_REQUIRES_OK(ctx, SchemaToTypes(schema, &dtypes)); in MakeDataset()
183 OP_REQUIRES_OK(ctx, SchemaToShapes(schema, &shapes)); in MakeDataset()
189 std::move(schema), std::move(permutation), std::move(dtypes), in MakeDataset()
/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:
52 if one is specified in the schema).
67 the schema file being parsed.
115 - `--gen-all` : Generate not just code for the current schema files, but
145 This may crash flatc given a mismatched schema.
160 - `--schema`: Serialize schemas instead of JSON (use with -b). This will
161 output a binary version of the specified schema that itself corresponds
[all …]
/external/libtextclassifier/utils/
Dlua-utils.cc74 const reflection::Schema *schema, in PushFlatbuffer() argument
80 lua_pushlightuserdata(state, AsUserData(schema)); in PushFlatbuffer()
90 const reflection::Schema *schema = in GetFieldCallback() local
96 return GetField(schema, type, table, state); in GetFieldCallback()
99 int LuaEnvironment::GetField(const reflection::Schema *schema, in GetField() argument
151 schema->objects()->Get(field->type()->index()); in GetField()
152 PushFlatbuffer(field->name()->c_str(), schema, field_type, field_table, in GetField()
254 void LuaEnvironment::PushFlatbuffer(const reflection::Schema *schema, in PushFlatbuffer() argument
256 PushFlatbuffer(schema->root_table()->name()->c_str(), schema, in PushFlatbuffer()
257 schema->root_table(), table, state_); in PushFlatbuffer()
/external/tensorflow/tensorflow/lite/tools/optimize/
DBUILD24 "//tensorflow/lite/schema:schema_fbs",
48 "//tensorflow/lite/schema:schema_fbs",
65 "//tensorflow/lite/schema:schema_fbs",
90 "//tensorflow/lite/schema:schema_fbs",
106 "//tensorflow/lite/schema:schema_fbs",
148 "//tensorflow/lite/schema:schema_fbs",
162 "//tensorflow/lite/schema:schema_fbs",
187 "//tensorflow/lite/schema:schema_fbs",
/external/tensorflow/tensorflow/lite/toco/tflite/
DBUILD31 "//tensorflow/lite/schema:schema_fbs",
64 "//tensorflow/lite/schema:schema_fbs",
94 "//tensorflow/lite/schema:schema_fbs",
111 "//tensorflow/lite/schema:schema_fbs",
129 "//tensorflow/lite/schema:schema_fbs",
146 "//tensorflow/lite/schema:schema_fbs",
/external/tensorflow/tensorflow/core/summary/
DBUILD16 name = "schema",
17 srcs = ["schema.cc"],
18 hdrs = ["schema.h"],
31 ":schema",
58 ":schema",
119 ":schema",
/external/tensorflow/tensorflow/lite/schema/
DBUILD63 # Generic schema for inference on device.
66 srcs = ["schema.fbs"],
69 # Generic schema for inference on device (but with reflections makes bigger).
72 srcs = ["schema.fbs"],
89 "schema.fbs",

12345678910>>...15