Home
last modified time | relevance | path

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

/dragonfly/usr.bin/top/
H A Ddisplay.c123 #define lineindex(l) ((l)*MAX_COLS) macro
268 bufp = &screenbuf[lineindex(curr_y) + curr_x]; in display_move()
269 colorp = &colorbuf[lineindex(curr_y) + curr_x]; in display_move()
379 bufp = &screenbuf[lineindex(y) + x]; in display_write()
380 colorp = &colorbuf[lineindex(y) + x]; in display_write()
474 p = &screenbuf[lineindex(virt_y) + virt_x]; in display_cte()
485 if (screenbuf[lineindex(y)] != '\0') in display_cte()
498 len = lineindex(virt_y) + virt_x; in display_cte()
514 p = &screenbuf[lineindex(virt_y)]; in display_cte()
/dragonfly/contrib/file/src/
H A Dapprentice.c1154 uint32_t magindex, descindex, mimeindex, lineindex; in apprentice_list() local
1171 lineindex = descindex = mimeindex = magindex; in apprentice_list()
1184 ml->magic[lineindex].lineno, in apprentice_list()