GDB (xrefs)
Macros | Functions
vec.h File Reference

Go to the source code of this file.

Macros

#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)
 

Macro Definition Documentation

#define DEF_VEC_ALLOC_FUNC_I (   T)

Definition at line 440 of file vec.h.

#define DEF_VEC_ALLOC_FUNC_O (   T)

Definition at line 997 of file vec.h.

#define DEF_VEC_ALLOC_FUNC_P (   T)

Definition at line 727 of file vec.h.

#define DEF_VEC_FUNC_O (   T)

Definition at line 827 of file vec.h.

#define DEF_VEC_FUNC_P (   T)

Definition at line 544 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); \
struct vec_swallow_trailing_semi
#define VEC_OP(T, OP)
Definition: vec.h:399
#define DEF_VEC_FUNC_P(T)
Definition: vec.h:544
#define DEF_VEC_ALLOC_FUNC_I(T)
Definition: vec.h:440
#define VEC_T(T)
Definition: vec.h:401

Definition at line 410 of file vec.h.

#define DEF_VEC_O (   T)
Value:
VEC_T(T); \
struct vec_swallow_trailing_semi
#define DEF_VEC_FUNC_O(T)
Definition: vec.h:827
#define DEF_VEC_ALLOC_FUNC_O(T)
Definition: vec.h:997
#define VEC_T(T)
Definition: vec.h:401

Definition at line 434 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); \
struct vec_swallow_trailing_semi
#define VEC_OP(T, OP)
Definition: vec.h:399
#define DEF_VEC_FUNC_P(T)
Definition: vec.h:544
#define VEC_T(T)
Definition: vec.h:401
#define DEF_VEC_ALLOC_FUNC_P(T)
Definition: vec.h:727

Definition at line 422 of file vec.h.

#define VEC (   T)    VEC_##T
#define VEC_address (   T,
 
)    (VEC_OP(T,address)(V))
#define VEC_alloc (   T,
 
)    (VEC_OP(T,alloc)(N))
#define vec_assert (   expr,
  op 
)
Value:
((void)((expr) ? 0 : (gdb_assert_fail (op, file_, line_, \
FUNCTION_NAME), 0)))
#define gdb_assert_fail(assertion, file, line, function)
Definition: gdb_assert.h:44

Definition at line 394 of file vec.h.

#define VEC_ASSERT_DECL   ,const char *file_,unsigned line_

Definition at line 392 of file vec.h.

#define VEC_ASSERT_INFO   ,__FILE__,__LINE__

Definition at line 391 of file vec.h.

#define VEC_ASSERT_PASS   ,file_,line_

Definition at line 393 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 360 of file vec.h.

Referenced by insert_into_bit_range_vector(), and yylex().

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

Definition at line 206 of file vec.h.

Referenced by dtrace_process_dof_probe(), 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 198 of file vec.h.

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

Definition at line 197 of file vec.h.

#define VEC_empty (   T,
 
)    (VEC_length (T,V) == 0)

Definition at line 132 of file vec.h.

Referenced by aarch64_push_dummy_call(), arm_find_exidx_entry(), arm_find_mapping_symbol(), arm_record_special_symbol(), break_range_command(), btrace_data_empty(), btrace_maint_update_packets(), btrace_stitch_bts(), call_site_find_chain_1(), chain_candidate(), check_types_worklist(), clear_command(), compute_compunit_symtab_includes(), compute_stack_depth(), count_next_character(), create_breakpoint(), create_debug_types_hash_table(), create_tracepoint_from_upload(), decode_objc(), decode_static_tracepoint_spec(), determine_prefix(), disable_probes_command(), dtrace_disable_probe(), dtrace_gen_info_probes_table_values(), enable_probes_command(), find_function_symbols(), find_imps(), find_linespec_symbols(), find_method(), find_superclass_methods(), fixup_partial_die(), ftrace_new_gap(), ftrace_update_function(), func_verify_no_selftailcall(), get_last_thread_stack_temporary(), info_osdata_command(), info_probes_for_ops(), lookup_mem_region(), normalize_mem_ranges(), ppc_linux_new_thread(), print_one_inferior(), print_one_static_tracepoint_marker(), print_solib_event(), process_psymtab_comp_unit_reader(), process_structure_scope(), read_func_scope(), remote_add_target_side_commands(), remote_add_target_side_condition(), remote_insert_breakpoint(), remote_read_bytes(), remote_read_description(), remote_read_description_p(), remote_update_thread_list(), require_available(), require_not_optimized_out(), search_minsyms_for_name(), svr4_create_solib_event_breakpoints(), target_write_memory_blocks(), tdesc_has_registers(), uniquify_strings(), update_static_tracepoint(), value_entirely_available(), value_fetch_lazy(), value_in_thread_stack_temporaries(), value_optimized_out(), VEC(), and yylex().

#define VEC_free (   T,
 
)    (VEC_OP(T,free)(&V))

Definition at line 180 of file vec.h.

Referenced by aarch64_push_dummy_call(), arm_exidx_data_free(), arm_objfile_data_free(), bp_location_dtor(), breakpoint_init_inferior(), btrace_data_fini(), build_target_command_list(), build_target_condition_list(), 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_result(), clear_syscall_counts(), clear_threads_listing_context(), cli_uiout_dtor(), complete_command(), compute_compunit_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(), disable_thread_stack_temporaries(), dtor_catch_syscall(), dtrace_probe_destroy(), dwarf2_per_objfile_free(), find_function_symbols(), find_method_list(), follow_types(), free_breakpoint_probes(), free_char_ptr_vec(), free_completion_list(), free_delayed_list(), free_dwo_file(), free_memory_read_result_vector(), free_syscalls_info(), free_target_description(), free_traceframe_info(), free_vector_of_ints(), free_vector_of_osdata_items(), free_xmethod_worker_vec(), gdb_bfd_unref(), gdb_xml_cleanup(), gdb_xml_values_cleanup(), gdbscm_parse_function_args(), go_parse(), invalidate_target_mem_regions(), line_completion_function(), linespec_parser_delete(), ltpy_get_pcs_for_line(), 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(), signal_catchpoint_dtor(), solib_aix_free_library_list(), solib_target_current_sos(), solib_target_free_library_list(), 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(), types_deeply_equal(), ui_out_destroy(), unwind_infopy_dealloc(), update_type_if_necessary(), value_free(), varobj_update_one(), VEC(), and yyparse().

#define vec_free_ (   V)    xfree (V)

Definition at line 389 of file vec.h.

#define VEC_index (   T,
  V,
  I 
)    (VEC_OP(T,index)(V,I VEC_ASSERT_INFO))

Definition at line 151 of file vec.h.

Referenced by ada_get_task_number(), ada_value_has_mutated(), arm_find_exidx_entry(), arm_find_mapping_symbol(), auto_load_safe_path_vec_update(), break_range_command(), btrace_compute_ftrace_bts(), btrace_data_append(), btrace_insn_get(), btrace_maint_print_packets(), canonicalize_linespec(), chain_candidate(), clear_command(), create_breakpoint(), create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_mem_region(), create_sals_line_offset(), current_level(), darwin_check_new_threads(), darwin_init_thread_list(), darwin_setup_fake_stop_event(), darwin_wait(), decode_linespec_default(), decode_static_tracepoint_spec(), delete_variable_1(), dtrace_build_arg_exprs(), dtrace_get_arg(), dwarf2_compile_expr_to_ax(), dwarf2_read_index(), find_first_range_overlap_and_match(), find_method(), find_oload_champ(), find_overload_match(), get_task_number_from_id(), info_task(), insert_catch_syscall(), insert_into_bit_range_vector(), install_dynamic_child(), iterate_over_live_ada_tasks(), line_completion_function(), macho_symfile_read_all_oso(), normalize_mem_ranges(), print_ada_task_info(), print_converted_chars_to_obstack(), print_ui_out_info(), ranges_contain(), record_btrace_frame_prev_register(), remote_read_bytes(), remove_catch_syscall(), search_minsyms_for_name(), solib_aix_solib_create_inferior_hook(), stap_get_arg(), strace_marker_create_breakpoints_sal(), svr4_create_solib_event_breakpoints(), task_command_1(), tdesc_find_arch_register(), tdesc_find_type(), uniquify_cu_indices(), update_dynamic_varobj_children(), update_static_tracepoint(), value_entirely_covered_by_range_vector(), VEC(), and yylex().

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

Definition at line 165 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(), auto_load_objfile_script_1(), bpstat_stop_status(), breakpoint_hit_catch_syscall(), breakpoint_init_inferior(), breakpoint_retire_moribund(), btrace_compute_src_line_range(), build_id_to_debug_bfd(), build_line_table_tuple_from_pcs(), build_type_psymtab_dependencies(), captured_main(), catching_syscall_number_1(), check_parameter_typelist(), check_status_catch_solib(), claim_memory(), cleanup_request_data(), clear_command(), clear_inline_frame_state(), clear_memory_write_data(), clear_threads_listing_context(), complete_command(), compute_compunit_symtab_includes(), compute_delayed_physnames(), 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(), decode_digits_list_mode(), decode_digits_ordinary(), delete_trace_state_variable(), destroy_linespec_result(), disable_probes_command(), do_close(), dtrace_disable_probe(), dtrace_enable_probe(), dtrace_probe_destroy(), dtrace_probe_is_enabled(), enable_probes_command(), exists_probe_with_pops(), filename_is_in_auto_load_safe_path_vec(), filter_results(), find_default_run_target(), 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_syscalls_info(), free_target_description(), free_xmethod_worker_vec(), gdb_bfd_unref(), gdb_xml_cleanup(), gdb_xml_values_cleanup(), gdbscm_parse_function_args(), gen_ui_out_table_header_info(), get_osdata_column(), gnuv3_print_vtable(), hwdebug_find_thread_points_by_tid(), info_exceptions_command(), info_mach_ports_command(), info_osdata_command(), info_probes_for_ops(), info_static_tracepoint_markers_command(), insert_catch_syscall(), insert_into_bit_range_vector(), list_available_thread_groups(), lookup_mem_region(), macho_symfile_read_all_oso(), maint_print_c_tdesc_cmd(), 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_info_ada_exceptions(), 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_scripts(), print_solib_event(), print_ui_out_info(), print_ui_out_not_applicables(), probe_key_free(), probe_linespec_to_ops(), process_cu_includes(), process_psymtab_comp_unit_reader(), process_stop_reply(), process_tracepoint_on_disconnect(), pyuw_sniffer(), ranges_copy_adjusted(), read_uploaded_action(), 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_update_thread_list(), remove_catch_syscall(), require_user_regions(), reread_symbols(), save_trace_state_variables(), search_minsyms_for_name(), section_table_read_available_memory(), serial_interface_lookup(), 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_aix_free_library_list(), solib_target_current_sos(), solib_target_free_library_list(), 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_parse_xml(), tdesc_property(), tdesc_use_registers(), tfile_write_uploaded_tp(), thread_db_load_search(), threads_listing_context_remove(), trace_status_command(), traceframe_available_memory(), tvariables_info_1(), ui_out_destroy(), uniquify_strings(), unmark_fd_no_cloexec(), unwind_infopy_add_saved_register(), unwind_infopy_dealloc(), unwind_infopy_str(), value_in_thread_stack_temporaries(), varobj_update_one(), VEC(), xml_find_attribute(), xml_get_syscall_name(), xml_get_syscall_number(), xml_list_of_syscalls(), and yyparse().

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

Definition at line 124 of file vec.h.

Referenced by _initialize_charset(), ada_build_task_list(), ada_get_task_number(), add_indices_to_cpool(), add_matching_symbols_to_info(), arm_find_exidx_entry(), arm_find_mapping_symbol(), auto_load_info_scripts(), auto_load_safe_path_vec_update(), break_range_command(), btrace_call_history_insn_range(), btrace_call_next(), btrace_call_number(), btrace_call_prev(), btrace_compute_ftrace_bts(), btrace_data_append(), btrace_find_insn_by_number(), btrace_insn_end(), btrace_insn_get(), btrace_insn_next(), btrace_insn_prev(), btrace_maint_update_packets(), btrace_stitch_bts(), build_line_table_tuple_from_pcs(), build_type_psymtab_dependencies(), canonicalize_linespec(), chain_candidate(), check_parameter_typelist(), clear_command(), complete_command(), compute_compunit_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_oload_champ(), find_overload_match(), find_superclass_methods(), follow_types(), ftrace_debug(), ftrace_new_function(), 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(), insert_into_bit_range_vector(), install_dynamic_child(), iterate_over_live_ada_tasks(), line_completion_function(), list_available_thread_groups(), macho_symfile_read_all_oso(), maint_info_btrace_cmd(), maint_print_c_tdesc_cmd(), mi_cmd_data_read_memory_bytes(), mi_cmd_info_ada_exceptions(), 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_scripts(), print_ui_out_info(), process_psymtab_comp_unit_reader(), process_structure_scope(), pyuw_sniffer(), ranges_contain(), read_func_scope(), remote_update_thread_list(), remove_catch_syscall(), require_user_regions(), search_minsyms_for_name(), signal_catchpoint_print_mention(), signal_catchpoint_print_one(), solib_aix_solib_create_inferior_hook(), solib_target_relocate_section_addresses(), sort_remove_dups_ada_exceptions_list(), stap_get_probe_argument_count(), stap_get_probes(), start_tracing(), syscall_start_syscall(), target_write_memory_blocks(), task_command_1(), tdesc_find_arch_register(), tdesc_find_type(), tdesc_numbered_register(), tdesc_start_reg(), tdesc_use_registers(), tvariables_info_1(), uniquify_cu_indices(), uniquify_strings(), update_dynamic_varobj_children(), valid_task_id(), value_entirely_covered_by_range_vector(), varobj_add_child(), varobj_has_more(), varobj_restrict_range(), VEC(), write_psymtabs_to_index(), xml_list_of_syscalls(), yylex(), and yyparse().

#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 213 of file vec.h.

Referenced by find_method_list(), and VEC().

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

Definition at line 399 of file vec.h.

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

Definition at line 339 of file vec.h.

Referenced by clear_command(), mem_delete(), threads_listing_context_remove(), 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 314 of file vec.h.

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

Definition at line 249 of file vec.h.

Referenced by cli_out_set_stream(), gdb_xml_start_element(), 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 237 of file vec.h.

Referenced by gdb_xml_start_element(), and VEC().

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

Definition at line 288 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 260 of file vec.h.

Referenced by _initialize_charset(), _initialize_dtrace_probe(), _initialize_stap_probe(), ada_add_exceptions_from_frame(), ada_add_global_exceptions(), ada_add_standard_exceptions(), 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_target_with_completer(), 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(), btrace_add_pc(), btrace_data_append(), 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(), cmdscm_add_completion(), collect_cores(), collect_matching_scripts(), collect_one_symbol(), collect_symbols(), compute_stack_depth(), compute_stack_depth_worker(), 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(), delim_string_to_char_ptr_vec_append(), do_collect_symbol(), dtrace_gen_info_probes_table_header(), dtrace_gen_info_probes_table_values(), dtrace_process_dof_probe(), 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(), ftrace_update_insns(), func_verify_no_selftailcall(), gdb_bfd_record_inclusion(), gdb_xml_create_parser_and_cleanup(), gdb_xml_start_element(), gdbpy_get_matching_xmethod_workers(), gdbscm_parse_function_args(), handle_stap_probe(), hwdebug_find_thread_points_by_tid(), install_dynamic_child(), library_list_start_library(), library_list_start_section(), library_list_start_segment(), list_available_thread_groups(), load_section_callback(), macho_register_oso(), memory_map_start_memory(), merge_uploaded_tracepoints(), mi_cmd_list_thread_groups(), osdata_end_column(), osdata_start_item(), parse_breakpoint_sals(), parse_linespec(), parse_tracepoint_definition(), parse_xml_btrace_block(), pass_on_stack(), print_one_breakpoint_location(), process_full_comp_unit(), process_imported_unit_die(), process_structure_scope(), push_level(), push_thread_stack_temporary(), 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_get_threads_with_qthreadinfo(), remote_newthread_step(), remote_parse_stop_reply(), reread_symbols(), scan_partial_symbols(), search_minsyms_for_name(), serial_add_interface(), set_tdesc_property(), stap_gen_info_probes_table_header(), stap_gen_info_probes_table_values(), stap_parse_probe_arguments(), start_thread(), strace_marker_create_sals_from_address(), symbol_completion_add(), syscall_create_syscall_desc(), 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_parse_xml(), tdesc_use_registers(), traceframe_available_memory(), traceframe_info_start_memory(), traceframe_info_start_tvar(), types_deeply_equal(), ui_out_new(), unwind_infopy_add_saved_register(), update_global_location_list(), update_solib_list(), varobj_add_child(), VEC(), yylex(), and yyparse().

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

Definition at line 225 of file vec.h.

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

Definition at line 401 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 91 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 80 of file vec.c.

References vec_o_reserve().