Lines Matching defs:lex
40 #include <isc/lex.h>
613 isc_lex_t *lex = NULL;
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;
838 RETERR(isc_lex_create(key->mctx, 1500, &lex));
839 RETERR(isc_lex_openbuffer(lex, buffer));
840 RETERR(key->func->parse(key, lex, NULL));
842 if (lex != NULL)
843 isc_lex_destroy(&lex);
1513 isc_lex_t *lex = NULL;
1531 ret = isc_lex_create(mctx, 1500, &lex);
1539 isc_lex_setspecials(lex, specials);
1540 isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE);
1542 ret = isc_lex_openfile(lex, filename);
1546 #define NEXTTOKEN(lex, opt, token) { \
1547 ret = isc_lex_gettoken(lex, opt, token); \
1558 NEXTTOKEN(lex, opt, &token);
1577 NEXTTOKEN(lex, opt, &token);
1585 NEXTTOKEN(lex, opt, &token);
1592 NEXTTOKEN(lex, opt, &token);
1611 ret = dns_rdata_fromtext(&rdata, rdclass, keytype, lex, NULL,
1624 if (lex != NULL)
1625 isc_lex_destroy(&lex);