Home | History | Annotate | Download | only in flex-2.5.4a

Lines Matching refs:Char

69 /* Promotes a possibly negative, possibly signed char to an unsigned
70 * integer for use as an array index. If the signed char is negative,
71 * we want to instead treat it as an 8-bit unsigned char, hence the
74 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
149 char *yy_ch_buf; /* input buffer */
150 char *yy_buf_pos; /* current position in input buffer */
212 static char yy_hold_char;
220 static char *yy_c_buf_p = (char *) 0;
239 YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
240 YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
241 YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
265 typedef unsigned char YY_CHAR;
268 extern char *yytext;
274 static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
1233 static char *yy_last_accepting_cpos;
1242 char *yytext;
1291 yylval = (unsigned char) yytext[0]; \
1292 return CHAR;
1347 static void yyunput YY_PROTO(( int c, char *buf_ptr ));
1351 static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
1355 static int yy_flex_strlen YY_PROTO(( yyconst char * ));
1425 buf[n] = (char) c; \
1427 buf[n++] = (char) c; \
1483 register char *yy_cp, *yy_bp;
1494 Char nmdef[MAXLINE], myesc();
1769 strcpy( (char *) nmdef, yytext );
1772 for ( i = strlen( (char *) nmdef ) - 1;
2263 if ( (cclval = ccllookup( (Char *) nmstr )) != 0 )
2277 cclinstal( (Char *) nmstr, lastccl + 1 );
2293 register Char *nmdefptr;
2294 Char *ndlookup();
2306 int len = strlen( (char *) nmdefptr );
2311 PUT_BACK_STRING((char *) nmdefptr, 0);
2320 PUT_BACK_STRING((char *) nmdefptr, 0);
2329 return (unsigned char) yytext[0];
2341 return (unsigned char) yytext[0];
2706 yylval = myesc( (Char *) yytext );
2711 return CHAR;
2754 /* Amount of text matched not including the EOB char. */
2892 register char *dest = yy_current_buffer->yy_ch_buf;
2893 register char *source = yytext_ptr;
2961 b->yy_ch_buf = (char *)
3020 /* yy_get_previous_state - get the state just before the EOB char was reached */
3025 register char *yy_cp;
3065 register char *yy_cp = yy_c_buf_p;
3088 static void yyunput( int c, register char *yy_bp )
3092 register char *yy_bp;
3095 register char *yy_cp = yy_c_buf_p;
3104 register char *dest = &yy_current_buffer->yy_ch_buf[
3106 register char *source =
3121 *--yy_cp = (char) c;
3195 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
3282 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
3379 YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
3382 char *base;
3417 YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
3420 yyconst char *yy_str;
3434 YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
3437 yyconst char *bytes;
3442 char *buf;
3448 buf = (char *) yy_flex_alloc( n );
3528 static void yy_fatal_error( yyconst char msg[] )
3531 char msg[];
3560 static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
3563 char *s1;
3564 yyconst char *s2;
3576 static int yy_flex_strlen( yyconst char *s )
3579 yyconst char *s;
3609 /* The cast to (char *) in the following accommodates both
3610 * implementations that use char* generic pointers, and those
3616 return (void *) realloc( (char *) ptr, size );
3656 char *file;