| /dflybsd-src/contrib/binutils-2.34/ld/ |
| H A D | ldlex.l | 139 <DEFSYMEXP>{SYMBOLNAMECHAR1}{SYMBOLNAMECHAR}* { yylval.name = xstrdup (yytext); 144 yylval.integer = bfd_scan_vma (yytext + 1, 0, 16); 151 switch (yytext[yyleng - 1]) { 169 yylval.integer = bfd_scan_vma (yytext, 0, 175 char *s = yytext; 185 if (yytext[yyleng - 1] == 'M' 186 || yytext[yyleng - 1] == 'm') 190 else if (yytext[yyleng - 1] == 'K' 191 || yytext[yyleng - 1]=='k') 195 else if (yytext[0] == '0' [all …]
|
| /dflybsd-src/contrib/binutils-2.27/ld/ |
| H A D | ldlex.l | 145 <DEFSYMEXP>{FILENAMECHAR1}{SYMBOLCHARN}* { yylval.name = xstrdup (yytext); return NAME; } 149 yylval.integer = bfd_scan_vma (yytext + 1, 0, 16); 156 switch (yytext[yyleng - 1]) { 174 yylval.integer = bfd_scan_vma (yytext, 0, 180 char *s = yytext; 190 if (yytext[yyleng - 1] == 'M' 191 || yytext[yyleng - 1] == 'm') 195 else if (yytext[yyleng - 1] == 'K' 196 || yytext[yyleng - 1]=='k') 200 else if (yytext[0] == '0' [all …]
|
| /dflybsd-src/usr.sbin/kbdcontrol/ |
| H A D | lex.l | 129 sscanf(yytext+4, "%d", &number); 133 sscanf(yytext+3, "%d", &number); 136 '{A}' { letter = *(yytext+1); return TLET; } 138 0x{X}({X}*) { sscanf(yytext, "%x", &number); return TNUM; } 139 {D}({D}*) { sscanf(yytext, "%d", &number); return TNUM; } 141 if (*yytext == 'O') number = 0; 142 if (*yytext == 'C') number = 1; 143 if (*yytext == 'N') number = 2; 144 if (*yytext == 'B') number = 3; 148 . { return *yytext; }
|
| /dflybsd-src/contrib/flex/src/ |
| H A D | scan.l | 47 #define ACTION_ECHO add_action( yytext ) 71 yylval = (unsigned char) yytext[0]; \ 77 strncpy( nmstr, yytext, sizeof(nmstr) ); \ 210 strncpy( nmstr, yytext, sizeof(nmstr) ); 257 [[:digit:]]+ linenum = myctoi( yytext ); 463 strncpy( nmstr, yytext + 1, sizeof(nmstr) ); 476 yytext ); 555 int amt = (int) (strchr (yytext, '|') - yytext); 640 strncpy( nmstr, yytext, sizeof(nmstr) ); 693 end_ch = yytext[yyleng-1]; [all …]
|
| H A D | yylex.c | 40 extern char *yytext; 179 fprintf (stderr, "%s ", yytext); in yylex() 196 fprintf (stderr, "%s", yytext); in yylex()
|
| H A D | FlexLexer.h | 63 const char* YYText() const { return yytext; } in YYText() 102 char* yytext;
|
| /dflybsd-src/usr.bin/m4/ |
| H A D | tokenizer.l | 62 . { return yytext[0]; } 71 l = strtol(yytext, NULL, 0); 74 fprintf(stderr, "m4: numeric overflow in expr: %s\n", yytext); 88 base = strtol(yytext + 2, &next, 0); in parse_radix() 90 fprintf(stderr, "m4: error in number %s\n", yytext); in parse_radix() 104 "m4: error in number %s\n", yytext); in parse_radix()
|
| H A D | manual_tokenizer.c | 345 extern char *yytext; 346 #define yytext_ptr yytext 469 char *yytext; variable 592 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) 839 { return yytext[0]; } 1617 yytext[yyleng] = (yy_hold_char); \ 1618 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 1666 return yytext; in yyget_text() 1813 l = strtol(yytext, NULL, 0); in number() 1816 fprintf(stderr, "m4: numeric overflow in expr: %s\n", yytext); in number() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | gengtype-lex.l | 113 {WS} { update_lineno (yytext, yyleng); } 126 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); 134 for (len = yyleng; ISSPACE (yytext[len-1]); len--) 137 *yylval = XDUPVAR (const char, yytext, len, len+1); 138 update_lineno (yytext, yyleng); 144 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); 178 \"([^"\\]|\\.|\\\n)*\" { update_lineno (yytext, yyleng); }
|
| H A D | gengtype-lex.c | 349 extern char *yytext; 350 #define yytext_ptr yytext 944 char *yytext; variable 1085 #define ECHO fwrite( yytext, yyleng, 1, yyout ) 1170 (yytext[yyleng - 1] == '\n'); \ 1379 { update_lineno (yytext, yyleng); } 1472 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); 1489 for (len = yyleng; ISSPACE (yytext[len-1]); len--) 1492 *yylval = XDUPVAR (const char, yytext, len, len+1); 1493 update_lineno (yytext, yyleng); [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | gengtype-lex.l | 108 {WS} { update_lineno (yytext, yyleng); } 116 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng + 1); 134 for (len = yyleng; ISSPACE (yytext[len-1]); len--) 137 *yylval = XDUPVAR (const char, yytext, len, len+1); 138 update_lineno (yytext, yyleng); 143 *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); 178 \"([^"\\]|\\.|\\\n)*\" { update_lineno (yytext, yyleng); }
|
| /dflybsd-src/usr.bin/mkcsmapper/ |
| H A D | lex.l | 65 "="|"/"|"-" { return ((int)yytext[0]); } 68 yylval.i_value = strtoul(yytext, NULL, 0); 88 len = strlen(yytext); 90 strlcpy(yylval.s_value, yytext + 1, len - 1); 94 yylval.s_value = strdup(yytext);
|
| /dflybsd-src/usr.sbin/bthcid/ |
| H A D | lexer.l | 81 yylval.string = yytext; 86 yylval.string = &yytext[2]; 91 yytext[strlen(yytext) - 1] = 0; 92 yylval.string = &yytext[1];
|
| /dflybsd-src/gnu/usr.bin/gdb/gdb/ |
| H A D | ada-lex.c | 345 extern char *yytext; 346 #define yytext_ptr yytext 811 char *yytext; variable 963 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) 1157 canonicalizeNumeral (numbuf, yytext); 1165 canonicalizeNumeral (numbuf, yytext); 1173 canonicalizeNumeral (numbuf, yytext); 1183 canonicalizeNumeral (numbuf, yytext); 1191 canonicalizeNumeral (numbuf, yytext+2); 1199 canonicalizeNumeral (numbuf, yytext); [all …]
|
| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | ada-lex.c | 345 extern char *yytext; 346 #define yytext_ptr yytext 811 char *yytext; variable 963 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) 1157 canonicalizeNumeral (numbuf, yytext); 1165 canonicalizeNumeral (numbuf, yytext); 1173 canonicalizeNumeral (numbuf, yytext); 1183 canonicalizeNumeral (numbuf, yytext); 1191 canonicalizeNumeral (numbuf, yytext+2); 1199 canonicalizeNumeral (numbuf, yytext); [all …]
|
| /dflybsd-src/usr.bin/mkesdb/ |
| H A D | lex.l | 65 yylval.i_value = strtoul(yytext, NULL, 0); 77 len = strlen(yytext); 79 strlcpy(yylval.s_value, yytext+1, len-1); 83 yylval.s_value = strdup(yytext);
|
| /dflybsd-src/usr.sbin/config/ |
| H A D | lang.l | 91 if ((i = kw_lookup(yytext)) == -1) 93 yylval.str = strdup(yytext); 101 if ((i = kw_lookup(yytext)) == -1) 109 yylval.str = strdup(yytext);
|
| /dflybsd-src/games/atc/ |
| H A D | lex.l | 53 [0-9]+ { yylval.ival = atoi(yytext); return(ConstOp); } 62 [wedcxzaq] { yylval.cval = *yytext; return (DirOp); } 66 . { return *yytext; }
|
| /dflybsd-src/contrib/libpcap/ |
| H A D | scanner.l | 387 [+\-*/%:\[\]!<>()&|\^=] return yytext[0]; 394 ${B} { yylval->s = sdup(yyextra, yytext); return AID; } 395 {MAC} { yylval->s = sdup(yyextra, yytext); return EID; } 396 {N} { return stou(yytext, yylval, yyextra); } 398 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 405 if (getaddrinfo(yytext, NULL, &hints, &res)) { 406 bpf_set_error(yyextra, "bogus IPv6 address %s", yytext); 410 yylval->s = sdup(yyextra, (char *)yytext); 413 bpf_set_error(yyextra, "IPv6 address %s not supported", yytext); 418 {B}:+({B}:+)+ { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; ret… [all …]
|
| /dflybsd-src/usr.sbin/autofs/ |
| H A D | common.c | 51 extern char *yytext; 763 key = checked_strdup(yytext); in parse_map_yyin() 770 } else if (yytext[0] == '-') { in parse_map_yyin() 778 options = checked_strdup(yytext + 1); in parse_map_yyin() 811 if (yytext[0] == '/') { in parse_map_yyin() 820 mountpoint = checked_strdup(yytext); in parse_map_yyin() 824 if (yytext[0] == '-') { in parse_map_yyin() 833 options2 = checked_strdup(yytext + 1); in parse_map_yyin() 846 if (yytext[0] == ':') { in parse_map_yyin() 847 location = checked_strdup(yytext + 1); in parse_map_yyin() [all …]
|
| /dflybsd-src/lib/libc/net/ |
| H A D | nslexer.l | 85 if ((p = strdup(yytext)) == NULL) { 98 . return yytext[0]; 114 _PATH_NS_CONF, yylineno, msg, yytext); in _nsyyerror()
|
| /dflybsd-src/libexec/dma/ |
| H A D | aliases_scan.l | 16 [^:,#[:space:][:cntrl:]]+ {yylval.ident = strdup(yytext); return T_IDENT;} 18 [:,\n] return yytext[0];
|
| /dflybsd-src/sbin/devd/ |
| H A D | token.l | 61 \/\*([^*]|(\*+([^*\/])))*\*+\/ { update_lineno(yytext); } 64 [0-9]+ { yylval.i = atoi(yytext); return NUMBER; }
|
| /dflybsd-src/usr.bin/bc/ |
| H A D | scan.l | 92 add_str(yytext); 101 {DIGIT}+ add_str(yytext); 116 unput(yytext[0]); 191 strlcpy(p, yytext, yyleng + 1);
|
| H A D | extern.h | 40 extern char *yytext;
|