Home
last modified time | relevance | path

Searched refs:yyleng (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dnrform51 common /yyxel/ yyleng, yytext
52 integer yyfnd, yymorf, yylsta, yylsp, yytext, yyprev, yyleng, yytop
56 yyleng = 0
74 yyleng = yyleng+1
75 yytext(yyleng) = ch
82 call unput(yytext(yyleng))
83 yyleng = yyleng - 1
97 call unput(yytext(yyleng))
98 yyleng = yyleng - 1
109 call unput(yytext(yyleng))
[all …]
H A Dreject.c37 #pragma weak yyleng macro
43 #define YYLENG yyleng
52 #pragma weak yyleng macro
58 #define YYLENG yyleng
66 #pragma weak yyleng macro
81 extern int yyleng;
129 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX); in YYREJECT()
135 yyleng = 0; in YYREJECT()
153 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX); in yyracc()
H A Dyyless.c45 #pragma weak yyleng macro
51 #define YYLENG yyleng
61 #pragma weak yyleng macro
67 #define YYLENG yyleng
76 #pragma weak yyleng macro
77 extern int yyleng;
130 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX); in yyless()
H A Dncform57 yylastch = yytext+yyleng;
199 yyleng = yylastch-yytext+1;
200 yytext[yyleng] = 0;
H A Dnceucform236 yyleng=wcstombs((char *)yytext, YYTEXT, sizeof(yytext)-1);
238 if(yyleng>=sizeof(yytext)-1)
/illumos-gate/usr/src/tools/cscope-fast/
H A Dscanner.l144 yyleng = strlen(yytext);
363 first = yyleng - 1;
527 if (yyleng > STMTMAX) {
540 if (yyleng - first > PATLEN) {
542 yyleng = first + PATLEN;
543 yytext[yyleng] = '\0';
551 last = yyleng;
563 first = yyleng;
594 last = yyleng;
634 (void) yyless(yyleng - 1); /* rescan \n */
[all …]
H A Dcrossref.c126 first = yyleng; in crossref()
136 --yyleng; /* remove the newline */ in crossref()
176 first = yyleng; in savesymbol()
213 for (i = 0; i < yyleng; ++i) { in putcrossref()
H A Dglobal.h172 extern int yyleng; /* input line length */
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_lex.l230 arg.a_un.a_char = yytext[yyleng - 1];
259 if (yyleng == 2) {
265 yytext[yyleng - 1] = '\0'; /* Overwrite final quote */
293 yylval.l_string = strndup(yytext + 1, yyleng - 2);
760 int yyleng;
790 s->yyleng = yyleng;
817 yyleng = s->yyleng;
852 yyleng = 0;
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_comp.l84 {HEXADECIMAL} { yylval.data = hexadecimal_data(yyleng - 2, yytext + 2);
88 {ITMNAME} { yylval.data = str_to_data(yyleng, yytext);
96 yylval.data = name_data(yyleng, yytext);
105 yylval.data = name_data(yyleng, yytext);
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dlex.l73 if (yylval.str[yyleng - 2] == '"')
74 yylval.str[yyleng - 2] = '\0';
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg_lex.l373 if (yylval.strval[yyleng - 2] == '"')
374 yylval.strval[yyleng - 2] = 0;
380 if (yylval.strval[yyleng - 2] == '"')
381 yylval.strval[yyleng - 2] = 0;
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.l208 if (yylval.sval[yyleng-2] =='"')
209 yylval.sval[yyleng-2] = 0;
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_lex.l93 yylval.l_string = inj_strndup(yytext + 1, yyleng - 2);
/illumos-gate/usr/src/common/mapfiles/common/
H A Dmap.lex.yy37 yyleng;
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dyy-lsed35 s/yyleng/fruleng/g
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_lex.l383 yylval.l_str = strndup(yytext + 1, yyleng - 2);
589 char *q = yytext + yyleng - 1;