osprey/cygnus/libiberty/xmalloc.c File Reference

#include "ansidecl.h"
#include "libiberty.h"
#include <stdio.h>

Include dependency graph for xmalloc.c:

Go to the source code of this file.

Defines

#define size_t   unsigned long
#define ptrdiff_t   long

Functions/Subroutines

PTR malloc PARAMS ((size_t))
PTR realloc PARAMS ((PTR, size_t))
PTR calloc PARAMS ((size_t, size_t))
PTR sbrk PARAMS ((ptrdiff_t))
void xmalloc_set_program_name (char *s) const
void xmalloc_failed (size_t size)
PTR xmalloc (size_t size)
PTR xcalloc (size_t nelem, size_t elsize)
PTR xrealloc (PTR oldmem, size_t size)

Variables

static const char * name = ""


Define Documentation

#define ptrdiff_t   long

Definition at line 75 of file xmalloc.c.

Referenced by _ALLOCATE(), _DEALLOC(), _DEALLOCATE(), and _REALLOC().

#define size_t   unsigned long

Definition at line 74 of file xmalloc.c.


Function Documentation

PTR sbrk PARAMS ( (ptrdiff_t  ) 

PTR calloc PARAMS ( (size_t, size_t  ) 

PTR realloc PARAMS ( (PTR, size_t  ) 

PTR malloc PARAMS ( (size_t  ) 

PTR xcalloc ( size_t  nelem,
size_t  elsize 
)

Definition at line 151 of file xmalloc.c.

Referenced by _cpp_init_files(), _cpp_save_file_entries(), add_candidate_1(), add_loop(), add_to_list(), addarg(), alloc_iv(), alloc_mem(), alloc_page(), alloc_small_page(), alloc_use_cost_map(), allocate_edge_info(), allocate_reg_info(), allocate_reg_life_data(), analyze_function(), analyze_insns_in_loop(), arm_init_machine_status(), block_alloc(), build_btr_def_use_webs(), build_web_parts_and_conflicts(), calculate_global_regs_live(), cgraph_decide_inlining(), cgraph_decide_inlining_of_small_functions(), cgraph_expand_all_functions(), cgraph_postorder(), cleanup_dead_labels(), collect_expansion(), combine_givs(), combine_instructions(), compute_alignments(), compute_rvuse_and_antic_safe(), compute_store_table(), conditional_skip(), conflict_graph_new(), conflicts_between_webs(), connect_traces(), create_alias_map_for(), create_array(), create_coalesce_list(), create_ddg(), create_file(), create_insn_info(), create_loop_notes(), create_nesting_tree(), create_pointer(), create_program_flow_graph(), create_scalar_type(), cris_init_machine_status(), cse_main(), cselib_init(), d30v_init_machine_status(), debug_tree(), delete_null_pointer_checks(), delete_trivially_dead_insns(), demangled_hash_lookup(), deps_init(), determine_invariantness_stmt(), df_alloc(), df_init(), dfs_enumerate_from(), do_line(), dump_ggc_loc_statistics(), dump_hash_table(), duplicate_eh_regions(), duplicate_loop(), duplicate_loop_exit_test(), duplicate_loop_to_header_edge(), expand_inline_function(), expr_reaches_here_p(), fibheap_new(), fibnode_new(), file_hash_lookup(), fill_hash_bucket(), final(), find_exits(), find_invariant_insn(), find_or_create_group(), find_param_structure(), find_path(), find_source(), find_structure(), flow_loops_find(), flow_preorder_transversal_compute(), free_loop_data(), frv_optimize_membar(), gcalloc(), gen_split(), get_loop_body(), get_loop_body_in_bfs_order(), get_loop_body_in_dom_order(), get_loop_body_in_if_conv_order(), get_opcode(), get_ssa_name_ann(), get_tmt_for(), ggc_alloc_cleared(), ggc_alloc_cleared_stat(), ggc_pch_read(), ggc_pch_this_base(), global_alloc(), gt_pch_note_object(), hash_init(), hoist_code(), hoist_expr_reaches_here_p(), ht_create(), ht_expand(), htab_create(), ia64_reorg(), init_alias_analysis(), init_alias_info(), init_bb_info(), init_cpp_parse(), init_deps(), init_elim_table(), init_ggc(), init_ggc_pch(), init_pre(), init_predicate_table(), init_propagate_block_info(), init_resource_info(), init_reswords(), init_spec(), insert_aux(), ipa_create_methodlist_node(), ipa_edges_create(), ipa_node_create(), ipa_utils_reduced_inorder(), iv_ca_new(), kill_redundant_phi_nodes(), lang_new_vers_node(), lang_specific_driver(), loop_optimize(), loop_optimizer_init(), loop_regs_scan(), loopify(), lower_try_finally_copy(), main(), make_cpp_dir(), make_cpp_file(), mark_dfs_back_edges(), migrate_btr_defs(), mmix_init_machine_status(), move_movables(), move_sese_region_to_fn(), new_decision(), new_ggc_zone(), new_graph(), new_loop_vec_info(), new_omp_region(), new_stmt_vec_info(), new_structure(), new_temp_expr_table(), one_cprop_pass(), optimize_attrs(), output_data(), partition_hot_cold_basic_blocks(), parts_to_webs(), peel_loop_completely(), pp_construct(), pre_expr_reaches_here_p(), pre_gcse(), print_rtl_with_bb(), process_define_predicate(), process_file(), push_context(), push_gimplify_context(), ra_build_realloc(), read_count_file(), read_counts_file(), read_graph_file(), read_tfile(), record_edge_info(), record_ref(), record_use(), reg_alloc(), reg_is_remote_constant_p(), reload(), reload_as_needed(), remove_path(), remove_unreachable_regions(), rest_of_compilation(), rewrite_into_loop_closed_ssa(), rs6000_init_machine_status(), rtl_verify_flow_info_1(), run_compiles(), run_shell(), schedule_sm(), see_commit_changes(), see_initialize_data_structures(), set_page_table_entry(), setup_pointers_and_addressables(), sh_md_init_global(), shorten_branches(), sjlj_build_landing_pads(), skip_if_group(), static_execute(), strength_reduce(), symbol_hash_lookup(), tail_duplicate(), tic4x_disassemble(), tree_ssa_iv_optimize_init(), try_recolor_web(), unroll_loop(), unroll_loop_constant_iterations(), unroll_loop_runtime_iterations(), update_equiv_regs(), update_life_info(), variable_union(), varray_init(), verify_flow_info(), verify_loop_structure(), verify_ssa(), walk_dominator_tree(), web_main(), xmemdup(), xtensa_init_machine_status(), yyparse(), and zone_allocate_marks().

PTR xmalloc ( size_t  size  ) 

Definition at line 136 of file xmalloc.c.

void xmalloc_failed ( size_t  size  ) 

Definition at line 111 of file xmalloc.c.

Referenced by xcalloc(), xmalloc(), and xrealloc().

void xmalloc_set_program_name ( char *  s  )  const

Definition at line 99 of file xmalloc.c.

References NULL, and sbrk().

Referenced by general_init(), initialize(), and main().

PTR xrealloc ( PTR  oldmem,
size_t  size 
)

Definition at line 167 of file xmalloc.c.

References malloc, PTR, realloc, and xmalloc_failed().


Variable Documentation

const char* name = "" [static]

Definition at line 90 of file xmalloc.c.


Generated on Wed Apr 8 15:04:12 2009 for Open64 by  doxygen 1.5.6