Lines Matching refs:line
83 bool Tbox::IsCallStack(string& line)
85 if (regex_search(line, regex("^\\s+at (.*)\\(.*")) ||
86 regex_search(line, regex("^\\s*at .*")) ||
87 regex_search(line, regex("^\\s+- (.*)\\(.*")) ||
88 regex_search(line, regex("\\s+#\\d+")) ||
89 regex_search(line, regex("[0-9a-zA-Z_]+\\+0x[0-9a-f]+/0x[0-9a-f]+")) ||
90 regex_search(line, regex("#\\d+")) ||
91 regex_search(line, regex("\\.*"))) {
97 bool Tbox::HasCausedBy(const string& line)
99 if ((line.find(CAUSEDBY_HEADER) != string::npos) ||
100 (line.find(SUPPRESSED_HEADER) != string::npos)) {
110 string Tbox::GetStackName(string line)
113 if (IsCallStack(line)) {
114 stackname = line;
116 if (GetPartial(line, "^\\s+at (.*)\\).*", str) ||
117 GetPartial(line, "^\\s*at (.*)", str) || // for jsCrash
118 GetPartial(line, "#\\d+ pc [0-9a-f]+ (.*\\+\\d+)\\)", str) ||
119 GetPartial(line, "#\\d+ pc [0-9a-f]+ (.*)", str) ||
120 GetPartial(line, "([0-9a-zA-Z_]+\\+0x[0-9a-f]+/0x[0-9a-f]+)", str)) {
122 } else if (GetPartial(line, "^\\s+- (.*)\\(.*", str)) {