/external/chromium_org/components/policy/core/common/ |
generate_policy_source_unittest.cc | 11 #include "components/policy/core/common/schema.h" 21 Schema schema = Schema::Wrap(GetChromeSchemaData()); local 22 ASSERT_TRUE(schema.valid()); 23 EXPECT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); 25 Schema subschema = schema.GetAdditionalProperties(); 28 subschema = schema.GetProperty("no such policy exists"); 31 subschema = schema.GetProperty(key::kAlternateErrorPagesEnabled) [all...] |
registry_dict_win_unittest.cc | 10 #include "components/policy/core/common/schema.h" 209 Schema schema = Schema::Parse( local 225 ASSERT_TRUE(schema.valid()) << error; 227 scoped_ptr<base::Value> actual(test_dict.ConvertToJSON(schema));
|
schema_registry_unittest.cc | 8 #include "components/policy/core/common/schema.h" 55 Schema schema = Schema::Parse(kTestSchema, &error); local 56 ASSERT_TRUE(schema.valid()) << error; 70 schema); local 73 // Re-register also triggers notifications, because the Schema might have 77 schema); local 93 components["abc"] = schema; 94 components["def"] = schema; 133 Schema schema = Schema::Parse(kTestSchema, &error); local 144 schema); local 162 schema); local 168 schema); local 175 schema); local 224 schema); local 226 schema); local [all...] |
schema_internal.h | 42 int schema; member in struct:policy::internal::PropertyNode
|
schema_map.cc | 30 const Schema* SchemaMap::GetSchema(const PolicyNamespace& ns) const { 45 const Schema* schema = GetSchema(it->first); local 47 if (!schema) { 52 // TODO(joaodasilva): if a component is registered but doesn't have a schema 56 if (!schema->valid()) 64 Schema policy_schema = schema->GetProperty(policy_name);
|
policy_loader_mac.cc | 23 #include "components/policy/core/common/schema.h" 89 const Schema* schema = local 91 for (Schema::Iterator it = schema->GetPropertiesIterator(); 197 const Schema& schema, 200 // without a schema, to allow a graceful update of the Legacy Browser Support 202 if (!schema.valid()) 209 for (Schema::Iterator it = schema.GetPropertiesIterator() [all...] |
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 218 Schema schema = Schema::Parse( local [all...] |
schema_unittest.cc | 5 #include "components/policy/core/common/schema.h" 57 Schema schema = Schema::Parse(content, &error); local 58 if (schema.valid()) 124 Schema schema = Schema::Parse( local 136 ASSERT_TRUE(schema.valid()) << error; 137 ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema.type()) 161 Schema schema = Schema::Parse(kTestSchema, &error); local 260 Schema schema = Schema::Parse("{ \\"type\\": \\"object\\" }", &error); local 348 Schema schema = Schema::Wrap(&kData); local 395 Schema schema = Schema::Parse(kTestSchema, &error); local 535 Schema schema = Schema::Parse( local 585 Schema schema = Schema::Parse( local 616 Schema schema = Schema::Parse( local 655 Schema schema = Schema::Parse( local [all...] |
configuration_policy_provider_test.cc | 140 Schema schema = Schema::Parse(schema_string, &error); local 141 if (schema.valid()) { 142 schema_registry_.RegisterComponent(ns, schema); 179 Schema chrome_schema = *schema_registry_.schema_map()->GetSchema(chrome_ns); 180 Schema extension_schema =
|
/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/chrome/renderer/extensions/ |
v8_schema_registry.cc | 92 const base::DictionaryValue* schema = local 94 CHECK(schema) << api; 96 v8::Handle<v8::Value> value = v8_value_converter->ToV8Value(schema, context);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
InspectorBackend.js | 302 var schema = JSON.parse(xhr.responseText); variable 303 var code = InspectorBackendClass._generateCommands(schema); 309 * @param {*} schema 312 InspectorBackendClass._generateCommands = function(schema) { 317 var domains = schema["domains"] || [];
|
/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/chrome/common/extensions/docs/js/ |
api_page_generator.js | 11 * 2) A file located at SCHEMA which is shared with the extension system and 23 var SCHEMA = "../api/extension_api.json"; 40 // The full extension api schema 41 var schema; variable 116 // Now the page is composed with the authored content, we fetch the schema 122 schemas_to_retrieve.push(SCHEMA); 127 schema = []; 130 schema = schema.concat(JSON.parse(content)); 206 schema.forEach(function(mod) [all...] |
/external/chromium_org/chrome/browser/extensions/api/storage/ |
managed_value_store_cache.cc | 29 #include "components/policy/core/common/schema.h" 169 // Load the schema files in a background thread. 198 (*components)[(*it)->id()] = policy::Schema(); 201 // The extension should have been validated, so assume the schema exists 204 policy::Schema schema = local 206 CHECK(schema.valid()) << error; 207 (*components)[(*it)->id()] = schema;
|
settings_apitest.cc | 36 #include "components/policy/core/common/schema.h" 493 // Verify that its schema has been published, and verify its contents. 494 const policy::Schema* schema = local 497 ASSERT_TRUE(schema); 499 ASSERT_TRUE(schema->valid()); 500 ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema->type()); 501 ASSERT_TRUE(schema->GetKnownProperty("string-policy").valid()); 503 schema->GetKnownProperty("string-policy").type()); 504 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...] |
/external/chromium_org/chrome/common/extensions/api/ |
extension_api_unittest.cc | 760 static void GetDictionaryFromList(const base::DictionaryValue* schema, 765 EXPECT_TRUE(schema->GetList(list_name, &list)); 784 const base::DictionaryValue* schema = api.GetSchema("test.foo"); local 790 GetDictionaryFromList(schema, "types", 0, &dict); 804 GetDictionaryFromList(schema, "functions", 0, &dict); 812 GetDictionaryFromList(schema, "functions", 1, &dict); 820 GetDictionaryFromList(schema, "events", 0, &dict); [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
component_cloud_policy_service_unittest.cc | 26 #include "components/policy/core/common/schema.h" 222 Schema CreateTestSchema() { 224 Schema schema = Schema::Parse(kTestSchema, &error); local 225 EXPECT_TRUE(schema.valid()) << error; 226 return schema; 531 // loaded, the other should be filtered out by the schema.
|
/external/chromium_org/extensions/common/ |
extension_api.cc | 47 const base::StringPiece& schema) { 51 schema, 63 CHECK(result.get()) << error_message << " for schema " << schema; local 64 CHECK(result->IsType(base::Value::TYPE_LIST)) << " for schema " << schema; 110 // with key |key| in |schema| will be updated to |schema_namespace| + "." + 111 // |schema[key]|. 113 base::DictionaryValue* schema, 115 if (!schema->HasKey(key) 205 base::DictionaryValue* schema = NULL; local [all...] |