/titanic_41/usr/src/lib/libsec/common/ |
H A D | acl_lex.l | 95 yylval.val = USER_TOK; 100 yylval.val = USER_SID_TOK; 105 yylval.val = OWNERAT_TOK; 110 yylval.val = GROUPAT_TOK; 115 yylval.val = EVERYONEAT_TOK; 120 yylval.val = GROUP_TOK; 125 yylval.val = GROUP_SID_TOK; 130 yylval.val = GROUP_SID_TOK; 135 yylval.val = MASK_TOK; 140 yylval.val = MASK_TOK; [all …]
|
/titanic_41/usr/src/cmd/tnf/prex/ |
H A D | prexlex.l | 71 add { yylval.intval = ADD; return (ADD); } 72 alloc { yylval.intval = ALLOC; return (ALLOC); } 73 buffer { yylval.intval = BUFFER; return (BUFFER); } 74 clear { yylval.intval = CLEAR; return (CLEAR); } 75 connect { yylval.intval = CONNECT; return (CONNECT); } 76 continue { yylval.intval = CONTINUE; return (CONTINUE); } 77 create { yylval.intval = CREATE; return (CREATE); } 78 dealloc { yylval.intval = DEALLOC; return (DEALLOC); } 79 delete { yylval.intval = DELETE; return (DELETE); } 80 disable { yylval.intval = DISABLE; return (DISABLE); } [all …]
|
/titanic_41/usr/src/cmd/oawk/ |
H A D | awk.lx.l | 44 extern int yylval; 89 <A>"!=" { yylval = NE; RETURN(RELOP); } 90 <A>"~" { yylval = MATCH; RETURN(MATCHOP); } 91 <A>"!~" { yylval = NOTMATCH; RETURN(MATCHOP); } 92 <A>"<" { yylval = LT; RETURN(RELOP); } 93 <A>"<=" { yylval = LE; RETURN(RELOP); } 94 <A>"==" { yylval = EQ; RETURN(RELOP); } 95 <A>">=" { yylval = GE; RETURN(RELOP); } 96 <A>">" { yylval = GT; RETURN(RELOP); } 97 <A>">>" { yylval = APPEND; RETURN(RELOP); } [all …]
|
/titanic_41/usr/src/cmd/awk/ |
H A D | awk.lx.l | 51 extern YYSTYPE yylval; 114 <A>"!=" { yylval.i = NE; RET(NE); } 115 <A>"~" { yylval.i = MATCH; RET(MATCHOP); } 116 <A>"!~" { yylval.i = NOTMATCH; RET(MATCHOP); } 117 <A>"<" { yylval.i = LT; RET(LT); } 118 <A>"<=" { yylval.i = LE; RET(LE); } 119 <A>"==" { yylval.i = EQ; RET(EQ); } 120 <A>">=" { yylval.i = GE; RET(GE); } 121 <A>">" { yylval.i = GT; RET(GT); } 122 <A>">>" { yylval.i = APPEND; RET(APPEND); } [all …]
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_lex.l | 160 yylval.l_string = strdup(yytext); 170 if ((yylval.l_dcmd = mdb_dcmd_lookup(yytext + 2)) == NULL) 183 if ((yylval.l_dcmd = mdb_dcmd_lookup(yytext)) == NULL) 201 yylval.l_dcmd = mdb_dcmd_lookup(">"); 211 yylval.l_dcmd = mdb_dcmd_lookup(yytext); 254 yylval.l_immediate = 0; 261 yylval.l_immediate = 0; /* Initialize token value */ 269 p = ((char*)&yylval.l_immediate) + nbytes - 1; 274 bcopy(s, ((char *)&yylval.l_immediate) + 287 yylval.l_string = strndup(yytext + 1, yyleng - 2); [all …]
|
/titanic_41/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.l | 172 yylval.ival = strtoll(yytext, NULL, 0); 182 yylval.uval = strtoull(yytext, NULL, 0); 194 yylval.bval = 1; 196 yylval.bval = 0; 202 if((yylval.sval = strdup(yytext+1)) == NULL) { 206 if (yylval.sval[yyleng-2] =='"') 207 yylval.sval[yyleng-2] = 0; 213 yylval.dval = strtod(yytext, (char **)NULL); 223 if ((yylval.sval = strdup(yytext)) == NULL) { 231 if ((yylval.sval = strdup(yytext)) == NULL) {
|
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | lex.l | 47 {hexnumber} {yylval.addr = hexstr_to_num(yytext); return (NUMBER);} 48 {decnumber} {yylval.addr = atoi(yytext); return (NUMBER);} 66 {symbol} {yylval.str = strdup(yytext); return (SYMBOL);} 68 yylval.str = strdup(yytext + 1); 72 yylval.str = strdup(yytext + 1); 73 if (yylval.str[yyleng - 2] == '"') 74 yylval.str[yyleng - 2] = '\0';
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_lex.l | 205 if ((yylval.l_str = strdup(v)) == NULL) 208 (void) stresc2chr(yylval.l_str); 244 yylval.l_str = strndup(v + 1, len - 2); 246 yylval.l_str = strndup(v, len); 248 if (yylval.l_str == NULL) 251 (void) stresc2chr(yylval.l_str); 266 yylval.l_int = strtoull(v, &p, 0); 299 if ((yylval.l_str = strdup(s)) == NULL) 318 yylval.l_int = (intmax_t)(int)idp->di_id; 333 if ((yylval.l_str = strdup(yytext)) == NULL) [all …]
|
/titanic_41/usr/src/cmd/geniconvtbl/ |
H A D | itm_comp.l | 78 yylval.num = strtoul(yytext, (char **)NULL, 10); 82 {OCTAL} { yylval.num = strtoul(yytext, (char **)NULL, 8); 86 {HEXADECIMAL} { yylval.data = hexadecimal_data(yyleng - 2, yytext + 2); 90 {ITMNAME} { yylval.data = str_to_data(yyleng, yytext); 97 {MAPTYPE_NAME} { yylval.num = at_name_to_token(yytext); 98 yylval.data = name_data(yyleng, yytext); 103 {NAME} { yylval.num = at_name_to_token(yytext); 104 if (0 != yylval.num) { 105 return (yylval.num); 107 yylval.data = name_data(yyleng, yytext);
|
/titanic_41/usr/src/cmd/localedef/ |
H A D | scanner.c | 481 yylval.wc = wc; in get_wide() 540 (lookup_charmap(token, &yylval.wc)) != -1) { in get_symbol() 543 if ((yylval.collsym = lookup_collsym(token)) != NULL) { in get_symbol() 546 if ((yylval.collelem = lookup_collelem(token)) != in get_symbol() 551 yylval.token = strdup(token); in get_symbol() 615 yylval.num = strtol(token, &eptr, 10); in consume_token() 626 yylval.wc = token[0]; in consume_token() 631 yylval.token = strdup(token); in consume_token() 673 yylval.wc = get_escaped(c); in yylex() 690 yylval.wc = c; in yylex()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 259 yylval.string = makestr(yytext); in yylex() 295 yylval.intval = COMPARE; in yylex() 299 yylval.intval = REMOVE; in yylex() 303 yylval.intval = VERIFY; in yylex() 307 yylval.intval = WHOLE; in yylex() 311 yylval.intval = YOUNGER; in yylex() 315 yylval.intval = FOLLOW; in yylex() 319 yylval.intval = IGNLNKS; in yylex() 334 yylval.string = makestr(yytext); in yylex() 337 yylval.subcmd = makesubcmd(c); in yylex()
|
/titanic_41/usr/src/cmd/zonecfg/ |
H A D | zonecfg_lex.l | 346 yylval.strval = create_token(yytext); 351 yylval.strval = create_token(yytext); 356 yylval.strval = create_token(yytext); 361 yylval.strval = create_token(yytext + 1); 362 if (yylval.strval[yyleng - 2] == '"') 363 yylval.strval[yyleng - 2] = 0; 368 yylval.strval = create_token(yytext + 1); 369 if (yylval.strval[yyleng - 2] == '"') 370 yylval.strval[yyleng - 2] = 0;
|
/titanic_41/usr/src/cmd/msgfmt/ |
H A D | gnu_lex.c | 369 yylval.c.len = pch->len; in yylex() 370 (void) memcpy(yylval.c.buf, pch->buf, pch->len); in yylex() 396 yylval.str = buf; in yylex() 441 yylval.str = buf; in yylex() 467 yylval.str = buf; in yylex() 472 yylval.num = cur_line; in yylex() 509 yylval.num = atoi(buf); in yylex() 514 yylval.c.len = 1; in yylex() 515 yylval.c.buf[0] = uc; in yylex()
|
/titanic_41/usr/src/cmd/fm/fminject/common/ |
H A D | inj_lex.l | 95 yylval.l_string = inj_strndup(yytext + 1, yyleng - 2); 100 yylval.l_string = inj_strdup(yytext); 105 yylval.l_string = inj_strdup(yytext); 110 yylval.l_string = inj_strdup(yytext);
|
/titanic_41/usr/src/cmd/sgs/lex/common/ |
H A D | parser.y | 313 yylval.i = 0; 561 yylval.cp = (CHR *)buf; 572 yylval.cp = (CHR *)token; 711 yylval.i = siconv(token); 714 first_value = yylval.i; 716 if(first_value>yylval.i)warning("the values between braces are reversed"); 785 yylval.cp = (CHR *)t; 815 yylval.i = (unsigned)token[0]; 819 yylval.cp = (CHR *)token; 890 yylval.cp = ccp; [all …]
|
/titanic_41/usr/src/cmd/backup/lib/ |
H A D | getdate.y | 631 yylval.Meridian = MERam; 635 yylval.Meridian = MERpm; 652 yylval.Number = tp->value; 657 yylval.Number = tp->value; 664 yylval.Number = tp->value; 670 yylval.Number = tp->value; 680 yylval.Number = tp->value; 687 yylval.Number = tp->value; 695 yylval.Number = tp->value; 710 yylval.Number = tp->value; [all …]
|
/titanic_41/usr/src/cmd/krb5/kadmin/cli/ |
H A D | getdate.y | 754 yylval.Meridian = MERam; 759 yylval.Meridian = MERpm; 776 yylval.Number = tp->value; 781 yylval.Number = tp->value; 788 yylval.Number = tp->value; 797 yylval.Number = tp->value; 807 yylval.Number = tp->value; 815 yylval.Number = tp->value; 829 yylval.Number = tp->value; 860 for (yylval.Number = 0; isdigit((int) (c = *yyInput++)); ) in yylex() [all …]
|
/titanic_41/usr/src/cmd/cron/ |
H A D | att2.l | 39 #define LL(t,v) return(yylval = v, t) 44 extern int yylval; 85 [0-9] { yylval = yytext[0] - '0'; return(NUMB); }
|
/titanic_41/usr/src/cmd/loadkeys/ |
H A D | loadkeys.y | 800 yylval.number = '\''; in yylex() 809 yylval.number = readesc(infile, '\'', 1); in yylex() 813 yylval.number = c; in yylex() 829 yylval.number = '"'; in yylex() 849 yylval.number = STRING+nstrings; in yylex() 868 yylval.number = '^'; in yylex() 870 yylval.number = c & 037; in yylex() 892 yylval.number = (unsigned char)tokbuf[0]; in yylex() 895 yylval.number = (unsigned char)(tokbuf[1] & 037); in yylex() 910 yylval.number = wptr->w_lval; in yylex() [all …]
|
/titanic_41/usr/src/cmd/genmsg/ |
H A D | genmsg.l | 209 yylval.str = skip_quoted('"'); 211 (void) fprintf(newfp, "\"%s\"", yylval.str); 215 free(yylval.str); 240 yylval.id = atoi(yytext); 251 yylval.id = atoi(yytext); 262 yylval.id == 1) { 279 yylval.id = atoi(yytext);
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | deltat.c | 337 { yychar = (token), yylval = (value); \ 356 #define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) 358 #define YYLEX yylex(&yylval, &yylloc) 362 #define YYLEX yylex(&yylval, YYLEX_PARAM) 364 #define YYLEX yylex(&yylval) 374 YYSTYPE yylval; /* the semantic value of the */ variable 514 YYSTYPE yylval; in yyparse() local 694 YYPRINT (stderr, yychar, yylval); in yyparse() 738 *++yyvsp = yylval; in yyparse() 1028 *++yyvsp = yylval; in yyparse()
|
/titanic_41/usr/src/lib/libfru/libfru/ |
H A D | nameSyntaxLex.l | 60 [0-9]+ { yylval.num = atoi (yytext); return NUMBER; } 61 [_a-zA-Z0-9]+ { yylval.name = strdup(yytext); return NAME; }
|
/titanic_41/usr/src/tools/ndrgen/ |
H A D | ndr_lex.c | 88 extern struct node *yylval; 266 yylval = &sym->s_node; in yylex() 313 yylval = &intg->s_node; in yylex() 320 yylval = 0; /* operator tokens have no value */ in yylex() 363 yylval = &sym->s_node; in yylex() 373 yylval = &sym->s_node; in yylex()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_lex.l | 219 yylval.strval = safe_strdup(yytext); 224 yylval.strval = safe_strdup(yytext); 229 yylval.strval = safe_strdup(yytext); 234 yylval.strval = safe_strdup(yytext);
|
/titanic_41/usr/src/cmd/eqn/ |
H A D | lex.c | 100 yylval = c; in yylex() 126 yylval = (int)&token[0]; in yylex() 192 yylval = (int)s; in getstr()
|