Searched refs:IsValidSchema (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/components/json_schema/ |
D | json_schema_validator_unittest.cc | 55 TEST(JSONSchemaValidator, IsValidSchema) { in TEST() argument 57 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema("", &error)); in TEST() 58 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema("\0", &error)); in TEST() 59 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema("string", &error)); in TEST() 60 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema("\"string\"", &error)); in TEST() 61 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema("[]", &error)); in TEST() 62 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema("{}", &error)); in TEST() 63 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema( in TEST() 65 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema( in TEST() 67 EXPECT_FALSE(JSONSchemaValidator::IsValidSchema( in TEST() [all …]
|
D | json_schema_validator.cc | 75 bool IsValidSchema(const base::DictionaryValue* dict, in IsValidSchema() function 141 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema() 153 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema() 205 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema() 224 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema() 234 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema() 288 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema() 406 std::unique_ptr<base::DictionaryValue> JSONSchemaValidator::IsValidSchema( in IsValidSchema() function in JSONSchemaValidator 409 return JSONSchemaValidator::IsValidSchema(schema, 0, error); in IsValidSchema() 413 std::unique_ptr<base::DictionaryValue> JSONSchemaValidator::IsValidSchema( in IsValidSchema() function in JSONSchemaValidator [all …]
|
D | json_schema_validator.h | 118 static std::unique_ptr<base::DictionaryValue> IsValidSchema( 125 IsValidSchema(const std::string& schema, int options, std::string* error);
|
/external/libchrome/components/policy/core/common/ |
D | schema.cc | 1031 JSONSchemaValidator::IsValidSchema( in Parse()
|