Home
last modified time | relevance | path

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

/external/chromium_org/chrome/tools/profile_reset/
Djtl_parser_unittest.cc17 void ExpectNextOperation(JtlParser* parser, in ExpectNextOperation()
35 void ExpectNextOperationToFail(JtlParser* parser, in ExpectNextOperationToFail()
50 JtlParser* CreateParserFromVerboseText(const std::string& verbose_text) { in CreateParserFromVerboseText()
53 EXPECT_TRUE(JtlParser::RemoveCommentsAndAllWhitespace( in CreateParserFromVerboseText()
55 return new JtlParser(compacted_source_code, newline_indices); in CreateParserFromVerboseText()
60 TEST(JtlParser, CompactingEmpty) { in TEST() argument
64 scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); in TEST()
68 TEST(JtlParser, CompactingTrivial) { in TEST() argument
72 scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); in TEST()
76 TEST(JtlParser, CompactingOneLine) { in TEST() argument
[all …]
Djtl_parser.cc57 struct JtlParser::ParsingState {
73 JtlParser::JtlParser(const std::string& compacted_source_code, in JtlParser() function in JtlParser
80 JtlParser::~JtlParser() {} in ~JtlParser()
83 bool JtlParser::RemoveCommentsAndAllWhitespace( in RemoveCommentsAndAllWhitespace()
110 bool JtlParser::HasFinished() { in HasFinished()
114 bool JtlParser::ParseNextOperation(std::string* name, in ParseNextOperation()
156 size_t JtlParser::GetOriginalLineNumber(size_t compacted_index) const { in GetOriginalLineNumber()
163 size_t JtlParser::GetLastLineNumber() const { return state_->last_line_number; } in GetLastLineNumber()
165 std::string JtlParser::GetLastContext() const { in GetLastContext()
Djtl_parser.h17 class JtlParser {
23 JtlParser(const std::string& compacted_source_code,
25 ~JtlParser();
80 DISALLOW_COPY_AND_ASSIGN(JtlParser);
Djtl_compiler.cc212 if (!JtlParser::RemoveCommentsAndAllWhitespace(source_code, in Compile()
224 JtlParser parser(compacted_source_code, newline_indices); in Compile()