Lines Matching refs:os
31 import os
96 os.unlink(f)
112 pid = os.getpid()
114 if os.name == "nt":
143 if not options.srcdir or not os.path.isdir(options.srcdir):
146 test_data_dir = os.path.join(options.srcdir, "data")
249 if os.path.isdir(path):
259 os.path.dirname(full_path), os.path.basename(full_path),
331 pid = os.getpid()
333 if os.name == "nt":
342 os.write(fid, contents)
343 os.fsync(fid)
346 os.lseek(fid, 0, os.SEEK_SET)
449 if options.pidfile and os.path.isfile(options.pidfile):
450 os.unlink(options.pidfile)