Lines Matching full:os
24 import os
153 if os.path.isdir(dirname) and '-genconfig' in dirname:
255 sub_fn = os.path.normpath(os.path.join(filename, '..', '..', 'header-snippets', m.group(1)))
309 sn = Snippet.fromFile(os.path.join(self.base_dir, fn))
504 for fn in os.listdir(dirname):
505 root, ext = os.path.splitext(fn)
508 with open(os.path.join(dirname, fn), 'rb') as f:
535 for fn in os.listdir(dirname):
536 root, ext = os.path.splitext(fn)
539 with open(os.path.join(dirname, fn), 'rb') as f:
582 for fn in os.listdir(dirname):
586 helper_snippets.append(Snippet.fromFile(os.path.join(dirname, fn)))
1035 ret = FileBuilder(base_dir=os.path.join(meta_dir, 'header-snippets'), \
1041 with open(os.path.join(meta_dir, 'platforms.yaml'), 'rb') as f:
1044 with open(os.path.join(meta_dir, 'architectures.yaml'), 'rb') as f:
1047 with open(os.path.join(meta_dir, 'compilers.yaml'), 'rb') as f:
1124 abs_fn = os.path.join(meta_dir, 'platforms', include)
1136 abs_fn = os.path.join(meta_dir, 'platforms', include)
1164 abs_fn = os.path.join(meta_dir, 'architectures', include)
1181 abs_fn = os.path.join(meta_dir, 'architectures', include)
1211 abs_fn = os.path.join(meta_dir, 'compilers', include)
1220 abs_fn = os.path.join(meta_dir, 'compilers', include)
1242 ret.snippet_absolute(os.path.join(meta_dir, 'helper-snippets', 'DUK_F_UCLIBC.h.in'))
1482 if os.path.isfile(os.path.join('.', 'genconfig_metadata.tar.gz')):
1484 elif os.path.isdir(os.path.join('.', 'config-options')):
1487 if opts.metadata is not None and os.path.isdir(opts.metadata):
1490 …elif opts.metadata is not None and os.path.isfile(opts.metadata) and tarfile.is_tarfile(opts.metad…
1498 scan_helper_snippets(os.path.join(meta_dir, 'helper-snippets'))
1499 scan_use_defs(os.path.join(meta_dir, 'config-options'))
1500 scan_opt_defs(os.path.join(meta_dir, 'feature-options'))
1502 scan_tags_meta(os.path.join(meta_dir, 'tags.yaml'))