Lines Matching +full:e +full:- +full:1137
18 /* First, we deal with platform-specific or compiler-specific issues. */
33 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
61 #define INT8_MIN (-128)
64 #define INT16_MIN (-32767-1)
67 #define INT32_MIN (-2147483647-1)
107 /* Returned upon end-of-file. */
116 * but we do it the disgusting crufty way forced on us by the ()-less
124 #define YY_START (((yy_start) - 1) / 2)
135 /* On IA-64, the buffer size is 16k, not 8k.
179 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
204 /* Whether we "own" the buffer - i.e., we know we created it,
239 * possible backing-up.
313 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
322 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
324 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
348 * corresponding action - sets up yytext.
352 (yytext_ptr) -= (yy_more_len); \
353 yyleng = (int) (yy_cp - (yytext_ptr)); \
2092 87, 87, 1133, 1132, 1131, 1127, 87, 1135, 1137, 87,
2096 87, 87, 1147, 1148, 1135, 1137, 87, 1142, 1149, 1138,
3441 1135, 1137, 1143, 1138, 1140, 1141, 1176, 1140, 1200, 1142,
3443 1150, 1134, 1137, 1144, 1135, 1143, 1145, 1141, 1146, 1150,
3444 1144, 1147, 1147, 0, 1149, 1146, 1134, 1135, 1137, 1143,
4314 * configlexer.lex - lexical analyzer for unbound config file
4316 * Copyright (c) 2001-2006, NLnet Labs. All rights reserved
4322 /* because flex keeps having sign-unsigned compare problems that are unfixed*/
4324 #pragma GCC diagnostic ignored "-Wsign-compare"
4394 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include()
4395 strlen(cfg_parser->chroot)) == 0) { in config_start_include()
4396 filename += strlen(cfg_parser->chroot); in config_start_include()
4414 s->filename = cfg_parser->filename; in config_start_include()
4415 s->line = cfg_parser->line; in config_start_include()
4416 s->buffer = YY_CURRENT_BUFFER; in config_start_include()
4417 s->inc_toplevel = inc_toplevel; in config_start_include()
4418 s->next = config_include_stack; in config_start_include()
4420 cfg_parser->filename = nm; in config_start_include()
4421 cfg_parser->line = 1; in config_start_include()
4449 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include_glob()
4450 strlen(cfg_parser->chroot)) == 0) { in config_start_include_glob()
4451 filename += strlen(cfg_parser->chroot); in config_start_include_glob()
4463 for(i=(int)g.gl_pathc-1; i>=0; i--) { in config_start_include_glob()
4477 --inc_depth; in config_end_include()
4479 free(cfg_parser->filename); in config_end_include()
4480 cfg_parser->filename = s->filename; in config_end_include()
4481 cfg_parser->line = s->line; in config_end_include()
4483 yy_switch_to_buffer(s->buffer); in config_end_include()
4484 config_include_stack = s->next; in config_end_include()
4485 inc_toplevel = s->inc_toplevel; in config_end_include()
4494 yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \
4521 /* Special case for "unistd.h", since it is non-ANSI. We include it way
4535 These are made visible to non-reentrant scanners for convenience. */
4599 /* On IA-64, the buffer size is 16k, not 8k */
4619 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
4650 /* No semi-colon after return; correct usage is to write "yyterminate();" -
4658 /* Number of entries by which start-condition stack grows. */
4670 /* Default declaration of generated scanner - a define so the user can
4735 while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
4740 (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
6684 { LEXOUT(("NL\n")); cfg_parser->line++; }
6696 if(--num_args == 0) { BEGIN(INITIAL); }
6710 cfg_parser->line++; BEGIN(INITIAL); }
6717 if(--num_args == 0) { BEGIN(INITIAL); }
6719 yytext[yyleng - 1] = '\0';
6736 if(--num_args == 0) { BEGIN(INITIAL); }
6750 cfg_parser->line++; BEGIN(INITIAL); }
6757 if(--num_args == 0) { BEGIN(INITIAL); }
6759 yytext[yyleng - 1] = '\0';
6789 { LEXOUT(("NL\n")); cfg_parser->line++;}
6822 cfg_parser->line++; BEGIN(inc_prev); }
6829 yytext[yyleng - 1] = '\0';
6850 /* include-toplevel: directive */
6874 { LEXOUT(("NL\n")); cfg_parser->line++; }
6909 cfg_parser->line++; BEGIN(inc_prev);
6917 yytext[yyleng - 1] = '\0';
6927 if(--num_args == 0) { BEGIN(INITIAL); }
6954 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
6960 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
6969 * back-up) that will match for the new input source.
6971 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
6972 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
6973 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
6980 * end-of-buffer state). Contrast this with the test
6983 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
7033 * YY_NULL, it'll still work - another
7062 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
7075 "fatal flex scanner internal error--no action found" );
7081 /* yy_get_next_buffer - try to read in a new buffer
7084 * EOB_ACT_LAST_MATCH -
7085 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
7086 * EOB_ACT_END_OF_FILE - end of file
7090 char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; in yy_get_next_buffer()
7095 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) in yy_get_next_buffer()
7097 "fatal flex scanner internal error--end of buffer missed" ); in yy_get_next_buffer()
7099 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) in yy_get_next_buffer()
7101 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) in yy_get_next_buffer()
7121 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); in yy_get_next_buffer()
7126 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) in yy_get_next_buffer()
7130 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; in yy_get_next_buffer()
7135 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
7138 { /* Not enough room in the buffer - grow it. */ in yy_get_next_buffer()
7144 (int) ((yy_c_buf_p) - b->yy_ch_buf); in yy_get_next_buffer()
7146 if ( b->yy_is_our_buffer ) in yy_get_next_buffer()
7148 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
7151 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
7153 b->yy_buf_size *= 2; in yy_get_next_buffer()
7155 b->yy_ch_buf = (char *) in yy_get_next_buffer()
7157 yyrealloc( (void *) b->yy_ch_buf, in yy_get_next_buffer()
7158 (yy_size_t) (b->yy_buf_size + 2) ); in yy_get_next_buffer()
7162 b->yy_ch_buf = NULL; in yy_get_next_buffer()
7164 if ( ! b->yy_ch_buf ) in yy_get_next_buffer()
7166 "fatal error - scanner input buffer overflow" ); in yy_get_next_buffer()
7168 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; in yy_get_next_buffer()
7170 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
7171 number_to_move - 1; in yy_get_next_buffer()
7179 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), in yy_get_next_buffer()
7182 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_get_next_buffer()
7196 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = in yy_get_next_buffer()
7204 if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
7207 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( in yy_get_next_buffer()
7208 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); in yy_get_next_buffer()
7209 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) in yy_get_next_buffer()
7211 /* "- 2" to take care of EOB's */ in yy_get_next_buffer()
7212 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); in yy_get_next_buffer()
7216 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
7217 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
7219 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; in yy_get_next_buffer()
7224 /* yy_get_previous_state - get the state just before the EOB char was reached */
7253 /* yy_try_NUL_trans - try to make a transition on the NUL character
7303 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) in yyinput()
7309 int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); in yyinput()
7351 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ in yyinput()
7397 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yy_switch_to_buffer()
7398 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_switch_to_buffer()
7414 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
7415 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
7416 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; in yy_load_buffer_state()
7434 b->yy_buf_size = size; in yy_create_buffer()
7437 * we need to put in 2 end-of-buffer characters. in yy_create_buffer()
7439 b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); in yy_create_buffer()
7440 if ( ! b->yy_ch_buf ) in yy_create_buffer()
7443 b->yy_is_our_buffer = 1; in yy_create_buffer()
7463 if ( b->yy_is_our_buffer ) in yy_delete_buffer()
7464 yyfree( (void *) b->yy_ch_buf ); in yy_delete_buffer()
7480 b->yy_input_file = file; in yy_init_buffer()
7481 b->yy_fill_buffer = 1; in yy_init_buffer()
7488 b->yy_bs_lineno = 1; in yy_init_buffer()
7489 b->yy_bs_column = 0; in yy_init_buffer()
7492 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; in yy_init_buffer()
7506 b->yy_n_chars = 0; in yy_flush_buffer()
7508 /* We always need two end-of-buffer characters. The first causes in yy_flush_buffer()
7509 * a transition to the end-of-buffer state. The second causes in yy_flush_buffer()
7512 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
7513 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
7515 b->yy_buf_pos = &b->yy_ch_buf[0]; in yy_flush_buffer()
7517 b->yy_at_bol = 1; in yy_flush_buffer()
7518 b->yy_buffer_status = YY_BUFFER_NEW; in yy_flush_buffer()
7542 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yypush_buffer_state()
7543 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yypush_buffer_state()
7568 --(yy_buffer_stack_top); in yypop_buffer_state()
7603 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ in yyensure_buffer_stack()
7622 /** Setup the input buffer state to scan directly from a user-specified character buffer.
7633 base[size-2] != YY_END_OF_BUFFER_CHAR || in yy_scan_buffer()
7634 base[size-1] != YY_END_OF_BUFFER_CHAR ) in yy_scan_buffer()
7642 b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ in yy_scan_buffer()
7643 b->yy_buf_pos = b->yy_ch_buf = base; in yy_scan_buffer()
7644 b->yy_is_our_buffer = 0; in yy_scan_buffer()
7645 b->yy_input_file = NULL; in yy_scan_buffer()
7646 b->yy_n_chars = b->yy_buf_size; in yy_scan_buffer()
7647 b->yy_is_interactive = 0; in yy_scan_buffer()
7648 b->yy_at_bol = 1; in yy_scan_buffer()
7649 b->yy_fill_buffer = 0; in yy_scan_buffer()
7650 b->yy_buffer_status = YY_BUFFER_NEW; in yy_scan_buffer()
7658 * scan from a @e copy of @a str.
7659 * @param yystr a NUL-terminated string to scan
7672 * scan from a @e copy of @a bytes.
7703 b->yy_is_our_buffer = 1; in yy_scan_bytes()
7817 /* Initialization is the same as for the non-reentrant scanner. in yy_init_globals()
7843 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
7858 /* Reset the globals. This is important in a non-reentrant scanner so the next time in yylex_destroy()