/dports/devel/radare2/radare2-5.1.1/libr/bin/format/omf/ |
H A D | omf.c | 100 if (!(ret->elems = R_NEWS0 (char *, ret->nb_elem + 1))) { in load_omf_lnames() 123 if (!(names[ct_name] = R_NEWS0 (char, cb + 1))) { in load_omf_lnames() 229 if (!(symbol->name = R_NEWS0 (char, str_size + 1))) { in load_omf_symb() 297 if (!(ret->elems = R_NEWS0 (OMF_symbol, ret->nb_elem))) { in load_omf_pubdef() 307 if (!(ret->elems = R_NEWS0 (OMF_symbol, ret->nb_elem))) { in load_omf_pubdef() 380 if (!(record->content = R_NEWS0 (char, record->size))) { in load_omf_content() 565 if (!(obj->names = R_NEWS0 (char *, obj->nb_name))) { in get_omf_infos() 575 if (!(obj->sections = R_NEWS0 (OMF_segment *, obj->nb_section))) { in get_omf_infos() 585 if (!(obj->symbols = R_NEWS0 (OMF_symbol *, obj->nb_symbol))) { in get_omf_infos()
|
/dports/devel/radare2/radare2-5.1.1/libr/util/ |
H A D | queue.c | 13 q->elems = R_NEWS0 (void *, n); in r_queue_new() 39 newelems = R_NEWS0(void *, new_capacity); in increase_capacity()
|
H A D | graph.c | 279 int *color = R_NEWS0 (int, g->last_index); in r_graph_dfs_node() 290 int *color = R_NEWS0 (int, g->last_index); in r_graph_dfs_node_reverse() 302 int *color = R_NEWS0 (int, g->last_index); in r_graph_dfs()
|
H A D | stack.c | 10 s->elems = R_NEWS0 (void *, n); in r_stack_new()
|
H A D | skiplist.c | 19 res->forward = R_NEWS0 (RSkipListNode *, level + 1); in r_skiplist_node_new()
|
H A D | buf.c | 138 ut8 *buf = R_NEWS0 (ut8, len); in r_buf_new_empty() 301 ut8 *buf = R_NEWS0 (ut8, length); in r_buf_append_nbytes()
|
H A D | asn1.c | 131 object->list.objects = R_NEWS0 (RASN1Object*, count); in r_asn1_create_object()
|
H A D | idpool.c | 585 storage->permutation = R_NEWS0 (ut32, storage->psize); in r_oids_sort()
|
H A D | pkcs7.c | 377 attributes->elements = R_NEWS0 (RPKCS7Attribute *, attributes->length); in r_pkcs7_parse_attributes()
|
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/mach0/ |
H A D | coresymbolication.c | 198 result->segments = R_NEWS0 (RCoreSymCacheElementSegment, hdr->n_segments); in r_coresym_cache_element_new() 241 result->sections = R_NEWS0 (RCoreSymCacheElementSection, hdr->n_sections); in r_coresym_cache_element_new() 274 result->symbols = R_NEWS0 (RCoreSymCacheElementSymbol, hdr->n_symbols); in r_coresym_cache_element_new() 303 result->lined_symbols = R_NEWS0 (RCoreSymCacheElementLinedSymbol, hdr->n_lined_symbols); in r_coresym_cache_element_new() 341 result->line_info = R_NEWS0 (RCoreSymCacheElementLineInfo, hdr->n_line_info); in r_coresym_cache_element_new()
|
H A D | mach0.c | 1500 bin->chained_starts = R_NEWS0 (struct r_dyld_chained_starts_in_segment *, segs_count); in parse_chained_fixups() 1547 bin->chained_starts = R_NEWS0 (struct r_dyld_chained_starts_in_segment *, bin->nsegs); in reconstruct_chained_fixup()
|
/dports/devel/radare2/radare2-5.1.1/libr/bin/p/ |
H A D | bin_dyldcache.c | 185 nlists = R_NEWS0 (struct MACH0_(nlist), info->nlistCount); in r_dyld_locsym_new() 204 entries = R_NEWS0 (cache_locsym_entry_t, info->entriesCount); in r_dyld_locsym_new() 771 RDyldRebaseInfosEntry * infos = R_NEWS0 (RDyldRebaseInfosEntry, n_slide_infos); in get_rebase_infos() 802 RDyldRebaseInfosEntry * pruned_infos = R_NEWS0 (RDyldRebaseInfosEntry, j); in get_rebase_infos() 819 RDyldRebaseInfosEntry * infos = R_NEWS0 (RDyldRebaseInfosEntry, 1); in get_rebase_infos() 862 cache_img_t *images = R_NEWS0 (cache_img_t, hdr->imagesCount); in read_cache_images() 881 cache_imgxtr_t *images = R_NEWS0 (cache_imgxtr_t, accel->imageExtrasCount); in read_cache_imgextra() 1001 deps = R_NEWS0 (int, hdr->imagesCount); in create_cache_bins() 1008 depArray = R_NEWS0 (ut16, accel->depListCount); in create_cache_bins() 1437 cache_map_t *maps = R_NEWS0 (cache_map_t, hdr->mappingCount); in read_cache_maps()
|
H A D | bin_xnu_kernelcache.c | 509 all_infos = R_NEWS0 (RKmodInfo, n_kmod_info); in carve_kexts() 855 *inits = R_NEWS0 (ut64, n_inits + 1); in process_kmod_init_term() 864 *terms = R_NEWS0 (ut64, n_terms + 1); in process_kmod_init_term() 1850 rebase_ranges = R_NEWS0 (RFileRange, n_starts - 1); in r_rebase_info_new_from_mach0()
|
H A D | bin_xtr_sep64.c | 208 apps = R_NEWS0 (RSepApp64, hdr->n_apps); in sep64_xtr_ctx_new()
|
/dports/devel/radare2/radare2-5.1.1/libr/bp/ |
H A D | bp.c | 29 bp->bps_idx = R_NEWS0 (RBreakpointItem*, bp->bps_idx_count); in r_bp_new()
|
/dports/devel/radare2/radare2-5.1.1/libr/anal/ |
H A D | reflines.c | 223 free_levels = R_NEWS0 (ut8, r_list_length (list) + 1); in r_anal_reflines_get()
|
H A D | block.c | 57 block->op_pos = R_NEWS0 (ut16, DFLT_NINSTR); in block_new()
|
/dports/devel/radare2/radare2-5.1.1/libr/include/ |
H A D | r_types.h | 310 #define R_NEWS0(x,y) (x*)calloc(y,sizeof(x)) macro
|
/dports/devel/radare2/radare2-5.1.1/libr/core/ |
H A D | cmd_api.c | 1125 res->argv = R_NEWS0 (char *, res->argc); in r_cmd_parsed_args_new() 1165 char **tmp = R_NEWS0 (char *, n_args + 1); in r_cmd_parsed_args_setargs()
|
H A D | cmd_seek.c | 153 core->print->lines_cache = R_NEWS0 (ut64, bsz); in r_core_lines_initcache()
|
H A D | agraph.c | 444 int **m = R_NEWS0 (int *, len); in get_crossing_matrix() 449 m[j] = R_NEWS0 (int, len); in get_crossing_matrix() 767 g->layers = R_NEWS0 (struct layer_t, g->n_layers); in create_layers() 777 g->layers[i].nodes = R_NEWS0 (RGraphNode *, in create_layers() 966 RList **res = R_NEWS0 (RList *, g->n_layers); in compute_classes() 1774 int **arr = R_NEWS0 (int *, g->n_layers); in backedge_info() 1779 arr[i] = R_NEWS0 (int, 2); in backedge_info()
|
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/wasm/ |
H A D | wasm.c | 117 if (!(out->locals = R_NEWS0 (struct r_bin_wasm_local_entry_t, count))) { in consume_locals_r() 282 if (!(ptr->param_types = R_NEWS0 (r_bin_wasm_value_type_t, count))) { in parse_type_entry()
|
/dports/devel/radare2/radare2-5.1.1/libr/debug/p/ |
H A D | debug_windbg.c | 400 PIMAGE_SECTION_HEADER *s = R_NEWS0 (PIMAGE_SECTION_HEADER, mod_cnt); in windbg_map_get()
|
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/elf/ |
H A D | elf.c | 307 if (!(bin->phdr = R_NEWS0 (Elf_(Phdr), bin->ehdr.e_phnum))) { in init_phdr() 366 if (!(bin->shdr = R_NEWS0 (Elf_(Shdr), bin->ehdr.e_shnum))) { in init_shdr() 2810 RBinElfReloc *relocs = R_NEWS0 (RBinElfReloc, num_relocs + 1); 2816 relocs = R_NEWS0 (RBinElfReloc, num_relocs + 1);
|
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/pyc/ |
H A D | marshal.c | 79 ut8 *ret = R_NEWS0 (ut8, size + 1); in get_bytes()
|