Lines Matching refs:newcount
343 ensure_initial_alloc (struct format_arg_list *list, unsigned int newcount) in ensure_initial_alloc() argument
345 if (newcount > list->initial.allocated) in ensure_initial_alloc()
348 MAX (2 * list->initial.allocated + 1, newcount); in ensure_initial_alloc()
373 ensure_repeated_alloc (struct format_arg_list *list, unsigned int newcount) in ensure_repeated_alloc() argument
375 if (newcount > list->repeated.allocated) in ensure_repeated_alloc()
378 MAX (2 * list->repeated.allocated + 1, newcount); in ensure_repeated_alloc()
528 unsigned int newcount = list->repeated.count + 1; in normalize_outermost_list() local
529 ensure_repeated_alloc (list, newcount); in normalize_outermost_list()
530 for (i = newcount - 1; i > 0; i--) in normalize_outermost_list()
532 list->repeated.count = newcount; in normalize_outermost_list()
664 unsigned int newcount = list->repeated.count * m; in unfold_loop() local
665 ensure_repeated_alloc (list, newcount); in unfold_loop()
670 list->repeated.count = newcount; in unfold_loop()
688 unsigned int i, newcount; in rotate_loop() local
690 newcount = list->initial.count + 1; in rotate_loop()
691 ensure_initial_alloc (list, newcount); in rotate_loop()
695 list->initial.count = newcount; in rotate_loop()
724 unsigned int i, j, k, newcount; in rotate_loop() local
727 newcount = i + q * list->repeated.count + s + (t > 0 ? 1 : 0); in rotate_loop()
728 ensure_initial_alloc (list, newcount); in rotate_loop()
742 ASSERT (i == newcount); in rotate_loop()
743 list->initial.count = newcount; in rotate_loop()
757 unsigned int i, j, oldcount, newcount; in rotate_loop() local
761 newcount = list->repeated.count + (t > 0 ? 1 : 0); in rotate_loop()
764 xmalloc (newcount * sizeof (struct format_arg)); in rotate_loop()
793 unsigned int newcount; in initial_splitelement() local
818 newcount = list->initial.count + 1; in initial_splitelement()
819 ensure_initial_alloc (list, newcount); in initial_splitelement()
825 list->initial.count = newcount; in initial_splitelement()
868 unsigned int newcount = in initial_unshare() local
870 ensure_initial_alloc (list, newcount); in initial_unshare()
901 list->initial.count = newcount; in initial_unshare()
1055 unsigned int i, j, newcount; in append_repeated_to_initial() local
1057 newcount = list->initial.count + list->repeated.count; in append_repeated_to_initial()
1058 ensure_initial_alloc (list, newcount); in append_repeated_to_initial()
1062 list->initial.count = newcount; in append_repeated_to_initial()
2100 unsigned int p, n, i, si, ti, j, sj, tj, splitindex, newcount; in make_repeated_list() local
2273 newcount = list->initial.count - splitindex; in make_repeated_list()
2274 if (newcount > list->repeated.allocated) in make_repeated_list()
2276 list->repeated.allocated = newcount; in make_repeated_list()
2278 (struct format_arg *) xmalloc (newcount * sizeof (struct format_arg)); in make_repeated_list()
2282 list->repeated.count = newcount; in make_repeated_list()