/freebsd-11-stable/contrib/gcc/ |
H A D | bb-reorder.c | 779 int new_size; 781 new_size = MAX (last_basic_block, new_bb->index + 1); 782 new_size = GET_ARRAY_SIZE (new_size); 783 bbd = xrealloc (bbd, new_size * sizeof (bbro_basic_block_data)); 784 for (i = array_size; i < new_size; i++) 792 array_size = new_size; 778 int new_size; local
|
H A D | tree-cfg.c | 400 size_t new_size = last_basic_block + (last_basic_block + 3) / 4; local 402 VEC_safe_grow (basic_block, gc, basic_block_info, new_size); 404 memset (&p[old_size], 0, sizeof (basic_block) * (new_size - old_size)); 1111 int i, j, new_size = old_size; local 1137 new_size--; 1163 new_size--; 1173 for (i = 0, j = 0; i < new_size; i++) 1179 TREE_VEC_LENGTH (labels) = new_size;
|
H A D | df-problems.c | 189 unsigned int new_size = last_basic_block + 1; 190 if (dflow->block_info_size < new_size) 192 new_size += new_size / 4; 194 new_size *sizeof (void*)); 196 (new_size - dflow->block_info_size) *sizeof (void *)); 197 dflow->block_info_size = new_size; 188 unsigned int new_size = last_basic_block + 1; local
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | elf-eh-frame.c | 1243 unsigned int new_size; local 1257 new_size = size_of_output_cie_fde (ent, ptr_size); 1260 bfd_put_32 (abfd, new_size - 4, buf); 1263 if (new_size != ent->size) 1264 memset (end, 0, new_size - ent->size);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/acl/ |
H A D | acl_common.c | 225 cacl_realloc(void *ptr, size_t size, size_t new_size) argument 230 tmp = kmem_alloc(new_size, KM_SLEEP); 231 (void) memcpy(tmp, ptr, (size < new_size) ? size : new_size); 235 return (realloc(ptr, new_size));
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_allocator.cpp | 667 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { argument 668 CHECK(old_ptr && new_size); 675 thread_stats.realloced += new_size; 677 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true); 683 uptr memcpy_size = Min(new_size, m->UsedSize());
|
/freebsd-11-stable/usr.bin/lex/ |
H A D | initscan.c | 4368 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); local 4369 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); 4904 yy_size_t new_size; local 4907 new_size = (yy_start_stack_depth) * sizeof( int ); 4910 (yy_start_stack) = (int *) yyalloc(new_size ); 4913 (yy_start_stack) = (int *) yyrealloc((void *) (yy_start_stack),new_size );
|
/freebsd-11-stable/contrib/libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
H A D | cc_ht_map_.hpp | 352 resize_imp(size_type new_size); 355 do_resize(size_type new_size);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp.h | 701 int sdp_resize_buffers(struct sdp_sock *ssk, u32 new_size); 702 int sdp_init_buffers(struct sdp_sock *ssk, u32 new_size);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_malloc_mac.inc | 243 void *__sanitizer_mz_realloc(malloc_zone_t *zone, void *ptr, size_t new_size) { 245 COMMON_MALLOC_MALLOC(new_size); 250 COMMON_MALLOC_REALLOC(ptr, new_size); 254 // this would require reading at most |new_size| bytes from
|
/freebsd-11-stable/contrib/binutils/ld/ |
H A D | lexsup.c | 1438 bfd_size_type new_size; local 1440 new_size = strtoul (optarg, NULL, 0); 1441 if (new_size) 1442 config.hash_table_size = new_size;
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_rx.c | 260 int new_size; local 275 new_size = 279 ring->actual_size, new_size); 292 while (ring->actual_size > new_size) {
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ |
H A D | ittnotify_static.h | 156 ITT_STUBV(ITTAPI, void, heap_reallocate_begin, (__itt_heap_function h, void* addr, size_t new_size, int initialized), (ITT_FORMAT h, addr, new_size, initialized), heap_reallocate_begin, __itt_group_heap, "%p, %p, %lu, %d") 157 ITT_STUBV(ITTAPI, void, heap_reallocate_end, (__itt_heap_function h, void* addr, void** new_addr, size_t new_size, int initialized), (ITT_FORMAT h, addr, new_addr, new_size, initialized), heap_reallocate_end, __itt_group_heap, "%p, %p, %p, %lu, %d")
|
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | traditional.c | 108 size_t new_size = (size + n) * 3 / 2; local 110 pfile->out.base = XRESIZEVEC (unsigned char, pfile->out.base, new_size); 111 pfile->out.limit = pfile->out.base + new_size;
|
H A D | expr.c | 1048 size_t new_size = old_size * 2 + 20; 1050 pfile->op_stack = XRESIZEVEC (struct op, pfile->op_stack, new_size); 1051 pfile->op_limit = pfile->op_stack + new_size; 1047 size_t new_size = old_size * 2 + 20; local
|
/freebsd-11-stable/sys/fs/ext2fs/ |
H A D | ext2_extattr.c | 773 int name_len, int new_size) 783 size += EXT2_EXTATTR_SIZE(new_size); 794 EXT2_EXTATTR_SIZE(new_size); 771 ext2_extattr_get_size(struct ext2fs_extattr_entry *first_entry, struct ext2fs_extattr_entry *exist_entry, int header_size, int name_len, int new_size) argument
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | DataExtractor.cpp | 305 size_t new_size = GetByteSize(); local 309 if (new_size == 0) 312 return new_size;
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_taskdeps.cpp | 73 size_t new_size = sizes[gen]; 76 new_size * sizeof(kmp_dephash_entry_t *) + sizeof(kmp_dephash_t); 84 h->size = new_size;
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/nvpair/ |
H A D | opensolaris_nvpair.c | 363 nvt_resize(nvpriv_t *priv, uint32_t new_size) argument 373 uint32_t new_mask = new_size - 1; 374 ASSERT(((new_size) & ((new_size) - 1)) == 0); 376 i_nvp_t **new_tab = nv_mem_zalloc(priv, new_size * sizeof (i_nvp_t *)); 403 priv->nvp_nbuckets = new_size;
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_rar.c | 2334 unsigned int new_size; local 2337 new_size = DICTIONARY_MAX_SIZE; 2339 new_size = rar_fls((unsigned int)rar->unp_size) << 1; 2340 if (new_size == 0) { 2345 new_window = realloc(rar->lzss.window, new_size); 2352 rar->dictionary_size = new_size;
|
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | dwarf2dbg.c | 1087 int old_size, new_size; 1090 new_size = dwarf2dbg_estimate_size_before_relax (frag); 1092 return new_size - old_size; 1083 int old_size, new_size; local
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_ucast_dfsssp.c | 499 uint32_t new_size = 0, start_size = 2; local 509 new_size = link->max_len << 1; 510 tmp = (uint32_t *) malloc(new_size * sizeof(uint32_t)); 518 link->max_len = new_size;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | PathDiagnostic.cpp | 216 const unsigned new_size = D->full_size(); local 217 if (orig_size <= new_size)
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 133 nm_os_realloc(void *addr, size_t new_size, size_t old_size __unused) argument 135 return realloc(addr, new_size, M_DEVBUF, M_NOWAIT | M_ZERO);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | http.c | 257 size_t new_size = 0, old_size = 0; local 267 if (replace_size > EV_SIZE_MAX - new_size) { 271 new_size += replace_size; 274 if (new_size == EV_SIZE_MAX) 276 p = escaped_html = mm_malloc(new_size + 1); 279 (unsigned long)(new_size + 1));
|