Lines Matching refs:args
44 def check_sysdeps_bits(args): argument
46 bits = os.path.join(args.root, 'sysdeps', 'generic', 'bits')
51 os.path.relpath(os.path.realpath(bits), args.root)))
55 def check_headers_root(args): argument
58 generated = frozenset(args.generated)
59 for header in args.headers:
61 or os.path.exists(os.path.join(args.root, INCLUDE, header))
68 def check_headers(args): argument
71 for header in args.headers:
82 include_path = os.path.join(args.root, INCLUDE, header)
86 os.path.relpath(os.path.realpath(header), args.root)))
101 args = parser.parse_args()
103 good = (args.root == '.') == (args.subdir == '.')
107 if args.subdir == '.':
108 good &= check_sysdeps_bits(args)
109 good &= check_headers_root(args)
110 elif args.subdir not in SINGLE_TARGET_SUBDIRS:
111 good &= check_headers(args)