Lines Matching refs:newcount

346 ensure_initial_alloc (struct format_arg_list *list, unsigned int newcount)  in ensure_initial_alloc()  argument
348 if (newcount > list->initial.allocated) in ensure_initial_alloc()
351 MAX (2 * list->initial.allocated + 1, newcount); in ensure_initial_alloc()
376 ensure_repeated_alloc (struct format_arg_list *list, unsigned int newcount) in ensure_repeated_alloc() argument
378 if (newcount > list->repeated.allocated) in ensure_repeated_alloc()
381 MAX (2 * list->repeated.allocated + 1, newcount); in ensure_repeated_alloc()
531 unsigned int newcount = list->repeated.count + 1; in normalize_outermost_list() local
532 ensure_repeated_alloc (list, newcount); in normalize_outermost_list()
533 for (i = newcount - 1; i > 0; i--) in normalize_outermost_list()
535 list->repeated.count = newcount; in normalize_outermost_list()
667 unsigned int newcount = list->repeated.count * m; in unfold_loop() local
668 ensure_repeated_alloc (list, newcount); in unfold_loop()
673 list->repeated.count = newcount; in unfold_loop()
691 unsigned int i, newcount; in rotate_loop() local
693 newcount = list->initial.count + 1; in rotate_loop()
694 ensure_initial_alloc (list, newcount); in rotate_loop()
698 list->initial.count = newcount; in rotate_loop()
727 unsigned int i, j, k, newcount; in rotate_loop() local
730 newcount = i + q * list->repeated.count + s + (t > 0 ? 1 : 0); in rotate_loop()
731 ensure_initial_alloc (list, newcount); in rotate_loop()
745 ASSERT (i == newcount); in rotate_loop()
746 list->initial.count = newcount; in rotate_loop()
760 unsigned int i, j, oldcount, newcount; in rotate_loop() local
764 newcount = list->repeated.count + (t > 0 ? 1 : 0); in rotate_loop()
767 xmalloc (newcount * sizeof (struct format_arg)); in rotate_loop()
796 unsigned int newcount; in initial_splitelement() local
821 newcount = list->initial.count + 1; in initial_splitelement()
822 ensure_initial_alloc (list, newcount); in initial_splitelement()
828 list->initial.count = newcount; in initial_splitelement()
871 unsigned int newcount = in initial_unshare() local
873 ensure_initial_alloc (list, newcount); in initial_unshare()
904 list->initial.count = newcount; in initial_unshare()
1068 unsigned int i, j, newcount; in append_repeated_to_initial() local
1070 newcount = list->initial.count + list->repeated.count; in append_repeated_to_initial()
1071 ensure_initial_alloc (list, newcount); in append_repeated_to_initial()
1075 list->initial.count = newcount; in append_repeated_to_initial()
2123 unsigned int p, n, i, si, ti, j, sj, tj, splitindex, newcount; in make_repeated_list() local
2296 newcount = list->initial.count - splitindex; in make_repeated_list()
2297 if (newcount > list->repeated.allocated) in make_repeated_list()
2299 list->repeated.allocated = newcount; in make_repeated_list()
2301 (struct format_arg *) xmalloc (newcount * sizeof (struct format_arg)); in make_repeated_list()
2305 list->repeated.count = newcount; in make_repeated_list()