Lines Matching refs:line
59 for line in fp:
60 if "boot_progress_start" in line:
61 start = line
62 if "boot_progress_enable_screen" in line and len(start):
63 end = line
76 def replace_timestamp_abs(line, timestamp_str, date_time_obj0): argument
77 index = line.find(" ", 6)
79 return line
80 substr0 = line[:index]
81 substr1 = line[index:]
86 return line
92 def in_time_range(start, end, line): argument
94 current_time = datetime.strptime(line[:18], '%m-%d %H:%M:%S.%f')
106 def extract_event(line, keywords): argument
107 words = line.split(" ")
118 for line in logcat_fp:
119 ts_fixed_line = replace_timestamp_abs(line, timestamps[0][:18], start_timestamp_obj)
121 if in_time_range(start_timestamp_obj, end_timestamp_obj, line):