Home
last modified time | relevance | path

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

/external/libchrome/base/json/
Djson_parser.cc193 JSONParser::JSONParser(int options) in JSONParser() function in base::internal::JSONParser
207 JSONParser::~JSONParser() { in ~JSONParser()
210 std::unique_ptr<Value> JSONParser::Parse(StringPiece input) { in Parse()
277 JSONReader::JsonParseError JSONParser::error_code() const { in error_code()
281 std::string JSONParser::GetErrorMessage() const { in GetErrorMessage()
286 int JSONParser::error_line() const { in error_line()
290 int JSONParser::error_column() const { in error_column()
296 JSONParser::StringBuilder::StringBuilder() : StringBuilder(nullptr) {} in StringBuilder()
298 JSONParser::StringBuilder::StringBuilder(const char* pos) in StringBuilder()
304 void JSONParser::StringBuilder::Swap(StringBuilder* other) { in Swap()
[all …]
Djson_parser_unittest.cc20 JSONParser* NewTestParser(const std::string& input) { in NewTestParser()
21 JSONParser* parser = new JSONParser(JSON_PARSE_RFC); in NewTestParser()
28 void TestLastThree(JSONParser* parser) { in TestLastThree()
38 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()
49 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()
63 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()
77 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()
94 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()
132 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()
220 EXPECT_EQ(JSONParser::FormatErrorMessage(5, 10, JSONReader::kSyntaxError), in TEST_F()
[all …]
Djson_reader.cc39 : parser_(new internal::JSONParser(options)) { in JSONReader()
47 internal::JSONParser parser(JSON_PARSE_RFC); in Read()
53 internal::JSONParser parser(options); in Read()
66 internal::JSONParser parser(options); in ReadAndReturnError()
Djson_parser.h47 class BASE_EXPORT JSONParser {
49 explicit JSONParser(int options);
50 ~JSONParser();
262 DISALLOW_COPY_AND_ASSIGN(JSONParser);
Djson_reader.h42 class JSONParser; variable
131 std::unique_ptr<internal::JSONParser> parser_;
/external/autotest/frontend/client/src/autotest/common/
DXhrJsonRpcProxy.java11 import com.google.gwt.json.client.JSONParser;
74 responseValue = JSONParser.parse(responseText); in handleResponseText()