GDB (xrefs)
Defines | Functions
/home/stan/gdb/src/gdb/common/vec.h File Reference
#include <stddef.h>
#include "gdb_string.h"
#include "gdb_assert.h"

Go to the source code of this file.

Defines

#define VEC_length(T, V)   (VEC_OP(T,length)(V))
#define VEC_empty(T, V)   (VEC_length (T,V) == 0)
#define VEC_last(T, V)   (VEC_OP(T,last)(V VEC_ASSERT_INFO))
#define VEC_index(T, V, I)   (VEC_OP(T,index)(V,I VEC_ASSERT_INFO))
#define VEC_iterate(T, V, I, P)   (VEC_OP(T,iterate)(V,I,&(P)))
#define VEC_alloc(T, N)   (VEC_OP(T,alloc)(N))
#define VEC_free(T, V)   (VEC_OP(T,free)(&V))
#define VEC_cleanup(T)   (VEC_OP(T,cleanup))
#define VEC_embedded_size(T, N)   (VEC_OP(T,embedded_size)(N))
#define VEC_embedded_init(T, O, N)   (VEC_OP(T,embedded_init)(VEC_BASE(O),N))
#define VEC_copy(T, V)   (VEC_OP(T,copy)(V))
#define VEC_merge(T, V1, V2)   (VEC_OP(T,merge)(V1, V2))
#define VEC_space(T, V, R)   (VEC_OP(T,space)(V,R VEC_ASSERT_INFO))
#define VEC_reserve(T, V, R)   (VEC_OP(T,reserve)(&(V),R VEC_ASSERT_INFO))
#define VEC_quick_push(T, V, O)   (VEC_OP(T,quick_push)(V,O VEC_ASSERT_INFO))
#define VEC_safe_push(T, V, O)   (VEC_OP(T,safe_push)(&(V),O VEC_ASSERT_INFO))
#define VEC_pop(T, V)   (VEC_OP(T,pop)(V VEC_ASSERT_INFO))
#define VEC_truncate(T, V, I)   (VEC_OP(T,truncate)(V,I VEC_ASSERT_INFO))
#define VEC_safe_grow(T, V, I)   (VEC_OP(T,safe_grow)(&(V),I VEC_ASSERT_INFO))
#define VEC_replace(T, V, I, O)   (VEC_OP(T,replace)(V,I,O VEC_ASSERT_INFO))
#define VEC_quick_insert(T, V, I, O)   (VEC_OP(T,quick_insert)(V,I,O VEC_ASSERT_INFO))
#define VEC_safe_insert(T, V, I, O)   (VEC_OP(T,safe_insert)(&(V),I,O VEC_ASSERT_INFO))
#define VEC_ordered_remove(T, V, I)   (VEC_OP(T,ordered_remove)(V,I VEC_ASSERT_INFO))
#define VEC_unordered_remove(T, V, I)   (VEC_OP(T,unordered_remove)(V,I VEC_ASSERT_INFO))
#define VEC_block_remove(T, V, I, L)   (VEC_OP(T,block_remove)(V,I,L VEC_ASSERT_INFO))
#define VEC_address(T, V)   (VEC_OP(T,address)(V))
#define VEC_lower_bound(T, V, O, LT)   (VEC_OP(T,lower_bound)(V,O,LT VEC_ASSERT_INFO))
#define vec_free_(V)   xfree (V)
#define VEC_ASSERT_INFO   ,__FILE__,__LINE__
#define VEC_ASSERT_DECL   ,const char *file_,unsigned line_
#define VEC_ASSERT_PASS   ,file_,line_
#define vec_assert(expr, op)
#define VEC(T)   VEC_##T
#define VEC_OP(T, OP)   VEC_##T##_##OP
#define VEC_T(T)
#define DEF_VEC_I(T)
#define DEF_VEC_P(T)
#define DEF_VEC_O(T)
#define DEF_VEC_ALLOC_FUNC_I(T)
#define DEF_VEC_FUNC_P(T)
#define DEF_VEC_ALLOC_FUNC_P(T)
#define DEF_VEC_FUNC_O(T)
#define DEF_VEC_ALLOC_FUNC_O(T)

Functions

void * vec_p_reserve (void *, int)
void * vec_o_reserve (void *, int, size_t, size_t)

Define Documentation

#define DEF_VEC_ALLOC_FUNC_I (   T)

Definition at line 445 of file vec.h.

#define DEF_VEC_ALLOC_FUNC_O (   T)

Definition at line 1002 of file vec.h.

#define DEF_VEC_ALLOC_FUNC_P (   T)

Definition at line 732 of file vec.h.

#define DEF_VEC_FUNC_O (   T)

Definition at line 832 of file vec.h.

#define DEF_VEC_FUNC_P (   T)

Definition at line 549 of file vec.h.

#define DEF_VEC_I (   T)
Value:
static inline void VEC_OP (T,must_be_integral_type) (void)                \
{                                                                         \
  (void)~(T)0;                                                            \
}                                                                         \
									  \
VEC_T(T);                                                                 \
DEF_VEC_FUNC_P(T)                                                         \
DEF_VEC_ALLOC_FUNC_I(T)                                                   \
struct vec_swallow_trailing_semi

Definition at line 415 of file vec.h.

#define DEF_VEC_O (   T)
Value:
VEC_T(T);                                                                 \
DEF_VEC_FUNC_O(T)                                                         \
DEF_VEC_ALLOC_FUNC_O(T)                                                   \
struct vec_swallow_trailing_semi

Definition at line 439 of file vec.h.

#define DEF_VEC_P (   T)
Value:
static inline void VEC_OP (T,must_be_pointer_type) (void)                 \
{                                                                         \
  (void)((T)1 == (void *)1);                                              \
}                                                                         \
									  \
VEC_T(T);                                                                 \
DEF_VEC_FUNC_P(T)                                                         \
DEF_VEC_ALLOC_FUNC_P(T)                                                   \
struct vec_swallow_trailing_semi

Definition at line 427 of file vec.h.

#define VEC (   T)    VEC_##T

Definition at line 403 of file vec.h.

Referenced by add_path(), arm_exidx_new_objfile(), arm_find_exidx_entry(), arm_find_mapping_symbol(), arm_record_special_symbol(), auto_load_info_scripts(), auto_load_objfile_script_1(), btrace_fetch(), build_id_to_debug_bfd(), call_site_find_chain_1(), captured_main(), catch_signal_command(), catch_syscall_command_1(), cleanup_request_data(), cleanup_write_requests_vector(), clear_command(), clear_inline_frame_state(), clear_memory_write_data(), complete_command(), compute_symtab_includes(), create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), darwin_check_new_threads(), decode_digits_ordinary(), decode_line_2(), decode_line_full(), decode_objc(), decode_static_tracepoint_spec(), do_free_char_ptr_vec(), dwarf2_compile_expr_to_ax(), elf_symfile_relocate_probe(), find_function_symbols(), find_linespec_symbols(), find_matching_tracepoint_location(), find_method(), find_probe_by_pc(), find_separate_debug_file(), find_superclass_methods(), follow_types(), free_memory_read_result_vector(), free_vector_of_ints(), free_vector_of_osdata_items(), func_verify_no_selftailcall(), gdb_completion_word_break_characters(), gdb_get_tracepoint_list(), gen_ui_out_table_header_info(), generic_printstr(), get_number_extra_fields(), gnuv3_print_vtable(), info_probes_for_ops(), info_static_tracepoint_markers_command(), line_completion_function(), linespec_parse_basic(), list_available_thread_groups(), macho_symfile_read(), macho_symfile_read_all_oso(), memory_xfer_partial_1(), merge_uploaded_tracepoints(), mi_cmd_data_read_memory_bytes(), mi_cmd_list_thread_groups(), mi_cmd_trace_frame_collected(), mi_cmd_var_list_children(), openp(), parse_probes(), print_one_breakpoint_location(), print_one_static_tracepoint_marker(), print_ui_out_info(), probe_key_free(), process_structure_scope(), process_tracepoint_on_disconnect(), read_func_scope(), read_import_statement(), read_value_memory(), reread_symbols(), solib_aix_current_sos(), solib_aix_solib_create_inferior_hook(), solib_target_current_sos(), split_regular_and_flash_blocks(), start_tracing(), stop_tracing(), svr4_create_solib_event_breakpoints(), target_write_memory_blocks(), thread_db_load_search(), trace_status_command(), tracepoint_exists(), typy_richcompare(), update_current_target(), update_static_tracepoint(), variable_children(), variable_update(), varobj_update_one(), and VEC().

#define VEC_address (   T,
 
)    (VEC_OP(T,address)(V))
#define VEC_alloc (   T,
 
)    (VEC_OP(T,alloc)(N))

Definition at line 178 of file vec.h.

Referenced by auto_load_info_scripts(), darwin_check_new_threads(), require_user_regions(), and VEC().

#define vec_assert (   expr,
  op 
)
Value:
((void)((expr) ? 0 : (gdb_assert_fail (op, file_, line_, \
                                         ASSERT_FUNCTION), 0)))

Definition at line 399 of file vec.h.

#define VEC_ASSERT_DECL   ,const char *file_,unsigned line_

Definition at line 397 of file vec.h.

#define VEC_ASSERT_INFO   ,__FILE__,__LINE__

Definition at line 396 of file vec.h.

#define VEC_ASSERT_PASS   ,file_,line_

Definition at line 398 of file vec.h.

#define VEC_block_remove (   T,
  V,
  I,
  L 
)    (VEC_OP(T,block_remove)(V,I,L VEC_ASSERT_INFO))

Definition at line 365 of file vec.h.

Referenced by mark_value_bytes_unavailable(), and yylex().

#define VEC_cleanup (   T)    (VEC_OP(T,cleanup))
#define VEC_copy (   T,
 
)    (VEC_OP(T,copy)(V))

Definition at line 211 of file vec.h.

Referenced by target_write_memory_blocks(), and value_copy().

#define VEC_embedded_init (   T,
  O,
 
)    (VEC_OP(T,embedded_init)(VEC_BASE(O),N))

Definition at line 203 of file vec.h.

#define VEC_embedded_size (   T,
 
)    (VEC_OP(T,embedded_size)(N))

Definition at line 202 of file vec.h.

#define VEC_empty (   T,
 
)    (VEC_length (T,V) == 0)
#define VEC_free (   T,
 
)    (VEC_OP(T,free)(&V))

Definition at line 185 of file vec.h.

Referenced by aarch64_push_dummy_call(), arm_exidx_data_free(), arm_objfile_data_free(), breakpoint_init_inferior(), btrace_clear(), build_type_psymtab_dependencies(), c_parse(), check_parameter_typelist(), cleanup_write_requests_vector(), clear_collection_list(), clear_inline_frame_state(), clear_memory_write_data(), clear_program_space_solib_cache(), clear_syscall_counts(), complete_command(), compute_symtab_includes(), create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_sals_line_offset(), darwin_check_new_threads(), darwin_mourn_inferior(), decode_digits_ordinary(), delete_symtab_entry(), delete_trace_variable_command(), delete_variable_1(), destroy_linespec_result(), dtor_catch_syscall(), dwarf2_per_objfile_free(), find_function_symbols(), follow_types(), free_breakpoint_probes(), free_char_ptr_vec(), free_completion_list(), free_delayed_list(), free_dwo_file(), free_memory_read_result_vector(), free_target_description(), free_traceframe_info(), free_vector_of_ints(), free_vector_of_osdata_items(), gdb_get_tracepoint_list(), go_parse(), invalidate_target_mem_regions(), line_completion_function(), linespec_parser_delete(), mem_clear(), merge_uploaded_tracepoints(), osdata_free(), osdata_item_clear(), print_one_breakpoint_location(), print_one_static_tracepoint_marker(), probe_key_free(), process_cu_includes(), process_psymtab_comp_unit_reader(), process_stop_reply(), process_structure_scope(), process_tracepoint_on_disconnect(), read_func_scope(), record_full_init_record_breakpoints(), remote_add_target_side_commands(), remote_add_target_side_condition(), signal_catchpoint_dtor(), solib_target_current_sos(), solib_target_free_so(), stap_probe_destroy(), start_tracing(), stop_reply_dtr(), stop_tracing(), svr4_create_solib_event_breakpoints(), tdesc_data_cleanup(), tdesc_free_feature(), tdesc_free_type(), trace_status_command(), tracepoint_exists(), typy_richcompare(), ui_out_destroy(), update_type_if_necessary(), value_free(), varobj_update_one(), and VEC().

#define vec_free_ (   V)    xfree (V)

Definition at line 394 of file vec.h.

#define VEC_index (   T,
  V,
  I 
)    (VEC_OP(T,index)(V,I VEC_ASSERT_INFO))
#define VEC_iterate (   T,
  V,
  I,
 
)    (VEC_OP(T,iterate)(V,I,&(P)))

Definition at line 170 of file vec.h.

Referenced by add_all_symbol_names_from_pspace(), add_indices_to_cpool(), add_matching_symbols_to_info(), add_path(), agent_command_1(), arm_linux_thread_exit(), auto_load_info_scripts(), auto_load_objfile_script_1(), bpstat_stop_status(), breakpoint_hit_catch_syscall(), breakpoint_init_inferior(), breakpoint_retire_moribund(), btrace_func_history(), btrace_insn_history(), build_id_to_debug_bfd(), build_type_psymtab_dependencies(), captured_main(), catching_syscall_number(), check_parameter_typelist(), check_status_catch_solib(), claim_memory(), cleanup_request_data(), clear_command(), clear_inline_frame_state(), clear_memory_write_data(), complete_command(), compute_delayed_physnames(), compute_symtab_includes(), convert_linespec_to_sals(), cp_add_using_directive(), create_breakpoint(), create_breakpoints_sal(), create_debug_types_hash_table(), create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), ctf_write_uploaded_tp(), darwin_find_thread(), darwin_get_ada_task_ptid(), darwin_mourn_inferior(), darwin_reply_to_all_pending_messages(), darwin_resume_inferior_threads(), darwin_suspend_inferior_threads(), dec_thread_find_new_threads(), dec_thread_get_ada_task_ptid(), dec_thread_ptid_is_alive(), decode_digits_list_mode(), decode_digits_ordinary(), delete_trace_state_variable(), destroy_linespec_result(), do_close(), elf_symfile_relocate_probe(), filename_is_in_auto_load_safe_path_vec(), filter_results(), find_first_range_overlap(), find_matching_tracepoint_location(), find_method(), find_probe_by_pc(), find_separate_debug_file(), find_superclass_methods(), find_sym_fns(), find_trace_state_variable(), find_trace_state_variable_by_number(), free_char_ptr_vec(), free_completion_list(), free_memory_read_result_vector(), free_target_description(), gdb_get_tracepoint_list(), gen_ui_out_table_header_info(), get_active_ptid(), get_osdata_column(), gnuv3_print_vtable(), hwdebug_find_thread_points_by_tid(), info_mach_ports_command(), info_osdata_command(), info_probes_for_ops(), info_static_tracepoint_markers_command(), insert_catch_syscall(), list_available_thread_groups(), lookup_mem_region(), macho_symfile_read_all_oso(), maint_print_c_tdesc_cmd(), mark_value_bytes_unavailable(), mem_delete(), mem_disable(), mem_disable_command(), mem_enable(), mem_enable_command(), mem_info_command(), merge_uploaded_trace_state_variables(), merge_uploaded_tracepoints(), mi_cmd_data_read_memory_bytes(), mi_cmd_trace_frame_collected(), mi_cmd_var_list_children(), moribund_breakpoint_here_p(), normalize_mem_ranges(), openp(), osdata_free(), osdata_item_clear(), output_thread_groups(), parse_probes(), ppc_linux_thread_exit(), print_mention_catch_syscall(), print_one_catch_syscall(), print_one_static_tracepoint_marker(), print_recreate_catch_syscall(), print_solib_event(), print_ui_out_info(), probe_key_free(), probe_linespec_to_ops(), process_cu_includes(), process_psymtab_comp_unit_reader(), process_stop_reply(), process_tracepoint_on_disconnect(), read_uploaded_action(), read_value_memory(), record_full_remove_breakpoint(), recursively_compute_inclusions(), register_remote_g_packet_guess(), remote_add_target_side_commands(), remote_add_target_side_condition(), remote_read_description(), remote_threads_info(), remove_catch_syscall(), require_user_regions(), reread_symbols(), save_trace_state_variables(), search_minsyms_for_name(), set_tdesc_property(), signal_catchpoint_breakpoint_hit(), signal_catchpoint_insert_location(), signal_catchpoint_print_mention(), signal_catchpoint_print_one(), signal_catchpoint_print_recreate(), signal_catchpoint_remove_location(), solib_aix_current_sos(), solib_target_current_sos(), stap_probe_destroy(), start_tracing(), stop_tracing(), svr4_create_probe_breakpoints(), target_write_memory_blocks(), tdesc_add_compatible(), tdesc_compatible_p(), tdesc_find_feature(), tdesc_find_register_early(), tdesc_free_feature(), tdesc_free_type(), tdesc_gdb_type(), tdesc_has_registers(), tdesc_named_type(), tdesc_property(), tdesc_use_registers(), tfile_write_uploaded_tp(), thread_db_load_search(), trace_status_command(), traceframe_available_memory(), tracepoint_exists(), tvariables_info_1(), ui_out_destroy(), uniquify_strings(), unmark_fd_no_cloexec(), value_contents_copy_raw(), variable_children(), variable_update(), varobj_update_one(), and VEC().

#define VEC_last (   T,
 
)    (VEC_OP(T,last)(V VEC_ASSERT_INFO))
#define VEC_length (   T,
 
)    (VEC_OP(T,length)(V))

Definition at line 129 of file vec.h.

Referenced by _initialize_charset(), ada_build_task_list(), ada_get_task_number(), add_indices_to_cpool(), arm_find_exidx_entry(), arm_find_mapping_symbol(), auto_load_info_scripts(), auto_load_safe_path_vec_update(), break_range_command(), build_type_psymtab_dependencies(), canonicalize_linespec(), chain_candidate(), check_parameter_typelist(), clear_command(), complete_command(), compute_symtab_includes(), convert_linespec_to_sals(), cp_add_using_directive(), create_breakpoint(), create_breakpoints_sal(), create_mem_region(), create_sals_line_offset(), ctf_write_uploaded_tp(), darwin_check_new_threads(), darwin_init_thread_list(), decode_linespec_default(), decode_static_tracepoint_spec(), delete_variable_1(), dwarf2_compile_expr_to_ax(), dwarf2_read_index(), eq_symtab_entry(), find_method(), find_superclass_methods(), follow_types(), gen_ui_out_table_header_info(), get_number_extra_fields(), get_task_number_from_id(), gnuv3_print_vtable(), hash_symtab_entry(), info_osdata_command(), info_probes_for_ops(), info_task(), insert_catch_syscall(), iterate_over_live_ada_tasks(), line_completion_function(), list_available_thread_groups(), macho_symfile_read_all_oso(), maint_print_c_tdesc_cmd(), mark_value_bytes_unavailable(), mi_cmd_data_read_memory_bytes(), mi_cmd_list_thread_groups(), normalize_mem_ranges(), print_ada_task_info(), print_mention_catch_syscall(), print_one_catch_syscall(), print_one_inferior(), print_one_static_tracepoint_marker(), print_ui_out_info(), process_psymtab_comp_unit_reader(), process_structure_scope(), ranges_contain(), read_func_scope(), record_btrace_call_history(), record_btrace_call_history_range(), record_btrace_info(), record_btrace_insn_history(), record_btrace_insn_history_range(), remove_catch_syscall(), require_user_regions(), restrict_range(), search_minsyms_for_name(), signal_catchpoint_print_mention(), signal_catchpoint_print_one(), solib_aix_solib_create_inferior_hook(), solib_target_relocate_section_addresses(), stap_get_probe_argument_count(), stap_get_probes(), start_tracing(), target_write_memory_blocks(), task_command_1(), tdesc_find_arch_register(), tdesc_find_type(), tdesc_numbered_register(), tdesc_use_registers(), tvariables_info_1(), uniquify_cu_indices(), uniquify_strings(), update_dynamic_varobj_children(), valid_task_id(), value_entirely_unavailable(), varobj_has_more(), VEC(), write_psymtabs_to_index(), and yylex().

#define VEC_lower_bound (   T,
  V,
  O,
  LT 
)    (VEC_OP(T,lower_bound)(V,O,LT VEC_ASSERT_INFO))
#define VEC_merge (   T,
  V1,
  V2 
)    (VEC_OP(T,merge)(V1, V2))

Definition at line 218 of file vec.h.

Referenced by VEC().

#define VEC_OP (   T,
  OP 
)    VEC_##T##_##OP

Definition at line 404 of file vec.h.

#define VEC_ordered_remove (   T,
  V,
  I 
)    (VEC_OP(T,ordered_remove)(V,I VEC_ASSERT_INFO))

Definition at line 344 of file vec.h.

Referenced by clear_command(), mem_delete(), and yylex().

#define VEC_pop (   T,
 
)    (VEC_OP(T,pop)(V VEC_ASSERT_INFO))
#define VEC_quick_insert (   T,
  V,
  I,
 
)    (VEC_OP(T,quick_insert)(V,I,O VEC_ASSERT_INFO))

Definition at line 319 of file vec.h.

#define VEC_quick_push (   T,
  V,
 
)    (VEC_OP(T,quick_push)(V,O VEC_ASSERT_INFO))

Definition at line 254 of file vec.h.

Referenced by cli_out_set_stream(), and require_user_regions().

#define VEC_replace (   T,
  V,
  I,
 
)    (VEC_OP(T,replace)(V,I,O VEC_ASSERT_INFO))
#define VEC_reserve (   T,
  V,
  R 
)    (VEC_OP(T,reserve)(&(V),R VEC_ASSERT_INFO))

Definition at line 242 of file vec.h.

Referenced by VEC().

#define VEC_safe_grow (   T,
  V,
  I 
)    (VEC_OP(T,safe_grow)(&(V),I VEC_ASSERT_INFO))

Definition at line 293 of file vec.h.

Referenced by insert_catch_syscall().

#define VEC_safe_insert (   T,
  V,
  I,
 
)    (VEC_OP(T,safe_insert)(&(V),I,O VEC_ASSERT_INFO))
#define VEC_safe_push (   T,
  V,
 
)    (VEC_OP(T,safe_push)(&(V),O VEC_ASSERT_INFO))

Definition at line 265 of file vec.h.

Referenced by _initialize_charset(), add_ada_task(), add_filename_to_list(), add_index_entry(), add_minsym(), add_path(), add_struct_fields(), add_symtab_fns(), add_symtabs_to_list(), add_to_method_list(), allocate_inline_frame_state(), append_exp(), arm_exidx_new_objfile(), arm_record_special_symbol(), auto_load_safe_path_vec_update(), bkpt_probe_create_sals_from_address(), build_target_command_list(), build_target_condition_list(), build_traceframe_info(), build_type_psymtabs_reader(), call_site_find_chain_1(), captured_main(), check_types_equal(), claim_memory(), clear_command(), clear_inline_frame_state(), cli_out_data_ctor(), cli_redirect(), collect_cores(), collect_matching_scripts(), collect_one_symbol(), collect_symbols(), compute_vtable_size(), convert_results_to_lsals(), count_next_character(), create_breakpoint(), create_trace_state_variable(), darwin_check_new_threads(), decode_line_2(), decode_line_full(), decode_objc(), dirnames_to_char_ptr_vec_append(), do_collect_symbol(), dwarf2_compile_expr_to_ax(), dwarf2_locate_dwo_sections(), dwarf2_locate_sections(), encode_actions_1(), filter_results(), find_imps(), find_methods(), follow_die_sig_1(), func_verify_no_selftailcall(), handle_stap_probe(), hwdebug_find_thread_points_by_tid(), list_available_thread_groups(), load_section_callback(), macho_register_oso(), merge_uploaded_tracepoints(), mi_cmd_list_thread_groups(), parse_breakpoint_sals(), parse_linespec(), parse_tracepoint_definition(), pass_on_stack(), print_one_breakpoint_location(), process_full_comp_unit(), process_imported_unit_die(), process_structure_scope(), push_level(), queue_and_load_dwo_tu(), read_func_scope(), read_import_statement(), read_whatever_is_readable(), record_full_insert_breakpoint(), recursively_compute_inclusions(), register_remote_g_packet_guess(), remote_parse_stop_reply(), reread_symbols(), scan_partial_symbols(), search_minsyms_for_name(), set_tdesc_property(), stap_gen_info_probes_table_header(), stap_gen_info_probes_table_values(), stap_parse_probe_arguments(), strace_marker_create_sals_from_address(), symbol_completion_add(), target_write_memory_blocks(), tdesc_add_bitfield(), tdesc_add_compatible(), tdesc_add_field(), tdesc_add_flag(), tdesc_create_feature(), tdesc_create_flags(), tdesc_create_reg(), tdesc_create_struct(), tdesc_create_union(), tdesc_create_vector(), tdesc_numbered_register(), tdesc_use_registers(), traceframe_available_memory(), typy_richcompare(), ui_out_new(), update_dec_thread_list(), update_global_location_list(), update_solib_list(), VEC(), and yylex().

#define VEC_space (   T,
  V,
  R 
)    (VEC_OP(T,space)(V,R VEC_ASSERT_INFO))

Definition at line 230 of file vec.h.

#define VEC_T (   T)
Value:
typedef struct VEC(T)                                                     \
{                                                                         \
  unsigned num;                                                           \
  unsigned alloc;                                                         \
  T vec[1];                                                               \
} VEC(T)

Definition at line 406 of file vec.h.

#define VEC_truncate (   T,
  V,
  I 
)    (VEC_OP(T,truncate)(V,I VEC_ASSERT_INFO))
#define VEC_unordered_remove (   T,
  V,
  I 
)    (VEC_OP(T,unordered_remove)(V,I VEC_ASSERT_INFO))

Function Documentation

void* vec_o_reserve ( void *  ,
int  ,
size_t  ,
size_t   
)

Definition at line 96 of file vec.c.

References vec_prefix::alloc, calculate_allocation(), vec_prefix::vec, and xrealloc().

Referenced by vec_p_reserve().

void* vec_p_reserve ( void *  ,
int   
)

Definition at line 85 of file vec.c.

References vec_o_reserve().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines