Lines Matching +full:4162 +full:- +full:l

18 /* First, we deal with  platform-specific or compiler-specific issues. */
33 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
35 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
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)); \
1009 4155, 4145, 4139, 4163, 4146, 4164, 4177, 4162, 4166, 4185,
4418 * configlexer.lex - lexical analyzer for unbound config file
4420 * Copyright (c) 2001-2006, NLnet Labs. All rights reserved
4426 /* because flex keeps having sign-unsigned compare problems that are unfixed*/
4428 #pragma GCC diagnostic ignored "-Wsign-compare"
4498 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include()
4499 strlen(cfg_parser->chroot)) == 0) { in config_start_include()
4500 filename += strlen(cfg_parser->chroot); in config_start_include()
4518 s->filename = cfg_parser->filename; in config_start_include()
4519 s->line = cfg_parser->line; in config_start_include()
4520 s->buffer = YY_CURRENT_BUFFER; in config_start_include()
4521 s->inc_toplevel = inc_toplevel; in config_start_include()
4522 s->next = config_include_stack; in config_start_include()
4524 cfg_parser->filename = nm; in config_start_include()
4525 cfg_parser->line = 1; in config_start_include()
4553 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include_glob()
4554 strlen(cfg_parser->chroot)) == 0) { in config_start_include_glob()
4555 filename += strlen(cfg_parser->chroot); in config_start_include_glob()
4567 for(i=(int)g.gl_pathc-1; i>=0; i--) { in config_start_include_glob()
4581 --inc_depth; in config_end_include()
4583 free(cfg_parser->filename); in config_end_include()
4584 cfg_parser->filename = s->filename; in config_end_include()
4585 cfg_parser->line = s->line; in config_end_include()
4587 yy_switch_to_buffer(s->buffer); in config_end_include()
4588 config_include_stack = s->next; in config_end_include()
4589 inc_toplevel = s->inc_toplevel; in config_end_include()
4598 yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \
4625 /* Special case for "unistd.h", since it is non-ANSI. We include it way
4639 These are made visible to non-reentrant scanners for convenience. */
4703 /* On IA-64, the buffer size is 16k, not 8k */
4723 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
4754 /* No semi-colon after return; correct usage is to write "yyterminate();" -
4762 /* Number of entries by which start-condition stack grows. */
4774 /* Default declaration of generated scanner - a define so the user can
4839 while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
4844 (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
6838 { LEXOUT(("NL\n")); cfg_parser->line++; }
6850 if(--num_args == 0) { BEGIN(INITIAL); }
6864 cfg_parser->line++; BEGIN(INITIAL); }
6871 if(--num_args == 0) { BEGIN(INITIAL); }
6873 yytext[yyleng - 1] = '\0';
6890 if(--num_args == 0) { BEGIN(INITIAL); }
6904 cfg_parser->line++; BEGIN(INITIAL); }
6911 if(--num_args == 0) { BEGIN(INITIAL); }
6913 yytext[yyleng - 1] = '\0';
6943 { LEXOUT(("NL\n")); cfg_parser->line++;}
6976 cfg_parser->line++; BEGIN(inc_prev); }
6983 yytext[yyleng - 1] = '\0';
7004 /* include-toplevel: directive */
7028 { LEXOUT(("NL\n")); cfg_parser->line++; }
7063 cfg_parser->line++; BEGIN(inc_prev);
7071 yytext[yyleng - 1] = '\0';
7081 if(--num_args == 0) { BEGIN(INITIAL); }
7108 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
7114 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
7123 * back-up) that will match for the new input source.
7125 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
7126 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
7127 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
7134 * end-of-buffer state). Contrast this with the test
7137 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
7187 * YY_NULL, it'll still work - another
7216 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
7229 "fatal flex scanner internal error--no action found" );
7235 /* yy_get_next_buffer - try to read in a new buffer
7238 * EOB_ACT_LAST_MATCH -
7239 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
7240 * EOB_ACT_END_OF_FILE - end of file
7244 char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; in yy_get_next_buffer()
7249 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) in yy_get_next_buffer()
7251 "fatal flex scanner internal error--end of buffer missed" ); in yy_get_next_buffer()
7253 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) in yy_get_next_buffer()
7255 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) in yy_get_next_buffer()
7275 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); in yy_get_next_buffer()
7280 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) in yy_get_next_buffer()
7284 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; in yy_get_next_buffer()
7289 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
7292 { /* Not enough room in the buffer - grow it. */ in yy_get_next_buffer()
7298 (int) ((yy_c_buf_p) - b->yy_ch_buf); in yy_get_next_buffer()
7300 if ( b->yy_is_our_buffer ) in yy_get_next_buffer()
7302 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
7305 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
7307 b->yy_buf_size *= 2; in yy_get_next_buffer()
7309 b->yy_ch_buf = (char *) in yy_get_next_buffer()
7311 yyrealloc( (void *) b->yy_ch_buf, in yy_get_next_buffer()
7312 (yy_size_t) (b->yy_buf_size + 2) ); in yy_get_next_buffer()
7316 b->yy_ch_buf = NULL; in yy_get_next_buffer()
7318 if ( ! b->yy_ch_buf ) in yy_get_next_buffer()
7320 "fatal error - scanner input buffer overflow" ); in yy_get_next_buffer()
7322 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; in yy_get_next_buffer()
7324 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
7325 number_to_move - 1; in yy_get_next_buffer()
7333 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), in yy_get_next_buffer()
7336 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_get_next_buffer()
7350 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = in yy_get_next_buffer()
7358 if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
7361 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( in yy_get_next_buffer()
7362 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); in yy_get_next_buffer()
7363 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) in yy_get_next_buffer()
7365 /* "- 2" to take care of EOB's */ in yy_get_next_buffer()
7366 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); in yy_get_next_buffer()
7370 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
7371 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
7373 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; in yy_get_next_buffer()
7378 /* yy_get_previous_state - get the state just before the EOB char was reached */
7407 /* yy_try_NUL_trans - try to make a transition on the NUL character
7457 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) in yyinput()
7463 int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); in yyinput()
7505 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ in yyinput()
7551 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yy_switch_to_buffer()
7552 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_switch_to_buffer()
7568 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
7569 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
7570 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; in yy_load_buffer_state()
7588 b->yy_buf_size = size; in yy_create_buffer()
7591 * we need to put in 2 end-of-buffer characters. in yy_create_buffer()
7593 b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); in yy_create_buffer()
7594 if ( ! b->yy_ch_buf ) in yy_create_buffer()
7597 b->yy_is_our_buffer = 1; in yy_create_buffer()
7617 if ( b->yy_is_our_buffer ) in yy_delete_buffer()
7618 yyfree( (void *) b->yy_ch_buf ); in yy_delete_buffer()
7634 b->yy_input_file = file; in yy_init_buffer()
7635 b->yy_fill_buffer = 1; in yy_init_buffer()
7642 b->yy_bs_lineno = 1; in yy_init_buffer()
7643 b->yy_bs_column = 0; in yy_init_buffer()
7646 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; in yy_init_buffer()
7660 b->yy_n_chars = 0; in yy_flush_buffer()
7662 /* We always need two end-of-buffer characters. The first causes in yy_flush_buffer()
7663 * a transition to the end-of-buffer state. The second causes in yy_flush_buffer()
7666 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
7667 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
7669 b->yy_buf_pos = &b->yy_ch_buf[0]; in yy_flush_buffer()
7671 b->yy_at_bol = 1; in yy_flush_buffer()
7672 b->yy_buffer_status = YY_BUFFER_NEW; in yy_flush_buffer()
7696 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yypush_buffer_state()
7697 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yypush_buffer_state()
7722 --(yy_buffer_stack_top); in yypop_buffer_state()
7757 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ in yyensure_buffer_stack()
7776 /** Setup the input buffer state to scan directly from a user-specified character buffer.
7787 base[size-2] != YY_END_OF_BUFFER_CHAR || in yy_scan_buffer()
7788 base[size-1] != YY_END_OF_BUFFER_CHAR ) in yy_scan_buffer()
7796 b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ in yy_scan_buffer()
7797 b->yy_buf_pos = b->yy_ch_buf = base; in yy_scan_buffer()
7798 b->yy_is_our_buffer = 0; in yy_scan_buffer()
7799 b->yy_input_file = NULL; in yy_scan_buffer()
7800 b->yy_n_chars = b->yy_buf_size; in yy_scan_buffer()
7801 b->yy_is_interactive = 0; in yy_scan_buffer()
7802 b->yy_at_bol = 1; in yy_scan_buffer()
7803 b->yy_fill_buffer = 0; in yy_scan_buffer()
7804 b->yy_buffer_status = YY_BUFFER_NEW; in yy_scan_buffer()
7813 * @param yystr a NUL-terminated string to scan
7857 b->yy_is_our_buffer = 1; in yy_scan_bytes()
7971 /* Initialization is the same as for the non-reentrant scanner. in yy_init_globals()
7997 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
8012 /* Reset the globals. This is important in a non-reentrant scanner so the next time in yylex_destroy()