Lines Matching refs:line

141         std::string line;
143 while (getline(inputStream, line)) {
144 if (line.find(lineHeader) != line.npos) {
153 std::string line;
156 while (getline(inputStream, line)) {
157 if (i > 10 && line.find(dataLable) != line.npos) { // 10 : Hit the line
160 while ((pos = line.find(",", pos)) != line.npos) {
174 std::string line;
177 while (getline(inputStream, line)) {
178 if (line.find(dataLable) != line.npos) { // 3 : Hit the line
181 while ((pos = line.find(",", pos)) != line.npos) {
188 return line.find(fieldStr) != line.npos; // check if hit the target field
197 std::string line;
201 while (getline(inputStream, line)) {
202 if (!hit && line.find(nodesLable) == line.npos) {
205 if (line.find("[]") != line.npos) { // Empty
211 if (hit && (line.find("],") != line.npos)) {
214 int rCommaInd = line.rfind(','); // find last one
215 if (rCommaInd == line.npos) {
218 std::string nativeSizeStr = line.substr(rCommaInd + 1, line.size() - rCommaInd);
240 std::string line;
242 while (getline(inputStream, line)) {
243 lineBk = line;
250 std::string line;
252 while (getline(inputStream, line)) {
253 int length = line.length() - typeLable.length() - 1;
254 if (line.find(typeLable) != line.npos) { // Get
255 if (line.find(",") == line.npos) { // "trace_function_count" end without ","
256 length = line.length() - typeLable.length();
258 line = line.substr(typeLable.length(), length);
259 return std::stoi(line.c_str());
267 std::string line;
271 while (getline(inputStream, line)) {
272 if (!hit && line.find(dataLabel) != line.npos) { // Get
275 if (line.find("[]") != line.npos) { // Empty
283 if (line.find("],") != line.npos) { // Reach End