Lines Matching refs:Line
131 static bool ParseError(const char *Err, const std::string &Line) {
132 Printf("DataFlowTrace: parse error: %s: Line: %s\n", Err, Line.c_str());
138 static bool ParseDFTLine(const std::string &Line, size_t *FunctionNum,
140 if (!Line.empty() && Line[0] != 'F')
142 size_t SpacePos = Line.find(' ');
144 return ParseError("no space in the trace line", Line);
145 if (Line.empty() || Line[0] != 'F')
146 return ParseError("the trace line doesn't start with 'F'", Line);
147 *FunctionNum = std::atol(Line.c_str() + 1);
148 const char *Beg = Line.c_str() + SpacePos + 1;
149 const char *End = Line.c_str() + Line.size();
154 return ParseError("the trace should contain only 0 or 1", Line);