/netbsd-current/external/gpl3/gcc/dist/contrib/gcc-changelog/ |
H A D | git_check_commit.py | 23 parser = argparse.ArgumentParser(description='Check git ChangeLog format ' variable 25 parser.add_argument('revisions', default='HEAD', nargs='?', 28 parser.add_argument('-g', '--git-path', default='.', 30 parser.add_argument('-p', '--print-changelog', action='store_true', 32 parser.add_argument('-v', '--verbose', action='store_true', 34 args = parser.parse_args()
|
/netbsd-current/external/gpl3/gcc.old/dist/contrib/gcc-changelog/ |
H A D | git_check_commit.py | 23 parser = argparse.ArgumentParser(description='Check git ChangeLog format ' variable 25 parser.add_argument('revisions', default='HEAD', nargs='?', 28 parser.add_argument('-g', '--git-path', default='.', 30 parser.add_argument('-p', '--print-changelog', action='store_true', 32 parser.add_argument('-v', '--verbose', action='store_true', 34 args = parser.parse_args()
|
/netbsd-current/external/gpl3/gcc/dist/contrib/ |
H A D | git-backport.py | 30 parser = argparse.ArgumentParser(description='Backport a git revision.') variable 31 parser.add_argument('revision', help='Revision') 32 args = parser.parse_args()
|
H A D | git-commit-mklog.py | 34 parser = argparse.ArgumentParser(description='git-commit-mklog wrapped') variable 35 parser.add_argument('-b', '--pr-numbers', action='store', 38 parser.add_argument('-p', '--fill-up-bug-titles', action='store_true', 40 parser.add_argument('--co', 42 args, unknown_args = parser.parse_known_args()
|
/netbsd-current/external/gpl3/gcc.old/dist/contrib/ |
H A D | git-backport.py | 30 parser = argparse.ArgumentParser(description='Backport a git revision.') variable 31 parser.add_argument('revision', help='Revision') 32 args = parser.parse_args()
|
H A D | git-commit-mklog.py | 34 parser = argparse.ArgumentParser(description='git-commit-mklog wrapped') variable 35 parser.add_argument('-b', '--pr-numbers', action='store', 38 parser.add_argument('-p', '--fill-up-bug-titles', action='store_true', 40 parser.add_argument('--co', 42 args, unknown_args = parser.parse_known_args()
|
/netbsd-current/external/mit/expat/dist/lib/ |
H A D | expat.h | 7 |_| XML parser 185 XML_SetElementDeclHandler(XML_Parser parser, XML_ElementDeclHandler eldecl); 200 XML_SetAttlistDeclHandler(XML_Parser parser, XML_AttlistDeclHandler attdecl); 216 XML_SetXmlDeclHandler(XML_Parser parser, XML_XmlDeclHandler xmldecl); 224 /* Constructs a new parser; encoding is the encoding specified by the 230 /* Constructs a new parser and namespace processor. Element type 244 /* Constructs a new parser using the memory management suite referred to 246 suite. If namespaceSeparator is non-NULL it creates a parser with 250 All further memory operations used for the created parser will come from 258 /* Prepare a parser objec 640 XML_DefaultCurrent(XML_Parser parser); variable 680 XML_UseParserAsHandlerArg(XML_Parser parser); variable 716 XML_GetBase(XML_Parser parser); variable 725 XML_GetSpecifiedAttributeCount(XML_Parser parser); variable 734 XML_GetIdAttributeIndex(XML_Parser parser); variable 756 XML_GetAttributeInfo(XML_Parser parser); variable 824 XML_ResumeParser(XML_Parser parser); variable 908 XML_GetErrorCode(XML_Parser parser); variable 930 XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser); variable 931 XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser); variable 932 XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser); variable 938 XML_GetCurrentByteCount(XML_Parser parser); variable 977 XML_ParserFree(XML_Parser parser); variable [all...] |
/netbsd-current/tools/m4/ |
H A D | Makefile | 13 parser.c: ${.CURDIR}/bootstrap/parser.c 15 parser.h: ${.CURDIR}/bootstrap/parser.h
|
/netbsd-current/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/include/llvm/Support/ |
H A D | write_extension_def.py | 10 parser = argparse.ArgumentParser() 11 parser.add_argument('exts', nargs='*', help='list of supported extensions') 12 parser.add_argument('-o', '--output', required=True, help='output file') 13 args = parser.parse_args()
|
/netbsd-current/external/mit/expat/dist/xmlwf/ |
H A D | xmlfile.h | 7 |_| XML parser 45 extern int XML_ProcessFile(XML_Parser parser, const XML_Char *filename,
|
/netbsd-current/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/ |
H A D | arguments.py | 7 It uses argparse module to create the command line parser. (This library is 31 parser = create_intercept_parser() 32 args = parser.parse_args() 39 parser.error(message='missing build command') 49 parser = create_analyze_parser(from_build_command) 50 args = parser.parse_args() 56 validate_args_for_analyze(parser, args, from_build_command) 65 parser = create_analyze_parser(from_build_command) 66 args = parser.parse_args() 72 validate_args_for_analyze(parser, arg [all...] |
/netbsd-current/external/bsd/kyua-cli/dist/utils/config/ |
H A D | parser.cpp | 29 #include "utils/config/parser.hpp" 54 /// Internal implementation of the parser. 55 struct utils::config::parser::impl : utils::noncopyable { 56 /// Pointer to the parent parser. Needed for callbacks. 57 parser* _parent; 59 /// The Lua state used by this parser to process the configuration file. 73 impl(parser* const parent_, tree& config_tree_) : 91 // Allow the parser caller to populate the tree with its own schema 138 config::parser::impl* impl = *state.to_userdata< config::parser 154 config::parser::parser(tree& config_tree) : function in class:config::parser [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
H A D | ubsan_flags.cc | 46 void RegisterUbsanFlags(FlagParser *parser, Flags *f) { argument 48 RegisterFlag(parser, #Name, Description, &f->Name); 66 FlagParser parser; local 67 RegisterCommonFlags(&parser); 68 RegisterUbsanFlags(&parser, f); 71 parser.ParseString(MaybeCallUbsanDefaultOptions()); 73 parser.ParseString(GetFlag("UBSAN_OPTIONS")); 77 if (common_flags()->help) parser.PrintFlagDescriptions();
|
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
H A D | ubsan_flags.cc | 44 void RegisterUbsanFlags(FlagParser *parser, Flags *f) { argument 46 RegisterFlag(parser, #Name, Description, &f->Name); 64 FlagParser parser; local 65 RegisterCommonFlags(&parser); 66 RegisterUbsanFlags(&parser, f); 69 parser.ParseString(MaybeCallUbsanDefaultOptions()); 71 parser.ParseString(GetFlag("UBSAN_OPTIONS")); 75 if (common_flags()->help) parser.PrintFlagDescriptions();
|
/netbsd-current/external/mit/expat/dist/examples/ |
H A D | elements.c | 11 |_| XML parser 81 XML_Parser parser = XML_ParserCreate(NULL); local 87 XML_SetUserData(parser, &depth); 88 XML_SetElementHandler(parser, startElement, endElement); 92 if (XML_Parse(parser, buf, (int)len, done) == XML_STATUS_ERROR) { 94 XML_ErrorString(XML_GetErrorCode(parser)), 95 XML_GetCurrentLineNumber(parser)); 96 XML_ParserFree(parser); 100 XML_ParserFree(parser);
|
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
H A D | ubsan_flags.cpp | 41 void RegisterUbsanFlags(FlagParser *parser, Flags *f) { argument 43 RegisterFlag(parser, #Name, Description, &f->Name); 61 FlagParser parser; local 62 RegisterCommonFlags(&parser); 63 RegisterUbsanFlags(&parser, f); 66 parser.ParseString(__ubsan_default_options()); 68 parser.ParseStringFromEnv("UBSAN_OPTIONS"); 72 if (common_flags()->help) parser.PrintFlagDescriptions();
|
/netbsd-current/external/apache2/llvm/dist/clang/bindings/python/examples/cindex/ |
H A D | cindex-includes.py | 22 parser = OptionParser("usage: %prog [options] {filename} [clang-args*]") 23 parser.disable_interspersed_args() 24 (opts, args) = parser.parse_args() 26 parser.error('invalid number arguments') 34 parser.error("unable to load input")
|
/netbsd-current/external/apache2/llvm/dist/llvm/utils/ |
H A D | bisect | 21 parser = argparse.ArgumentParser() variable 23 parser.add_argument('--start', type=int, default=0) 24 parser.add_argument('--end', type=int, default=(1 << 32)) 25 parser.add_argument('command', nargs='+') 27 args = parser.parse_args()
|
/netbsd-current/external/apache2/llvm/dist/llvm/utils/gn/secondary/libcxx/utils/ |
H A D | gen_link_script.py | 21 parser = argparse.ArgumentParser(description=__doc__) 22 parser.add_argument("--input", help="Path to libc++ library", required=True) 23 parser.add_argument("--output", help="Path to libc++ linker script", 25 parser.add_argument("libraries", nargs="+", 27 args = parser.parse_args()
|
/netbsd-current/external/bsd/atf/dist/tools/ |
H A D | reader.cpp | 40 #include "parser.hpp" 63 // The "atf_tps" auxiliary parser. 68 static const tools::parser::token_type eof_type = 0; 69 static const tools::parser::token_type nl_type = 1; 70 static const tools::parser::token_type text_type = 2; 71 static const tools::parser::token_type colon_type = 3; 72 static const tools::parser::token_type comma_type = 4; 73 static const tools::parser::token_type tps_count_type = 5; 74 static const tools::parser::token_type tp_start_type = 6; 75 static const tools::parser 120 read_timeval(tools::parser::parser< atf_tps::tokenizer >& parser) argument [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_flags.cc | 81 explicit FlagHandlerInclude(FlagParser *parser, bool ignore_missing) 82 : parser_(parser), ignore_missing_(ignore_missing) {} 95 void RegisterIncludeFlags(FlagParser *parser, CommonFlags *cf) { 97 FlagHandlerInclude(parser, /*ignore_missing*/ false); 98 parser->RegisterHandler("include", fh_include, 101 FlagHandlerInclude(parser, /*ignore_missing*/ true); 102 parser->RegisterHandler( 107 void RegisterCommonFlags(FlagParser *parser, CommonFlags *cf) { 109 RegisterFlag(parser, #Name, Description, &cf->Name); 113 RegisterIncludeFlags(parser, c [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_flags.cc | 79 explicit FlagHandlerInclude(FlagParser *parser, bool ignore_missing) 80 : parser_(parser), ignore_missing_(ignore_missing) {} 93 void RegisterIncludeFlags(FlagParser *parser, CommonFlags *cf) { 95 FlagHandlerInclude(parser, /*ignore_missing*/ false); 96 parser->RegisterHandler("include", fh_include, 99 FlagHandlerInclude(parser, /*ignore_missing*/ true); 100 parser->RegisterHandler( 105 void RegisterCommonFlags(FlagParser *parser, CommonFlags *cf) { 107 RegisterFlag(parser, #Name, Description, &cf->Name); 111 RegisterIncludeFlags(parser, c [all...] |
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/ |
H A D | sym_diff.py | 19 parser = ArgumentParser( 21 parser.add_argument( 25 parser.add_argument( 29 parser.add_argument('--only-stdlib-symbols', dest='only_stdlib', 32 parser.add_argument('--strict', dest='strict', 36 parser.add_argument( 40 parser.add_argument( 42 parser.add_argument( 45 parser.add_argument( 48 args = parser [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | linespec.c | 32 #include "parser-defs.h" 91 /* A linespec. Elements of this structure are filled in by a parser 282 /* An instance of the linespec parser. */ 321 /* What the parser believes the current word point should complete 325 /* The completion word point. The parser advances this as it skips 346 of the parser. */ 422 /* Permitted quote characters for the parser. This is different from the 424 previous parser. */ 435 linespec_lexer_lex_number (linespec_parser *parser, linespec_token *tokenp) argument 439 LS_TOKEN_STOKEN (*tokenp).ptr = PARSER_STREAM (parser); 669 linespec_lexer_lex_string(linespec_parser *parser) argument 902 linespec_lexer_lex_one(linespec_parser *parser) argument 987 linespec_lexer_consume_token(linespec_parser *parser) argument 1030 linespec_lexer_peek_token(linespec_parser *parser) argument 1603 unexpected_linespec_error(linespec_parser *parser) argument 1654 save_stream_and_consume_token(linespec_parser *parser) argument 1695 set_completion_after_number(linespec_parser *parser, linespec_complete_what next) argument 1713 linespec_parse_basic(linespec_parser *parser) argument 2451 parse_linespec(linespec_parser *parser, const char *arg, symbol_name_match_type match_type) argument 2757 complete_linespec_component(linespec_parser *parser, completion_tracker &tracker, const char *text, linespec_complete_what component, const char *source_filename) argument 2821 complete_label(completion_tracker &tracker, linespec_parser *parser, const char *label_name) argument 3064 location_spec_to_sals(linespec_parser *parser, const location_spec *locspec) argument [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_flags_test.cc | 31 FlagParser parser; local 32 RegisterFlag(&parser, kFlagName, kFlagDesc, &flag); 34 parser.ParseString(env); 44 FlagParser parser; local 45 RegisterFlag(&parser, kFlagName, kFlagDesc, &flag); 47 parser.ParseString(env); 127 FlagParser parser; local 128 RegisterFlag(&parser, name1, kFlagDesc, &flag1); 129 RegisterFlag(&parser, name2, kFlagDesc, &flag2); 131 parser 161 FlagParser parser; local [all...] |