Lines Matching refs:file
174 file = None
180 file = entry_parts[-1].rsplit(':')[0]
182 if file.startswith(path):
183 file = None
186 elif len(entry_parts) == 3 and file is not None:
192 if file not in file_vectors:
193 file_vectors[file] = [-1] * line
194 if line > len(file_vectors[file]):
195 file_vectors[file].extend(
196 [-2] * (line - len(file_vectors[file])))
197 file_vectors[file][line - 1] = 0
210 file, line_no_string = line.rsplit(':', 1)
211 if file == '??': # some lines cannot be symbolized and will report as '??'
217 if not file in file_vectors: # file is excluded
219 if line_no > len(file_vectors[file]):
220 file_vectors[file].extend([-1] *
221 (line_no - len(file_vectors[file])))
222 if file_vectors[file][line_no - 1] < 0:
223 file_vectors[file][line_no - 1] = 0
224 file_vectors[file][line_no - 1] += 1
238 for file in self._file_vectors[device_serial]:
245 if file.startswith(str(project_name)):
254 if len(parts) > 1 and file.startswith(parts[-1]):
261 logging.info("Could not find git info for %s", file)
266 self._file_vectors[device_serial][file]))
269 self._file_vectors[device_serial][file]))
271 self._file_vectors[device_serial][file], file,
308 for file in sancov_files:
309 dut.adb.pull(file, temp_dir)
310 binary, pid, _ = os.path.basename(file).rsplit('.', 2)
312 os.path.join(temp_dir, os.path.basename(file)))