Lines Matching full:path
48 import os.path
66 (base_path, name) = os.path.split(__file__)
67 base_path = os.path.abspath(base_path)
69 shutil.copyfile(os.path.join(base_path,css), os.path.join(dest_dir,css))
70 map(lambda x: shutil.copyfile(os.path.join(base_path,x), os.path.join(dest_dir,x)), images)
76 index = open(os.path.join(dest_dir, name), "w")
86 def generate_header(file, last_time, total_lines, total_executed, path, image):
100 <td class="headerValue" width="80%%" colspan=4>%(path)s</td>
132 site = "%s.html" % name.replace(os.path.sep,'__')
212 escaped_dir = dir_name.replace(os.path.sep,'__')
229 escaped_name = file_name.replace(os.path.sep,'__')
234 path = "%s/%s.annotated%s" % (data_dir,last_id,file_name)
238 # lines covered in the path but they are not lcov files.
243 file = open(path, "r")
294 for datapath in glob.glob(os.path.join(datadir, "*.csv")):
325 if not os.path.exists(outdir):
328 imgdir = os.path.join(outdir, rel_imgdir)
329 if not os.path.exists(imgdir):
349 def read_csv(path):
350 r = csv.reader(open(path, "r"))
356 # Rest of lines are path, total_lines, covered_lines
361 path, total_lines_str, covered_lines_str = row
366 per_file[path] = [total_lines, covered_lines]
369 dirname = os.path.dirname(path)
376 files.append(path)