Lines Matching refs:line
49 def appendLine(self, line): argument
50 self.lines.append(line)
90 for line in self.lines:
91 print(" {}{}".format(prefix, line))
110 def parseLineWithTook(self, line): argument
114 words = line.split(" ")
115 dataTimeO = self.lCTimeProcessor.parseTimeStamp(line)
116 if line.find("took to complete") != -1:
118 tookIndex = line.find(" took to complete:")
119 uptoEnd= line[:tookIndex]
123 value = re.findall(r'\d+', line[tookIndex:])[-1]
126 elif line.find("took") != -1:
128 tookIndex = line.find(" took")
129 uptoEnd= line[:tookIndex]
159 tookSubstring = line[tookIndex:]
170 errLine = "LCItem:parseLineWithTook() ERROR invalid took in substring 1B {}".format(line)
179 if line.find("seconds") != -1:
193 self.lines.append(line)
202 def parseLine(self, line): argument
204 words = line.split(" ")
205 dateTimeO = self.lCTimeProcessor.parseTimeStamp(line)
208 newLine = line[19:].rstrip()
223 for line in self.lines:
224 if line.find(keyword)!=-1:
228 line = ""
232 return line
335 def parseTimeStamp(self, line): argument
337 if len(line)<19:
340 words = line.split(" ")
350 if line.find("beginning of")!=-1:
358 def process(self, line): argument
359 timeStamp = self.parseTimeStamp(line)
429 def parseLine(self, line): argument
431 dateTimeO = self.lCTimeProcessor.parseTimeStamp(line)
433 lineText = line[19:].rstrip()
474 for line in self.lines:
476 _lines.append(line)
477 self.lCTimeProcessor.process(line)
479 elif line.find("beginning of kernel") != -1:
488 for line in self.lines:
491 if line.find("beginning of kernel=1") != -1:
496 if line.find("sys.boot_completed=1") != -1:
499 if line.find("took") != -1:
500 self.linesWithTook.append(line.rstrip())
502 for line in self.linesWithTook:
504 if lCItem.parseLineWithTook(line)==True:
514 for line in self.lines:
516 lcLogLine.parseLine(line)
559 for line in keywordFile.lines:
560 line = line.strip()
561 keywordSet = line.split(", ")