/bind-9.11.3/lib/isc/ |
H A D | lex.c | 9 /* $Id: lex.c,v 1.86 2007/09/17 09:56:29 shane Exp $ */ 21 #include <isc/lex.h> 65 grow_data(isc_lex_t *lex, size_t *remainingp, char **currp, char **prevp) { argument 68 tmp = isc_mem_get(lex->mctx, lex->max_token * 2 + 1); 71 memmove(tmp, lex->data, lex->max_token + 1); 72 *currp = tmp + (*currp - lex->data); 74 *prevp = tmp + (*prevp - lex->data); 75 isc_mem_put(lex 84 isc_lex_t *lex; local 121 isc_lex_t *lex; local 142 isc_lex_getcomments(isc_lex_t *lex) argument 153 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments) argument 164 isc_lex_getspecials(isc_lex_t *lex, isc_lexspecials_t specials) argument 175 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_t specials) argument 187 new_source(isc_lex_t *lex, isc_boolean_t is_file, isc_boolean_t need_close, void *input, const char *name) argument 223 isc_lex_openfile(isc_lex_t *lex, const char *filename) argument 244 isc_lex_openstream(isc_lex_t *lex, FILE *stream) argument 259 isc_lex_openbuffer(isc_lex_t *lex, isc_buffer_t *buffer) argument 274 isc_lex_close(isc_lex_t *lex) argument 328 pushandgrow(isc_lex_t *lex, inputsource *source, int c) argument 351 isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) argument 872 isc_lex_getmastertoken(isc_lex_t *lex, isc_token_t *token, isc_tokentype_t expect, isc_boolean_t eol) argument 908 isc_lex_getoctaltoken(isc_lex_t *lex, isc_token_t *token, isc_boolean_t eol) argument 935 isc_lex_ungettoken(isc_lex_t *lex, isc_token_t *tokenp) argument 957 isc_lex_getlasttokentext(isc_lex_t *lex, isc_token_t *tokenp, isc_region_t *r) argument 978 isc_lex_getsourcename(isc_lex_t *lex) argument 991 isc_lex_getsourceline(isc_lex_t *lex) argument 1004 isc_lex_setsourcename(isc_lex_t *lex, const char *name) argument 1022 isc_lex_setsourceline(isc_lex_t *lex, unsigned long line) argument 1036 isc_lex_isfile(isc_lex_t *lex) argument [all...] |
H A D | hex.c | 19 #include <isc/lex.h>
|
H A D | base64.c | 17 #include <isc/lex.h>
|
H A D | base32.c | 17 #include <isc/lex.h>
|
/bind-9.11.3/lib/isc/include/isc/ |
H A D | lex.h | 9 /* $Id: lex.h,v 1.37 2008/05/30 23:47:01 tbox Exp $ */ 18 /*! \file isc/lex.h 19 * \brief The "lex" module provides a lightweight tokenizer. It can operate 169 isc_lex_getcomments(isc_lex_t *lex); 174 *\li 'lex' is a valid lexer. 181 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments); 186 *\li 'lex' is a valid lexer. 192 isc_lex_getspecials(isc_lex_t *lex, isc_lexspecials_t specials); 197 *\li 'lex' is a valid lexer. 201 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_ [all...] |
/bind-9.11.3/bin/tests/ |
H A D | lex_test.c | 15 #include <isc/lex.h> 21 isc_lex_t *lex; variable 94 RUNTIME_CHECK(isc_lex_create(mctx, 256, &lex) == ISC_R_SUCCESS); 97 /* Set up to lex DNS master file. */ 102 isc_lex_setspecials(lex, specials); 106 isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE); 108 /* Set up to lex DNS config file. */ 117 isc_lex_setspecials(lex, specials); 121 isc_lex_setcomments(lex, (ISC_LEXCOMMENT_C| 126 RUNTIME_CHECK(isc_lex_openstream(lex, stdi [all...] |
/bind-9.11.3/lib/isc/tests/ |
H A D | lex_test.c | 19 #include <isc/lex.h> 30 isc_lex_t *lex = NULL; local 41 result = isc_lex_create(mctx, 1024, &lex); 47 result = isc_lex_openbuffer(lex, &death_buf); 50 result = isc_lex_gettoken(lex, 0, &token); 61 isc_lex_t *lex = NULL; local 73 result = isc_lex_create(mctx, 1024, &lex); 79 result = isc_lex_openbuffer(lex, &buf); 82 result = isc_lex_setsourceline(lex, 100); 86 result = isc_lex_gettoken(lex, [all...] |
/bind-9.11.3/bin/named/ |
H A D | control.c | 18 #include <isc/lex.h> 40 getcommand(isc_lex_t *lex, char **cmdp) { argument 46 result = isc_lex_gettoken(lex, ISC_LEXOPT_EOF, &token); 50 isc_lex_ungettoken(lex, &token); 79 isc_lex_t *lex = NULL; local 100 result = isc_lex_create(ns_g_mctx, strlen(cmdline), &lex); 106 result = isc_lex_openbuffer(lex, &src); 110 result = getcommand(lex, &command); 152 result = ns_server_reloadcommand(ns_g_server, lex, text); 156 result = ns_server_refreshcommand(ns_g_server, lex, tex [all...] |
H A D | server.c | 31 #include <isc/lex.h> 9254 * Get the next token from lexer 'lex'. 9258 * return either that value (lex->data) or NULL. It is necessary to copy 9263 next_token(isc_lex_t *lex, isc_buffer_t **text) { argument 9268 result = isc_lex_gettoken(lex, ISC_LEXOPT_EOF|ISC_LEXOPT_QSTRING, 9273 (void) isc_lex_close(lex); 9277 (void) isc_lex_close(lex); 9313 zone_from_args(ns_server_t *server, isc_lex_t *lex, const char *zonetxt, argument 9332 ptr = next_token(lex, text); 9339 zonetxt = next_token(lex, tex 9418 ns_server_retransfercommand(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 9451 ns_server_reloadcommand(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 9528 ns_server_notifycommand(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 9554 ns_server_refreshcommand(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 9593 ns_server_togglequerylog(ns_server_t *server, isc_lex_t *lex) argument 9958 ns_server_dumpdb(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 10072 ns_server_dumpsecroots(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 10210 ns_server_setdebuglevel(ns_server_t *server, isc_lex_t *lex) argument 10241 ns_server_validation(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 10314 ns_server_flushcache(ns_server_t *server, isc_lex_t *lex) argument 10450 ns_server_flushnode(ns_server_t *server, isc_lex_t *lex, isc_boolean_t tree) argument 10656 ns_server_testgen(isc_lex_t *lex, isc_buffer_t **text) argument 10748 ns_server_tsigdelete(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 10918 ns_server_rekey(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 10989 ns_server_sync(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 11067 ns_server_freeze(ns_server_t *server, isc_boolean_t freeze, isc_lex_t *lex, isc_buffer_t **text) argument 12636 ns_server_delzone(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 12830 ns_server_showzone(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 12978 ns_server_signing(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 13195 ns_server_zonestatus(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 13495 ns_server_nta(ns_server_t *server, isc_lex_t *lex, isc_boolean_t readonly, isc_buffer_t **text) argument 13915 ns_server_mkeys(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument 14029 ns_server_dnstap(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) argument [all...] |
/bind-9.11.3/bin/named/include/named/ |
H A D | server.h | 539 ns_server_reloadcommand(ns_server_t *server, isc_lex_t *lex, 552 ns_server_notifycommand(ns_server_t *server, isc_lex_t *lex, 559 ns_server_refreshcommand(ns_server_t *server, isc_lex_t *lex, 566 ns_server_retransfercommand(ns_server_t *server, isc_lex_t *lex, 573 ns_server_togglequerylog(ns_server_t *server, isc_lex_t *lex); 601 ns_server_dumpdb(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text); 607 ns_server_dumpsecroots(ns_server_t *server, isc_lex_t *lex, 614 ns_server_setdebuglevel(ns_server_t *server, isc_lex_t *lex); 620 ns_server_flushcache(ns_server_t *server, isc_lex_t *lex); 628 ns_server_flushnode(ns_server_t *server, isc_lex_t *lex, [all...] |
/bind-9.11.3/bin/tools/ |
H A D | named-rrchecker.c | 15 #include <isc/lex.h> 29 static isc_lex_t *lex; variable 148 RUNTIME_CHECK(isc_lex_create(mctx, 256, &lex) == ISC_R_SUCCESS); 151 * Set up to lex DNS master file. 157 isc_lex_setspecials(lex, specials); 159 isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE); 161 RUNTIME_CHECK(isc_lex_openstream(lex, stdin) == ISC_R_SUCCESS); 173 while ((result = isc_lex_gettoken(lex, options | ISC_LEXOPT_NUMBER, 211 result = isc_lex_gettoken(lex, options | ISC_LEXOPT_NUMBER, 250 result = dns_rdata_fromtext(&rdata, rdclass, rdtype, lex, [all...] |
/bind-9.11.3/lib/dns/ |
H A D | dst_parse.c | 34 #include <isc/lex.h> 462 dst__privstruct_parse(dst_key_t *key, unsigned int alg, isc_lex_t *lex, argument 479 #define NEXTTOKEN(lex, opt, token) \ 481 ret = isc_lex_gettoken(lex, opt, token); \ 486 #define READLINE(lex, opt, token) \ 488 ret = isc_lex_gettoken(lex, opt, token); \ 498 NEXTTOKEN(lex, opt, &token); 506 NEXTTOKEN(lex, opt, &token); 529 READLINE(lex, opt, &token); 534 NEXTTOKEN(lex, op [all...] |
H A D | master.c | 16 #include <isc/lex.h> 114 isc_lex_t *lex; member in struct:dns_loadctx 279 GETTOKEN(lctx->lex, 0, &token, ISC_TRUE); \ 281 isc_lex_ungettoken(lctx->lex, &token); \ 339 gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *token, argument 346 result = isc_lex_gettoken(lex, options, token); 355 isc_lex_getsourcename(lex), 356 isc_lex_getsourceline(lex), 368 file = isc_lex_getsourcename(lex); 369 line = isc_lex_getsourceline(lex); 506 loadctx_create(dns_masterformat_t format, isc_mem_t *mctx, unsigned int options, isc_uint32_t resign, dns_name_t *top, dns_rdataclass_t zclass, dns_name_t *origin, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_masterincludecb_t include_cb, void *include_arg, isc_lex_t *lex, dns_loadctx_t **lctxp) argument 2891 dns_master_loadlexer(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_mem_t *mctx) argument 2915 dns_master_loadlexerinc(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, isc_mem_t *mctx) argument [all...] |
H A D | dst_api.c | 40 #include <isc/lex.h> 613 isc_lex_t *lex = NULL; local 684 RETERR(isc_lex_create(mctx, 1500, &lex)); 685 RETERR(isc_lex_openfile(lex, newfilename)); 688 RETERR(key->func->parse(key, lex, pubkey)); 689 isc_lex_destroy(&lex); 705 if (lex != NULL) 706 isc_lex_destroy(&lex); 827 isc_lex_t *lex = NULL; local 838 RETERR(isc_lex_create(key->mctx, 1500, &lex)); 1513 isc_lex_t *lex = NULL; local [all...] |
H A D | dst_parse.h | 131 dst__privstruct_parse(dst_key_t *key, unsigned int alg, isc_lex_t *lex,
|
H A D | view.c | 19 #include <isc/lex.h> 2263 isc_lex_t *lex = NULL; local 2272 CHECK(isc_lex_create(view->mctx, 1025, &lex)); 2273 CHECK(isc_lex_openfile(lex, view->nta_file)); 2287 CHECK(isc_lex_gettoken(lex, options, &token)); 2307 CHECK(isc_lex_gettoken(lex, options, &token)); 2319 CHECK(isc_lex_gettoken(lex, options, &token)); 2325 CHECK(isc_lex_gettoken(lex, options, &token)); 2349 if (lex != NULL) { 2350 isc_lex_close(lex); [all...] |
H A D | sdb.c | 18 #include <isc/lex.h> 339 isc_lex_t *lex = NULL; local 367 result = isc_lex_create(mctx, 64, &lex); 376 result = isc_lex_openbuffer(lex, &b); 390 typeval, lex, 416 if (lex != NULL) 417 isc_lex_destroy(&lex);
|
H A D | sdlz.c | 52 #include <isc/lex.h> 1848 isc_lex_t *lex; local 1904 lex = NULL; 1905 result = isc_lex_create(mctx, 64, &lex); 1914 result = isc_lex_openbuffer(lex, &b); 1924 rdatalist->type, lex, 1943 if (lex != NULL) 1944 isc_lex_destroy(&lex); 1951 if (lex != NULL) 1952 isc_lex_destroy(&lex); [all...] |
/bind-9.11.3/unit/atf-src/admin/ |
H A D | missing | 58 bison yacc flex lex help2man 171 lex*|flex*)
|
/bind-9.11.3/contrib/kasp/ |
H A D | kasp2policy.py | 26 import ply.lex as lex namespace 54 self.lexer = lex.lex(object=self)
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dnstest.c | 25 #include <isc/lex.h> 445 isc_lex_t *lex = NULL; local 464 result = isc_lex_create(mctx, 64, &lex); 472 result = isc_lex_openbuffer(lex, &source); 485 result = dns_rdata_fromtext(rdata, rdclass, rdtype, lex, dns_rootname, 489 isc_lex_destroy(&lex);
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | master.h | 186 dns_master_loadlexer(isc_lex_t *lex, 282 dns_master_loadlexerinc(isc_lex_t *lex,
|
/bind-9.11.3/lib/isccfg/tests/ |
H A D | parser_test.c | 19 #include <isc/lex.h>
|
/bind-9.11.3/lib/samples/ |
H A D | sample-update.c | 32 #include <isc/lex.h> 436 isc_lex_t *lex = NULL; local 446 result = isc_lex_create(mctx, strlen(cmdline), &lex); 450 result = isc_lex_openbuffer(lex, &source); 454 result = dns_rdata_fromtext(rdata, rdataclass, rdatatype, lex, 457 isc_lex_destroy(&lex);
|
/bind-9.11.3/lib/isccfg/include/isccfg/ |
H A D | grammar.h | 14 #include <isc/lex.h>
|