Lines Matching +full:1 +full:- +full:47
16 /* First, we deal with platform-specific or compiler-specific issues. */
31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
39 #define __STDC_LIMIT_MACROS 1
60 #define INT8_MIN (-128)
63 #define INT16_MIN (-32767-1)
66 #define INT32_MIN (-2147483647-1)
91 /* The "const" storage-class-modifier is valid. */
96 /* C99 requires __STDC__ to be defined as 1. */
110 /* Returned upon end-of-file. */
115 * we want to instead treat it as an 8-bit unsigned char, hence the
121 * but we do it the disgusting crufty way forced on us by the ()-less
124 #define BEGIN (yy_start) = 1 + 2 *
130 #define YY_START (((yy_start) - 1) / 2)
134 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
165 #define EOB_ACT_END_OF_FILE 1
179 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
205 /* Whether we "own" the buffer - i.e., we know we created it,
235 #define YY_BUFFER_NORMAL 1
240 * possible backing-up.
317 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
327 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
330 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
342 int yylineno = 1;
353 * corresponding action - sets up yytext.
357 yyleng = (size_t) (yy_cp - yy_bp); \
374 14, 14, 14, 10, 9, 14, 3, 14, 14, 1,
382 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
383 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
384 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
385 1, 2, 1, 4, 5, 1, 1, 1, 1, 1,
386 1, 1, 1, 1, 1, 1, 1, 6, 6, 6,
387 6, 6, 6, 6, 6, 6, 6, 1, 1, 1,
388 1, 1, 1, 1, 7, 7, 7, 7, 7, 7,
391 1, 1, 1, 1, 8, 1, 9, 10, 11, 12,
395 7, 7, 1, 1, 1, 1, 1, 1, 1, 1,
396 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
397 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
398 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
399 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
400 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
401 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
402 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
404 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
405 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
406 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
407 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
408 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
409 1, 1, 1, 1, 1
414 1, 1, 2, 1, 1, 3, 3, 3, 3, 3,
422 12, 13, 34, 0, 47, 0, 0, 40, 31, 0,
430 45, 1, 45, 45, 45, 45, 45, 46, 47, 47,
431 47, 47, 47, 46, 47, 47, 47, 47, 47, 47,
432 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
433 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
434 47, 47, 47, 47, 0, 45, 45
451 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
452 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
453 1, 1, 11, 34, 12, 47, 43, 41, 11, 12,
475 #line 1 "lex.l"
478 * Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan
486 * 1. Redistributions of source code must retain the above copyright
522 static unsigned lineno = 1;
534 /* Special case for "unistd.h", since it is non-ANSI. We include it way
535 * down here because we want the user's section 1 to have been scanned first.
548 These are made visible to non-reentrant scanners for convenience. */
577 * section 1.
616 #define ECHO fwrite( yytext, yyleng, 1, yyout )
624 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
640 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
655 /* No semi-colon after return; correct usage is to write "yyterminate();" -
663 /* Number of entries by which start-condition stack grows. */
675 /* Default declaration of generated scanner - a define so the user can
679 #define YY_DECL_IS_OURS 1
715 (yy_init) = 1;
722 (yy_start) = 1; /* first start state */
739 while ( 1 ) /* loops until end-of-file is reached */
794 case 1:
882 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
888 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
897 * back-up) that will match for the new input source.
899 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
900 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
901 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
908 * end-of-buffer state). Contrast this with the test
911 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
961 * YY_NULL, it'll still work - another
990 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1003 "fatal flex scanner internal error--no action found" );
1008 /* yy_get_next_buffer - try to read in a new buffer
1011 * EOB_ACT_LAST_MATCH -
1012 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1013 * EOB_ACT_END_OF_FILE - end of file
1017 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; in yy_get_next_buffer()
1022 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) in yy_get_next_buffer()
1024 "fatal flex scanner internal error--end of buffer missed" ); in yy_get_next_buffer()
1026 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) in yy_get_next_buffer()
1028 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) in yy_get_next_buffer()
1048 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; in yy_get_next_buffer()
1053 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) in yy_get_next_buffer()
1057 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; in yy_get_next_buffer()
1062 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1065 { /* Not enough room in the buffer - grow it. */ in yy_get_next_buffer()
1071 (int) ((yy_c_buf_p) - b->yy_ch_buf); in yy_get_next_buffer()
1073 if ( b->yy_is_our_buffer ) in yy_get_next_buffer()
1075 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1078 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1080 b->yy_buf_size *= 2; in yy_get_next_buffer()
1082 b->yy_ch_buf = (char *) in yy_get_next_buffer()
1084 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1088 b->yy_ch_buf = 0; in yy_get_next_buffer()
1090 if ( ! b->yy_ch_buf ) in yy_get_next_buffer()
1092 "fatal error - scanner input buffer overflow" ); in yy_get_next_buffer()
1094 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; in yy_get_next_buffer()
1096 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1097 number_to_move - 1; in yy_get_next_buffer()
1105 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), in yy_get_next_buffer()
1108 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_get_next_buffer()
1122 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = in yy_get_next_buffer()
1130 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1132 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); in yy_get_next_buffer()
1133 …YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_… in yy_get_next_buffer()
1134 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) in yy_get_next_buffer()
1139 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
1140 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
1142 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; in yy_get_next_buffer()
1147 /* yy_get_previous_state - get the state just before the EOB char was reached */
1158 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); in yy_get_previous_state()
1176 /* yy_try_NUL_trans - try to make a transition on the NUL character
1186 register YY_CHAR yy_c = 1; in yy_try_NUL_trans()
1222 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) in yyinput()
1228 yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); in yyinput()
1270 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ in yyinput()
1316 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yy_switch_to_buffer()
1317 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_switch_to_buffer()
1328 (yy_did_buffer_switch_on_eof) = 1; in yy_switch_to_buffer()
1333 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
1334 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
1335 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; in yy_load_buffer_state()
1353 b->yy_buf_size = size; in yy_create_buffer()
1356 * we need to put in 2 end-of-buffer characters. in yy_create_buffer()
1358 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); in yy_create_buffer()
1359 if ( ! b->yy_ch_buf ) in yy_create_buffer()
1362 b->yy_is_our_buffer = 1; in yy_create_buffer()
1382 if ( b->yy_is_our_buffer ) in yy_delete_buffer()
1383 yyfree((void *) b->yy_ch_buf ); in yy_delete_buffer()
1403 b->yy_input_file = file; in yy_init_buffer()
1404 b->yy_fill_buffer = 1; in yy_init_buffer()
1411 b->yy_bs_lineno = 1; in yy_init_buffer()
1412 b->yy_bs_column = 0; in yy_init_buffer()
1415 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; in yy_init_buffer()
1429 b->yy_n_chars = 0; in yy_flush_buffer()
1431 /* We always need two end-of-buffer characters. The first causes in yy_flush_buffer()
1432 * a transition to the end-of-buffer state. The second causes in yy_flush_buffer()
1435 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
1436 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
1438 b->yy_buf_pos = &b->yy_ch_buf[0]; in yy_flush_buffer()
1440 b->yy_at_bol = 1; in yy_flush_buffer()
1441 b->yy_buffer_status = YY_BUFFER_NEW; in yy_flush_buffer()
1465 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yypush_buffer_state()
1466 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yypush_buffer_state()
1476 (yy_did_buffer_switch_on_eof) = 1; in yypush_buffer_state()
1491 --(yy_buffer_stack_top); in yypop_buffer_state()
1495 (yy_did_buffer_switch_on_eof) = 1; in yypop_buffer_state()
1509 * scanner will even need a stack. We use 2 instead of 1 to avoid an in yyensure_buffer_stack()
1512 num_to_alloc = 1; in yyensure_buffer_stack()
1526 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ in yyensure_buffer_stack()
1545 /** Setup the input buffer state to scan directly from a user-specified character buffer.
1556 base[size-2] != YY_END_OF_BUFFER_CHAR || in yy_scan_buffer()
1557 base[size-1] != YY_END_OF_BUFFER_CHAR ) in yy_scan_buffer()
1565 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ in yy_scan_buffer()
1566 b->yy_buf_pos = b->yy_ch_buf = base; in yy_scan_buffer()
1567 b->yy_is_our_buffer = 0; in yy_scan_buffer()
1568 b->yy_input_file = 0; in yy_scan_buffer()
1569 b->yy_n_chars = b->yy_buf_size; in yy_scan_buffer()
1570 b->yy_is_interactive = 0; in yy_scan_buffer()
1571 b->yy_at_bol = 1; in yy_scan_buffer()
1572 b->yy_fill_buffer = 0; in yy_scan_buffer()
1573 b->yy_buffer_status = YY_BUFFER_NEW; in yy_scan_buffer()
1582 * @param yystr a NUL-terminated string to scan
1616 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; in yy_scan_bytes()
1625 b->yy_is_our_buffer = 1; in yy_scan_bytes()
1739 /* Initialization is the same as for the non-reentrant scanner. in yy_init_globals()
1765 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
1780 /* Reset the globals. This is important in a non-reentrant scanner so the next time in yylex_destroy()
1843 return 1; in yywrap()
1854 while(i < sizeof(x) - 1 && (c = input()) != EOF){ in getstring()
1876 err(1, "malloc"); in getstring()