Lines Matching refs:stack_idx
1065 int i, stack_idx, error, stacks_to_allocate;
1091 for (stack_idx = 0; stack_idx < stacks_to_allocate;
1092 stack_idx++)
1093 st[stack_idx] = stack_create();
1098 for (stack_idx = 0; stack_idx < stacks_to_allocate;
1099 stack_idx++)
1100 td_infos[stack_idx] = sbuf_new(NULL, NULL,
1114 stack_idx = 0;
1118 if (stack_idx >= stacks_to_allocate)
1122 stack_save_td(st[stack_idx], td);
1124 sbuf_printf(td_infos[stack_idx], "%d: %s %p",
1127 ++stack_idx;
1134 for (i = 0; i < stack_idx; i++) {
1142 *count_stacks_printed = stack_idx;
1148 for (stack_idx = 0; stack_idx < stacks_to_allocate;
1149 stack_idx++)
1150 stack_destroy(st[stack_idx]);
1151 for (stack_idx = 0; stack_idx < stacks_to_allocate;
1152 stack_idx++)
1153 sbuf_delete(td_infos[stack_idx]);