Searched refs:hist_lines (Results 1 – 5 of 5) sorted by relevance
82 static char hist_lines[HIST_MAX][HIST_SIZE + 1]; /* Save room for NULL */ variable96 hist_list[i] = hist_lines[i]; in hist_init()
1214 grub_uint32_t **old_hist_lines = hist_lines;1215 - hist_lines = grub_malloc (sizeof (grub_uint32_t *) * newsize);1216 + hist_lines = grub_calloc (newsize, sizeof (grub_uint32_t *));1223 grub_free (hist_lines[pos]);1224 - hist_lines[pos] = grub_malloc ((len + 1) * sizeof (grub_uint32_t));1225 + hist_lines[pos] = grub_calloc (len + 1, sizeof (grub_uint32_t));1226 if (!hist_lines[pos])