OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rint
(Results
1 - 13
of
13
) sorted by relevancy
/xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/
xf86gtf.c
140
h_pixels_rnd =
rint
((float) h_pixels / CELL_GRAN) * CELL_GRAN;
152
rint
((float) v_lines) / 2.0 :
rint
((float) v_lines);
169
top_margin = margins ?
rint
(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0);
179
margins ?
rint
(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0);
204
vsync_plus_bp =
rint
(MIN_VSYNC_PLUS_BP / h_period_est);
264
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
276
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
306
h_blank =
rint
(total_active_pixels *
344
rint
(H_SYNC_PERCENT / 100.0 * total_pixels / CELL_GRAN) * CELL_GRAN
[
all
...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/
xf86gtf.c
145
h_pixels_rnd =
rint
((float) h_pixels / CELL_GRAN) * CELL_GRAN;
157
rint
((float) v_lines) / 2.0 :
158
rint
((float) v_lines);
175
top_margin = margins ?
rint
(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0);
184
bottom_margin = margins ?
rint
(MARGIN_PERCENT/100.0 * v_lines_rnd) : (0.0);
209
vsync_plus_bp =
rint
(MIN_VSYNC_PLUS_BP/h_period_est);
267
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
279
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
309
h_blank =
rint
(total_active_pixels *
348
h_sync =
rint
(H_SYNC_PERCENT/100.0 * total_pixels / CELL_GRAN) * CELL_GRAN
[
all
...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/utils/gtf/
gtf.c
256
(int)
rint
(1000000.0/m->pclk),/* pixclock in picoseconds */
326
h_pixels_rnd =
rint
((float) h_pixels / CELL_GRAN) * CELL_GRAN;
341
rint
((float) v_lines) / 2.0 :
342
rint
((float) v_lines);
365
top_margin = margins ?
rint
(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0);
377
bottom_margin = margins ?
rint
(MARGIN_PERCENT/100.0 * v_lines_rnd) : (0.0);
411
vsync_plus_bp =
rint
(MIN_VSYNC_PLUS_BP/h_period_est);
490
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
505
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
544
h_blank =
rint
(total_active_pixels
[
all
...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/utils/gtf/
gtf.c
307
h_pixels_rnd =
rint
((float) h_pixels / CELL_GRAN) * CELL_GRAN;
321
rint
((float) v_lines) / 2.0 :
rint
((float) v_lines);
342
top_margin = margins ?
rint
(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0);
354
margins ?
rint
(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0);
385
vsync_plus_bp =
rint
(MIN_VSYNC_PLUS_BP / h_period_est);
457
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
471
rint
(h_pixels_rnd * MARGIN_PERCENT / 100.0 / CELL_GRAN) * CELL_GRAN :
507
h_blank =
rint
(total_active_pixels *
553
rint
(H_SYNC_PERCENT / 100.0 * total_pixels / CELL_GRAN) * CELL_GRAN
[
all
...]
/xsrc/external/mit/MesaLib/dist/src/util/
rounding.h
41
/* The C standard library has functions round()/
rint
()/nearbyint() that round
52
* We use
rint
() to implement these functions, with the assumption that the
87
return
rint
(x);
/xsrc/external/mit/MesaLib.old/dist/src/util/
rounding.h
42
/* The C standard library has functions round()/
rint
()/nearbyint() that round
53
* We use
rint
() to implement these functions, with the assumption that the
88
return
rint
(x);
/xsrc/external/mit/xf86-input-synaptics/dist/tools/
synclient.c
352
b[par->prop_offset] =
rint
(val);
362
n[par->prop_offset] =
rint
(val);
/xsrc/external/mit/bitmap/dist/
Graphics.c
52
#ifndef
rint
54
# define
rint
(x) lrint(x)
macro
56
# define
rint
(x) floor(x + 0.5)
macro
1541
width = max(
rint
(scale_x * src->width), 1);
1542
height = max(
rint
(scale_y * src->height), 1);
1560
table.x[x] =
rint
(scale_x * x);
1561
table.width[x] =
rint
(scale_x * (x + 1)) -
rint
(scale_x * x);
1564
table.y[y] =
rint
(scale_y * y);
1565
table.height[y] =
rint
(scale_y * (y + 1)) - rint(scale_y * y)
[
all
...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_emit_gk110.cpp
218
bool
rint
= false;
local
222
case ROUND_MI:
rint
= true; FALLTHROUGH; case ROUND_M: n = 1; break;
223
case ROUND_PI:
rint
= true; FALLTHROUGH; case ROUND_P: n = 2; break;
224
case ROUND_ZI:
rint
= true; FALLTHROUGH; case ROUND_Z: n = 3; break;
226
rint
= rnd == ROUND_NI;
232
if (
rint
&& rintPos >= 0)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_emit_gk110.cpp
220
bool
rint
= false;
local
224
case ROUND_MI:
rint
= true; /* fall through */ case ROUND_M: n = 1; break;
225
case ROUND_PI:
rint
= true; /* fall through */ case ROUND_P: n = 2; break;
226
case ROUND_ZI:
rint
= true; /* fall through */ case ROUND_Z: n = 3; break;
228
rint
= rnd == ROUND_NI;
234
if (
rint
&& rintPos >= 0)
/xsrc/external/mit/xf86-video-nv/dist/src/
g80_display.c
125
nb =
rint
(pclk * (1 << p) * (ma / (float)na) * mb / refclk);
185
n =
rint
(pclk * pl * m / refclk);
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
clc_compiler_test.cpp
1337
TEST_F(ComputeTest,
rint
)
1342
inout[get_global_id(0)] =
rint
(inout[get_global_id(0)]);\n\
/xsrc/external/mit/xf86-input-synaptics/dist/
configure
17747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for
rint
in -lm" >&5
17748
$as_echo_n "checking for
rint
in -lm... " >&6; }
17763
char
rint
();
17767
return
rint
();
Completed in 35 milliseconds
Indexes created Tue Jun 23 00:25:03 UTC 2026