Home
last modified time | relevance | path

Searched refs:error_path (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/components/policy/core/common/
Dschema_map.cc67 std::string error_path; in FilterBundle() local
72 &error_path, in FilterBundle()
76 << (error_path.empty() ? "root" : error_path) << ": " in FilterBundle()
Dschema.cc121 void SchemaErrorFound(std::string* error_path, in SchemaErrorFound() argument
124 if (error_path) in SchemaErrorFound()
125 *error_path = ""; in SchemaErrorFound()
824 std::string* error_path, in Validate() argument
827 SchemaErrorFound(error_path, error, "The schema is invalid."); in Validate()
839 error_path, error, "The value type doesn't match the schema type."); in Validate()
854 SchemaErrorFound(error_path, error, "Unknown property: " + it.key()); in Validate()
863 error_path, in Validate()
867 AddDictKeyPrefixToPath(it.key(), error_path); in Validate()
882 error_path, error, in Validate()
[all …]
Dschema.h104 std::string* error_path,
116 std::string* error_path,
Dschema_unittest.cc202 std::string error_path = "NOT_SET"; in TestSchemaValidationWithPath() local
205 bool returned = schema.Validate(value, SCHEMA_STRICT, &error_path, &error); in TestSchemaValidationWithPath()
206 ASSERT_FALSE(returned) << error_path; in TestSchemaValidationWithPath()
207 EXPECT_EQ(error_path, expected_failure_path); in TestSchemaValidationWithPath()