OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:JtlParser
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/chrome/tools/profile_reset/
jtl_parser_unittest.cc
17
void ExpectNextOperation(
JtlParser
* parser,
35
void ExpectNextOperationToFail(
JtlParser
* parser,
50
JtlParser
* CreateParserFromVerboseText(const std::string& verbose_text) {
53
EXPECT_TRUE(
JtlParser
::RemoveCommentsAndAllWhitespace(
55
return new
JtlParser
(compacted_source_code, newline_indices);
60
TEST(
JtlParser
, CompactingEmpty) {
64
scoped_ptr<
JtlParser
> parser(CreateParserFromVerboseText(kSourceCode));
68
TEST(
JtlParser
, CompactingTrivial) {
72
scoped_ptr<
JtlParser
> parser(CreateParserFromVerboseText(kSourceCode));
76
TEST(
JtlParser
, CompactingOneLine)
[
all
...]
jtl_parser.h
17
class
JtlParser
{
23
JtlParser
(const std::string& compacted_source_code,
25
~
JtlParser
();
80
DISALLOW_COPY_AND_ASSIGN(
JtlParser
);
jtl_parser.cc
57
struct
JtlParser
::ParsingState {
73
JtlParser
::
JtlParser
(const std::string& compacted_source_code,
80
JtlParser
::~
JtlParser
() {}
83
bool
JtlParser
::RemoveCommentsAndAllWhitespace(
110
bool
JtlParser
::HasFinished() {
114
bool
JtlParser
::ParseNextOperation(std::string* name,
156
size_t
JtlParser
::GetOriginalLineNumber(size_t compacted_index) const {
163
size_t
JtlParser
::GetLastLineNumber() const { return state_->last_line_number;
[
all
...]
jtl_compiler.cc
213
if (!
JtlParser
::RemoveCommentsAndAllWhitespace(source_code,
225
JtlParser
parser(compacted_source_code, newline_indices);
Completed in 565 milliseconds