Home
last modified time | relevance | path

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

/freebsd/sys/dev/videomode/
H A Dpickmode.c119 int aspect, refresh, hbest, vbest, abest, atemp, rbest, rtemp; in sort_modes() local
171 atemp = (modes[i].hdisplay * 100 / modes[i].vdisplay); in sort_modes()
178 if (abs(abest - atemp) > (abest / 8) && in sort_modes()
179 abs(aspect - atemp) < abs(aspect - abest)) { in sort_modes()
180 abest = atemp; in sort_modes()
183 if (atemp == abest || in sort_modes()
184 abs(abest - atemp) <= (abest / 8)) { in sort_modes()
/freebsd/contrib/bc/src/
H A Dnum.c3879 BcNum atemp; in bc_num_irand() local
3891 atemp.num = NULL; in bc_num_irand()
3892 atemp.len = 0; in bc_num_irand()
3895 if (BC_ERR(bc_num_nonInt(a, &atemp))) bc_err(BC_ERR_MATH_NON_INTEGER); in bc_num_irand()
3897 assert(atemp.num != NULL); in bc_num_irand()
3898 assert(atemp.len); in bc_num_irand()
3900 if (atemp.len > 2) in bc_num_irand()
3904 len = atemp.len - 2; in bc_num_irand()
3924 if (i == atemp.len - 2) in bc_num_irand()
3931 if (atemp.num[i] != 1) in bc_num_irand()
[all …]