Lines Matching +full:helper +full:- +full:string +full:- +full:parser
3 # Copyright (c) 2013-2019 The Khronos Group Inc.
9 # http://www.apache.org/licenses/LICENSE-2.0
17 import argparse, cProfile, pdb, string, sys, time, os
31 write(msg, endTime - startTime, file=sys.stderr)
34 # Turn a list of strings into a regexp string matching exactly those strings
85 '** Copyright (c) 2015-2019 The Khronos Group Inc.',
91 '** http://www.apache.org/licenses/LICENSE-2.0',
111 # Defaults for generating re-inclusion protection wrappers (or not)
118 # Options for thread safety header code-generation
142 # Options for thread safety source code-generation
214 # Options for object_tracker code-generated validation routines
239 # Options for object_tracker code-generated prototypes
264 # Options for dispatch table helper generator
310 # Helper file generator options for vk_enum_string_helper.h
334 # Helper file generator options for vk_safe_struct.h
358 # Helper file generator options for vk_safe_struct.cpp
382 # Helper file generator options for vk_object_types.h
406 # Helper file generator options for extension_helper.h
430 # Helper file generator options for typemap_helper.h
557 # target - target to generate
558 # directory - directory to generate it in
559 # protect - True if re-inclusion wrappers should be created
560 # extensions - list of additional extensions to include in generated
595 # -feature name
596 # -extension name
597 # For both, "name" may be a single name, or a space-separated list
600 parser = argparse.ArgumentParser() variable
602 parser.add_argument('-defaultExtensions', action='store',
605 parser.add_argument('-extension', action='append',
608 parser.add_argument('-removeExtensions', action='append',
611 parser.add_argument('-emitExtensions', action='append',
614 parser.add_argument('-feature', action='append',
617 parser.add_argument('-debug', action='store_true',
619 parser.add_argument('-dump', action='store_true',
621 parser.add_argument('-diagfile', action='store',
624 parser.add_argument('-errfile', action='store',
627 parser.add_argument('-noprotect', dest='protect', action='store_false',
629 parser.add_argument('-profile', action='store_true',
631 parser.add_argument('-registry', action='store',
634 parser.add_argument('-time', action='store_true',
636 parser.add_argument('-validate', action='store_true',
638 parser.add_argument('-o', action='store', dest='directory',
641 parser.add_argument('target', metavar='target', nargs='?',
643 parser.add_argument('-quiet', action='store_true', default=True,
645 parser.add_argument('-verbose', action='store_false', dest='quiet', default=True,
648 # This argument tells us where to load the script from the Vulkan-Headers registry
649 parser.add_argument('-scripts', action='store',
652 args = parser.parse_args()
679 # This splits arguments which are space-separated lists
702 reg.dumpReg(filehandle = open('regdump.txt', 'w', encoding='utf-8'))
706 errWarn = open(args.errfile, 'w', encoding='utf-8')
711 diag = open(args.diagfile, 'w', encoding='utf-8')