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

1 2 3 4 5

  /external/chromium_org/extensions/test/data/
json_schema_test.js 9 function assertValid(type, instance, schema, types) {
13 validator["validate" + type](instance, schema, "");
25 function assertNotValid(type, instance, schema, errors, types) {
29 validator["validate" + type](instance, schema, "");
75 var schema = {
117 assertValid("", instance, schema);
119 assertValid("", instance, schema);
122 assertNotValid("", instance, schema,
127 assertNotValid("", instance, schema,
129 [schema.items[0].properties.url.pattern])])
    [all...]
  /external/chromium_org/chrome/renderer/resources/extensions/
automation_custom_bindings.js 15 var schema = requireNative('automationInternal').GetSchemaAdditions(); variable
148 forEach(schema, function(k, v) {
  /external/chromium_org/components/policy/core/common/
registry_dict_win_unittest.cc 10 #include "components/policy/core/common/schema.h"
214 Schema schema = Schema::Parse( local
230 ASSERT_TRUE(schema.valid()) << error;
232 scoped_ptr<base::Value> actual(test_dict.ConvertToJSON(schema));
generate_policy_source_unittest.cc 12 #include "components/policy/core/common/schema.h"
26 bool IsSameSchema(Schema a, Schema b) {
37 Schema::Iterator a_it = a.GetPropertiesIterator();
38 Schema::Iterator b_it = b.GetPropertiesIterator();
44 if (!IsSameSchema(a_it.schema(), b_it.schema()))
58 Schema schema = Schema::Wrap(GetChromeSchemaData()) local
    [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...]
forwarding_policy_provider_unittest.cc 15 #include "components/policy/core/common/schema.h"
52 Schema CreateTestSchema() {
54 Schema schema = Schema::Parse(kTestSchema, &error); local
55 if (!schema.valid())
57 return schema;
policy_loader_mac.cc 23 #include "components/policy/core/common/schema.h"
58 const Schema* schema = local
60 for (Schema::Iterator it = schema->GetPropertiesIterator();
124 const Schema& schema,
127 // without a schema, to allow a graceful update of the Legacy Browser Support
129 if (!schema.valid())
136 for (Schema::Iterator it = schema.GetPropertiesIterator()
    [all...]
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);
schema_map_unittest.cc 13 #include "components/policy/core/common/schema.h"
47 Schema CreateTestSchema() {
49 Schema schema = Schema::Parse(kTestSchema, &error); local
50 if (!schema.valid())
52 return schema;
56 Schema schema = CreateTestSchema(); local
58 component_map["extension-1"] = schema;
83 Schema schema = CreateTestSchema(); local
113 const Schema* schema = local
126 Schema schema = Schema::Parse(kTestSchema, &error); local
247 Schema schema = Schema::Parse( local
    [all...]
schema_internal.h 47 int schema; member in struct:policy::internal::PropertyNode
  /external/chromium_org/third_party/libxml/src/
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...]
  /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/extensions/renderer/
v8_schema_registry.cc 86 // Slow path: Need to build schema first.
93 const base::DictionaryValue* schema = local
95 CHECK(schema) << api;
97 v8::Handle<v8::Value> value = v8_value_converter->ToV8Value(schema, context);
  /external/chromium_org/components/policy/core/browser/
configuration_policy_handler_unittest.cc 14 #include "components/policy/core/common/schema.h"
34 TestSchemaValidatingPolicyHandler(const Schema& schema,
36 : SchemaValidatingPolicyHandler("PolicyForTesting", schema, strategy) {}
647 Schema schema = Schema::Parse(kSchemaJson, &error); local
648 ASSERT_TRUE(schema.valid()) << error;
668 TestSchemaValidatingPolicyHandler handler(schema, SCHEMA_ALLOW_INVALID);
706 Schema schema = Schema::Parse(kSchemaJson, &error) local
    [all...]
  /external/chromium_org/tools/json_to_struct/
json_to_struct.py 6 # Format for the JSON schema file:
12 # "schema": [ // Fields of the generated structure.
70 // GENERATED FROM THE SCHEMA DEFINITION AND DESCRIPTION IN
83 def _GenerateH(basepath, fileroot, head, namespace, schema, description):
85 by the schema.
93 schema: A dict containing the schema. See comment at the top of this file.
110 for header in schema.get('headers', []):
119 schema['type_name'], schema['schema'])
206 schema = _Load(opts.schema) variable
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPMetaFactory.java 31 private static XMPSchemaRegistry schema = new XMPSchemaRegistryImpl(); field in class:XMPMetaFactory
49 return schema;
241 * Resets the schema registry to its original state (creates a new one).
247 schema = new XMPSchemaRegistryImpl();
  /external/chromium_org/chrome/browser/chromeos/login/supervised/
supervised_user_login_flow.cc 117 int schema = 0; local
123 password_data->GetIntegerWithoutPathExpansion(kSchemaVersion, &schema);
143 SupervisedUserAuthentication::Schema current_schema =
153 VLOG(1) << "Adding new schema key";
179 NOTREACHED() << "Unsupported password schema";
supervised_user_authentication.cc 99 SupervisedUserAuthentication::Schema
123 NOTREACHED() << "Unknown password schema for " << context.GetUserID();
132 Schema schema = stable_schema_; local
133 if (schema == SCHEMA_PLAIN)
136 if (schema == SCHEMA_SALT_HASHED) {
137 password_data->SetIntegerWithoutPathExpansion(kSchemaVersion, schema);
186 SupervisedUserAuthentication::Schema
194 Schema schema_version = SCHEMA_PLAIN;
197 schema_version = static_cast<Schema>(schema_version_index)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
device_policy_decoder_chromeos.cc 24 #include "components/policy/core/common/schema.h"
52 // according to a policy schema. |policy_name| is the name of a policy schema
67 const Schema& schema = g_browser_process local
72 if (schema.valid()) {
76 if (!schema.Normalize(
88 LOG(WARNING) << "Unknown or invalid policy schema for " << policy_name
  /external/chromium_org/chrome/browser/extensions/api/storage/
managed_value_store_cache.cc 22 #include "components/policy/core/common/schema.h"
89 // Starts a schema load for all extensions that use managed storage.
171 // Load the schema files in a background thread.
201 (*components)[(*it)->id()] = policy::Schema();
204 // The extension should have been validated, so assume the schema exists
207 policy::Schema schema = local
209 // If the schema is invalid then proceed with an empty schema. The extension
211 if (!schema.valid()
    [all...]
settings_apitest.cc 38 #include "components/policy/core/common/schema.h"
452 // Verify that its schema has been published, and verify its contents.
453 const policy::Schema* schema = local
456 ASSERT_TRUE(schema);
458 ASSERT_TRUE(schema->valid());
459 ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema->type());
460 ASSERT_TRUE(schema->GetKnownProperty("string-policy").valid());
462 schema->GetKnownProperty("string-policy").type());
463 ASSERT_TRUE(schema->GetKnownProperty("int-policy").valid())
    [all...]
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
ElementType.java 17 This class represents an element type in the schema.
19 a flags vector, default attributes, and a schema to which it belongs.
20 @see Schema
33 private Schema theSchema; // schema to which this belongs
37 but it's better to use Schema.element() instead.
46 @param schema The schema with which this element type will be
50 public ElementType(String name, int model, int memberOf, int flags, Schema schema) {
164 public Schema schema() {return theSchema;} method in class:ElementType
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/
bdist_msi.py 20 from msilib import schema, sequence, text namespace
245 self.db = msilib.init_database(installer_name, schema,
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/
bdist_msi.py 20 from msilib import schema, sequence, text namespace
245 self.db = msilib.init_database(installer_name, schema,
    [all...]

Completed in 649 milliseconds

1 2 3 4 5