GDB (xrefs)

Macros | Functions
vec.h File Reference
`#include "diagnostics.h"`

Go to the source code of this file.

## Macros
#define | DIAGNOSTIC_IGNORE_UNUSED_VEC_FUNCTION
#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 | vec_offset(T, VPTR) ((size_t) ((char *) &(VPTR)->vec - (char *) VPTR))
#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

## ◆ DEF_VEC_ALLOC_FUNC_I

#define DEF_VEC_ALLOC_FUNC_I | ( |  | T | ) |

Definition at line 473 of file vec.h.

## ◆ DEF_VEC_ALLOC_FUNC_O

#define DEF_VEC_ALLOC_FUNC_O | ( |  | T | ) |

Definition at line 1040 of file vec.h.

## ◆ DEF_VEC_ALLOC_FUNC_P

#define DEF_VEC_ALLOC_FUNC_P | ( |  | T | ) |

Definition at line 768 of file vec.h.

## ◆ DEF_VEC_FUNC_O

#define DEF_VEC_FUNC_O | ( |  | T | ) |

Definition at line 868 of file vec.h.

## ◆ DEF_VEC_FUNC_P

#define DEF_VEC_FUNC_P | ( |  | T | ) |

Definition at line 583 of file vec.h.

## ◆ DEF_VEC_I

#define DEF_VEC_I | ( |  | T | ) |

Value:
DIAGNOSTIC_PUSH \
DIAGNOSTIC_IGNORE_UNUSED_VEC_FUNCTION \
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) \
DIAGNOSTIC_POP \
struct vec_swallow_trailing_semi
VEC_OP
#define VEC_OP(T, OP)
Definition: vec.h:415
VEC_T
#define VEC_T(T)
Definition: vec.h:417

Definition at line 426 of file vec.h.

## ◆ DEF_VEC_O

#define DEF_VEC_O | ( |  | T | ) |

Value:
DIAGNOSTIC_PUSH \
DIAGNOSTIC_IGNORE_UNUSED_VEC_FUNCTION \
VEC_T(T); \
DEF_VEC_FUNC_O(T) \
DEF_VEC_ALLOC_FUNC_O(T) \
DIAGNOSTIC_POP \
struct vec_swallow_trailing_semi
VEC_T
#define VEC_T(T)
Definition: vec.h:417

Definition at line 456 of file vec.h.

## ◆ DEF_VEC_P

#define DEF_VEC_P | ( |  | T | ) |

Value:
DIAGNOSTIC_PUSH \
DIAGNOSTIC_IGNORE_UNUSED_VEC_FUNCTION \
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) \
DIAGNOSTIC_POP \
struct vec_swallow_trailing_semi
VEC_OP
#define VEC_OP(T, OP)
Definition: vec.h:415
VEC_T
#define VEC_T(T)
Definition: vec.h:417

Definition at line 441 of file vec.h.

## ◆ DIAGNOSTIC_IGNORE_UNUSED_VEC_FUNCTION

#define DIAGNOSTIC_IGNORE_UNUSED_VEC_FUNCTION

Definition at line 36 of file vec.h.

## ◆ VEC

#define VEC | ( |  | T | ) | VEC_##T

Definition at line 414 of file vec.h.

Referenced by add_path(), arm_exidx_new_objfile(), arm_find_exidx_entry(), arm_find_mapping_symbol(), arm_record_special_symbol(), btrace_maint_print_packets(), build_id_to_debug_bfd(), clear_memory_write_data(), compute_compunit_symtab_includes(), do_free_char_ptr_vec(), find_method_list(), find_overload_match(), find_separate_debug_file(), gdb_xml_values_cleanup(), gdbpy_get_matching_xmethod_workers(), gdbscm_parse_function_args(), generic_printstr(), macho_symfile_read(), macho_symfile_read_all_oso(), openp(), record_btrace_wait(), gdb_xml_parser::start_element(), thread_db_load_search(), and types_deeply_equal().

## ◆ VEC_address

#define VEC_address | ( |  | T,
|  |  | V
| ) |  | (VEC_OP(T,address)(V))

Definition at line 385 of file vec.h.

Referenced by _initialize_charset(), convert_linespec_to_sals(), find_method(), follow_types(), macho_symfile_read_all_oso(), search_minsyms_for_name(), syscall_start_syscall(), target_write_memory_blocks(), tdesc_start_reg(), tdesc_start_vector(), and uniquify_strings().

## ◆ VEC_alloc

#define VEC_alloc | ( |  | T,
|  |  | N
| ) |  | (VEC_OP(T,alloc)(N))

Definition at line 189 of file vec.h.

Referenced by pyuw_create_unwind_info().

## ◆ vec_assert

#define vec_assert | ( |  | expr,
|  |  | op
| ) |  |

Value:
((void)((expr) ? 0 : (gdb_assert_fail (op, file_, line_, \
FUNCTION_NAME), 0)))
gdb_assert_fail
#define gdb_assert_fail(assertion, file, line, function)
Definition: gdb_assert.h:43

Definition at line 410 of file vec.h.

## ◆ VEC_ASSERT_DECL

#define VEC_ASSERT_DECL ,const char *file_,unsigned line_

Definition at line 408 of file vec.h.

## ◆ VEC_ASSERT_INFO

#define VEC_ASSERT_INFO ,__FILE__,__LINE__

Definition at line 407 of file vec.h.

## ◆ VEC_ASSERT_PASS

#define VEC_ASSERT_PASS ,file_,line_

Definition at line 409 of file vec.h.

## ◆ VEC_block_remove

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

Definition at line 376 of file vec.h.

Referenced by insert_into_bit_range_vector(), and yylex().

## ◆ VEC_cleanup

#define VEC_cleanup | ( |  | T | ) | (VEC_OP(T,cleanup))

Definition at line 203 of file vec.h.

Referenced by decode_line_2(), decode_line_full(), decode_objc(), find_function_symbols(), find_linespec_symbols(), find_method(), find_superclass_methods(), generic_printstr(), info_static_tracepoint_markers_command(), macho_symfile_read(), record_btrace_wait(), and search_minsyms_for_name().

## ◆ VEC_copy

#define VEC_copy | ( |  | T,
|  |  | V
| ) |  | (VEC_OP(T,copy)(V))

Definition at line 222 of file vec.h.

Referenced by s390_linux_new_fork(), target_write_memory_blocks(), and value_copy().

## ◆ VEC_embedded_init

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

Definition at line 214 of file vec.h.

## ◆ VEC_embedded_size

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

Definition at line 213 of file vec.h.

## ◆ VEC_empty

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

Definition at line 148 of file vec.h.

Referenced by aarch64_push_dummy_call(), arm_find_exidx_entry(), arm_find_mapping_symbol(), arm_record_special_symbol(), btrace_data_empty(), btrace_maint_update_packets(), btrace_stitch_bts(), check_types_worklist(), compute_compunit_symtab_includes(), compute_delayed_physnames(), count_next_character(), create_debug_types_hash_table(), create_tracepoint_from_upload(), decode_objc(), decode_static_tracepoint_spec(), determine_prefix(), find_function_symbols(), find_imps(), find_linespec_symbols(), find_method(), find_superclass_methods(), fixup_partial_die(), get_last_thread_stack_temporary(), ppc_linux_new_thread(), print_one_static_tracepoint_marker(), print_solib_event(), process_psymtab_comp_unit_reader(), record_btrace_maybe_mark_async_event(), record_btrace_wait(), remote_read_description(), remote_read_description_p(), require_available(), require_not_optimized_out(), s390_prepare_to_resume(), s390_stopped_by_watchpoint(), search_minsyms_for_name(), target_write_memory_blocks(), uniquify_strings(), update_static_tracepoint(), value_entirely_available(), value_fetch_lazy(), value_in_thread_stack_temporaries(), value_optimized_out(), VEC(), and yylex().

## ◆ VEC_free

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

Definition at line 196 of file vec.h.

Referenced by aarch64_push_dummy_call(), arm_exidx_data_free(), arm_objfile_data_free(), breakpoint_init_inferior(), btrace_data_fini(), build_type_psymtab_dependencies(), c_parse(), check_parameter_typelist(), cleanup_write_requests_vector(), clear_inline_frame_state(), clear_memory_write_data(), clear_program_space_solib_cache(), complete_label(), compute_compunit_symtab_includes(), create_sals_line_offset(), d_parse(), delete_trace_variable_command(), disable_thread_stack_temporaries(), dwarf2_per_objfile_free(), find_function_symbols(), find_method_list(), follow_types(), free_char_ptr_vec(), free_delayed_list(), free_dwo_file(), free_xmethod_worker_vec(), gdb_xml_values_cleanup(), gdbscm_parse_function_args(), go_parse(), linespec_parser_delete(), merge_uploaded_tracepoints(), print_one_static_tracepoint_marker(), process_cu_includes(), process_psymtab_comp_unit_reader(), process_stop_reply(), process_tracepoint_on_disconnect(), record_full_init_record_breakpoints(), s390_forget_process(), solib_aix_free_library_list(), solib_target_current_sos(), solib_target_free_library_list(), start_tracing(), stop_reply_dtr(), stop_tracing(), tstatus_command(), types_deeply_equal(), unwind_infopy_dealloc(), value_free(), VEC(), and yyparse().

## ◆ vec_free_

#define vec_free_ | ( |  | V | ) | xfree (V)

Definition at line 405 of file vec.h.

## ◆ VEC_index

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

Definition at line 167 of file vec.h.

Referenced by ada_get_task_info_from_ptid(), ada_get_task_number(), arm_find_exidx_entry(), arm_find_mapping_symbol(), auto_load_safe_path_vec_update(), btrace_compute_ftrace_bts(), btrace_data_append(), btrace_maint_print_packets(), canonicalize_linespec(), create_sals_line_offset(), decode_static_tracepoint_spec(), dwarf2_read_debug_names(), 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_into_bit_range_vector(), iterate_over_live_ada_tasks(), macho_symfile_read_all_oso(), print_ada_task_info(), print_converted_chars_to_obstack(), ranges_contain(), search_minsyms_for_name(), solib_aix_solib_create_inferior_hook(), task_command_1(), update_static_tracepoint(), value_entirely_covered_by_range_vector(), and yylex().

## ◆ VEC_iterate

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

Definition at line 181 of file vec.h.

Referenced by add_all_symbol_names_from_pspace(), add_matching_symbols_to_info(), add_path(), auto_load_objfile_script_1(), bpstat_stop_status(), breakpoint_init_inferior(), breakpoint_retire_moribund(), build_id_to_debug_bfd(), build_type_psymtab_dependencies(), check_parameter_typelist(), check_status_catch_solib(), claim_memory(), cleanup_request_data(), clear_inline_frame_state(), clear_memory_write_data(), complete_label(), compute_compunit_symtab_includes(), compute_delayed_physnames(), convert_linespec_to_sals(), create_debug_types_hash_table(), ctf_write_uploaded_tp(), decode_digits_list_mode(), decode_digits_ordinary(), delete_trace_state_variable(), 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_separate_debug_file(), find_superclass_methods(), find_trace_state_variable(), find_trace_state_variable_by_number(), free_char_ptr_vec(), free_xmethod_worker_vec(), gdb_xml_values_cleanup(), gdbscm_parse_function_args(), hwdebug_find_thread_points_by_tid(), info_static_tracepoint_markers_command(), insert_into_bit_range_vector(), macho_symfile_read_all_oso(), merge_uploaded_trace_state_variables(), merge_uploaded_tracepoints(), moribund_breakpoint_here_p(), openp(), ppc_linux_thread_exit(), print_one_static_tracepoint_marker(), print_solib_event(), process_cu_includes(), process_psymtab_comp_unit_reader(), process_stop_reply(), process_tracepoint_on_disconnect(), pyuw_sniffer(), ranges_copy_adjusted(), read_uploaded_action(), record_btrace_wait(), record_full_insert_breakpoint(), record_full_remove_breakpoint(), recursively_compute_inclusions(), register_remote_g_packet_guess(), remote_read_description(), s390_prepare_to_resume(), s390_remove_hw_breakpoint(), s390_remove_watchpoint(), save_trace_state_variables(), search_minsyms_for_name(), serial_interface_lookup(), solib_aix_current_sos(), solib_aix_free_library_list(), solib_target_current_sos(), solib_target_free_library_list(), start_tracing(), stop_reply_dtr(), stop_tracing(), target_write_memory_blocks(), tfile_write_uploaded_tp(), thread_db_load_search(), tstatus_command(), tvariables_info_1(), uniquify_strings(), unwind_infopy_add_saved_register(), unwind_infopy_dealloc(), unwind_infopy_str(), value_in_thread_stack_temporaries(), VEC(), xml_find_attribute(), and yyparse().

## ◆ VEC_last

#define VEC_last | ( |  | T,
|  |  | V
| ) |  | (VEC_OP(T,last)(V VEC_ASSERT_INFO))

Definition at line 158 of file vec.h.

Referenced by aarch64_push_dummy_call(), arm_record_special_symbol(), btrace_stitch_bts(), check_types_worklist(), count_next_character(), generic_printstr(), get_last_thread_stack_temporary(), library_list_end_library(), library_list_start_section(), library_list_start_segment(), ppc_linux_new_thread(), and VEC().

## ◆ VEC_length

#define VEC_length | ( |  | T,
|  |  | V
| ) |  | (VEC_OP(T,length)(V))

Definition at line 140 of file vec.h.

Referenced by _initialize_charset(), ada_build_task_list(), ada_get_task_info_from_ptid(), ada_get_task_number(), add_matching_symbols_to_info(), arm_find_exidx_entry(), arm_find_mapping_symbol(), auto_load_safe_path_vec_update(), btrace_compute_ftrace_bts(), btrace_data_append(), btrace_maint_update_packets(), btrace_stitch_bts(), build_type_psymtab_dependencies(), canonicalize_linespec(), check_parameter_typelist(), compute_compunit_symtab_includes(), convert_linespec_to_sals(), create_sals_line_offset(), ctf_write_uploaded_tp(), decode_static_tracepoint_spec(), dwarf2_read_debug_names(), dwarf2_read_index(), find_method(), find_oload_champ(), find_overload_match(), find_superclass_methods(), follow_types(), get_task_number_from_id(), info_task(), insert_into_bit_range_vector(), iterate_over_live_ada_tasks(), macho_symfile_read_all_oso(), maint_info_btrace_cmd(), print_ada_task_info(), print_one_static_tracepoint_marker(), process_psymtab_comp_unit_reader(), pyuw_sniffer(), ranges_contain(), search_minsyms_for_name(), solib_aix_solib_create_inferior_hook(), start_tracing(), syscall_start_syscall(), target_write_memory_blocks(), task_command_1(), tdesc_start_reg(), tvariables_info_1(), uniquify_strings(), valid_task_id(), value_entirely_covered_by_range_vector(), VEC(), write_psymtabs_to_index(), yylex(), and yyparse().

## ◆ VEC_lower_bound

#define VEC_lower_bound | ( |  | T,
|  |  | V,
|  |  | O,
|  |  | LT
| ) |  | (VEC_OP(T,lower_bound)(V,O,LT VEC_ASSERT_INFO))

Definition at line 399 of file vec.h.

Referenced by arm_find_exidx_entry(), arm_find_mapping_symbol(), arm_record_special_symbol(), insert_into_bit_range_vector(), and ranges_contain().

## ◆ VEC_merge

#define VEC_merge | ( |  | T,
|  |  | V1,
|  |  | V2
| ) |  | (VEC_OP(T,merge)(V1, V2))

Definition at line 229 of file vec.h.

Referenced by find_method_list(), and VEC().

## ◆ vec_offset

#define vec_offset | ( |  | T,
|  |  | VPTR
| ) |  | ((size_t) ((char *) &(VPTR)->vec - (char *) VPTR))

Definition at line 471 of file vec.h.

Referenced by vec_o_reserve().

## ◆ VEC_OP

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

Definition at line 415 of file vec.h.

## ◆ VEC_ordered_remove

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

Definition at line 355 of file vec.h.

Referenced by record_btrace_wait(), and yylex().

## ◆ VEC_pop

#define VEC_pop | ( |  | T,
|  |  | V
| ) |  | (VEC_OP(T,pop)(V VEC_ASSERT_INFO))

Definition at line 286 of file vec.h.

Referenced by aarch64_push_dummy_call(), btrace_stitch_bts(), check_types_worklist(), and create_sals_line_offset().

## ◆ VEC_quick_insert

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

Definition at line 330 of file vec.h.

## ◆ VEC_quick_push

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

Definition at line 265 of file vec.h.

## ◆ VEC_replace

#define VEC_replace | ( |  | T,
|  |  | V,
|  |  | I,
|  |  | O
| ) |  | (VEC_OP(T,replace)(V,I,O VEC_ASSERT_INFO))

Definition at line 318 of file vec.h.

Referenced by auto_load_safe_path_vec_update(), uniquify_strings(), and yylex().

## ◆ VEC_reserve

#define VEC_reserve | ( |  | T,
|  |  | V,
|  |  | R
| ) |  | (VEC_OP(T,reserve)(&(V),R VEC_ASSERT_INFO))

Definition at line 253 of file vec.h.

## ◆ VEC_safe_grow

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

Definition at line 304 of file vec.h.

## ◆ VEC_safe_insert

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

Definition at line 343 of file vec.h.

Referenced by arm_record_special_symbol(), and insert_into_bit_range_vector().

## ◆ VEC_safe_push

#define VEC_safe_push | ( |  | T,
|  |  | V,
|  |  | O
| ) |  | (VEC_OP(T,safe_push)(&(V),O VEC_ASSERT_INFO))

Definition at line 276 of file vec.h.

Referenced by _initialize_charset(), add_ada_task(), add_minsym(), add_path(), collect_info::add_symbol(), add_target_with_completer(), add_to_method_list(), allocate_inline_frame_state(), arm_exidx_new_objfile(), arm_record_special_symbol(), auto_load_safe_path_vec_update(), btrace_add_pc(), btrace_data_append(), build_type_psymtabs_reader(), check_types_equal(), claim_memory(), clear_inline_frame_state(), convert_explicit_location_to_linespec(), count_next_character(), create_trace_state_variable(), decode_line_2(), decode_line_full(), decode_objc(), delim_string_to_char_ptr_vec_append(), dwarf2_locate_dwo_sections(), find_imps(), find_label_symbols_in_block(), find_methods(), follow_die_sig_1(), gdbpy_get_matching_xmethod_workers(), gdbscm_parse_function_args(), hwdebug_find_thread_points_by_tid(), library_list_start_library(), load_section_callback(), dwarf2_per_objfile::locate_sections(), macho_register_oso(), merge_uploaded_tracepoints(), parse_linespec(), parse_tracepoint_definition(), parse_xml_btrace_block(), pass_on_stack(), process_full_comp_unit(), process_imported_unit_die(), push_thread_stack_temporary(), queue_and_load_dwo_tu(), record_btrace_wait(), record_full_insert_breakpoint(), recursively_compute_inclusions(), register_remote_g_packet_guess(), remote_parse_stop_reply(), s390_insert_hw_breakpoint(), s390_insert_watchpoint(), scan_partial_symbols(), search_minsyms_for_name(), serial_add_interface(), gdb_xml_parser::start_element(), target_write_memory_blocks(), types_deeply_equal(), unwind_infopy_add_saved_register(), update_global_location_list(), update_solib_list(), VEC(), yylex(), and yyparse().

## ◆ VEC_space

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

Definition at line 241 of file vec.h.

## ◆ VEC_T

#define VEC_T | ( |  | T | ) |

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

Definition at line 417 of file vec.h.

## ◆ VEC_truncate

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

Definition at line 294 of file vec.h.

Referenced by find_method(), read_known_tasks(), and uniquify_strings().

## ◆ VEC_unordered_remove

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

Definition at line 367 of file vec.h.

Referenced by breakpoint_retire_moribund(), clear_inline_frame_state(), delete_trace_state_variable(), ppc_linux_thread_exit(), record_btrace_wait(), record_full_remove_breakpoint(), s390_remove_hw_breakpoint(), s390_remove_watchpoint(), and VEC().

## Function Documentation

## ◆ vec_o_reserve()

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, vec_offset, and xrealloc().

Referenced by vec_p_reserve().

## ◆ vec_p_reserve()

void* vec_p_reserve | ( | void * | ,
|  | int |
| ) |  |

Definition at line 80 of file vec.c.

References vec_o_reserve().