/external/chromium_org/components/policy/tools/ |
generate_policy_source.py | 58 self.schema = policy.get('schema', {}) 83 self.schema = policy['schema'] 235 '// Returns the schema data of the Chrome policy schema.\n' 253 # A mapping of the simple schema types to base::Value::Types. 263 """Builds the internal structs to represent a JSON schema.""" 324 def SchemaHaveRestriction(self, schema): 325 return any(keyword in schema for keyword i [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...] |
/frameworks/base/test-runner/src/android/test/ |
DatabaseTestUtils.java | 33 * Compares the schema of two databases and asserts that they are equal. 34 * @param expectedDb the db that is known to have the correct schema 35 * @param db the db whose schema should be checked 39 Set<String> schema = getSchemaSet(db); local 40 MoreAsserts.assertEquals(expectedSchema, schema);
|
/external/chromium_org/components/policy/core/common/ |
schema.h | 26 // Option flags passed to Schema::Validate() and Schema::Normalize(), describing 28 // Note that in Schema::Normalize() allowed errors will be dropped and thus 31 // the one in root) have unknown property name according to schema. 32 // Invalid error indicates a validation failure against the schema. As 52 class Schema; 54 typedef std::vector<Schema> SchemaList; 60 class POLICY_EXPORT Schema { 65 // Builds an empty, invalid schema. 66 Schema(); [all...] |
schema_registry_unittest.cc | 9 #include "components/policy/core/common/schema.h" 64 Schema schema = Schema::Parse(kTestSchema, &error); local 65 ASSERT_TRUE(schema.valid()) << error; 77 schema); local 80 // Re-register also triggers notifications, because the Schema might have 84 schema); local 100 components["abc"] = schema; 101 components["def"] = schema; 139 Schema schema = Schema::Parse(kTestSchema, &error); local 150 schema); local 168 schema); local 174 schema); local 181 schema); local 230 schema); local 232 schema); local [all...] |
registry_dict_win.cc | 15 #include "components/policy/core/common/schema.h" 24 // Converts a value (as read from the registry) to meet |schema|, converting 28 const Schema& schema) { 29 if (!schema.valid()) 33 if (value.IsType(schema.type())) { 42 ConvertValue(entry.value(), schema.GetProperty(entry.key())); 52 ConvertValue(**entry, schema.GetItems()); 64 switch (schema.type()) { 106 ConvertValue(*entry, schema.GetItems()) [all...] |
schema_internal.h | 47 int schema; member in struct:policy::internal::PropertyNode
|
schema_map.cc | 31 const Schema* SchemaMap::GetSchema(const PolicyNamespace& ns) const { 46 const Schema* schema = GetSchema(it->first); local 48 if (!schema) { 53 // TODO(joaodasilva): if a component is registered but doesn't have a schema 64 if (!schema->valid()) { 75 Schema policy_schema = schema->GetProperty(policy_name);
|
/external/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/ndk/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/ |
locale.h | 23 # error STLport include schema violation
|
/external/chromium_org/extensions/common/ |
extension_api.cc | 43 const base::StringPiece& schema) { 47 schema, 59 CHECK(result.get()) << error_message << " for schema " << schema; local 60 CHECK(result->IsType(base::Value::TYPE_LIST)) << " for schema " << schema; 106 // with key |key| in |schema| will be updated to |schema_namespace| + "." + 107 // |schema[key]|. 109 base::DictionaryValue* schema, 111 if (!schema->HasKey(key) 203 base::DictionaryValue* schema = NULL; local [all...] |
/external/chromium_org/third_party/libxml/src/ |
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/chromium_org/extensions/renderer/resources/ |
binding.js | 85 CustomBindingsObject.prototype.setSchema = function(schema) { 86 // The functions in the schema are in list form, so we move them into a 90 $Array.forEach(schema.functions, function(f) { 147 function Binding(schema) { 148 this.schema_ = schema; 149 this.apiFunctions_ = new APIFunctions(schema.namespace); 163 // order to do the schema generation (registerCustomEvent and 173 // Registers a function |hook| to run after the schema for all APIs has been 192 schema: this.schema_, 201 var schema = this.schema_ [all...] |
storage_area.js | 9 function extendSchema(schema) { 10 var extendedSchema = $Array.slice(schema); 15 function StorageArea(namespace, schema) {
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
content_setting.js | 10 function extendSchema(schema) { 11 var extendedSchema = $Array.slice(schema); 41 var schema = 43 validate([callback], schema); 47 extendSchema(schema));
|
declarative_content_custom_bindings.js | 17 // Returns the schema definition of type |typeId| defined in |namespace|. 19 return utils.lookup(api.schema.types, 28 // generated union dictionary against the schema for |typeId|. 36 var schema = getSchema(typeId); 37 validate([instance], [schema]);
|
webview_request_custom_bindings.js | 17 // Returns the schema definition of type |typeId| defined in 29 // generated union dictionary against the schema for |typeId|. 38 var schema = getSchema(typeId); 39 validate([instance], [schema]); 42 // Setup all data types for the declarative webRequest API from the schema.
|
/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/chromium_org/chrome/common/extensions/docs/server2/ |
api_models.py | 18 schema = ProcessSchema(path, data)[0] 19 if not schema: 20 raise FileNotFoundError('No schema for %s' % path) 21 return Namespace(schema, schema['namespace'])
|
/external/chromium_org/components/json_schema/ |
json_schema_validator_unittest.cc | 17 base::DictionaryValue* schema, 19 JSONSchemaValidator validator(schema, types); 32 base::Value* instance, base::DictionaryValue* schema, 36 JSONSchemaValidator validator(schema, types); 88 " \"items\": [ 123 ]," // "items" must contain a schema or schemas.
|