HelenOS sources
gfx_coord_div_rneg 240 uspace/app/fontedit/fontedit.c x = gfx_coord_div_rneg(pos.x - glyph_orig_x -
gfx_coord_div_rneg 242 uspace/app/fontedit/fontedit.c y = gfx_coord_div_rneg(pos.y - glyph_orig_y -
gfx_coord_div_rneg 42 uspace/lib/gfx/include/gfx/coord.h extern gfx_coord_t gfx_coord_div_rneg(gfx_coord_t, gfx_coord_t);
gfx_coord_div_rneg 39 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(-3, gfx_coord_div_rneg(-7, 3));
gfx_coord_div_rneg 40 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(-2, gfx_coord_div_rneg(-6, 3));
gfx_coord_div_rneg 41 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(-2, gfx_coord_div_rneg(-5, 3));
gfx_coord_div_rneg 42 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(-2, gfx_coord_div_rneg(-4, 3));
gfx_coord_div_rneg 43 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(-1, gfx_coord_div_rneg(-3, 3));
gfx_coord_div_rneg 44 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(-1, gfx_coord_div_rneg(-2, 3));
gfx_coord_div_rneg 45 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(-1, gfx_coord_div_rneg(-1, 3));
gfx_coord_div_rneg 46 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(0, gfx_coord_div_rneg(0, 3));
gfx_coord_div_rneg 47 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(0, gfx_coord_div_rneg(1, 3));
gfx_coord_div_rneg 48 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(0, gfx_coord_div_rneg(2, 3));
gfx_coord_div_rneg 49 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(1, gfx_coord_div_rneg(3, 3));
gfx_coord_div_rneg 50 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(1, gfx_coord_div_rneg(4, 3));
gfx_coord_div_rneg 51 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(1, gfx_coord_div_rneg(5, 3));
gfx_coord_div_rneg 52 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(2, gfx_coord_div_rneg(6, 3));
HelenOS homepage, sources at GitHub