Searched refs:lex (Results 1 - 25 of 116) sorted by relevance

12345

/freebsd-9.3-release/share/doc/psd/16.lex/
H A DMakefile4 VOLUME= psd/16.lex
5 SRCS= lex.ms
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dlex.c18 /* $Id: lex.c,v 1.86 2007/09/17 09:56:29 shane Exp $ */
30 #include <isc/lex.h>
72 grow_data(isc_lex_t *lex, size_t *remainingp, char **currp, char **prevp) { argument
75 new = isc_mem_get(lex->mctx, lex->max_token * 2 + 1);
78 memmove(new, lex->data, lex->max_token + 1);
79 *currp = new + (*currp - lex->data);
81 *prevp = new + (*prevp - lex->data);
82 isc_mem_put(lex
91 isc_lex_t *lex; local
126 isc_lex_t *lex; local
147 isc_lex_getcomments(isc_lex_t *lex) argument
158 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments) argument
169 isc_lex_getspecials(isc_lex_t *lex, isc_lexspecials_t specials) argument
180 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_t specials) argument
192 new_source(isc_lex_t *lex, isc_boolean_t is_file, isc_boolean_t need_close, void *input, const char *name) argument
227 isc_lex_openfile(isc_lex_t *lex, const char *filename) argument
248 isc_lex_openstream(isc_lex_t *lex, FILE *stream) argument
263 isc_lex_openbuffer(isc_lex_t *lex, isc_buffer_t *buffer) argument
278 isc_lex_close(isc_lex_t *lex) argument
330 pushandgrow(isc_lex_t *lex, inputsource *source, int c) argument
353 isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) argument
799 isc_lex_getmastertoken(isc_lex_t *lex, isc_token_t *token, isc_tokentype_t expect, isc_boolean_t eol) argument
835 isc_lex_getoctaltoken(isc_lex_t *lex, isc_token_t *token, isc_boolean_t eol) argument
862 isc_lex_ungettoken(isc_lex_t *lex, isc_token_t *tokenp) argument
884 isc_lex_getlasttokentext(isc_lex_t *lex, isc_token_t *tokenp, isc_region_t *r) argument
906 isc_lex_getsourcename(isc_lex_t *lex) argument
919 isc_lex_getsourceline(isc_lex_t *lex) argument
933 isc_lex_setsourcename(isc_lex_t *lex, const char *name) argument
951 isc_lex_isfile(isc_lex_t *lex) argument
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dlex.c18 /* $Id: lex.c,v 1.86 2007/09/17 09:56:29 shane Exp $ */
30 #include <isc/lex.h>
72 grow_data(isc_lex_t *lex, size_t *remainingp, char **currp, char **prevp) { argument
75 new = isc_mem_get(lex->mctx, lex->max_token * 2 + 1);
78 memcpy(new, lex->data, lex->max_token + 1);
79 *currp = new + (*currp - lex->data);
81 *prevp = new + (*prevp - lex->data);
82 isc_mem_put(lex
91 isc_lex_t *lex; local
126 isc_lex_t *lex; local
147 isc_lex_getcomments(isc_lex_t *lex) argument
158 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments) argument
169 isc_lex_getspecials(isc_lex_t *lex, isc_lexspecials_t specials) argument
180 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_t specials) argument
192 new_source(isc_lex_t *lex, isc_boolean_t is_file, isc_boolean_t need_close, void *input, const char *name) argument
227 isc_lex_openfile(isc_lex_t *lex, const char *filename) argument
248 isc_lex_openstream(isc_lex_t *lex, FILE *stream) argument
263 isc_lex_openbuffer(isc_lex_t *lex, isc_buffer_t *buffer) argument
278 isc_lex_close(isc_lex_t *lex) argument
330 pushandgrow(isc_lex_t *lex, inputsource *source, int c) argument
353 isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) argument
796 isc_lex_getmastertoken(isc_lex_t *lex, isc_token_t *token, isc_tokentype_t expect, isc_boolean_t eol) argument
832 isc_lex_getoctaltoken(isc_lex_t *lex, isc_token_t *token, isc_boolean_t eol) argument
859 isc_lex_ungettoken(isc_lex_t *lex, isc_token_t *tokenp) argument
881 isc_lex_getlasttokentext(isc_lex_t *lex, isc_token_t *tokenp, isc_region_t *r) argument
903 isc_lex_getsourcename(isc_lex_t *lex) argument
916 isc_lex_getsourceline(isc_lex_t *lex) argument
930 isc_lex_setsourcename(isc_lex_t *lex, const char *name) argument
948 isc_lex_isfile(isc_lex_t *lex) argument
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dlex.h18 /* $Id: lex.h,v 1.37 2008/05/30 23:47:01 tbox Exp $ */
27 /*! \file isc/lex.h
28 * \brief The "lex" module provides a lightweight tokenizer. It can operate
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.
210 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dlex.h18 /* $Id: lex.h,v 1.37 2008/05/30 23:47:01 tbox Exp $ */
27 /*! \file isc/lex.h
28 * \brief The "lex" module provides a lightweight tokenizer. It can operate
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.
210 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_
[all...]
/freebsd-9.3-release/usr.bin/lex/
H A DMakefile8 # Bootstrapping of lex is handled automatically.
12 PROG= lex
13 LINKS+= ${BINDIR}/lex ${BINDIR}/lex++
14 LINKS+= ${BINDIR}/lex ${BINDIR}/flex
15 LINKS+= ${BINDIR}/lex ${BINDIR}/flex++
23 MLINKS+= lex.1 flex.1
24 MLINKS+= lex.1 flex++.1
25 MLINKS+= lex.1 lex
[all...]
/freebsd-9.3-release/contrib/dtc/
H A DMakefile.convert-dtsv011 CONVERT_GEN_SRCS = convert-dtsv0-lexer.lex.c
/freebsd-9.3-release/contrib/binutils/gas/
H A Dapp.c57 static char lex[256]; variable
81 #define IS_SYMBOL_COMPONENT(c) (lex[c] == LEX_IS_SYMBOL_COMPONENT)
82 #define IS_WHITESPACE(c) (lex[c] == LEX_IS_WHITESPACE)
83 #define IS_LINE_SEPARATOR(c) (lex[c] == LEX_IS_LINE_SEPARATOR)
84 #define IS_PARALLEL_SEPARATOR(c) (lex[c] == LEX_IS_PARALLEL_SEPARATOR)
85 #define IS_COMMENT(c) (lex[c] == LEX_IS_COMMENT_START)
86 #define IS_LINE_COMMENT(c) (lex[c] == LEX_IS_LINE_COMMENT_START)
87 #define IS_NEWLINE(c) (lex[c] == LEX_IS_NEWLINE)
101 lex[' '] = LEX_IS_WHITESPACE;
102 lex['\
[all...]
/freebsd-9.3-release/share/doc/psd/
H A DMakefile25 16.lex \
/freebsd-9.3-release/usr.bin/compile_et/
H A DMakefile6 SRCS= compile_et.c parse.y lex.l getarg.c
/freebsd-9.3-release/usr.bin/mklocale/
H A DMakefile5 SRCS= yacc.y lex.l y.tab.h
/freebsd-9.3-release/usr.sbin/kbdcontrol/
H A DMakefile6 SRCS= kbdcontrol.c lex.l
/freebsd-9.3-release/gnu/usr.bin/dtc/
H A DMakefile30 LEX= lex
32 OBJS+= dtc-parser.tab.o dtc-lexer.lex.o
34 CLEANFILES+= dtc-parser.tab.o dtc-lexer.lex.o dtc-parser.tab.c \
35 dtc-parser.tab.h dtc-lexer.lex.c ${DTCVERSIONFILE}
41 dtc-lexer.lex.o: dtc-lexer.lex.c dtc-parser.tab.h
48 dtc-lexer.lex.c: dtc-lexer.l
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dmissing45 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
/freebsd-9.3-release/contrib/libpcap/
H A Drunlex.sh18 echo "Usage: runlex <lex/flex command to run> [ arguments ]" 1>&2
29 echo "Neither lex nor flex was found" 1>&2
38 outfile=lex.yy.c
110 # If it's lex, it doesn't support -o, so we just write to
111 # lex.yy.c and, if it succeeds, rename it to the right name,
112 # otherwise we remove lex.yy.c.
114 # write to lex.yy.c, it writes to a lex.{prefix from -P}.c.
172 # No. Get rid of any lex.yy.c file we generated, and
175 rm -f lex
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentBriefParser.h40 L.lex(Tok);
/freebsd-9.3-release/contrib/ipfilter/iplang/
H A DMakefile23 lex iplang_l.l
24 mv lex.yy.c $(DESTDIR)/iplang_l.c
32 /bin/rm -f *.o lex.yy.c y.tab.c y.tab.h
/freebsd-9.3-release/contrib/binutils/
H A Dmissing82 flex create \`lex.yy.c', if possible, from existing .c
84 lex create \`lex.yy.c', if possible, from existing .c
110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/freebsd-9.3-release/contrib/cvs/
H A Dmissing85 flex create \`lex.yy.c', if possible, from existing .c
87 lex create \`lex.yy.c', if possible, from existing .c
113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/freebsd-9.3-release/contrib/ofed/libibcm/config/
H A Dmissing82 flex create \`lex.yy.c', if possible, from existing .c
84 lex create \`lex.yy.c', if possible, from existing .c
110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/freebsd-9.3-release/contrib/ofed/librdmacm/config/
H A Dmissing82 flex create \`lex.yy.c', if possible, from existing .c
84 lex create \`lex.yy.c', if possible, from existing .c
110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/freebsd-9.3-release/contrib/openbsm/config/
H A Dmissing82 flex create \`lex.yy.c', if possible, from existing .c
84 lex create \`lex.yy.c', if possible, from existing .c
110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/freebsd-9.3-release/crypto/heimdal/
H A Dmissing85 flex create \`lex.yy.c', if possible, from existing .c
87 lex create \`lex.yy.c', if possible, from existing .c
113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/freebsd-9.3-release/contrib/ntp/sntp/libevent/build-aux/
H A Dmissing83 flex create \`lex.yy.c', if possible, from existing .c
85 lex create \`lex.yy.c', if possible, from existing .c
121 lex*|yacc*)
251 lex*|flex*)
257 rm -f lex.yy.c
264 cp "$SRCFILE" lex.yy.c
269 if test ! -f lex.yy.c; then
270 echo 'main() { return 0; }' >lex.yy.c
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dmissing82 flex create \`lex.yy.c', if possible, from existing .c
84 lex create \`lex.yy.c', if possible, from existing .c
110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c

Completed in 163 milliseconds

12345