Home
last modified time | relevance | path

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

/openbsd-src/usr.bin/systat/
H A Dcpu.c150 int64_t *tmpstate; in cpu_info() local
156 tmpstate = cpu_states + (CPUSTATES * i); in cpu_info()
159 percentages(CPUSTATES, tmpstate, cpu_tm[i].cs_time, in cpu_info()
/openbsd-src/sys/dev/wscons/
H A Dwsemul_sun.c836 struct wsemul_inputstate tmpstate; in wsemul_sun_jump_scroll() local
840 tmpstate = kernel ? edp->kstate : edp->instate; /* structure copy */ in wsemul_sun_jump_scroll()
842 while (wsemul_getchar(&data, &count, &tmpstate, in wsemul_sun_jump_scroll()
849 if (tmpstate.inchar == ASCII_FF || in wsemul_sun_jump_scroll()
850 tmpstate.inchar == ASCII_VT || in wsemul_sun_jump_scroll()
851 tmpstate.inchar == ASCII_ESC) in wsemul_sun_jump_scroll()
854 switch (tmpstate.inchar) { in wsemul_sun_jump_scroll()
872 tmpstate.inchar = ASCII_LF; in wsemul_sun_jump_scroll()
876 if (tmpstate.inchar == ASCII_LF) { in wsemul_sun_jump_scroll()
H A Dwsemul_vt100.c1273 struct wsemul_inputstate tmpstate; in wsemul_vt100_jump_scroll()
1278 tmpstate = kernel ? edp->kstate : edp->instate; /* structure copy */ in wsemul_vt100_jump_scroll()
1280 while (wsemul_getchar(&data, &count, &tmpstate, in wsemul_vt100_jump_scroll()
1292 if (tmpstate.inchar == ASCII_ESC) in wsemul_vt100_jump_scroll()
1296 switch (tmpstate.inchar) { in wsemul_vt100_jump_scroll()
1317 if (!(tmpstate.inchar & ~0xff) && in wsemul_vt100_jump_scroll()
1318 (tmpstate.inchar & 0x7f) < 0x20) in wsemul_vt100_jump_scroll()
1322 tmpstate.inchar = ASCII_LF; in wsemul_vt100_jump_scroll()
1327 if (tmpstate.inchar == ASCII_LF || in wsemul_vt100_jump_scroll()
1328 tmpstate in wsemul_vt100_jump_scroll()
1269 struct wsemul_inputstate tmpstate; wsemul_vt100_jump_scroll() local
[all...]
/openbsd-src/usr.bin/top/
H A Dmachine.c256 int64_t *tmpstate; in get_system_info() local
261 tmpstate = cpu_states + (CPUSTATES * i); in get_system_info()
265 (void) percentages(CPUSTATES, tmpstate, cp_time[i].cs_time, in get_system_info()