Asterisk - The Open Source Telephony Project
18.5.0
|
Dialplan Expression Lexical Scanner. More...
#include "asterisk.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <locale.h>
#include <ctype.h>
#include <regex.h>
#include <limits.h>
#include "asterisk/ast_expr.h"
#include "asterisk/logger.h"
#include "asterisk/strings.h"
#include "asterisk/channel.h"
#include "ast_expr2.h"
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
struct | parse_io |
struct | val |
struct | yy_buffer_state |
struct | yy_trans_info |
struct | yyguts_t |
Macros | |
#define | ast_yywrap(n) 1 |
#define | ASTMM_LIBC ASTMM_REDIRECT |
#define | BEGIN yyg->yy_start = 1 + 2 * |
#define | ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) |
#define | EOB_ACT_CONTINUE_SCAN 0 |
#define | EOB_ACT_END_OF_FILE 1 |
#define | EOB_ACT_LAST_MATCH 2 |
#define | FLEX_BETA |
#define | FLEX_SCANNER |
#define | FLEXINT_H |
#define | FP___FMOD fmod |
#define | FP___PRINTF "%.16g" |
#define | FP___STRTOD strtod |
#define | FP___TYPE double |
#define | INITIAL 0 |
#define | INT16_MAX (32767) |
#define | INT16_MIN (-32767-1) |
#define | INT32_MAX (2147483647) |
#define | INT32_MIN (-2147483647-1) |
#define | INT8_MAX (127) |
#define | INT8_MIN (-128) |
#define | REJECT reject_used_but_not_detected |
#define | SET_COLUMNS |
#define | SET_NUMERIC_STRING |
#define | SET_STRING |
#define | trail 2 |
#define | UINT16_MAX (65535U) |
#define | UINT32_MAX (4294967295U) |
#define | UINT8_MAX (255U) |
#define | unput(c) yyunput( c, yyg->yytext_ptr , yyscanner ) |
#define | var 1 |
#define | YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
#define | YY_BREAK break; |
#define | YY_BUF_SIZE 16384 |
#define | YY_BUFFER_EOF_PENDING 2 |
#define | YY_BUFFER_NEW 0 |
#define | YY_BUFFER_NORMAL 1 |
#define | YY_CURRENT_BUFFER |
#define | YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] |
#define | YY_DECL |
#define | YY_DECL_IS_OURS 1 |
#define | YY_DO_BEFORE_ACTION |
#define | YY_END_OF_BUFFER 39 |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_EXIT_FAILURE 2 |
#define | YY_EXTRA_TYPE void * |
#define | YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner) |
#define | yy_flex_debug yyg->yy_flex_debug_r |
#define | YY_FLEX_MAJOR_VERSION 2 |
#define | YY_FLEX_MINOR_VERSION 5 |
#define | YY_FLEX_SUBMINOR_VERSION 35 |
#define | YY_FLUSH_BUFFER ast_yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
#define | YY_INPUT(buf, result, max_size) |
#define | YY_INT_ALIGNED short int |
#define | YY_LESS_LINENO(n) |
#define | YY_MORE_ADJ yyg->yy_more_len |
#define | yy_new_buffer ast_yy_create_buffer |
#define | YY_NEW_FILE ast_yyrestart(yyin ,yyscanner ) |
#define | YY_NULL 0 |
#define | YY_NUM_RULES 38 |
#define | YY_READ_BUF_SIZE 8192 |
#define | YY_RESTORE_YY_MORE_OFFSET |
#define | YY_RULE_SETUP YY_USER_ACTION |
#define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
#define | yy_set_bol(at_bol) |
#define | yy_set_interactive(is_interactive) |
#define | YY_SKIP_YYWRAP |
#define | YY_START ((yyg->yy_start - 1) / 2) |
#define | YY_START_STACK_INCR 25 |
#define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
#define | YY_STRUCT_YY_BUFFER_STATE |
#define | YY_TYPEDEF_YY_BUFFER_STATE |
#define | YY_TYPEDEF_YY_SCANNER_T |
#define | YY_TYPEDEF_YY_SIZE_T |
#define | YY_USER_ACTION |
#define | yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
#define | yyconst |
#define | yyextra yyg->yyextra_r |
#define | yyin yyg->yyin_r |
#define | yyleng yyg->yyleng_r |
#define | yyless(n) |
#define | yyless(n) |
#define | yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
#define | yylloc yyg->yylloc_r |
#define | yylval yyg->yylval_r |
#define | yymore() (yyg->yy_more_flag = 1) |
#define | yyout yyg->yyout_r |
#define | YYSTATE YY_START |
#define | YYTABLES_NAME "yytables" |
#define | yyterminate() return YY_NULL |
#define | yytext yyg->yytext_r |
#define | yytext_ptr yytext_r |
Typedefs | |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef signed char | flex_int8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef unsigned char | flex_uint8_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef unsigned char | YY_CHAR |
typedef size_t | yy_size_t |
typedef int | yy_state_type |
typedef void * | yyscan_t |
Enumerations | |
enum | valtype { AST_EXPR_number, AST_EXPR_numeric_string, AST_EXPR_string, AST_EXPR_number, AST_EXPR_numeric_string, AST_EXPR_string } |
Functions | |
int | ast_expr (char *expr, char *buf, int length, struct ast_channel *chan) |
Evaluate the given expression. More... | |
void | ast_expr_clear_extra_error_info (void) |
void | ast_expr_register_extra_error_info (char *message) |
int | ast_str_expr (struct ast_str **str, ssize_t maxlen, struct ast_channel *chan, char *expr) |
Evaluate the given expression. More... | |
YY_BUFFER_STATE | ast_yy_create_buffer (FILE *file, int size, yyscan_t yyscanner) |
void | ast_yy_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
void | ast_yy_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner) |
static void | ast_yy_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner) |
static void | ast_yy_load_buffer_state (yyscan_t yyscanner) |
YY_BUFFER_STATE | ast_yy_scan_buffer (char *base, yy_size_t size, yyscan_t yyscanner) |
YY_BUFFER_STATE | ast_yy_scan_bytes (yyconst char *bytes, int len, yyscan_t yyscanner) |
YY_BUFFER_STATE | ast_yy_scan_string (yyconst char *yy_str, yyscan_t yyscanner) |
void | ast_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
void * | ast_yyalloc (yy_size_t, yyscan_t yyscanner) |
static void | ast_yyensure_buffer_stack (yyscan_t yyscanner) |
int | ast_yyerror (const char *, YYLTYPE *, struct parse_io *) |
int | ast_yyerror (const char *s, yyltype *loc, struct parse_io *parseio) |
void | ast_yyfree (void *, yyscan_t yyscanner) |
int | ast_yyget_column (yyscan_t yyscanner) |
int | ast_yyget_debug (yyscan_t yyscanner) |
YY_EXTRA_TYPE | ast_yyget_extra (yyscan_t yyscanner) |
FILE * | ast_yyget_in (yyscan_t yyscanner) |
int | ast_yyget_leng (yyscan_t yyscanner) |
int | ast_yyget_lineno (yyscan_t yyscanner) |
YYLTYPE * | ast_yyget_lloc (yyscan_t yyscanner) |
YYSTYPE * | ast_yyget_lval (yyscan_t yyscanner) |
FILE * | ast_yyget_out (yyscan_t yyscanner) |
char * | ast_yyget_text (yyscan_t yyscanner) |
int | ast_yylex (YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner) |
int | ast_yylex_destroy (yyscan_t yyscanner) |
int | ast_yylex_init (yyscan_t *scanner) |
int | ast_yylex_init_extra (YY_EXTRA_TYPE user_defined, yyscan_t *scanner) |
int | ast_yyparse (void *) |
void | ast_yypop_buffer_state (yyscan_t yyscanner) |
void | ast_yypush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) |
void * | ast_yyrealloc (void *, yy_size_t, yyscan_t yyscanner) |
void | ast_yyrestart (FILE *input_file, yyscan_t yyscanner) |
void | ast_yyset_column (int column_no, yyscan_t yyscanner) |
void | ast_yyset_debug (int debug_flag, yyscan_t yyscanner) |
void | ast_yyset_extra (YY_EXTRA_TYPE user_defined, yyscan_t yyscanner) |
void | ast_yyset_in (FILE *in_str, yyscan_t yyscanner) |
void | ast_yyset_lineno (int line_number, yyscan_t yyscanner) |
void | ast_yyset_lloc (YYLTYPE *yylloc_param, yyscan_t yyscanner) |
void | ast_yyset_lval (YYSTYPE *yylval_param, yyscan_t yyscanner) |
void | ast_yyset_out (FILE *out_str, yyscan_t yyscanner) |
static char * | expr2_token_subst (const char *mess) |
if (!yyg->yy_init) | |
static int | input (yyscan_t yyscanner) |
int | isatty (int) |
while (1) | |
static void | yy_fatal_error (yyconst char msg[], yyscan_t yyscanner) |
static void | yy_fatal_error (yyconst char *msg, yyscan_t yyscanner) |
static int | yy_get_next_buffer (yyscan_t yyscanner) |
static yy_state_type | yy_get_previous_state (yyscan_t yyscanner) |
static int | yy_init_globals (yyscan_t yyscanner) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state, yyscan_t yyscanner) |
static void | yyunput (int c, char *buf_ptr, yyscan_t yyscanner) |
static void | yyunput (int c, register char *yy_bp, yyscan_t yyscanner) |
Variables | |
static int | curlycount = 0 |
static const char *const | expr2_token_equivs1 [] |
static const char *const | expr2_token_equivs2 [] |
char | extra_error_message [4095] |
int | extra_error_message_supplied = 0 |
static yyconst flex_int16_t | yy_accept [63] |
register int | yy_act |
static yyconst flex_int16_t | yy_base [70] |
register char * | yy_bp |
static yyconst flex_int16_t | yy_chk [159] |
register char * | yy_cp |
YY_DECL | |
static yyconst flex_int16_t | yy_def [70] |
static yyconst flex_int32_t | yy_ec [256] |
static yyconst flex_int32_t | yy_meta [29] |
static yyconst flex_int16_t | yy_nxt [159] |
struct yyguts_t * | yyg = (struct yyguts_t*)yyscanner |
yylloc = yylloc_param | |
yylval = yylval_param | |
Dialplan Expression Lexical Scanner.
Definition in file ast_expr2f.c.
#define ast_yywrap | ( | n | ) | 1 |
Definition at line 340 of file ast_expr2f.c.
#define ASTMM_LIBC ASTMM_REDIRECT |
Definition at line 1 of file ast_expr2f.c.
#define BEGIN yyg->yy_start = 1 + 2 * |
Definition at line 146 of file ast_expr2f.c.
Referenced by while().
Definition at line 563 of file ast_expr2f.c.
Referenced by ast_hide_password(), ast_restore_tty(), and while().
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 185 of file ast_expr2f.c.
Referenced by input(), while(), and yy_get_next_buffer().
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 186 of file ast_expr2f.c.
Referenced by input(), while(), and yy_get_next_buffer().
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 187 of file ast_expr2f.c.
Referenced by input(), while(), and yy_get_next_buffer().
#define FLEX_BETA |
Definition at line 17 of file ast_expr2f.c.
#define FLEX_SCANNER |
Definition at line 12 of file ast_expr2f.c.
#define FLEXINT_H |
Definition at line 33 of file ast_expr2f.c.
#define FP___FMOD fmod |
Definition at line 536 of file ast_expr2f.c.
#define FP___PRINTF "%.16g" |
Definition at line 535 of file ast_expr2f.c.
Referenced by ast_expr(), and ast_str_expr().
#define FP___STRTOD strtod |
Definition at line 537 of file ast_expr2f.c.
#define FP___TYPE double |
Definition at line 538 of file ast_expr2f.c.
#define INITIAL 0 |
Definition at line 613 of file ast_expr2f.c.
Referenced by while().
#define INT16_MAX (32767) |
Definition at line 75 of file ast_expr2f.c.
#define INT16_MIN (-32767-1) |
Definition at line 66 of file ast_expr2f.c.
#define INT32_MAX (2147483647) |
Definition at line 78 of file ast_expr2f.c.
Referenced by ast_parse_arg().
#define INT32_MIN (-2147483647-1) |
Definition at line 69 of file ast_expr2f.c.
Referenced by ast_parse_arg().
#define INT8_MAX (127) |
Definition at line 72 of file ast_expr2f.c.
#define INT8_MIN (-128) |
Definition at line 63 of file ast_expr2f.c.
#define REJECT reject_used_but_not_detected |
Definition at line 491 of file ast_expr2f.c.
#define SET_COLUMNS |
Definition at line 580 of file ast_expr2f.c.
Referenced by while().
#define SET_NUMERIC_STRING |
Definition at line 592 of file ast_expr2f.c.
Referenced by while().
#define SET_STRING |
Definition at line 586 of file ast_expr2f.c.
Referenced by while().
#define trail 2 |
Definition at line 615 of file ast_expr2f.c.
Referenced by while().
#define UINT16_MAX (65535U) |
Definition at line 84 of file ast_expr2f.c.
#define UINT32_MAX (4294967295U) |
Definition at line 87 of file ast_expr2f.c.
Referenced by ast_parse_arg().
#define UINT8_MAX (255U) |
Definition at line 81 of file ast_expr2f.c.
#define unput | ( | c | ) | yyunput( c, yyg->yytext_ptr , yyscanner ) |
Definition at line 205 of file ast_expr2f.c.
Referenced by while().
#define var 1 |
Definition at line 614 of file ast_expr2f.c.
Referenced by __init_manager(), _ast_var_assign(), acf_iaxvar_read(), acf_iaxvar_write(), acf_sprintf(), aco_process_category_options(), add_cfg_entry(), add_message_id(), add_rt_cfg_entry(), add_rt_multi_cfg_entry(), agent_login_channel_config(), aMYSQL_set(), app_control_set_channel_var(), append_channel_vars(), append_row_to_cfg(), append_variable(), apply_options(), apply_options_full(), array(), assign_and_insert(), ast_ari_callback(), ast_bridge_timelimit(), ast_category_inherit(), ast_cdr_serialize_variables(), ast_channel_get_vars(), ast_channeltype_list(), ast_config_text_file_save2(), ast_http_get_post_vars(), ast_iax2_new(), ast_json_channel_vars(), ast_manager_build_channel_state_string_prefix(), ast_phoneprov_provider_register(), AST_TEST_DEFINE(), ast_var_assign(), ast_var_find(), ast_var_list_clone(), ast_var_list_destroy(), ast_variables_reverse(), ast_xmldoc_load_documentation(), authenticate_reply(), build_calendar(), build_cfg(), chan_pjsip_new(), channel_get_external_vars(), channel_set_external_vars(), check_expiration_thread(), clearvar_prefix(), cli_realtime_load(), conf_exec(), conf_run(), config_function_read(), config_option_destroy(), console_cmd(), contact_to_var_list(), copy_plain_file(), copy_variables(), create_mwi_subscriptions(), crement_function_read(), fields_handler(), find_conf(), find_conf_realtime(), find_realtime(), find_user_realtime(), free_chanvar(), free_external_channelvars(), function_realtime_read(), function_realtime_readdestroy(), get_chan_by_ast_name(), get_defaults(), get_insecure_variable_from_config(), get_insecure_variable_from_sippeers(), global_read(), handle_aor(), handle_show_chanvar(), handle_showchan(), handle_updates(), handle_uri(), http_post_callback(), iax2_call(), iax_parse_ies(), inherit_category(), init_logger_chain(), ldap_loadentry(), ldap_table_config_add_attribute(), leave_queue(), load_aliases(), load_config(), load_moh_classes(), load_realtime_musiconhold(), load_users(), load_zonemessages(), local_ast_moh_start(), localized_config_text_file_save(), man_do_variable_value(), manager_sipnotify(), meetme_menu_admin_extended(), minivm_account_func_read(), misdn_hangup(), moh_parse_options(), move_variables(), my_connect_db(), my_load_module(), new_realtime_sqlite3_db(), odbc_load_module(), originate_exec(), osp_create_provider(), oss_request(), parse_config(), parse_cookies(), parse_variable_name(), pbx_builtin_serialize_variables(), pbx_substitute_variables_helper_full(), prep_email_sub_vars(), process_my_load_module(), process_text_line(), profile_destructor(), queue_function_queuegetchannel(), queue_function_queuewaitingcount(), realtime_curl(), realtime_directory(), realtime_ldap(), realtime_ldap_entry_to_var(), realtime_ldap_result_to_vars(), realtime_multi_curl(), realtime_multi_ldap(), realtime_multi_mysql(), realtime_multi_odbc(), realtime_multi_pgsql(), realtime_mysql(), realtime_odbc(), realtime_peer(), realtime_peer_get_sippeer_helper(), realtime_pgsql(), realtime_user(), realtimefield_read(), register_realtime_peers_with_callbackextens(), reload_followme(), reload_module(), reload_single_queue(), rt_extend_conf(), rtp_reload(), set_var_to_str(), shared_read(), shared_variable_free(), shared_write(), shift_pop(), show_users_realtime(), sip_cli_notify(), sip_msg_send(), sipinfo_send(), sla_build_station(), sla_build_trunk(), socket_process_helper(), stasis_app_control_set_channel_var(), static_realtime_cb(), test_chan_variable(), test_config_validity(), tls_method_to_str(), transmit_invite(), unshift_push(), variable_named(), variables_count(), varshead_dtor(), vm_allocate_dh(), vm_change_password(), while(), write_password_to_file(), and xml_translate().
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 336 of file ast_expr2f.c.
#define YY_BREAK break; |
Definition at line 844 of file ast_expr2f.c.
Referenced by while().
#define YY_BUF_SIZE 16384 |
Definition at line 172 of file ast_expr2f.c.
Referenced by ast_yyrestart(), and if().
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 272 of file ast_expr2f.c.
Referenced by yy_get_next_buffer().
#define YY_BUFFER_NEW 0 |
Definition at line 260 of file ast_expr2f.c.
Referenced by ast_yy_flush_buffer(), ast_yy_scan_buffer(), and while().
#define YY_BUFFER_NORMAL 1 |
Definition at line 261 of file ast_expr2f.c.
Referenced by while().
#define YY_CURRENT_BUFFER |
Definition at line 283 of file ast_expr2f.c.
Referenced by ast_yy_delete_buffer(), ast_yy_flush_buffer(), ast_yy_init_buffer(), ast_yy_switch_to_buffer(), ast_yyget_column(), ast_yyget_lineno(), ast_yylex_destroy(), ast_yypop_buffer_state(), ast_yypush_buffer_state(), ast_yyrestart(), ast_yyset_column(), ast_yyset_lineno(), if(), and yy_get_next_buffer().
Definition at line 290 of file ast_expr2f.c.
Referenced by ast_yy_delete_buffer(), ast_yy_load_buffer_state(), ast_yy_switch_to_buffer(), ast_yyerror(), ast_yylex_destroy(), ast_yypop_buffer_state(), ast_yypush_buffer_state(), ast_yyrestart(), if(), input(), while(), yy_get_next_buffer(), and yyunput().
#define YY_DECL |
Definition at line 831 of file ast_expr2f.c.
#define YY_DECL_IS_OURS 1 |
Definition at line 826 of file ast_expr2f.c.
#define YY_DO_BEFORE_ACTION |
Definition at line 357 of file ast_expr2f.c.
Referenced by while().
#define YY_END_OF_BUFFER 39 |
Definition at line 366 of file ast_expr2f.c.
Referenced by while().
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 161 of file ast_expr2f.c.
Referenced by ast_yy_flush_buffer(), ast_yy_scan_buffer(), ast_yy_scan_bytes(), input(), and yy_get_next_buffer().
#define YY_EXIT_FAILURE 2 |
Definition at line 2018 of file ast_expr2f.c.
Referenced by yy_fatal_error().
#define YY_EXTRA_TYPE void * |
Definition at line 626 of file ast_expr2f.c.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg , yyscanner) |
Definition at line 817 of file ast_expr2f.c.
Referenced by ast_yy_create_buffer(), ast_yy_scan_buffer(), ast_yy_scan_bytes(), ast_yyensure_buffer_stack(), while(), yy_get_next_buffer(), and yyunput().
#define yy_flex_debug yyg->yy_flex_debug_r |
Definition at line 140 of file ast_expr2f.c.
Referenced by ast_yyget_debug(), and ast_yyset_debug().
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 13 of file ast_expr2f.c.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 14 of file ast_expr2f.c.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 15 of file ast_expr2f.c.
#define YY_FLUSH_BUFFER ast_yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) |
Definition at line 304 of file ast_expr2f.c.
Definition at line 770 of file ast_expr2f.c.
Referenced by yy_get_next_buffer().
#define YY_INT_ALIGNED short int |
Definition at line 8 of file ast_expr2f.c.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 189 of file ast_expr2f.c.
#define YY_MORE_ADJ yyg->yy_more_len |
Definition at line 493 of file ast_expr2f.c.
Referenced by while(), yy_get_next_buffer(), and yy_get_previous_state().
#define yy_new_buffer ast_yy_create_buffer |
Definition at line 314 of file ast_expr2f.c.
#define YY_NEW_FILE ast_yyrestart(yyin ,yyscanner ) |
Definition at line 159 of file ast_expr2f.c.
#define YY_NULL 0 |
Definition at line 116 of file ast_expr2f.c.
#define YY_NUM_RULES 38 |
Definition at line 365 of file ast_expr2f.c.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 754 of file ast_expr2f.c.
Referenced by yy_get_next_buffer().
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 494 of file ast_expr2f.c.
Referenced by while().
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 847 of file ast_expr2f.c.
Referenced by while().
Definition at line 123 of file ast_expr2f.c.
Referenced by while(), and yy_get_previous_state().
#define yy_set_bol | ( | at_bol | ) |
Definition at line 326 of file ast_expr2f.c.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 316 of file ast_expr2f.c.
#define YY_SKIP_YYWRAP |
Definition at line 341 of file ast_expr2f.c.
#define YY_START ((yyg->yy_start - 1) / 2) |
Definition at line 152 of file ast_expr2f.c.
Referenced by while().
#define YY_START_STACK_INCR 25 |
Definition at line 812 of file ast_expr2f.c.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 178 of file ast_expr2f.c.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 156 of file ast_expr2f.c.
Referenced by while().
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 213 of file ast_expr2f.c.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 181 of file ast_expr2f.c.
#define YY_TYPEDEF_YY_SCANNER_T |
Definition at line 127 of file ast_expr2f.c.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 208 of file ast_expr2f.c.
#define YY_USER_ACTION |
Definition at line 839 of file ast_expr2f.c.
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) |
Definition at line 139 of file ast_expr2f.c.
Referenced by ast_yyget_column(), and ast_yyset_column().
#define yyconst |
Definition at line 112 of file ast_expr2f.c.
Referenced by ast_yylex_destroy().
#define yyextra yyg->yyextra_r |
Definition at line 135 of file ast_expr2f.c.
Referenced by ast_yyget_extra(), and ast_yyset_extra().
#define yyin yyg->yyin_r |
Definition at line 133 of file ast_expr2f.c.
Referenced by ast_yy_load_buffer_state(), ast_yyget_in(), ast_yyrestart(), ast_yyset_in(), if(), input(), while(), yy_get_next_buffer(), and yy_init_globals().
#define yyleng yyg->yyleng_r |
Definition at line 136 of file ast_expr2f.c.
Referenced by ast_yyget_leng(), and while().
#define yyless | ( | n | ) |
Definition at line 2030 of file ast_expr2f.c.
#define yyless | ( | n | ) |
Definition at line 2030 of file ast_expr2f.c.
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) |
Definition at line 138 of file ast_expr2f.c.
Referenced by ast_yyget_lineno(), and ast_yyset_lineno().
#define yylloc yyg->yylloc_r |
Definition at line 673 of file ast_expr2f.c.
Referenced by ast_yyget_lloc(), and ast_yyset_lloc().
#define yylval yyg->yylval_r |
Definition at line 671 of file ast_expr2f.c.
Referenced by ast_yyget_lval(), and ast_yyset_lval().
#define yymore | ( | ) | (yyg->yy_more_flag = 1) |
Definition at line 492 of file ast_expr2f.c.
Referenced by while().
#define yyout yyg->yyout_r |
Definition at line 134 of file ast_expr2f.c.
Referenced by ast_yyget_out(), ast_yyset_out(), if(), and yy_init_globals().
#define YYSTATE YY_START |
Definition at line 153 of file ast_expr2f.c.
#define YYTABLES_NAME "yytables" |
Definition at line 2382 of file ast_expr2f.c.
#define yyterminate | ( | ) | return YY_NULL |
Definition at line 807 of file ast_expr2f.c.
Referenced by while().
#define yytext yyg->yytext_r |
Definition at line 137 of file ast_expr2f.c.
Referenced by ast_yyerror(), ast_yyget_text(), and while().
#define yytext_ptr yytext_r |
Definition at line 347 of file ast_expr2f.c.
typedef short int flex_int16_t |
Definition at line 55 of file ast_expr2f.c.
typedef int flex_int32_t |
Definition at line 56 of file ast_expr2f.c.
typedef signed char flex_int8_t |
Definition at line 54 of file ast_expr2f.c.
typedef unsigned short int flex_uint16_t |
Definition at line 58 of file ast_expr2f.c.
typedef unsigned int flex_uint32_t |
Definition at line 59 of file ast_expr2f.c.
typedef unsigned char flex_uint8_t |
Definition at line 57 of file ast_expr2f.c.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 182 of file ast_expr2f.c.
typedef unsigned char YY_CHAR |
Definition at line 343 of file ast_expr2f.c.
typedef size_t yy_size_t |
Definition at line 209 of file ast_expr2f.c.
typedef int yy_state_type |
Definition at line 345 of file ast_expr2f.c.
typedef void* yyscan_t |
Definition at line 128 of file ast_expr2f.c.
enum valtype |
Enumerator | |
---|---|
AST_EXPR_number | |
AST_EXPR_numeric_string | |
AST_EXPR_string | |
AST_EXPR_number | |
AST_EXPR_numeric_string | |
AST_EXPR_string |
Definition at line 566 of file ast_expr2f.c.
int ast_expr | ( | char * | expr, |
char * | buf, | ||
int | length, | ||
struct ast_channel * | chan | ||
) |
Evaluate the given expression.
expr | An expression |
buf | Result buffer |
length | Size of the result buffer, in bytes |
chan | Channel to use for evaluating included dialplan functions, if any |
Definition at line 2405 of file ast_expr2f.c.
References ast_copy_string(), AST_EXPR_number, ast_yy_scan_string(), ast_yylex_destroy(), ast_yylex_init(), ast_yyparse(), FP___PRINTF, free(), parse_io::scanner, and parse_io::string.
Referenced by AST_TEST_DEFINE(), check_eval(), check_pval_item(), is_zero_or_null(), and pbx_substitute_variables_helper_full().
void ast_expr_clear_extra_error_info | ( | void | ) |
void ast_expr_register_extra_error_info | ( | char * | message | ) |
Definition at line 2477 of file ast_expr2f.c.
Referenced by check_pval_item().
int ast_str_expr | ( | struct ast_str ** | str, |
ssize_t | maxlen, | ||
struct ast_channel * | chan, | ||
char * | expr | ||
) |
Evaluate the given expression.
str | Dynamic result buffer |
maxlen | <0 if the size of the buffer should remain constant, >0 if the size of the buffer should expand to that many bytes, maximum, or 0 for unlimited expansion of the result buffer |
chan | Channel to use for evaluating included dialplan functions, if any |
expr | An expression |
Definition at line 2447 of file ast_expr2f.c.
References AST_EXPR_number, ast_str_set(), ast_str_strlen(), ast_yy_scan_string(), ast_yylex_destroy(), ast_yylex_init(), ast_yyparse(), FP___PRINTF, free(), parse_io::scanner, and parse_io::string.
Referenced by ast_str_substitute_variables_full().
YY_BUFFER_STATE ast_yy_create_buffer | ( | FILE * | file, |
int | size, | ||
yyscan_t | yyscanner | ||
) |
Allocate and initialize an input buffer state.
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
yyscanner | The scanner object. |
Definition at line 1725 of file ast_expr2f.c.
References ast_yy_init_buffer(), ast_yyalloc(), b, yy_buffer_state::yy_buf_size, yy_buffer_state::yy_ch_buf, YY_FATAL_ERROR, and yy_buffer_state::yy_is_our_buffer.
Referenced by ast_yyrestart(), and if().
void ast_yy_delete_buffer | ( | YY_BUFFER_STATE | b, |
yyscan_t | yyscanner | ||
) |
Destroy the buffer.
b | a buffer created with ast_yy_create_buffer() |
yyscanner | The scanner object. |
Definition at line 1753 of file ast_expr2f.c.
References ast_yyfree(), isatty(), yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yy_buffer_state::yy_is_our_buffer.
Referenced by ast_yylex_destroy(), and ast_yypop_buffer_state().
void ast_yy_flush_buffer | ( | YY_BUFFER_STATE | b, |
yyscan_t | yyscanner | ||
) |
Discard all buffered characters. On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
yyscanner | The scanner object. |
Definition at line 1806 of file ast_expr2f.c.
References ast_yy_load_buffer_state(), yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_END_OF_BUFFER_CHAR, and yy_buffer_state::yy_n_chars.
Referenced by ast_yy_init_buffer().
|
static |
Definition at line 1777 of file ast_expr2f.c.
References ast_yy_flush_buffer(), errno, make_ari_stubs::file, isatty(), yy_buffer_state::yy_bs_column, yy_buffer_state::yy_bs_lineno, YY_CURRENT_BUFFER, yy_buffer_state::yy_fill_buffer, yy_buffer_state::yy_input_file, and yy_buffer_state::yy_is_interactive.
Referenced by ast_yy_create_buffer(), and ast_yyrestart().
|
static |
Definition at line 1710 of file ast_expr2f.c.
References yyguts_t::yy_c_buf_p, YY_CURRENT_BUFFER_LVALUE, yyguts_t::yy_hold_char, yyguts_t::yy_n_chars, and yyin.
Referenced by ast_yy_flush_buffer(), ast_yy_switch_to_buffer(), ast_yypop_buffer_state(), ast_yypush_buffer_state(), ast_yyrestart(), and if().
YY_BUFFER_STATE ast_yy_scan_buffer | ( | char * | base, |
yy_size_t | size, | ||
yyscan_t | yyscanner | ||
) |
Setup the input buffer state to scan directly from a user-specified character buffer.
base | the character buffer |
size | the size in bytes of the character buffer |
yyscanner | The scanner object. |
Definition at line 1937 of file ast_expr2f.c.
References ast_yy_switch_to_buffer(), ast_yyalloc(), b, yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, yy_buffer_state::yy_buf_size, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_buffer_state::yy_input_file, yy_buffer_state::yy_is_interactive, yy_buffer_state::yy_is_our_buffer, and yy_buffer_state::yy_n_chars.
Referenced by ast_yy_scan_bytes().
YY_BUFFER_STATE ast_yy_scan_bytes | ( | yyconst char * | yybytes, |
int | _yybytes_len, | ||
yyscan_t | yyscanner | ||
) |
Setup the input buffer state to scan the given bytes. The next call to ast_yylex() will scan from a copy of bytes.
yybytes | the byte buffer to scan |
_yybytes_len | the number of bytes in the buffer pointed to by bytes. |
yyscanner | The scanner object. |
Definition at line 1987 of file ast_expr2f.c.
References ast_yy_scan_buffer(), ast_yyalloc(), b, buf, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, and yy_buffer_state::yy_is_our_buffer.
Referenced by ast_yy_scan_string().
YY_BUFFER_STATE ast_yy_scan_string | ( | yyconst char * | yystr, |
yyscan_t | yyscanner | ||
) |
Setup the input buffer state to scan a string. The next call to ast_yylex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
yyscanner | The scanner object. |
Definition at line 1974 of file ast_expr2f.c.
References ast_yy_scan_bytes().
Referenced by ast_expr(), and ast_str_expr().
void ast_yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer, |
yyscan_t | yyscanner | ||
) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
yyscanner | The scanner object. |
Definition at line 1678 of file ast_expr2f.c.
References ast_yy_load_buffer_state(), ast_yyensure_buffer_stack(), yyguts_t::yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yyguts_t::yy_did_buffer_switch_on_eof, yyguts_t::yy_hold_char, and yyguts_t::yy_n_chars.
Referenced by ast_yy_scan_buffer().
Definition at line 2365 of file ast_expr2f.c.
References malloc().
Referenced by ast_yy_create_buffer(), ast_yy_scan_buffer(), ast_yy_scan_bytes(), ast_yyensure_buffer_stack(), ast_yylex_init(), and ast_yylex_init_extra().
|
static |
Definition at line 1887 of file ast_expr2f.c.
References ast_yyalloc(), ast_yyrealloc(), yyguts_t::yy_buffer_stack, yyguts_t::yy_buffer_stack_max, yyguts_t::yy_buffer_stack_top, and YY_FATAL_ERROR.
Referenced by ast_yy_switch_to_buffer(), ast_yypush_buffer_state(), ast_yyrestart(), and if().
Definition at line 2586 of file ast_expr2f.c.
References ast_log, expr2_token_subst(), free(), LOG_WARNING, parse_io::scanner, parse_io::string, YY_CURRENT_BUFFER_LVALUE, and yytext.
void ast_yyfree | ( | void * | ptr, |
yyscan_t | yyscanner | ||
) |
Definition at line 2397 of file ast_expr2f.c.
References free().
Referenced by ast_yy_delete_buffer(), and ast_yylex_destroy().
int ast_yyget_column | ( | yyscan_t | yyscanner | ) |
Get the current column number.
yyscanner | The scanner object. |
Definition at line 2071 of file ast_expr2f.c.
References YY_CURRENT_BUFFER, and yycolumn.
int ast_yyget_debug | ( | yyscan_t | yyscanner | ) |
Definition at line 2176 of file ast_expr2f.c.
References yy_flex_debug.
YY_EXTRA_TYPE ast_yyget_extra | ( | yyscan_t | yyscanner | ) |
Get the user-defined data for this scanner.
yyscanner | The scanner object. |
Definition at line 2049 of file ast_expr2f.c.
References yyextra.
FILE * ast_yyget_in | ( | yyscan_t | yyscanner | ) |
Get the input stream.
yyscanner | The scanner object. |
Definition at line 2084 of file ast_expr2f.c.
References yyin.
int ast_yyget_leng | ( | yyscan_t | yyscanner | ) |
Get the length of the current token.
yyscanner | The scanner object. |
Definition at line 2102 of file ast_expr2f.c.
References yyleng.
int ast_yyget_lineno | ( | yyscan_t | yyscanner | ) |
Get the current line number.
yyscanner | The scanner object. |
Definition at line 2058 of file ast_expr2f.c.
References YY_CURRENT_BUFFER, and yylineno.
FILE * ast_yyget_out | ( | yyscan_t | yyscanner | ) |
Get the output stream.
yyscanner | The scanner object. |
Definition at line 2093 of file ast_expr2f.c.
References yyout.
char * ast_yyget_text | ( | yyscan_t | yyscanner | ) |
Get the current token.
yyscanner | The scanner object. |
Definition at line 2112 of file ast_expr2f.c.
References yytext.
int ast_yylex_destroy | ( | yyscan_t | yyscanner | ) |
Definition at line 2312 of file ast_expr2f.c.
References ast_yy_delete_buffer(), ast_yyfree(), ast_yypop_buffer_state(), NULL, yyguts_t::yy_buffer_stack, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init_globals(), yyguts_t::yy_start_stack, and yyconst.
Referenced by ast_expr(), and ast_str_expr().
int ast_yylex_init | ( | yyscan_t * | scanner | ) |
Definition at line 2221 of file ast_expr2f.c.
References ast_yyalloc(), errno, NULL, and yy_init_globals().
Referenced by ast_expr(), and ast_str_expr().
int ast_yylex_init_extra | ( | YY_EXTRA_TYPE | user_defined, |
yyscan_t * | scanner | ||
) |
Definition at line 2250 of file ast_expr2f.c.
References ast_yyalloc(), ast_yyset_extra(), errno, NULL, and yy_init_globals().
int ast_yyparse | ( | void * | ) |
Referenced by ast_expr(), and ast_str_expr().
void ast_yypop_buffer_state | ( | yyscan_t | yyscanner | ) |
Removes and deletes the top of the stack, if present. The next element becomes the new top.
yyscanner | The scanner object. |
Definition at line 1867 of file ast_expr2f.c.
References ast_yy_delete_buffer(), ast_yy_load_buffer_state(), NULL, yyguts_t::yy_buffer_stack_top, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yyguts_t::yy_did_buffer_switch_on_eof.
Referenced by ast_yylex_destroy().
void ast_yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer, |
yyscan_t | yyscanner | ||
) |
Pushes the new state onto the stack. The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. |
yyscanner | The scanner object. |
Definition at line 1836 of file ast_expr2f.c.
References ast_yy_load_buffer_state(), ast_yyensure_buffer_stack(), NULL, yyguts_t::yy_buffer_stack_top, yyguts_t::yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yyguts_t::yy_did_buffer_switch_on_eof, yyguts_t::yy_hold_char, and yyguts_t::yy_n_chars.
Definition at line 2370 of file ast_expr2f.c.
References realloc.
Referenced by ast_yyensure_buffer_stack(), and yy_get_next_buffer().
void ast_yyrestart | ( | FILE * | input_file, |
yyscan_t | yyscanner | ||
) |
Immediately switch to a different input stream.
input_file | A readable stream. |
yyscanner | The scanner object. |
INITIAL
. Definition at line 1660 of file ast_expr2f.c.
References ast_yy_create_buffer(), ast_yy_init_buffer(), ast_yy_load_buffer_state(), ast_yyensure_buffer_stack(), YY_BUF_SIZE, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yyin.
Referenced by input(), and yy_get_next_buffer().
void ast_yyset_column | ( | int | column_no, |
yyscan_t | yyscanner | ||
) |
Set the current column.
column_no | line_number |
yyscanner | The scanner object. |
Definition at line 2147 of file ast_expr2f.c.
References YY_CURRENT_BUFFER, yy_fatal_error(), and yycolumn.
void ast_yyset_debug | ( | int | debug_flag, |
yyscan_t | yyscanner | ||
) |
Definition at line 2182 of file ast_expr2f.c.
References yy_flex_debug.
void ast_yyset_extra | ( | YY_EXTRA_TYPE | user_defined, |
yyscan_t | yyscanner | ||
) |
Set the user-defined data. This data is never touched by the scanner.
user_defined | The data to be associated with this scanner. |
yyscanner | The scanner object. |
Definition at line 2122 of file ast_expr2f.c.
References yyextra.
Referenced by ast_yylex_init_extra().
void ast_yyset_in | ( | FILE * | in_str, |
yyscan_t | yyscanner | ||
) |
Set the input stream. This does not discard the current input buffer.
in_str | A readable stream. |
yyscanner | The scanner object. |
Definition at line 2164 of file ast_expr2f.c.
References yyin.
void ast_yyset_lineno | ( | int | line_number, |
yyscan_t | yyscanner | ||
) |
Set the current line number.
line_number | |
yyscanner | The scanner object. |
Definition at line 2132 of file ast_expr2f.c.
References YY_CURRENT_BUFFER, yy_fatal_error(), and yylineno.
void ast_yyset_out | ( | FILE * | out_str, |
yyscan_t | yyscanner | ||
) |
|
static |
Definition at line 2542 of file ast_expr2f.c.
References expr2_token_equivs1, len(), and malloc().
Referenced by ast_yyerror().
if | ( | !yyg-> | yy_init | ) |
Definition at line 868 of file ast_expr2f.c.
References ast_yy_create_buffer(), ast_yy_load_buffer_state(), ast_yyensure_buffer_stack(), YY_BUF_SIZE, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yyguts_t::yy_init, yyguts_t::yy_start, yyin, and yyout.
Referenced by __add_ovflpage(), __addel(), __ast_str_helper(), __ast_str_helper2(), __big_delete(), __big_split(), __bt_put(), __bt_split(), __delpair(), __hash_open(), __rec_vmap(), __rec_vpipe(), apply_contact_acl(), apply_endpoint_contact_acl(), ast_cel_fabricate_channel_from_event(), ast_format_cmp(), ast_set_default_eid(), ast_sorcery_wizard_unregister(), ast_stun_request(), ast_unreal_setoption(), ast_variable_lists_match(), cli_complete(), cli_show_subscription_common(), defer_full_frame(), dundi_send(), fax_gateway_detect_v21(), g726_write(), generate_parked_user(), get_filestream(), h263_read(), h264_read(), handle_bchan(), handle_err(), handle_mgmt(), handle_request_subscribe(), hash_access(), hash_delete(), hash_fd(), hash_get(), hash_put(), hash_seq(), hash_sync(), history_get(), keypad_cfg_read(), lintospeex_feedback(), MD5Update(), misdn_lib_get_free_bc(), misdn_lib_get_port_info(), misdn_lib_isdn_event_catcher(), newbuf(), ogg_speex_read(), ogg_vorbis_close(), ogg_vorbis_read(), ogg_vorbis_seek(), ogg_vorbis_tell(), ogg_vorbis_write(), oss_write(), parse_release_complete(), phone_write_buf(), pitch_shift(), read_dirs_cb(), rtp_add_candidates_to_ice(), sdp_search(), send_trunk(), socket_read(), speex_callback(), tzload(), ugly_split(), update(), update_filter(), update_jitter_stats(), update_lost_stats(), wav_close(), wav_open(), wav_seek(), wav_write(), and xmpp_connect_hook().
|
static |
Definition at line 1584 of file ast_expr2f.c.
References ast_yyrestart(), ast_yywrap, c, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, yyguts_t::yy_c_buf_p, YY_CURRENT_BUFFER_LVALUE, yyguts_t::yy_did_buffer_switch_on_eof, YY_END_OF_BUFFER_CHAR, yy_get_next_buffer(), yyguts_t::yy_hold_char, yyguts_t::yy_n_chars, YY_NEW_FILE, and yyin.
Referenced by AST_TEST_DEFINE(), eivr_comm(), escape_and_substitute(), get_calleridname(), get_user_input(), and strip_control_and_high().
int isatty | ( | int | ) |
Referenced by ast_get_termcols(), ast_hide_password(), ast_yy_delete_buffer(), and ast_yy_init_buffer().
while | ( | 1 | ) |
Definition at line 894 of file ast_expr2f.c.
References ast_yywrap, BEGIN, c, curlycount, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, INITIAL, SET_COLUMNS, SET_NUMERIC_STRING, SET_STRING, TOK_AND, TOK_COLON, TOK_COLONCOLON, TOK_COMMA, TOK_COMPL, TOK_COND, TOK_DIV, TOK_EQ, TOK_EQTILDE, TOK_GE, TOK_GT, TOK_LE, TOK_LP, TOK_LT, TOK_MINUS, TOK_MOD, TOK_MULT, TOK_NE, TOK_OR, TOK_PLUS, TOK_RP, TOK_TILDETILDE, TOKEN, trail, unput, var, yy_accept, yy_base, YY_BREAK, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yyguts_t::yy_c_buf_p, yy_chk, yy_cp, YY_CURRENT_BUFFER_LVALUE, yy_def, yyguts_t::yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_get_next_buffer(), yy_get_previous_state(), yyguts_t::yy_hold_char, yyguts_t::yy_last_accepting_cpos, yyguts_t::yy_last_accepting_state, yy_meta, YY_MORE_ADJ, yyguts_t::yy_more_flag, yyguts_t::yy_more_len, yyguts_t::yy_n_chars, YY_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, yyguts_t::yy_start, YY_STATE_EOF, yy_try_NUL_trans(), yyin, yyleng, yymore, yyterminate, and yytext.
Referenced by __addel(), __big_delete(), __big_return(), ast_sip_pubsub_has_eventlist_support(), fetch_bitmap(), find_challenge(), read_packet(), sms_exec(), subscription_get_generator_from_rdata(), timesub(), and tzload().
Referenced by ast_yyset_column(), and ast_yyset_lineno().
|
static |
Definition at line 1350 of file ast_expr2f.c.
References ast_yyrealloc(), ast_yyrestart(), b, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, yyguts_t::yy_c_buf_p, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, YY_INPUT, yy_buffer_state::yy_is_our_buffer, YY_MORE_ADJ, yyguts_t::yy_n_chars, YY_READ_BUF_SIZE, and yyin.
Referenced by input(), and while().
|
static |
Definition at line 1485 of file ast_expr2f.c.
References yy_accept, yy_base, yyguts_t::yy_c_buf_p, yy_chk, yy_cp, yy_def, yy_ec, yyguts_t::yy_last_accepting_cpos, yyguts_t::yy_last_accepting_state, yy_meta, YY_MORE_ADJ, yy_nxt, YY_SC_TO_UI, and yyguts_t::yy_start.
Referenced by while().
|
static |
Definition at line 2278 of file ast_expr2f.c.
References NULL, yyguts_t::yy_buffer_stack, yyguts_t::yy_buffer_stack_max, yyguts_t::yy_buffer_stack_top, yyguts_t::yy_c_buf_p, yyguts_t::yy_init, yyguts_t::yy_start, yyguts_t::yy_start_stack, yyguts_t::yy_start_stack_depth, yyguts_t::yy_start_stack_ptr, yyin, and yyout.
Referenced by ast_yylex_destroy(), ast_yylex_init(), and ast_yylex_init_extra().
|
static |
Definition at line 1518 of file ast_expr2f.c.
References yy_accept, yy_base, yyguts_t::yy_c_buf_p, yy_chk, yy_cp, yy_def, yyguts_t::yy_last_accepting_cpos, yyguts_t::yy_last_accepting_state, yy_meta, and yy_nxt.
Referenced by while().
|
static |
|
static |
Definition at line 1542 of file ast_expr2f.c.
References yy_bp, yyguts_t::yy_c_buf_p, yy_buffer_state::yy_ch_buf, yy_cp, YY_CURRENT_BUFFER_LVALUE, YY_FATAL_ERROR, yyguts_t::yy_hold_char, and yyguts_t::yy_n_chars.
|
static |
Definition at line 608 of file ast_expr2f.c.
Referenced by while().
|
static |
Definition at line 2489 of file ast_expr2f.c.
Referenced by expr2_token_subst().
|
static |
Definition at line 2515 of file ast_expr2f.c.
char extra_error_message[4095] |
Definition at line 2472 of file ast_expr2f.c.
int extra_error_message_supplied = 0 |
Definition at line 2473 of file ast_expr2f.c.
Referenced by op_div(), op_minus(), op_negate(), op_plus(), op_rem(), and op_times().
|
static |
Definition at line 374 of file ast_expr2f.c.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
register int yy_act |
Definition at line 856 of file ast_expr2f.c.
|
static |
Definition at line 424 of file ast_expr2f.c.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
register char * yy_bp |
Definition at line 855 of file ast_expr2f.c.
Referenced by yyunput().
|
static |
Definition at line 467 of file ast_expr2f.c.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
register char* yy_cp |
Definition at line 855 of file ast_expr2f.c.
Referenced by while(), yy_get_previous_state(), yy_try_NUL_trans(), and yyunput().
YY_DECL |
The main scanner function which does all the work.
Definition at line 853 of file ast_expr2f.c.
|
static |
Definition at line 435 of file ast_expr2f.c.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Definition at line 385 of file ast_expr2f.c.
Referenced by while(), and yy_get_previous_state().
|
static |
Definition at line 417 of file ast_expr2f.c.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Definition at line 446 of file ast_expr2f.c.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
Definition at line 857 of file ast_expr2f.c.
yylloc = yylloc_param |
Definition at line 866 of file ast_expr2f.c.
yylval = yylval_param |
Definition at line 864 of file ast_expr2f.c.