Lines Matching refs:os
9 import os
549 dirname = os.path.dirname(filename)
561 if not os.path.exists(dirname + "/" + schemafile):
564 if not os.path.exists(dirname + "/" + schemafile):
581 filepath = os.path.abspath(filename)
642 self.do_parse(os.path.join(self.path, filename))
885 filesize = str(os.path.getsize(filepath))
887 filetime = time.ctime(os.path.getmtime(filepath))
921 guard = str.replace(os.path.basename(args.xml), '.', '_').upper()
926 guard = str.replace(os.path.basename(args.xml), '.', '_').upper() + '_STRUCTS'
939 file_name = os.path.splitext(os.path.basename(args.xml))[0]
944 os.path.basename(args.xml)