Lines Matching defs:os
23 import os
24 import os.path
151 index = max(file.rfind('/'), file.rfind(os.sep))
192 dso_path = os.path.join(self.symfs_dir, dso[1:])
193 if os.path.isfile(dso_path):
195 if os.path.isfile(dso):
273 if symfs_dir and not os.path.isdir(symfs_dir):
276 if kallsyms and not os.path.isfile(kallsyms):
280 if not os.path.isdir(dir):
299 if os.path.isdir(output_dir):
301 os.makedirs(output_dir)
467 summary = os.path.join(self.config['annotate_dest_dir'], 'summary')
517 for root, _, files in os.walk(source_dir):
523 entry.append(os.path.join(root, file))
527 filename = file[file.rfind(os.sep)+1:]
553 path = os.sep.join(items)
555 to_path = os.path.join(dest_dir, 'java', path)
557 elif key.startswith('/') and os.path.isfile(key):
560 to_path = os.path.join(dest_dir, path[1:])
564 path = os.sep.join(path.split('/'))
566 to_path = os.path.join(dest_dir, path)
603 dirname = os.path.dirname(to_path)
604 if not os.path.isdir(dirname):
605 os.makedirs(dirname)