Home
last modified time | relevance | path

Searched refs:new_length (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/gpl3/gdb/dist/gnulib/import/malloc/
H A Dscratch_buffer_set_array_size.c31 size_t new_length = nelem * size; in __libc_scratch_buffer_set_array_size() local
35 && nelem != 0 && size != new_length / nelem) in __libc_scratch_buffer_set_array_size()
45 if (new_length <= buffer->length) in __libc_scratch_buffer_set_array_size()
51 char *new_ptr = malloc (new_length); in __libc_scratch_buffer_set_array_size()
61 buffer->length = new_length; in __libc_scratch_buffer_set_array_size()
H A Dscratch_buffer_grow_preserve.c30 size_t new_length = 2 * buffer->length; in __libc_scratch_buffer_grow_preserve() local
37 new_ptr = malloc (new_length); in __libc_scratch_buffer_grow_preserve()
45 if (__glibc_likely (new_length >= buffer->length)) in __libc_scratch_buffer_grow_preserve()
46 new_ptr = realloc (buffer->data, new_length); in __libc_scratch_buffer_grow_preserve()
64 buffer->length = new_length; in __libc_scratch_buffer_grow_preserve()
H A Dscratch_buffer_grow.c30 size_t new_length = buffer->length * 2; in __libc_scratch_buffer_grow() local
36 if (__glibc_likely (new_length >= buffer->length)) in __libc_scratch_buffer_grow()
37 new_ptr = malloc (new_length); in __libc_scratch_buffer_grow()
53 buffer->length = new_length; in __libc_scratch_buffer_grow()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/
H A Dhistory.c275 int new_length; in add_history() local
294 new_length = history_length; in add_history()
308 new_length = 1; in add_history()
318 new_length = history_length + 1; in add_history()
324 the_history[new_length] = (HIST_ENTRY *)NULL; in add_history()
325 the_history[new_length - 1] = temp; in add_history()
326 history_length = new_length; in add_history()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dhistory.c275 int new_length; in add_history() local
294 new_length = history_length; in add_history()
308 new_length = 1; in add_history()
318 new_length = history_length + 1; in add_history()
324 the_history[new_length] = (HIST_ENTRY *)NULL; in add_history()
325 the_history[new_length - 1] = temp; in add_history()
326 history_length = new_length; in add_history()
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/
H A Dindex.c906 unsigned new_length = strlen (index->entry); in cm_printindex() local
908 if (new_length < 50) /* minimum length used below */ in cm_printindex()
909 new_length = 50; in cm_printindex()
910 new_length += strlen (index_node) + 7; /* * : .\n\0 */ in cm_printindex()
912 if (new_length > line_length) in cm_printindex()
914 line_length = new_length; in cm_printindex()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dfinal.cc1129 int new_length; in shorten_branches() local
1331 new_length = 0; in shorten_branches()
1358 new_length += inner_length; in shorten_branches()
1363 new_length = insn_current_length (insn); in shorten_branches()
1364 insn_current_address += new_length; in shorten_branches()
1369 tmp_length = new_length; in shorten_branches()
1370 ADJUST_INSN_LENGTH (insn, new_length); in shorten_branches()
1371 insn_current_address += (new_length - tmp_length); in shorten_branches()
1374 if (new_length != insn_lengths[uid] in shorten_branches()
1375 && (!increasing || new_length > insn_lengths[uid])) in shorten_branches()
[all …]
H A Dlra-lives.cc1404 unsigned new_length = get_max_uid () * 2; in lra_create_live_ranges_1() local
1406 point_freq_vec.reserve_exact (new_length); in lra_create_live_ranges_1()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dfinal.c1142 int new_length; in shorten_branches() local
1344 new_length = 0; in shorten_branches()
1371 new_length += inner_length; in shorten_branches()
1376 new_length = insn_current_length (insn); in shorten_branches()
1377 insn_current_address += new_length; in shorten_branches()
1382 tmp_length = new_length; in shorten_branches()
1383 ADJUST_INSN_LENGTH (insn, new_length); in shorten_branches()
1384 insn_current_address += (new_length - tmp_length); in shorten_branches()
1387 if (new_length != insn_lengths[uid] in shorten_branches()
1388 && (!increasing || new_length > insn_lengths[uid])) in shorten_branches()
[all …]
H A Dlra-lives.c1380 unsigned new_length = get_max_uid () * 2; in lra_create_live_ranges_1() local
1382 point_freq_vec.reserve_exact (new_length); in lra_create_live_ranges_1()
/netbsd-src/external/bsd/pdisk/dist/
H A Dpartition_map.c624 uint32_t new_length = 0; in add_partition_to_map() local
695 new_length = base - new_base; in add_partition_to_map()
697 adjusted_length = data->dpme_pblocks - (length + new_length); in add_partition_to_map()
727 data = create_data(kFreeName, kFreeType, new_base, new_length); in add_partition_to_map()
/netbsd-src/sbin/fsck_udf/
H A Dmain.c3444 int64_t fpos, new_length, rest_len; in udf_process_node_pass1() local
3457 udf_rebuild_fid_stream(node, &new_length); in udf_process_node_pass1()
3458 node->found.inf_len = new_length; in udf_process_node_pass1()
3459 rest_len = new_length; in udf_process_node_pass1()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/gp-display-html/
H A Dgp-display-html.in5458 my $new_length;
5461 $new_length = length ($first_metric);
5466 $new_length = length ($fields[0]);
5468 $max_length_first_metric = max ($max_length_first_metric, $new_length);
/netbsd-src/external/gpl3/binutils/dist/gprofng/gp-display-html/
H A Dgp-display-html.in6155 my $new_length;
6158 $new_length = length ($first_metric);
6163 $new_length = length ($fields[0]);
6165 $max_length_first_metric = max ($max_length_first_metric, $new_length);
/netbsd-src/external/gpl3/binutils/dist/gas/
H A DChangeLog-92959484 (pobegin): Make errtxt const. Make new_length, tmp_len and num
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A DChangeLog-92959484 (pobegin): Make errtxt const. Make new_length, tmp_len and num