Home
last modified time | relevance | path

Searched refs:SGN (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_acc.c241 ACCW(SGN, 0); in SCREEN_TO_SCREEN_BLIT()
248 ACCW(SGN, 4); in SCREEN_TO_SCREEN_BLIT()
255 ACCW(SGN, 1); in SCREEN_TO_SCREEN_BLIT()
262 ACCW(SGN, 5); in SCREEN_TO_SCREEN_BLIT()
308 ACCW(SGN, 0); in SCREEN_TO_SCREEN_TRANSPARENT_BLIT()
315 ACCW(SGN, 4); in SCREEN_TO_SCREEN_TRANSPARENT_BLIT()
322 ACCW(SGN, 1); in SCREEN_TO_SCREEN_TRANSPARENT_BLIT()
329 ACCW(SGN, 5); in SCREEN_TO_SCREEN_TRANSPARENT_BLIT()
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_timers.c111 #define SGN(x) ((x) < 0 ? (-1) : (x) > 0 ? (1) : (0)); in evCmpTime() macro
116 return SGN(s); in evCmpTime()
119 return SGN(n); in evCmpTime()
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp439 #define SGN(x) (((x)<0) ? -1 : 1) in draw_line() macro
441 dx=x2-x1; ax=ABS(dx)<<1; sx=SGN(dx); in draw_line()
442 dy=y2-y1; ay=ABS(dy)<<1; sy=SGN(dy); in draw_line()