| /src/external/bsd/flex/dist/examples/manual/ |
| Makefile.examples | 12 LEX = flex -i -I 25 expr: expr.y expr.lex 27 $(LEX) expr.lex 28 $(CC) -o expr lex.yy.c y.tab.c $(ALLOCA) -ll -lm 30 front: front.y front.lex 32 $(LEX) front.lex 33 $(CC) -o front lex.yy.c y.tab.c $(ALLOCA) -ll -lm 35 numbers: numbers.lex [all...] |
| /src/external/mpl/bind/dist/lib/isc/ |
| lex.c | 1 /* $NetBSD: lex.c,v 1.12 2025/01/26 16:25:37 christos Exp $ */ 26 #include <isc/lex.h> 70 grow_data(isc_lex_t *lex, size_t *remainingp, char **currp, char **prevp) { 73 tmp = isc_mem_get(lex->mctx, lex->max_token * 2 + 1); 74 memmove(tmp, lex->data, lex->max_token + 1); 75 *currp = tmp + (*currp - lex->data); 77 *prevp = tmp + (*prevp - lex->data); 79 isc_mem_put(lex->mctx, lex->data, lex->max_token + 1) 88 isc_lex_t *lex; local 118 isc_lex_t *lex; local [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| lex.c | 1 /* $NetBSD: lex.c,v 1.1 2024/02/18 20:57:49 christos Exp $ */ 26 #include <isc/lex.h> 69 grow_data(isc_lex_t *lex, size_t *remainingp, char **currp, char **prevp) { 72 tmp = isc_mem_get(lex->mctx, lex->max_token * 2 + 1); 73 memmove(tmp, lex->data, lex->max_token + 1); 74 *currp = tmp + (*currp - lex->data); 76 *prevp = tmp + (*prevp - lex->data); 78 isc_mem_put(lex->mctx, lex->data, lex->max_token + 1) 87 isc_lex_t *lex; local 119 isc_lex_t *lex; local [all...] |
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| lex.h | 1 /* $NetBSD: lex.h,v 1.8 2025/01/26 16:25:41 christos Exp $ */ 22 /*! \file isc/lex.h 23 * \brief The "lex" module provides a lightweight tokenizer. It can operate 109 /*! Lex */ 178 isc_lex_getcomments(isc_lex_t *lex); 183 *\li 'lex' is a valid lexer. 190 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments); 195 *\li 'lex' is a valid lexer. 201 isc_lex_getspecials(isc_lex_t *lex, isc_lexspecials_t specials); 206 *\li 'lex' is a valid lexer [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
| lex.h | 1 /* $NetBSD: lex.h,v 1.1 2024/02/18 20:57:53 christos Exp $ */ 23 /*! \file isc/lex.h 24 * \brief The "lex" module provides a lightweight tokenizer. It can operate 110 /*! Lex */ 179 isc_lex_getcomments(isc_lex_t *lex); 184 *\li 'lex' is a valid lexer. 191 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments); 196 *\li 'lex' is a valid lexer. 202 isc_lex_getspecials(isc_lex_t *lex, isc_lexspecials_t specials); 207 *\li 'lex' is a valid lexer [all...] |
| /src/external/mpl/bind/dist/bin/named/ |
| control.c | 20 #include <isc/lex.h> 40 getcommand(isc_lex_t *lex, char **cmdp) { 46 result = isc_lex_gettoken(lex, ISC_LEXOPT_EOF, &token); 51 isc_lex_ungettoken(lex, &token); 80 isc_lex_t *lex = NULL; local 101 isc_lex_create(named_g_mctx, strlen(cmdline), &lex); 105 result = isc_lex_openbuffer(lex, &src); 110 result = getcommand(lex, &command); 207 result = named_server_delzone(named_g_server, lex, text); 209 result = named_server_dnssec(named_g_server, lex, text) [all...] |
| /src/external/mpl/bind/dist/fuzz/ |
| isc_lex_gettoken.c | 20 #include <isc/lex.h> 29 static isc_lex_t *lex = NULL; variable 34 isc_lex_create(mctx, 1024, &lex); 48 CHECK(isc_lex_openbuffer(lex, &buf)); 52 result = isc_lex_gettoken(lex, 0, &token);
|
| dns_rdata_fromtext.c | 22 #include <isc/lex.h> 53 isc_lex_t *lex = NULL; local 73 isc_lex_create(mctx, 256, &lex); 76 * Set up to lex DNS master file. 78 isc_lex_setspecials(lex, specials); 80 isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE); 82 RUNTIME_CHECK(isc_lex_openbuffer(lex, &inbuf) == ISC_R_SUCCESS); 84 result = isc_lex_gettoken(lex, options | ISC_LEXOPT_NUMBER, &token); 111 result = isc_lex_gettoken(lex, options | ISC_LEXOPT_NUMBER, &token); 140 result = dns_rdata_fromtext(&rdata, rdclass, rdtype, lex, name, 0, mctx [all...] |
| isc_lex_getmastertoken.c | 20 #include <isc/lex.h> 36 static isc_lex_t *lex = NULL; variable 41 isc_lex_create(mctx, 1024, &lex); 70 CHECK(isc_lex_openbuffer(lex, &buf)); 73 result = isc_lex_getmastertoken(lex, &token, expect, eol);
|
| /src/external/mpl/bind/dist/bin/named/include/named/ |
| server.h | 155 named_server_reloadcommand(named_server_t *server, isc_lex_t *lex, 162 named_server_resetstatscommand(named_server_t *server, isc_lex_t *lex, 175 named_server_notifycommand(named_server_t *server, isc_lex_t *lex, 182 named_server_refreshcommand(named_server_t *server, isc_lex_t *lex, 189 named_server_retransfercommand(named_server_t *server, isc_lex_t *lex, 197 unsigned int option, isc_lex_t *lex); 234 named_server_dumpdb(named_server_t *server, isc_lex_t *lex, 241 named_server_dumpsecroots(named_server_t *server, isc_lex_t *lex, 248 named_server_setdebuglevel(named_server_t *server, isc_lex_t *lex); 254 named_server_flushcache(named_server_t *server, isc_lex_t *lex); [all...] |
| /src/external/mpl/bind/dist/tests/isc/ |
| lex_test.c | 29 #include <isc/lex.h> 40 isc_lex_t *lex = NULL; local 48 isc_lex_create(mctx, 1024, &lex); 53 result = isc_lex_openbuffer(lex, &death_buf); 56 result = isc_lex_gettoken(lex, 0, &token); 59 isc_lex_destroy(&lex); 65 isc_lex_t *lex = NULL; local 74 isc_lex_create(mctx, 1024, &lex); 79 result = isc_lex_openbuffer(lex, &buf); 82 result = isc_lex_setsourceline(lex, 100) 188 isc_lex_t *lex = NULL; local 241 isc_lex_t *lex = NULL; local 295 isc_lex_t *lex = NULL; local [all...] |
| /src/crypto/external/bsd/heimdal/dist/cf/ |
| symbol-version.py | 46 import ply.lex as lex 47 lex.lex()
|
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| qlog.c | 531 static int lex_init(struct lexer *lex, const char *in, size_t in_len) 536 lex->p = in; 537 lex->term_end = in; 538 lex->end = in + in_len; 542 static int lex_do(struct lexer *lex) 544 const char *p = lex->term_end, *end = lex->end, *term_end; 550 lex->p = end; 551 lex->term_end = end; 558 lex->p = p 686 struct lexer lex = { 0 }; local [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/com_err/ |
| NTMakefile | 61 $(BINDIR)\compile_et.exe: $(OBJ)\parse.obj $(OBJ)\lex.obj $(OBJ)\compile_et.obj $(OBJ)\compile_et-version.res 68 $(OBJ)\lex.obj: $(OBJ)\lex.c 77 $(OBJ)\lex.c: lex.l 78 $(LEX) -o$@ lex.l
|
| /src/crypto/external/bsd/heimdal/dist/lib/sl/ |
| NTMakefile | 41 $(BINDIR)\slc.exe: $(OBJ)\slc-gram.obj $(OBJ)\slc-lex.obj 51 $(OBJ)\slc-lex.c: slc-lex.l 52 $(LEX) -o$@ slc-lex.l 54 $(OBJ)\slc-lex.obj: $(OBJ)\slc-lex.c
|
| /src/external/apache2/llvm/dist/llvm/utils/lit/tests/unit/ |
| ShUtil.py | 9 def lex(self, str, *args, **kwargs): member in class:TestShLexer 10 return list(ShLexer(str, *args, **kwargs).lex()) 13 self.assertEqual(self.lex('a|b>c&d<e;f'), 18 self.assertEqual(self.lex('a2>c'), 20 self.assertEqual(self.lex('a 2>c'), 24 self.assertEqual(self.lex(""" 'a' """), 26 self.assertEqual(self.lex(""" "hello\\"world" """), 28 self.assertEqual(self.lex(""" "hello\\'world" """), 30 self.assertEqual(self.lex(""" "hello\\\\world" """), 32 self.assertEqual(self.lex(""" he"llo wo"rld """) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| missing | 45 flex create \`lex.yy.c', if possible, from existing .c 46 lex create \`lex.yy.c', if possible, from existing .c 139 lex|flex) 145 rm -f lex.yy.c 152 cp "$SRCFILE" lex.yy.c 157 if [ ! -f lex.yy.c ]; then 158 echo 'main() { return 0; }' >lex.yy.c
|
| /src/external/gpl3/binutils.old/dist/gas/ |
| app.c | 92 #define IS_SYMBOL_COMPONENT(c) (lex[c] == LEX_IS_SYMBOL_COMPONENT) 93 #define IS_WHITESPACE(c) (lex[c] == LEX_IS_WHITESPACE) 94 #define IS_LINE_SEPARATOR(c) (lex[c] == LEX_IS_LINE_SEPARATOR) 95 #define IS_PARALLEL_SEPARATOR(c) (lex[c] == LEX_IS_PARALLEL_SEPARATOR) 96 #define IS_COMMENT(c) (lex[c] == LEX_IS_COMMENT_START) 97 #define IS_LINE_COMMENT(c) (lex[c] == LEX_IS_LINE_COMMENT_START) 98 #define IS_TWOCHAR_COMMENT_1ST(c) (lex[c] == LEX_IS_TWOCHAR_COMMENT_1ST) 99 #define IS_NEWLINE(c) (lex[c] == LEX_IS_NEWLINE) 101 static char lex[256] = { variable 176 if (lex['/'] == 0 [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| skr.c | 18 #include <isc/lex.h> 30 #define READLINE(lex, opt, token) 32 #define NEXTTOKEN(lex, opt, token) \ 34 CHECK(isc_lex_gettoken(lex, opt, token)); \ 47 parse_rr(isc_lex_t *lex, isc_mem_t *mctx, char *owner, dns_name_t *origin, 59 isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE); 75 NEXTTOKEN(lex, opt, &token); 83 NEXTTOKEN(lex, opt, &token); 95 NEXTTOKEN(lex, opt, &token); 118 result = dns_rdata_fromtext(*rdata, rdclass, *rdtype, lex, dname, 0 238 isc_lex_t *lex = NULL; local [all...] |
| /src/external/gpl3/binutils/dist/gas/ |
| app.c | 92 #define IS_SYMBOL_COMPONENT(c) (lex[c] == LEX_IS_SYMBOL_COMPONENT) 93 #define IS_WHITESPACE(c) (lex[c] == LEX_IS_WHITESPACE) 94 #define IS_LINE_SEPARATOR(c) (lex[c] == LEX_IS_LINE_SEPARATOR) 95 #define IS_PARALLEL_SEPARATOR(c) (lex[c] == LEX_IS_PARALLEL_SEPARATOR) 96 #define IS_COMMENT(c) (lex[c] == LEX_IS_COMMENT_START) 97 #define IS_LINE_COMMENT(c) (lex[c] == LEX_IS_LINE_COMMENT_START) 98 #define IS_TWOCHAR_COMMENT_1ST(c) (lex[c] == LEX_IS_TWOCHAR_COMMENT_1ST) 99 #define IS_NEWLINE(c) (lex[c] == LEX_IS_NEWLINE) 101 static char lex[256] = { variable 176 if (lex['/'] == 0 [all...] |
| /src/tools/m4/bootstrap/ |
| Makefile | 18 ${LEX} ${DIST}/tokenizer.l 19 sed -e 's/\$$''NetBSD:\([^$$]*\)\ \$$/NetBSD:\1/' < lex.yy.c > ${.TARGET} 20 rm -f lex.yy.c
|
| /src/tools/lex/ |
| Makefile | 3 HOSTPROGNAME= ${_TOOL_PREFIX}lex
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| CommentBriefParser.h | 39 L.lex(Tok);
|
| /src/external/bsd/flex/bin/ |
| Makefile | 13 # To bootstrap lex, cp initscan.c to scan.c and run make. 17 PROG= lex 53 LINKS= ${BINDIR}/lex ${BINDIR}/flex \ 54 ${BINDIR}/lex ${BINDIR}/flex++ 55 MLINKS= flex.1 lex.1 69 ${LEX} -t -p ${.ALLSRC} >${.TARGET}
|
| /src/external/gpl2/groff/bin/pic/ |
| Makefile | 12 SRCS= lex.cpp main.cpp object.cpp pic.cpp \
|