Lines Matching full:os
30 import os
75 data_from = os.lseek(fd, data_to, os.SEEK_DATA)
76 data_to = align_up(os.lseek(fd, data_from, os.SEEK_HOLE), cluster_size)
94 pid_file = os.path.join(temp_dir, "pid")
95 raw_file = os.path.join(temp_dir, "raw")
115 if os.path.exists(pid_file):
118 os.kill(pid, signal.SIGTERM)
119 while os.path.exists(pid_file):
121 os.unlink(raw_file)
122 os.rmdir(temp_dir)
165 disk_size = align_up(os.path.getsize(input_file), 512)
190 fd = os.open(input_file, os.O_RDONLY)
194 cluster = os.pread(fd, cluster_size, cluster_size * idx)
361 cluster = os.pread(fd, cluster_size, cluster_size * idx)
368 os.close(fd)
420 if not os.path.isfile(args.input_file):