Lines Matching refs:yylval
196 if ((yylval.l_str = strdup(v)) == NULL)
199 (void) stresc2chr(yylval.l_str);
235 yylval.l_str = strndup(v + 1, len - 2);
237 yylval.l_str = strndup(v, len);
239 if (yylval.l_str == NULL)
242 (void) stresc2chr(yylval.l_str);
257 yylval.l_int = strtoull(v, &p, 0);
290 if ((yylval.l_str = strdup(s)) == NULL)
309 yylval.l_int = (intmax_t)(int)idp->di_id;
322 if ((yylval.l_str = strdup(yytext)) == NULL)
328 if ((yylval.l_str = strdup("@_")) == NULL)
339 yylval.l_int = strtoull(yytext, &p, 0);
358 dt_node_int(yylval.l_int));
372 yylval.l_str = strndup(yytext + 1, yyleng - 2);
374 if (yylval.l_str == NULL)
377 (void) stresc2chr(yylval.l_str);
382 dt_node_string(yylval.l_str));
401 yylval.l_int = 0;
406 if (nbytes > sizeof (yylval.l_int)) {
411 p = ((char *)&yylval.l_int) + nbytes - 1;
415 bcopy(s, ((char *)&yylval.l_int) +
416 sizeof (yylval.l_int) - nbytes, nbytes);
584 yylval.l_str = strdup(yytext);
586 if (yylval.l_str == NULL) {
604 if ((yylval.l_str = strdup(yytext)) == NULL)
627 if ((yylval.l_str = strdup(yytext)) == NULL)
637 dnp = dt_node_string(yylval.l_str);
703 * Given a lexeme 's' (typically yytext), set yylval and return an appropriate
718 if ((s = yylval.l_str = strdup(s)) == NULL)