Lines Matching full:os
9 import os
38 return os.path.isfile(kmemleak)
59 assert os.path.isfile(folder + "guid") == True
60 assert os.path.isfile(folder + "provision_akc") == True
61 assert os.path.isfile(folder + "provision_cap") == True
62 assert os.path.isfile(folder + "state_certificate") == True
63 assert os.path.isfile(folder + "registers") == True
67 mode = os.stat(folder + "guid").st_mode & 0o777
69 mode = os.stat(folder + "registers").st_mode & 0o777
71 mode = os.stat(folder + "provision_akc").st_mode & 0o777
73 mode = os.stat(folder + "provision_cap").st_mode & 0o777
75 mode = os.stat(folder + "state_certificate").st_mode & 0o777
81 st = os.stat(folder + "guid")
85 st = os.stat(folder + "registers")
89 st = os.stat(folder + "provision_akc")
93 st = os.stat(folder + "provision_cap")
97 st = os.stat(folder + "state_certificate")
105 st = os.stat(folder + "registers")
108 st = os.stat(folder + "provision_akc")
111 st = os.stat(folder + "provision_cap")
114 st = os.stat(folder + "state_certificate")
119 rand_file = bytes(os.urandom(8))
157 rand_file = bytes(os.urandom(1017))
171 rand_file = bytes(os.urandom(8))
223 assert os.stat('/sys/kernel/debug/kmemleak').st_size == 0