JtlParser 213 chrome/tools/profile_reset/jtl_compiler.cc if (!JtlParser::RemoveCommentsAndAllWhitespace(source_code, JtlParser 225 chrome/tools/profile_reset/jtl_compiler.cc JtlParser parser(compacted_source_code, newline_indices); JtlParser 57 chrome/tools/profile_reset/jtl_parser.cc struct JtlParser::ParsingState { JtlParser 73 chrome/tools/profile_reset/jtl_parser.cc JtlParser::JtlParser(const std::string& compacted_source_code, JtlParser 80 chrome/tools/profile_reset/jtl_parser.cc JtlParser::~JtlParser() {} JtlParser 83 chrome/tools/profile_reset/jtl_parser.cc bool JtlParser::RemoveCommentsAndAllWhitespace( JtlParser 110 chrome/tools/profile_reset/jtl_parser.cc bool JtlParser::HasFinished() { JtlParser 114 chrome/tools/profile_reset/jtl_parser.cc bool JtlParser::ParseNextOperation(std::string* name, JtlParser 156 chrome/tools/profile_reset/jtl_parser.cc size_t JtlParser::GetOriginalLineNumber(size_t compacted_index) const { JtlParser 163 chrome/tools/profile_reset/jtl_parser.cc size_t JtlParser::GetLastLineNumber() const { return state_->last_line_number; } JtlParser 165 chrome/tools/profile_reset/jtl_parser.cc std::string JtlParser::GetLastContext() const { JtlParser 17 chrome/tools/profile_reset/jtl_parser.h class JtlParser { JtlParser 23 chrome/tools/profile_reset/jtl_parser.h JtlParser(const std::string& compacted_source_code, JtlParser 25 chrome/tools/profile_reset/jtl_parser.h ~JtlParser(); JtlParser 80 chrome/tools/profile_reset/jtl_parser.h DISALLOW_COPY_AND_ASSIGN(JtlParser); JtlParser 17 chrome/tools/profile_reset/jtl_parser_unittest.cc void ExpectNextOperation(JtlParser* parser, JtlParser 35 chrome/tools/profile_reset/jtl_parser_unittest.cc void ExpectNextOperationToFail(JtlParser* parser, JtlParser 50 chrome/tools/profile_reset/jtl_parser_unittest.cc JtlParser* CreateParserFromVerboseText(const std::string& verbose_text) { JtlParser 53 chrome/tools/profile_reset/jtl_parser_unittest.cc EXPECT_TRUE(JtlParser::RemoveCommentsAndAllWhitespace( JtlParser 55 chrome/tools/profile_reset/jtl_parser_unittest.cc return new JtlParser(compacted_source_code, newline_indices); JtlParser 60 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, CompactingEmpty) { JtlParser 64 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); JtlParser 68 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, CompactingTrivial) { JtlParser 72 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); JtlParser 76 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, CompactingOneLine) { JtlParser 80 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); JtlParser 88 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, CompactingMultipleLines) { JtlParser 95 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); JtlParser 103 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, CompactingMultipleLinesWithComments) { JtlParser 114 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); JtlParser 122 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, HandlingCommentsAndStringLiterals) { JtlParser 158 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser( JtlParser 164 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, MismatchedDoubleQuotesBeforeEndOfLine) { JtlParser 194 chrome/tools/profile_reset/jtl_parser_unittest.cc EXPECT_FALSE(JtlParser::RemoveCommentsAndAllWhitespace( JtlParser 203 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, ParsingEmpty) { JtlParser 206 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); JtlParser 210 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, ParsingOneWellFormedOperation) { JtlParser 230 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser( JtlParser 240 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, ParsingMultipleWellFormedOperations) { JtlParser 245 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(CreateParserFromVerboseText(kSourceCode)); JtlParser 253 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, ParsingTrickyStringLiterals) { JtlParser 272 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser( JtlParser 284 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, FirstOperationIsIllFormed) { JtlParser 310 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser( JtlParser 316 chrome/tools/profile_reset/jtl_parser_unittest.cc TEST(JtlParser, SecondOperationIsIllFormed) { JtlParser 339 chrome/tools/profile_reset/jtl_parser_unittest.cc scoped_ptr<JtlParser> parser(