Home
last modified time | relevance | path

Searched refs:FormatErrorMessage (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/components/json_schema/
Djson_schema_validator_unittest_base.cc104 JSONSchemaValidator::FormatErrorMessage( in TestComplex()
113 JSONSchemaValidator::FormatErrorMessage( in TestComplex()
131 JSONSchemaValidator::FormatErrorMessage( in TestStringPattern()
212 JSONSchemaValidator::FormatErrorMessage( in TestObject()
238 JSONSchemaValidator::FormatErrorMessage( in TestObject()
243 JSONSchemaValidator::FormatErrorMessage( in TestObject()
266 JSONSchemaValidator::FormatErrorMessage( in TestObject()
283 JSONSchemaValidator::FormatErrorMessage(JSONSchemaValidator::kInvalidType, in TestObject()
287 JSONSchemaValidator::FormatErrorMessage( in TestObject()
340 "baz", JSONSchemaValidator::FormatErrorMessage( in TestTypeReference()
[all …]
Djson_schema_validator.cc388 std::string JSONSchemaValidator::FormatErrorMessage(const std::string& format, in FormatErrorMessage() function in JSONSchemaValidator
396 std::string JSONSchemaValidator::FormatErrorMessage(const std::string& format, in FormatErrorMessage() function in JSONSchemaValidator
483 Error(path, FormatErrorMessage(kUnknownTypeReference, ref))); in Validate()
636 FormatErrorMessage( in ValidateObject()
684 errors_.push_back(Error(path, FormatErrorMessage( in ValidateArray()
693 errors_.push_back(Error(path, FormatErrorMessage( in ValidateArray()
761 FormatErrorMessage(kArrayMaxItems, base::NumberToString(tuple_size)))); in ValidateTuple()
775 errors_.push_back(Error(path, FormatErrorMessage( in ValidateString()
784 errors_.push_back(Error(path, FormatErrorMessage( in ValidateString()
797 FormatErrorMessage(kInvalidRegex, pattern, compiled_regex.error()))); in ValidateString()
[all …]
Djson_schema_validator.h103 static std::string FormatErrorMessage(const std::string& format,
105 static std::string FormatErrorMessage(const std::string& format,
/external/libchrome/base/json/
Djson_parser_unittest.cc239 EXPECT_EQ(JSONParser::FormatErrorMessage(5, 10, JSONReader::kSyntaxError), in TEST_F()
252 EXPECT_EQ(JSONParser::FormatErrorMessage(5, 10, JSONReader::kSyntaxError), in TEST_F()
260 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 3, in TEST_F()
272 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 200, JSONReader::kTooMuchNesting), in TEST_F()
279 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 4, JSONReader::kTrailingComma), in TEST_F()
286 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 2, in TEST_F()
293 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 14, JSONReader::kTrailingComma), in TEST_F()
299 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 2, JSONReader::kSyntaxError), in TEST_F()
306 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 7, JSONReader::kInvalidEscape), in TEST_F()
313 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 7, JSONReader::kInvalidEscape), in TEST_F()
[all …]
Djson_parser.h211 static std::string FormatErrorMessage(int line, int column,
Djson_parser.cc114 return FormatErrorMessage(error_line_, error_column_, in GetErrorMessage()
745 std::string JSONParser::FormatErrorMessage(int line, int column, in FormatErrorMessage() function in base::internal::JSONParser