Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/tnf/tnfdump/
H A Dtable.c39 static entry_t *table_start = NULL; /* start of table */ variable
53 if (table_start == NULL) { in table_grow()
55 table_start = malloc(table_size * sizeof (struct entry)); in table_grow()
56 if (table_start == NULL) in table_grow()
61 temp = realloc(table_start, table_size * sizeof (struct entry)); in table_grow()
64 table_start = temp; in table_grow()
91 table_start[table_cur++] = *element; in table_insert()
103 qsort(table_start, table_cur, sizeof (struct entry), &timecompare); in table_sort()
112 print_elem(&(table_start[i])); in table_print()
120 return (&(table_start[n])); in table_get_entry_indexed()