The world's most popular open source database
#include <stdarg.h>Include dependency graph for m_string.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | LEX_STRING |
Defines | |
| #define | __USE_GNU |
| #define | memcpy(d, s, n) bcopy ((s), (d), (n)) |
| #define | memset(A, C, B) bfill((A),(B),(C)) |
| #define | memmove(d, s, n) bmove ((d), (s), (n)) |
| #define | bfill(A, B, C) memset((A),(C),(B)) |
| #define | bmove_align(A, B, C) memcpy((A),(B),(C)) |
| #define | bcopy(s, d, n) memcpy((d), (s), (n)) |
| #define | bcmp(A, B, C) memcmp((A),(B),(C)) |
| #define | bzero(A, B) memset((A),0,(B)) |
| #define | bmove_align(A, B, C) memcpy((A),(B),(C)) |
| #define | strmov_overlapp(A, B) strmov(A,B) |
| #define | strmake_overlapp(A, B, C) strmake(A,B,C) |
| #define | memcpy_fixed(A, B, C) memcpy((A),(B),(C)) |
| #define | bmove512(A, B, C) memcpy(A,B,C) |
| #define | longlong2str(A, B, C) int2str((A),(B),(C),1) |
| #define | longlong10_to_str(A, B, C) int10_to_str((A),(B),(C)) |
| #define | strtoll(A, B, C) strtol((A),(B),(C)) |
| #define | strtoull(A, B, C) strtoul((A),(B),(C)) |
| #define | STRING_WITH_LEN(X) (X), ((uint) (sizeof(X) - 1)) |
| #define | C_STRING_WITH_LEN(X) ((char *) (X)), ((uint) (sizeof(X) - 1)) |
Functions | |
| void | bmove (char *dst, const char *src, uint len) |
| void | bmove_upp (char *dst, const char *src, uint len) |
| void | bchange (char *dst, uint old_len, const char *src, uint new_len, uint tot_len) |
| void | strappend (char *s, uint len, pchar fill) |
| char * | strend (const char *s) |
| char * | strcend (const char *, pchar) |
| char * | strfield (char *src, int fields, int chars, int blanks, int tabch) |
| char * | strfill (my_string s, uint len, pchar fill) |
| uint | strinstr (const char *str, const char *search) |
| uint | r_strinstr (reg1 my_string str, int from, reg4 my_string search) |
| char * | strkey (char *dst, char *head, char *tail, char *flags) |
| char * | strmake (char *dst, const char *src, uint length) |
| char * | strmov (char *dst, const char *src) |
| char * | strnmov (char *dst, const char *src, uint n) |
| char * | strsuff (const char *src, const char *suffix) |
| char * | strcont (const char *src, const char *set) |
| char *strxcat | _VARARGS ((char *dst, const char *src,...)) |
| char *strxncat | _VARARGS ((char *dst, uint len, const char *src,...)) |
| uint | strnlen (const char *s, uint n) |
| char * | strpbrk (const char *, const char *) |
| char * | strstr (const char *, const char *) |
| int | is_prefix (const char *, const char *) |
| double | my_strtod (const char *str, char **end, int *error) |
| double | my_atof (const char *nptr) |
| char * | llstr (longlong value, char *buff) |
| long | strtol (const char *str, char **ptr, int base) |
| ulong | strtoul (const char *str, char **ptr, int base) |
| char * | int2str (long val, char *dst, int radix, int upcase) |
| char * | int10_to_str (long val, char *dst, int radix) |
| char * | str2int (const char *src, int radix, long lower, long upper, long *val) |
| longlong | my_strtoll10 (const char *nptr, char **endptr, int *error) |
| int | my_vsnprintf (char *str, size_t n, const char *format, va_list ap) |
| int | my_snprintf (char *to, size_t n, const char *fmt,...) |
Variables | |
| void *(*) | my_str_malloc (size_t) |
| void(*) | my_str_free (void *) |
| char NEAR | _dig_vec_upper [] |
| char NEAR | _dig_vec_lower [] |
| #define __USE_GNU |
Definition at line 25 of file m_string.h.
Definition at line 69 of file m_string.h.
Referenced by cleanup_dirname(), cmp_bits(), compare_buff(), end_of_word(), find_uniq_filename(), hp_key_cmp(), hp_rec_key_cmp(), main(), mi_check_unique(), my_xml_scan(), mysql_rm_tmp_tables(), pack_dirname(), and start_at_word().
Definition at line 63 of file m_string.h.
Referenced by _mi_put_key_in_record(), _mi_rec_unpack(), _mi_write_part_record(), _myfree(), _mymalloc(), String::append_with_prefill(), com_source(), create_key_part(), create_tmp_table(), delete_dynamic_record(), fetch_long_with_conversion(), String::fill(), main(), make_record(), make_sortkey(), my_aes_encrypt(), my_chsize(), my_fill_8bit(), my_strnxfrm_8bit_bin(), my_strnxfrm_bin(), my_strnxfrm_latin1_de(), my_strnxfrm_simple(), my_vsnprintf(), Field_decimal::overflow(), Field_num::prepend_zeros(), Field_decimal::store(), uf_endspace(), uf_endspace_selected(), uf_prespace(), uf_prespace_selected(), uf_space_endspace(), uf_space_endspace_selected(), uf_space_normal(), uf_space_prespace(), uf_space_prespace_selected(), Field_string::unpack(), update_dynamic_record(), and update_record().
Definition at line 71 of file m_string.h.
Definition at line 70 of file m_string.h.
Referenced by _create_index_by_sort(), _db_explain_init_(), _db_set_init_(), _mi_ft_parserecord(), _mi_make_key(), _mi_pack_key(), _mi_read_cache(), _mi_rec_unpack(), _mi_write_keypage(), _mi_write_part_record(), _mi_write_static_record(), _myisam_log(), acl_getroot(), acl_load(), acl_reload(), field_str::add(), add_collation(), alloc_table_share(), bind_fetch(), bitmap_set_prefix(), change_double_for_sort(), change_password(), Table_triggers_list::change_table_name(), check_connection(), Mysql_connection_thread::check_connection(), check_counts(), check_group_min_max_predicates(), check_routine_access(), check_show_routine_access(), Event_scheduler::check_system_tables(), chk_key(), Item_cache_row::cleanup(), st_table::clear_column_bitmaps(), Field_blob::clear_temporary(), CLI_MYSQL_REAL_CONNECT(), cli_stmt_execute(), close_handle_and_leave_table_as_lock(), close_thread_tables(), code_state(), com_connect(), com_use(), NdbEventBuffer::complete_outof_order_gcis(), NdbEventBuffer::completeClusterFailed(), completion_hash_clean(), compress(), String::copy_aligned(), copy_data_between_tables(), create_frm(), create_fromuni(), create_myisam_tmp_table(), create_record(), create_select_for_variable(), Listener_thread::create_tcp_socket(), create_tmp_table(), Listener_thread::create_unix_socket(), create_virtual_tmp_table(), Dbdict::createObj_prepare_start_done(), cs_enter(), db_find_routine(), decimal_mul(), delayed_insert::delayed_insert(), Load_log_processor::destroy(), Dbtup::disk_page_prealloc(), Dbtup::disk_restart_alloc_extent(), dispatch_command(), do_div_mod(), do_field_to_null_str(), do_outer_field_to_null_str(), do_test(), Table_triggers_list::drop_all_triggers(), examine_log(), Tsman::execALLOC_EXTENT_REQ(), NdbEventBuffer::execSUB_GCP_COMPLETE_REP(), execute_ddl_log_action(), execute_ddl_log_recovery(), NdbEventBuffer::expand(), extract_date_time(), filesort(), Instance_options::fill_instance_version(), Instance_options::fill_mysqld_real_path(), fill_schema_proc(), find_bucket_chained(), find_files(), LOGGER::flush_logs(), flush_pending_blocks(), NdbEventBuffer::flushIncompleteEvents(), ft_init_boolean_search(), ft_init_nlq_search(), Item_func_str_to_date::get_date(), Item_func_from_days::get_date(), Item_field::get_date(), Item::get_date(), Field_timestamp::get_date(), Item_field::get_date_result(), get_dynamic(), get_form_pos(), get_interval_info(), get_interval_value(), Field_blob::get_key_image(), Field_varstring::get_key_image(), delayed_insert::get_local_table(), get_mqh(), get_next_time(), get_replace(), get_replace_strings(), Item_field::get_time(), Item::get_time(), Load_log_processor::grab_event(), Load_log_processor::grab_fname(), grant_reload(), ha_create_table_from_engine(), ha_delete_table(), hash_filo::hash_filo(), heap_create(), hp_rb_make_key(), ha_blackhole::info(), Ndbd_mem_manager::init(), JOIN::init(), QUICK_ROR_UNION_SELECT::init(), init_available_charsets(), NdbEventBuffer::init_gci_containers(), init_io_cache(), init_key_cache(), init_read_record(), init_read_record_idx(), init_replace(), init_replace_regex(), init_rr_cache(), init_sets(), init_tmp_table_share(), init_tree(), init_update_queries(), ip_to_hostname(), list_open_tables(), load_db_opt(), InitConfigFileParser::load_mycnf_groups(), main(), make_empty_rec(), make_join_statistics(), make_new_entry(), make_new_set(), make_simple_join(), make_sortkey(), mi_base_info_write(), mi_create(), mi_open(), mi_repair(), mi_repair_by_sort(), mi_repair_parallel(), mi_rkey(), mi_sort_records(), NdbEventBuffer::move_data(), my_aes_create_key(), my_dir(), my_end(), my_malloc(), my_once_alloc(), my_process_stmt_result(), my_regex_init(), my_set_max_open_files(), my_tz_init(), my_xml_parser_create(), my_xpath_init(), myisamchk_init(), myrg_open(), mysql_alter_table(), MYSQL_BIN_LOG::MYSQL_BIN_LOG(), mysql_close_free_options(), mysql_create_frm(), mysql_create_index(), mysql_create_like_table(), mysql_delete(), mysql_drop_index(), mysql_execute_command(), mysql_grant(), mysql_init(), mysql_init_variables(), mysql_install_plugin(), mysql_load(), MYSQL_LOG::MYSQL_LOG(), mysql_manager_connect(), mysql_manager_init(), mysql_prepare_update(), mysql_reconnect(), mysql_recreate_table(), mysql_rename_view(), mysql_reset_errors(), mysql_routine_grant(), mysql_sha1_result(), mysql_stmt_store_result(), mysql_table_grant(), mysql_truncate(), mysql_uninstall_plugin(), mysqld_help(), Ndbd_mem_manager::Ndbd_mem_manager(), NdbEventBuffer::NdbEventBuffer(), network_init(), ha_heap::open(), open_binary_frm(), Events::open_event_table(), open_grant_tables(), Log_to_csv_event_handler::open_log_table(), open_new_frm(), open_proc_table_for_read(), open_proc_table_for_update(), open_table_from_share(), pack_header(), InitConfigFileParser::parse_mycnf(), plugin_dl_add(), plugin_dl_del(), plugin_load(), Protocol_prep::prepare_for_resend(), print_field_values(), QUICK_GROUP_MIN_MAX_SELECT::QUICK_GROUP_MIN_MAX_SELECT(), QUICK_INDEX_MERGE_SELECT::QUICK_INDEX_MERGE_SELECT(), QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(), QUICK_ROR_INTERSECT_SELECT::QUICK_ROR_INTERSECT_SELECT(), radixsort_for_str_ptr(), randominit(), recreate_table(), refresh_status(), regcomp(), NdbEventBuffer::report_node_connected(), NdbEventBuffer::report_node_failure(), QUICK_RANGE_SELECT::reset(), Field_bit::reset(), Field_enum::reset(), Field_blob::reset(), Field_varstring::reset(), Field_double::reset(), Field_float::reset(), Field::reset(), Item_sum_avg::reset_field(), Item_sum_variance::reset_field(), Field_blob::reset_fields(), run_test(), RWPool::RWPool(), SEL_TREE::SEL_TREE(), Sensitive_cursor::Sensitive_cursor(), set_dynamic(), set_zero_time(), setup_fields(), SHA1PadMessage(), shrink_var_array(), sort_ft_key_read(), sort_insert_key(), sort_key_read(), sort_one_index(), sort_record_index(), Field_blob::sort_string(), sp_grant_privileges(), sp_returns_type(), sql_calloc(), SEL_ARG::store(), Field_bit_as_char::store(), Field_bit::store(), Field_blob::store(), store_create_info(), SEL_ARG::store_min(), store_schema_proc(), str_to_datetime(), str_to_time(), sys_check_log_path(), Table_triggers_list::Table_triggers_list(), test_bind_date_conv(), test_bind_nagative(), test_bind_result(), test_bind_result_ext(), test_bind_result_ext1(), test_buffers(), test_bug10729(), test_bug10736(), test_bug10760(), test_bug10794(), test_bug11111(), test_bug1115(), test_bug11172(), test_bug11656(), test_bug1180(), test_bug11901(), test_bug11909(), test_bug1500(), test_bug1644(), test_bug1664(), test_bug3035(), test_bug3117(), test_bug3796(), test_bug4026(), test_bug4030(), test_bug4079(), test_bug4172(), test_bug4231(), test_bug5126(), test_bug5194(), test_bug5399(), test_bug6046(), test_bug6049(), test_bug6058(), test_bug6096(), test_bug8330(), test_bug9478(), test_bug9520(), test_bug9643(), test_conversion(), test_datetime_ranges(), test_decimal_bug(), test_derived(), test_double_compare(), test_fetch_column(), test_fetch_date(), test_fetch_nobuffs(), test_fetch_null(), test_fetch_offset(), test_fetch_seek(), test_field_misc(), test_free_result(), test_free_store_result(), test_frm_bug(), test_if_create_new_users(), test_insert(), test_logs(), test_long_data(), test_long_data_bin(), test_long_data_str(), test_long_data_str1(), test_manual_sample(), test_multi(), test_multi_stmt(), test_nstmts(), test_null(), test_pool(), test_prepare(), test_prepare_alter(), test_prepare_ext(), test_ps_conj_select(), test_ps_i18n(), test_ps_null_param(), test_pure_coverage(), test_rewind(), test_select(), test_set_variable(), test_simple_delete(), test_simple_update(), test_sqlmode(), test_sshort_bug(), test_stiny_bug(), test_stmt_close(), test_store_result(), test_store_result2(), test_subselect(), test_truncation(), test_truncation_option(), test_ts(), test_union_param(), test_update(), test_ushort_bug(), test_view(), test_view_2where(), test_view_insert(), test_view_insert_fields(), test_view_star(), tz_init_table_list(), tz_load_from_open_tables(), uf_blob(), uf_skip_zero(), uf_zero(), uf_zerofill_normal(), uf_zerofill_skip_zero(), Field_blob::unpack(), unpack_fields(), Field_blob::unpack_key(), Item_nodeset_func_parentbyname::val_nodeset(), Item_nodeset_func_ancestorbyname::val_nodeset(), Item_nodeset_func_union::val_nodeset(), Item_nodeset_func::val_str(), Item_char_typecast::val_str(), Item_func_des_decrypt::val_str(), Item_func_des_encrypt::val_str(), vio_in_addr(), vio_init(), WOPool::WOPool(), write_data_suffix(), write_header(), and ha_archive::write_meta_file().
| #define C_STRING_WITH_LEN | ( | X | ) | ((char *) (X)), ((uint) (sizeof(X) - 1)) |
Definition at line 259 of file m_string.h.
Referenced by Instance_options::fill_instance_version(), Instance_options::fill_mysqld_real_path(), Instance_options::get_default_option(), iter_schema_engines(), mysql_execute_command(), Unset_option::parse_args(), Set_option::parse_args(), and Create_instance::parse_args().
Definition at line 213 of file m_string.h.
Referenced by field_ulonglong::add(), field_longlong::add(), append_metadata(), fetch_long_with_conversion(), get_schema_tables_record(), llstr(), net_store_data(), Events::reconstruct_interval_expression(), Field::set_datetime_warning(), show_status_array(), Field_decimal::store(), store_create_info(), store_key_options(), Protocol_simple::store_longlong(), MYSQL_QUERY_LOG::write(), and write_to_table().
Definition at line 212 of file m_string.h.
Referenced by QUICK_GROUP_MIN_MAX_SELECT::add_keys_and_lengths(), QUICK_ROR_INTERSECT_SELECT::add_keys_and_lengths(), QUICK_INDEX_MERGE_SELECT::add_keys_and_lengths(), QUICK_RANGE_SELECT::add_keys_and_lengths(), descript(), mark_progress(), my_print_variables(), Bitmap< 64 >::print(), select_describe(), timer_output(), Item_func_hex::val_str(), and Item_func_conv::val_str().
Definition at line 52 of file m_string.h.
Referenced by _ft2_search(), _ft_make_key(), _ftb_climb_the_tree(), _mi_balance_page(), _mi_find_half_pos(), _mi_find_last_pos(), _mi_ft_convert_to_ft2(), _mi_get_binary_pack_key(), _mi_get_pack_key(), _mi_get_static_key(), _mi_make_key(), _mi_move_key(), _mi_pack_get_block_info(), _mi_pack_key(), _mi_prefix_search(), _mi_put_key_in_record(), _mi_read_cache(), _mi_read_dynamic_record(), _mi_read_rnd_dynamic_record(), _mi_rec_pack(), _mi_rec_unpack(), _mi_search(), _mi_search_next(), _mi_seq_search(), _mi_split_page(), _mi_store_bin_pack_key(), _mi_store_static_key(), _mi_store_var_pack_key(), _mi_write_part_record(), _my_b_read(), _my_b_seq_read(), _my_b_write(), _my_memdup(), _my_strdup(), _my_strndup(), _myrealloc(), _rl_insert_char(), SimpleProperties::Writer::add(), CharBuf::add(), TaoCrypt::Source::add(), Logfile_client::add_entry(), EventBufData_list::add_gci_op(), add_hostname(), Rpl_filter::add_table_rule(), add_used_routine(), Rpl_filter::add_wild_table_rule(), TaoCrypt::PublicKey::AddToEnd(), alloc_table_share(), BaseString::append(), UtilBuffer::append(), String::append(), ASN1_STRING_to_UTF8(), BaseString::assign(), yaSSL::input_buffer::assign(), azread(), BaseString::BaseString(), bchange(), bin2decimal(), TaoCrypt::Block< T, A >::Block(), NdbOperation::branch_col(), BackupFile::buffer_get_ptr_ahead(), BackupFile::buffer_read(), BackupFile::buffer_read_ahead(), yaSSL::CertificateVerify::Build(), yaSSL::CertificateRequest::Build(), yaSSL::DH_Server::build(), yaSSL::ClientDiffieHellmanPublic::build(), yaSSL::EncryptedPreMasterSecret::build(), yaSSL::buildClientHello(), yaSSL::buildMD5(), yaSSL::buildMD5_CertVerify(), yaSSL::buildServerHello(), yaSSL::buildSHA(), yaSSL::buildSHA_CertVerify(), TaoCrypt::ByteReverseIf(), c_gets(), cache_remove_open_tmp(), TaoCrypt::Mode_BASE::CBC_Decrypt(), TaoCrypt::Mode_BASE::CBC_Encrypt(), ha_tina::chain_append(), Mysql_connection_thread::check_connection(), check_one_rb_key(), chk_index(), chk_key(), CLI_MYSQL_REAL_CONNECT(), cli_read_binary_rows(), cli_read_rows(), client(), NdbRecAttr::clone(), NdbScanOperation::close_impl(), close_temporary_tables(), cmp_buffer_with_ref(), Dbtup::commit_operation(), Dbdict::convertSchemaFileTo_5_0_6(), copy(), Rope::copy(), ConstRope::copy(), String::copy(), copy4(), String::copy_aligned(), copy_bits(), copy_create_info(), NdbEventBuffer::copy_data(), Field::copy_from_tmp(), copy_if_not_alloced(), copy_key(), copy_str_and_move(), NdbBlob::Buf::copyfrom(), Dblqh::copyTupkeyConfLab(), create_tmp_table(), Dbdict::createEventUTIL_PREPARE(), NdbDictInterface::createOrAlterTable(), cv_paste(), cv_undo(), cv_yank(), date_time_format_copy(), db_show_routine_status(), DBUGOpenFile(), Dbtup::dealloc_tuple(), TaoCrypt::DecodeDSA_Signature(), yaSSL::decrypt_message(), TaoCrypt::PBKDF2_HMAC< T >::DeriveKey(), yaSSL::SSL::deriveKeys(), yaSSL::SSL::deriveTLSKeys(), yaSSL::DES_ede3_cbc_encrypt(), DES_set_key(), DES_set_key_unchecked(), dict_scan_table_name(), yaSSL::DiffieHellman::DiffieHellman(), Dbtup::disk_page_abort_prealloc(), Dbtup::disk_restart_undo_free(), Dbtup::disk_restart_undo_update(), do_connect(), do_cut_string(), do_cut_string_complex(), do_div_mod(), do_expand_binary(), do_expand_string(), do_field_eq(), do_field_to_null_str(), do_outer_field_to_null_str(), do_test(), Dbtup::do_tup_abortreq(), do_varstring1(), do_varstring2(), NdbRecAttr::double_value(), dummy_functions(), dump_remote_log_entries(), dupl(), dynstr_append_mem(), dynstr_set(), TaoCrypt::EncodeDSA_Signature(), end_update(), NdbOperation::equal_impl(), eval_expr(), yaSSL::EVP_BytesToKey(), Dbtup::execBUILDINDXREQ(), Dbdih::execCOPY_GCIREQ(), Dbdih::execCREATE_FRAGMENTATION_REQ(), Dbdict::execCREATE_INDX_REQ(), Lgman::execEND_LCP_CONF(), Suma::execFIRE_TRIG_ORD(), Lgman::execLCP_FRAG_ORD(), Dbdict::execNODE_FAILREP(), Dbacc::execREAD_PSEUDO_REQ(), Dbtc::execSCAN_NEXTREQ(), SignalSender::execSignal(), Suma::execTRANSID_AI(), Backup::execTRANSID_AI(), Suma::execTRIG_ATTRINFO(), Backup::execTRIG_ATTRINFO(), Dbtup::execTUP_COMMITREQ(), Dbtux::execTUX_BOUND_INFO(), execute(), Suma::execUTIL_SEQUENCE_CONF(), Backup::execUTIL_SEQUENCE_CONF(), CharBuf::expand(), expand_var_part(), fetch_result_bin(), fetch_result_str(), fetch_string_with_conversion(), field_conv(), fil_create_directory_for_tablename(), fil_make_ibd_name(), filesort(), fill_defined_view_parts(), TaoCrypt::MD2::Final(), TaoCrypt::HASHwithTransform::Final(), find_all_keys(), find_best(), find_bucket_chained(), Item_insert_value::fix_fields(), Item_default_value::fix_fields(), NdbScanOperation::fix_receivers(), NdbRecAttr::float_value(), Format_description_log_event::Format_description_log_event(), free_table_share(), ft_add_word(), ft_boolean_find_relevance(), ft_init_boolean_search(), ftb_query_add_word(), get_best_covering_ror_intersect(), get_best_ror_intersect(), get_constant_key_infix(), Dbtup::get_dd_ptr(), get_dynamic(), get_dynamic_sql_string(), get_field(), Field::get_image(), Field_bit::get_key_image(), Field_blob::get_key_image(), Field_varstring::get_key_image(), delayed_insert::get_local_table(), Logfile_client::get_log_buffer(), QUICK_ROR_UNION_SELECT::get_next(), QUICK_ROR_INTERSECT_SELECT::get_next(), get_or_create_user_conn(), yaSSL::DiffieHellman::get_parms(), Dbtup::get_ptr(), get_text(), get_var_with_binlog(), get_variable(), TaoCrypt::CertDecoder::GetCompareHash(), TaoCrypt::CertDecoder::GetDate(), TaoCrypt::CertDecoder::GetDigest(), yaSSL::X509_NAME::GetEntry(), NdbScanOperation::getKeyFromKEYINFO20(), TaoCrypt::CertDecoder::GetName(), PropertiesImpl::getProps(), PropertiesImpl::getPropsPut(), TaoCrypt::CertDecoder::GetSignature(), TaoCrypt::GetUserKey(), SectionReader::getWords(), PropertiesImpl::grow(), NdbOperation::handle_distribution_key(), delayed_insert::handle_inserts(), Dbtup::handleInsertReq(), Dbtup::handleUpdateReq(), heap_rfirst(), heap_rkey(), heap_rlast(), heap_rnext(), heap_rprev(), heap_rrnd(), heap_rsame(), heap_scan(), heap_update(),

