#include "univ.i"#include <stdio.h>#include <string.h>#include <errno.h>#include <stdlib.h>#include "pars0pars.h"#include "pars0grm.h"#include "pars0sym.h"#include "mem0mem.h"#include "os0proc.h"Include dependency graph for lexyy.c:

Go to the source code of this file.
Classes | |
| struct | yy_buffer_state |
| struct | yy_trans_info |
Defines | |
| #define | YY_INT_ALIGNED short int |
| #define | FLEX_SCANNER |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 5 |
| #define | YY_FLEX_SUBMINOR_VERSION 31 |
| #define | FLEX_BETA |
| #define | INT8_MIN (-128) |
| #define | INT16_MIN (-32767-1) |
| #define | INT32_MIN (-2147483647-1) |
| #define | INT8_MAX (127) |
| #define | INT16_MAX (32767) |
| #define | INT32_MAX (2147483647) |
| #define | UINT8_MAX (255U) |
| #define | UINT16_MAX (65535U) |
| #define | UINT32_MAX (4294967295U) |
| #define | yyconst |
| #define | YY_NULL 0 |
| #define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
| #define | BEGIN (yy_start) = 1 + 2 * |
| #define | YY_START (((yy_start) - 1) / 2) |
| #define | YYSTATE YY_START |
| #define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
| #define | YY_NEW_FILE yyrestart(yyin ) |
| #define | YY_END_OF_BUFFER_CHAR 0 |
| #define | YY_BUF_SIZE 16384 |
| #define | EOB_ACT_CONTINUE_SCAN 0 |
| #define | EOB_ACT_END_OF_FILE 1 |
| #define | EOB_ACT_LAST_MATCH 2 |
| #define | YY_LESS_LINENO(n) |
| #define | yyless(n) |
| #define | unput(c) yyunput( c, (yytext_ptr) ) |
| #define | YY_BUFFER_NEW 0 |
| #define | YY_BUFFER_NORMAL 1 |
| #define | YY_BUFFER_EOF_PENDING 2 |
| #define | YY_CURRENT_BUFFER |
| #define | YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
| #define | YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) |
| #define | yy_new_buffer yy_create_buffer |
| #define | yy_set_interactive(is_interactive) |
| #define | yy_set_bol(at_bol) |
| #define | YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
| #define | yywrap(n) 1 |
| #define | YY_SKIP_YYWRAP |
| #define | yytext_ptr yytext |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_NUM_RULES 119 |
| #define | YY_END_OF_BUFFER 120 |
| #define | REJECT reject_used_but_not_detected |
| #define | yymore() yymore_used_but_not_detected |
| #define | YY_MORE_ADJ 0 |
| #define | YY_RESTORE_YY_MORE_OFFSET |
| #define | YY_NO_INPUT 1 |
| #define | YY_NO_UNISTD_H 1 |
| #define | YYSTYPE que_node_t* |
| #define | malloc(A) ut_malloc(A) |
| #define | free(A) ut_free(A) |
| #define | realloc(P, A) ut_realloc(P, A) |
| #define | exit(A) ut_error |
| #define | YY_INPUT(buf, result, max_size) pars_get_lex_chars(buf, &result, max_size) |
| #define | INITIAL 0 |
| #define | comment 1 |
| #define | quoted 2 |
| #define | id 3 |
| #define | YY_EXTRA_TYPE void * |
| #define | YY_READ_BUF_SIZE 8192 |
| #define | ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
| #define | yyterminate() return YY_NULL |
| #define | YY_START_STACK_INCR 25 |
| #define | YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
| #define | YY_DECL_IS_OURS 1 |
| #define | YY_DECL int yylex (void) |
| #define | YY_BREAK break; |
| #define | YY_RULE_SETUP YY_USER_ACTION |
| #define | YY_EXIT_FAILURE 2 |
| #define | yyless(n) |
| #define | YYTABLES_NAME "yytables" |
Typedefs | |
| typedef signed char | flex_int8_t |
| typedef short int | flex_int16_t |
| typedef int | flex_int32_t |
| typedef unsigned char | flex_uint8_t |
| typedef unsigned short int | flex_uint16_t |
| typedef unsigned int | flex_uint32_t |
| typedef yy_buffer_state * | YY_BUFFER_STATE |
| typedef unsigned int | yy_size_t |
| typedef unsigned char | YY_CHAR |
| typedef int | yy_state_type |
Functions | |
| void | yyrestart (FILE *input_file) |
| void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
| YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
| void | yy_delete_buffer (YY_BUFFER_STATE b) |
| void | yy_flush_buffer (YY_BUFFER_STATE b) |
| void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
| void | yypop_buffer_state (void) |
| static void | yyensure_buffer_stack (void) |
| static void | yy_load_buffer_state (void) |
| static void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
| YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
| YY_BUFFER_STATE | yy_scan_string (yyconst char *yy_str) |
| YY_BUFFER_STATE | yy_scan_bytes (yyconst char *bytes, int len) |
| void * | yyalloc (yy_size_t) |
| void * | yyrealloc (void *, yy_size_t) |
| void | yyfree (void *) |
| static yy_state_type | yy_get_previous_state (void) |
| static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
| static int | yy_get_next_buffer (void) |
| static void | yy_fatal_error (yyconst char msg[]) |
| static void | string_append (const char *str, ulint len) |
| int | yylex (void) |
Variables | |
| int | yyleng |
| FILE * | yyin |
| FILE * | yyout |
| static size_t | yy_buffer_stack_top = 0 |
| static size_t | yy_buffer_stack_max = 0 |
| static YY_BUFFER_STATE * | yy_buffer_stack = 0 |
| static char | yy_hold_char |
| static int | yy_n_chars |
| int | yyleng |
| static char * | yy_c_buf_p = (char *) 0 |
| static int | yy_init = 1 |
| static int | yy_start = 0 |
| static int | yy_did_buffer_switch_on_eof |
| FILE * | yyin = (FILE *) 0 |
| FILE * | yyout = (FILE *) 0 |
| int | yylineno |
| int | yylineno = 1 |
| char * | yytext |
| static yyconst flex_int16_t | yy_accept [399] |
| static yyconst flex_int32_t | yy_ec [256] |
| static yyconst flex_int32_t | yy_meta [51] |
| static yyconst flex_int16_t | yy_base [409] |
| static yyconst flex_int16_t | yy_def [409] |
| static yyconst flex_int16_t | yy_nxt [499] |
| static yyconst flex_int16_t | yy_chk [499] |
| static yy_state_type | yy_last_accepting_state |
| static char * | yy_last_accepting_cpos |
| int | yy_flex_debug |
| int | yy_flex_debug = 0 |
| char * | yytext |
| static ulint | stringbuf_len_alloc = 0 |
| static ulint | stringbuf_len = 0 |
| static char * | stringbuf |
| #define comment 1 |
Definition at line 762 of file lexyy.c.
Referenced by add_field_to_list(), fill_schema_charsets(), get_schema_tables_record(), InitConfigFileParser::load_mycnf_groups(), main(), my_print_help(), mysql_create_frm(), mysqld_show_column_types(), pack_header(), print_index(), and InitConfigFileParser::store_in_properties().
Definition at line 818 of file lexyy.c.
Referenced by get_tty_password(), prepare_terminal_settings(), and rl_initialize().
| #define exit | ( | A | ) | ut_error |
Definition at line 724 of file lexyy.c.
Referenced by _mymalloc(), abort_not_supported_test(), acl_get(), angel(), asynchExitHandler(), buf_page_io_complete(), childExit(), client_connect(), closeFileWait(), complain(), CommandInterpreter::connect(), convert_str_to_timestamp(), create_pid_file(), create_schema(), daemonize(), DbugExit(), die(), do_stmt(), do_verify_prepare_field(), doExit(), drop_schema(), dump_selected_tables(), endprog(), err_sys(), executeInsertTransaction(), exitHandler(), BackupRestore::exitHandler(), fatal(), fatal_dict(), fatal_error(), fil_load_single_table_tablespace(), fix_paths(), get_one_option(), get_options(), NdbEventOperationImpl::getValue(), handle_segfault(), hash_delete(), Configuration::init(), Load_log_processor::init_by_cur_dir(), init_dumping(), init_server_components(), init_table_rule_hash(), initBlockNames(), initSignalNames(), initSignalPrinters(), innobase_start_or_create_for_mysql(), insert(), list_tables(), load_defaults(), log_calc_max_ages(), main(), mapSegment(), mdup(), memory_error_and_abort(), MgmtSrvr::MgmtSrvr(), my_malloc(), my_regex_init(), my_search_option_files(), my_str_malloc_default(), mysql_alter_db(), mysql_create_db(), mysql_derived_prepare(), mysql_end(), mysql_getopt_value(), mysql_init_variables(), mysql_read_default_options(), mysql_rename_db(), mysql_rm_db(), NDB_COMMAND(), ndb_init(), NDB_MAIN(), ndb_std_get_one_option(), NdbDaemon_Make(), NdbEventBuffer::NdbEventBuffer(), openFileWait(), os_awe_map_physical_mem_to_window(), os_file_handle_error(), os_thread_create(), parse_args(), parse_vma(), print_arrays_for(), print_error(), readArguments(), readFileWait(), recv_apply_log_recs_for_backup(), regress(), require(), row_mysql_handle_errors(), row_undo_step(), run_scheduler(), run_test(), safe_exit(), Ndb::setup(), skip_all(), start_process(), start_signal_handler(), start_test(), static_get_options(), test_bug12001(), test_bug8378(), test_frm_bug(), test_manual_sample(), test_multi_statements(), test_opt_reconnect(), test_prepare_alter(), test_prepare_grant(), test_prepare_multi_statements(), test_rrnd(), test_stmt_close(), test_write(), TransporterFacade::threadMainSend(), Transporter::Transporter(), trx_sys_create_doublewrite_buf(), trx_sys_doublewrite_init_or_restore_pages(), unireg_abort(), unireg_end(), unmapSegment(), usage(), verify_col_data(), vi_histedit(), writeFileWait(), and writeSyncFileWait().
Definition at line 722 of file lexyy.c.
Referenced by _history_expand_command(), _myfree(), _rl_complete_internal(), _rl_copy_to_kill_ring(), _rl_free_history_entry(), _rl_free_match_list(), _rl_init_eightbit(), _rl_insert_char(), _rl_insert_typein(), _rl_kill_kbd_macro(), _rl_macro_dumper_internal(), _rl_pop_executing_macro(), _rl_read_file(), _rl_read_init_file(), acl_init(), Ndbd_mem_manager::alloc_page(), Tup_varsize_page::alloc_record(), append_to_match(), UtilBuffer::assign(), buf_LRU_block_free_non_file_page(), buf_LRU_get_free_block(), buf_pool_init(), Dbtup::Disk_alloc_info::calc_extent_pos(), Options::cleanup(), completion_matches(), Properties::contains(), InitConfigFileParser::convertStringToUint64(), Lgman::create_file_commit(), Lgman::cut_log_tail(), Ndb_local_table_info::destroy(), Dbtup::disk_page_abort_prealloc_callback_1(), Dbtup::disk_page_prealloc_callback_common(), Dbtup::disk_page_prealloc_dirty_page(), Dbtup::disk_page_prealloc_transit_page(), Dbtup::disk_page_set_dirty(), Dbtup::disk_page_undo_free(), Dbtup::disk_page_unmap_callback(), Dbtup::disk_restart_undo_free(), Dbtup::disk_restart_undo_page_bits(), do_stmt(), el_match(), Tsman::end_lcp(), mySTL::list< T >::erase(), Tsman::execDROP_FILE_REQ(), Dbtup::execDUMP_STATE_ORD(), CommandInterpreter::executePurge(), CharBuf::expand(), ConfigValuesFactory::expand(), Configuration::fetch_configuration(), fetch_n(), fgetln(), filename_completion_function(), Lgman::flush_log(), Lgman::force_log_sync(), Dbtup::free_fix_rec(), free_history_entry(), free_saved_stabs(), SimulatedBlock::freeBat(), FreeList(), FreeState(), freetest(), fsp_alloc_free_page(), Properties::get(), SHM_Writer::get_free_buffer(), get_history_event(), Lgman::get_log_buffer(), ConfigRetriever::getConfig(), MgmApiSession::getConfig_common(), Properties::getCopy(), getParameter(), PropertiesImpl::getProps(), PropertiesImpl::getPropsPut(), ParseInputStream::gets(), getStatus(), Properties::getTypeOf(), SHM_Writer::getWritePtr(), history_arg_extract(), history_do_write(), history_expand(), history_expand_internal(), history_find_word(), history_tokenize(), history_truncate_file(), hostname_cache_init(), ieee_add_bb11(), ieee_add_range(), ieee_class_baseclass(), ieee_end_range(), ieee_function_type(), ieee_output_pending_parms(), ieee_pop_type_used(), ieee_read_cxx_class(), insert_all_matches(), insert_match(), ListDel(), load_bfd(), Tsman::load_extent_page_callback(), SignalLoggerManager::log(), log_calc_max_ages(), main(), matcher(), mem_pool_validate(), my_no_flags_free(), my_once_free(), my_realloc(), my_regcomp(), my_regex_end(), my_regfree(), my_str_free_default(), NDB_COMMAND(), ndb_mgm_destroy_configuration(), ndb_mgm_destroy_iterator(), ndb_mgm_get_configuration(), ndb_mgm_get_status(), NdbCondition_Destroy(), NdbMem_Free(), NdbMutex_Destroy(), NdbThread_Destroy(), noninc_search(), page_delete_rec_list_end(), parse_ieee_bb(), parse_stab(), InitConfigFileParser::parseConfig(), parser_if(), InitConfigFileParser::parseSectionHeader(), permute(), mySTL::list< T >::pop_back(), mySTL::list< T >::pop_front(), pop_type(), postproc_subst_rhs(), postprocess_matches(), pr_class_baseclass(), pr_function_parameter(), pr_function_type(), pr_method_type(), pr_tag(), pr_typdef(), pr_typed_constant(), pr_variable(), prepend_type(), print_filename(), Properties::put(), Properties::put64(), read_and_execute(), Restore::read_file(), read_ieee_debugging_info(), read_section_stabs_debugging_info(), read_symbol_stabs_debugging_info(), Lgman::read_undo_log(), readFromFile(), readline(), readline_internal_setup(), readline_internal_teardown(), regcomp(), mySTL::list< T >::remove(), remove_duplicate_matches(), NdbAutoPtr< T >::reset(), rl_callback_handler_install(), rl_complete_internal(), rl_completion_matches(), rl_delete_text(), rl_discard_keymap(), rl_display_search(), rl_do_undo(), rl_filename_completion_function(), rl_free_undo_list(), rl_function_dumper(), rl_generic_bind(), rl_invoking_keyseqs_in_map(), rl_list_funmap_names(), rl_macro_bind(), rl_maybe_replace_line(), rl_maybe_save_line(), rl_parse_and_bind(), rl_tilde_expand(), rl_transpose_chars(), rl_transpose_words(), rl_variable_dumper(), rl_yank_nth_arg_internal(), save_stab(), Tsman::scan_extent_headers(), DataBuffer< sz >::seize(), SocketAuthSimple::server_authenticate(), ConfigValues::Iterator::set(), Ndb_cluster_connection_impl::set_name(), Configuration::setupConfiguration(), sh_set_lines_and_columns(), showPeer(), ConfigValuesFactory::shrink(), BaseString::split(), stab_demangle_argtypes(), stab_demangle_fund_type(), stab_demangle_qualified(), stab_emit_pending_vars(), stab_find_tagged_type(), stmt_fetch_close(), strsvis(), strsvisx(), strvis(), strvisx(), substitute_type(), sv_isrchterm(), svis(), sync_array_signal_object(), test(), test_bug17667(), test_bug21206(), test_bug5194(), test_bug6096(), test_truncation(), tilde_expand(), tilde_expand_word(), trx_undo_discard_latest_update_undo(), trx_undo_header_add_space_for_xid(), trx_undo_header_create(), trx_undo_insert_header_reuse(), SimBlockList::unload(), ut_free(), ut_free_all_mem(), ut_test_malloc(), LinearPool< T, LogBase >::verify_map(), vis(), vprint_socket(), vprintln_socket(), writeToFile(), xfree(), zcfree(), BackupFile::~BackupFile(), CharBuf::~CharBuf(), Config::~Config(), Configuration::~Configuration(), ConfigValues::~ConfigValues(), ConfigValuesFactory::~ConfigValuesFactory(), HeapPool::~HeapPool(), in_string::~in_string(), mySTL::list< T >::~list(), MgmGlobals::~MgmGlobals(), MgmtSrvr::~MgmtSrvr(), Ndb_cluster_connection_impl::~Ndb_cluster_connection_impl(), NdbAutoPtr< T >::~NdbAutoPtr(), NdbObjectIdMap::~NdbObjectIdMap(), PropertyImpl::~PropertyImpl(), SocketAuthSimple::~SocketAuthSimple(), SocketClient::~SocketClient(), UtilBuffer::~UtilBuffer(), and mySTL::vector_base< T >::~vector_base().
| #define id 3 |
Definition at line 764 of file lexyy.c.
Referenced by com_status(), debug_write_class_type(), debug_write_type(), desc_datafile(), desc_undofile(), dict_foreign_parse_drop_constraints(), dict_hdr_flush_row_id(), dict_hdr_get_new_id(), dict_load_foreigns(), dict_load_indexes(), dict_table_get_highest_foreign_id(), BackupRestore::endOfTables(), CommandInterpreter::executeStartBackup(), fil_assign_new_space_id(), CPCD::findUniqueId(), fixNodeId(), fsp_header_get_space_id(), LOGGER::general_log_print(), get_one_option(), ieee_read_cxx_class(), inflateSetDictionary(), MgmtSrvr::MgmtSrvr(), mysql_insert(), mysql_update(), ndb_mgm_get_version(), read_fixed_length(), read_sep_field(), saveInConfigValues(), CPCDAPISession::showVersion(), CPCDAPISession::startProcess(), CPCDAPISession::stopProcess(), sync_thread_level_arrays_find_slot(), BackupRestore::table(), test_bug11172(), test_logs(), test_multi_stmt(), test_prepare_alter(), test_subselect(), transformComputer(), transformNode(), trx_undo_create(), CPCDAPISession::undefineProcess(), UT_LIST_BASE_NODE_T(), and Ndb::waitUntilReady().
Definition at line 721 of file lexyy.c.
Referenced by _history_expand_command(), _mymalloc(), _rl_compat_sub(), add_hostname(), HeapPool::allocArea(), BuddyMemory::allocate(), HeapPool::allocInit(), HeapPool::allocMemoryImpl(), allocset(), BaseString::argify(), ASN1_STRING_to_UTF8(), BackupFile::BackupFile(), completion_matches(), Properties::contains(), Ndb_local_table_info::create(), ConfigValuesFactory::create(), DbugMalloc(), do_malloc(), do_stmt(), CharBuf::expand(), fgetln(), filename_completion_function(), FillSegmentWithData(), findmust(), freetest(), Properties::get(), get_history_event(), get_one_option(), MgmApiSession::getConfig_common(), Properties::getCopy(), PropertiesImpl::getProps(), PropertiesImpl::getPropsPut(), Properties::getTypeOf(), history_arg_extract(), history_do_write(), history_expand(), history_tokenize(), history_truncate_file(), NdbdSuperPool::init_1(), init_order(), insert_into_hash(), Options::load(), main(), MAKEEXTRALIST(), malloctest(), matcher(), mdup(), my_malloc(), my_once_alloc(), my_realloc(), my_regcomp(), my_regex_init(), my_str_malloc_default(), ndb_mgm_create_configuration_iterator(), ndb_mgm_get_configuration(), ndb_mgm_get_status(), NdbCondition_Create(), NdbMem_Allocate(), NdbMem_AllocateAlign(), NdbMutex_Create(), NdbThread_Create(), normalize_codeset(), InitConfigFileParser::parse_mycnf(), permute(), mySTL::list< T >::push_back(), mySTL::list< T >::push_front(), Properties::put(), Properties::put64(), read_history_range(), readFromFile(), regcomp(), strdup(), string_append(), sync_array_signal_object(), test_bug17667(), test_bug5194(), test_bug6096(), test_truncation(), tilde_expand(), ut_malloc_low(), ut_test_malloc(), mySTL::vector_base< T >::vector_base(), vprint_socket(), vprintln_socket(), writeToFile(), yaSSL::X509_NAME_oneline(), xmalloc(), xrealloc(), and zcalloc().
Definition at line 723 of file lexyy.c.
Referenced by _history_expand_command(), add_struct_to_map(), SimulatedBlock::allocateBat(), allocset(), completion_matches(), enlarge(), NdbObjectIdMap::expand(), fgetln(), filename_completion_function(), get_hash_struct_by_len(), get_one_option(), hist_enlargebuf(), history_tokenize(), insert_into_hash(), main(), my_realloc(), pr_function_parameter(), readSQL_File(), UtilBuffer::reallocate(), string_append(), stripsnug(), and xrealloc().
| #define YY_CURRENT_BUFFER |
Value:
( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL)
| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
| #define YY_DO_BEFORE_ACTION |
Value:
(yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp;
| #define YY_EXIT_FAILURE 2 |
| #define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
| #define yy_set_bol | ( | at_bol | ) |
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
| #define yy_set_interactive | ( | is_interactive | ) |
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 )
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 )
| #define YYSTYPE que_node_t* |
| #define YYTABLES_NAME "yytables" |
| 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 int yy_state_type |
| static void string_append | ( | const char * | str, | |
| ulint | len | |||
| ) | [static] |
Definition at line 735 of file lexyy.c.
References malloc, memcpy, NULL, and realloc.
00737 : string to be appended */ 00738 ulint len) /* in: length of the string */ 00739 { 00740 if (stringbuf == NULL) { 00741 stringbuf = malloc(1); 00742 stringbuf_len_alloc = 1; 00743 } 00744 00745 if (stringbuf_len + len > stringbuf_len_alloc) { 00746 while (stringbuf_len + len > stringbuf_len_alloc) { 00747 stringbuf_len_alloc <<= 1; 00748 } 00749 stringbuf = realloc(stringbuf, stringbuf_len_alloc); 00750 } 00751 00752 memcpy(stringbuf + stringbuf_len, str, len); 00753 stringbuf_len += len; 00754 }
| YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, | |
| int | size | |||
| ) |
| void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
| static void yy_fatal_error | ( | yyconst char | msg[] | ) | [static] |
| void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
| static int yy_get_next_buffer | ( | void | ) | [static] |
| static yy_state_type yy_get_previous_state | ( | void | ) | [static] |
| static void yy_init_buffer | ( | YY_BUFFER_STATE | b, | |
| FILE * | file | |||
| ) | [static] |
| static void yy_load_buffer_state | ( | void | ) | [static] |
| YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, | |
| yy_size_t | size | |||
| ) |
| YY_BUFFER_STATE yy_scan_bytes | ( | yyconst char * | bytes, | |
| int | len | |||
| ) |
| YY_BUFFER_STATE yy_scan_string | ( | yyconst char * | yy_str | ) |
| void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
| static yy_state_type yy_try_NUL_trans | ( | yy_state_type | current_state | ) | [static] |
| static void yyensure_buffer_stack | ( | void | ) | [static] |
| void yyfree | ( | void * | ) |
| int yylex | ( | void | ) |
| void yypop_buffer_state | ( | void | ) |
| void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
| void* yyrealloc | ( | void * | , | |
| yy_size_t | ||||
| ) |
| void yyrestart | ( | FILE * | input_file | ) |
ulint stringbuf_len = 0 [static] |
ulint stringbuf_len_alloc = 0 [static] |
yyconst flex_int16_t yy_accept[399] [static] |
yyconst flex_int16_t yy_base[409] [static] |
YY_BUFFER_STATE* yy_buffer_stack = 0 [static] |
size_t yy_buffer_stack_max = 0 [static] |
size_t yy_buffer_stack_top = 0 [static] |
char* yy_c_buf_p = (char *) 0 [static] |
yyconst flex_int16_t yy_chk[499] [static] |
yyconst flex_int16_t yy_def[409] [static] |
int yy_did_buffer_switch_on_eof [static] |
yyconst flex_int32_t yy_ec[256] [static] |
| int yy_flex_debug = 0 |
| int yy_flex_debug |
char yy_hold_char [static] |
char* yy_last_accepting_cpos [static] |
yy_state_type yy_last_accepting_state [static] |
yyconst flex_int32_t yy_meta[51] [static] |
int yy_n_chars [static] |
yyconst flex_int16_t yy_nxt[499] [static] |
| char* yytext |
| char* yytext |
1.4.7

