/external/chromium_org/chrome/renderer/resources/extensions/ |
automation_custom_bindings.js | 15 var schema = variable 126 forEach(schema, function(k, v) {
|
/external/chromium_org/components/policy/core/common/ |
generate_policy_source_unittest.cc | 12 #include "components/policy/core/common/schema.h" 25 bool IsSameSchema(Schema a, Schema b) { 36 Schema::Iterator a_it = a.GetPropertiesIterator(); 37 Schema::Iterator b_it = b.GetPropertiesIterator(); 43 if (!IsSameSchema(a_it.schema(), b_it.schema())) 56 Schema schema = Schema::Wrap(GetChromeSchemaData()) local [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 | 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 | 13 #include "components/policy/core/common/schema.h" 50 Schema CreateTestSchema() { 52 Schema schema = Schema::Parse(kTestSchema, &error); local 53 if (!schema.valid()) 55 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 218 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 | 84 // Slow path: Need to build schema first. 91 const base::DictionaryValue* schema = local 93 CHECK(schema) << api; 95 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) {} 526 Schema schema = Schema::Parse(kSchemaJson, &error); local 527 ASSERT_TRUE(schema.valid()) << error; 547 TestSchemaValidatingPolicyHandler handler(schema, SCHEMA_ALLOW_INVALID); 585 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/managed/ |
supervised_user_login_flow.cc | 113 int schema = 0; local 119 password_data->GetIntegerWithoutPathExpansion(kSchemaVersion, &schema); 139 SupervisedUserAuthentication::Schema current_schema = 149 VLOG(1) << "Adding new schema key"; 175 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" 87 // Starts a schema load for all extensions that use managed storage. 168 // 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 | 37 #include "components/policy/core/common/schema.h" 451 // Verify that its schema has been published, and verify its contents. 452 const policy::Schema* schema = local 455 ASSERT_TRUE(schema); 457 ASSERT_TRUE(schema->valid()); 458 ASSERT_EQ(base::Value::TYPE_DICTIONARY, schema->type()); 459 ASSERT_TRUE(schema->GetKnownProperty("string-policy").valid()); 461 schema->GetKnownProperty("string-policy").type()); 462 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 | 747 static void GetDictionaryFromList(const base::DictionaryValue* schema, 752 EXPECT_TRUE(schema->GetList(list_name, &list)); 771 const base::DictionaryValue* schema = api.GetSchema("test.foo"); local 777 GetDictionaryFromList(schema, "types", 0, &dict); 791 GetDictionaryFromList(schema, "functions", 0, &dict); 799 GetDictionaryFromList(schema, "functions", 1, &dict); 807 GetDictionaryFromList(schema, "events", 0, &dict); [all...] |