Home
last modified time | relevance | path

Searched refs:lex (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/NextBSD/contrib/jansson/src/
HDload.c80 static void error_set(json_error_t *error, const lex_t *lex, in error_set() argument
99 if(lex) in error_set()
101 const char *saved_text = strbuffer_value(&lex->saved_text); in error_set()
103 line = lex->stream.line; in error_set()
104 col = lex->stream.column; in error_set()
105 pos = lex->stream.position; in error_set()
109 if(lex->saved_text.length <= 20) { in error_set()
118 if(lex->stream.state == STREAM_STATE_ERROR) { in error_set()
233 static int lex_get(lex_t *lex, json_error_t *error) in lex_get() argument
235 return stream_get(&lex->stream, error); in lex_get()
[all …]
/NextBSD/contrib/ntp/lib/isc/
HDlex.c72 grow_data(isc_lex_t *lex, size_t *remainingp, char **currp, char **prevp) { in grow_data() argument
75 new = isc_mem_get(lex->mctx, lex->max_token * 2 + 1); in grow_data()
78 memcpy(new, lex->data, lex->max_token + 1); in grow_data()
79 *currp = new + (*currp - lex->data); in grow_data()
81 *prevp = new + (*prevp - lex->data); in grow_data()
82 isc_mem_put(lex->mctx, lex->data, lex->max_token + 1); in grow_data()
83 lex->data = new; in grow_data()
84 *remainingp += lex->max_token; in grow_data()
85 lex->max_token *= 2; in grow_data()
91 isc_lex_t *lex; in isc_lex_create() local
[all …]
/NextBSD/contrib/ntp/lib/isc/include/isc/
HDlex.h178 isc_lex_getcomments(isc_lex_t *lex);
190 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments);
201 isc_lex_getspecials(isc_lex_t *lex, isc_lexspecials_t specials);
210 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_t specials);
224 isc_lex_openfile(isc_lex_t *lex, const char *filename);
243 isc_lex_openstream(isc_lex_t *lex, FILE *stream);
258 isc_lex_openbuffer(isc_lex_t *lex, isc_buffer_t *buffer);
273 isc_lex_close(isc_lex_t *lex);
283 isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp);
309 isc_lex_getmastertoken(isc_lex_t *lex, isc_token_t *token,
[all …]
/NextBSD/contrib/binutils/gas/
HDapp.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; in do_scrub_begin()
102 lex['\t'] = LEX_IS_WHITESPACE; in do_scrub_begin()
[all …]
/NextBSD/usr.bin/lex/
HDMakefile12 PROG= lex
13 LINKS+= ${BINDIR}/lex ${BINDIR}/lex++
14 LINKS+= ${BINDIR}/lex ${BINDIR}/flex
15 LINKS+= ${BINDIR}/lex ${BINDIR}/flex++
29 MLINKS+= lex.1 flex.1
30 MLINKS+= lex.1 flex++.1
31 MLINKS+= lex.1 lex++.1
/NextBSD/usr.bin/mkcsmapper_static/
HDMakefile.depend17 lex.o: lex.c
18 lex.o: yacc.h
19 lex.po: lex.c
20 lex.po: yacc.h
/NextBSD/usr.bin/mkesdb/
HDMakefile.depend19 lex.o: lex.c
20 lex.o: yacc.h
21 lex.po: lex.c
22 lex.po: yacc.h
/NextBSD/usr.bin/mkcsmapper/
HDMakefile.depend20 lex.o: lex.c
21 lex.o: yacc.h
22 lex.po: lex.c
23 lex.po: yacc.h
/NextBSD/usr.bin/mklocale/
HDMakefile.depend20 lex.o: lex.c
21 lex.o: y.tab.h
22 lex.po: lex.c
23 lex.po: y.tab.h
/NextBSD/kerberos5/tools/asn1_compile/
HDMakefile.depend46 lex.o: asn1parse.h
47 lex.o: lex.c
48 lex.o: roken.h
49 lex.po: asn1parse.h
50 lex.po: lex.c
51 lex.po: roken.h
/NextBSD/contrib/file/magic/Magdir/
HDlex3 # $File: lex,v 1.6 2009/09/19 16:28:10 christos Exp $
4 # lex: file(1) magic for lex
7 0 search/100 yyprevious C program text (from lex)
11 # lex description file, from Daniel Quinlan <quinlan@yggdrasil.com>
12 0 search/1 %{ lex description text
/NextBSD/usr.bin/compile_et/
HDMakefile.depend25 lex.o: lex.c
26 lex.o: parse.h
27 lex.po: lex.c
28 lex.po: parse.h
/NextBSD/kerberos5/tools/slc/
HDMakefile.depend26 slc-lex.o: slc-gram.h
27 slc-lex.o: slc-lex.c
28 slc-lex.po: slc-gram.h
29 slc-lex.po: slc-lex.c
/NextBSD/gnu/usr.bin/dtc/
HDMakefile.depend19 dtc-lexer.lex.o: dtc-lexer.lex.c
20 dtc-lexer.lex.o: dtc-parser.tab.h
21 dtc-lexer.lex.po: dtc-lexer.lex.c
22 dtc-lexer.lex.po: dtc-parser.tab.h
HDMakefile30 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
/NextBSD/usr.sbin/kbdcontrol/
HDMakefile.depend12 usr.bin/lex/lib \
19 lex.o: lex.c
20 lex.po: lex.c
/NextBSD/contrib/llvm/lib/CodeGen/MIRParser/
HDMIParser.cpp67 void lex();
139 void MIParser::lex() { in lex() function in MIParser
157 lex(); in parse()
170 lex(); in parse()
189 lex(); in parse()
207 lex(); in parseMBB()
212 lex(); in parseMBB()
220 lex(); in parseNamedRegister()
225 lex(); in parseNamedRegister()
299 lex(); in parseInstruction()
[all …]
/NextBSD/crypto/heimdal/lib/roken/
HDmissing139 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
/NextBSD/contrib/sqlite3/
HDmissing120 lex*|yacc*)
241 lex*|flex*)
247 rm -f lex.yy.c
254 cp "$SRCFILE" lex.yy.c
259 if test ! -f lex.yy.c; then
260 echo 'main() { return 0; }' >lex.yy.c
/NextBSD/contrib/binutils/
HDmissing110 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
/NextBSD/contrib/ntp/sntp/
HDmissing110 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
/NextBSD/contrib/ntp/
HDmissing110 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
/NextBSD/contrib/openbsm/config/
HDmissing110 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
/NextBSD/contrib/ofed/libibcm/config/
HDmissing110 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
/NextBSD/contrib/ofed/librdmacm/config/
HDmissing110 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

12345678910>>...12