Lines Matching refs:os
7 import sys, os, os.path
30 for dirname in os.listdir(platforms_root):
31 path = os.path.join(platforms_root, dirname)
32 if os.path.isdir(path) and ('android' in dirname):
43 for filename in os.listdir(root):
44 if os.path.isfile(os.path.join(root, filename)):
51 includes_root = os.path.join(root, 'include')
52 if not os.path.isdir(includes_root):
57 for dirname, dirnames, filenames in os.walk(includes_root):
59 path = os.path.join(dirname, subdirname)
60 relpath = os.path.relpath(path, includes_root)
71 arch_root = os.path.join(root, arch)
78 platform_root = os.path.join(self.root, platform)
117 script_root = os.path.dirname(os.path.realpath(__file__))
118 self.aosp_root = os.path.normpath(os.path.join(script_root, '../../..'))
119 self.platforms_root = os.path.join(self.aosp_root, 'development/ndk/platforms')
120 self.bionic_root = os.path.join(self.aosp_root, 'bionic/libc')
152 path_bionic = os.path.join(self.bionic_root, arch_root, 'include', root)
159 file_origin = os.path.join(path_bionic, include)
160 … file_probe = os.path.join(self.platforms_root, platform, arch_root, 'include', root, include)