Lines Matching refs:ntop
162 int ntop; member
201 #define ntop (G.ntop ) macro
366 new_hist = xmalloc(sizeof(new_hist[0]) * ntop); in do_stats()
372 for (n = 0; n < ntop; n++) { in do_stats()
405 prev_hist_count = ntop; in do_stats()
688 if (lines_rem > ntop - G_scroll_ofs)
689 lines_rem = ntop - G_scroll_ofs;
851 if (lines_rem > ntop - G_scroll_ofs)
852 lines_rem = ntop - G_scroll_ofs;
942 G_scroll_ofs = ntop - G.lines / 2;
952 if (G_scroll_ofs >= ntop)
953 G_scroll_ofs = ntop - 1;
1197 ntop = 0;
1202 n = ntop;
1203 top = xrealloc_vector(top, 6, ntop++);
1221 n = ntop;
1223 top = xrealloc_vector(topmem, 6, ntop++);
1236 if (ntop == 0) {
1251 qsort(top, ntop, sizeof(top_status_t), (void*)mult_lvl_cmp);
1253 qsort(top, ntop, sizeof(top_status_t), (void*)(sort_function[0]));
1258 qsort(topmem, ntop, sizeof(topmem_status_t), (void*)topmem_sort);