HelenOS sources
fits_in 346 uspace/app/tetris/tetris.c if (fits_in(curshape, pos + B_COLS)) {
fits_in 367 uspace/app/tetris/tetris.c if (!fits_in(curshape, pos))
fits_in 401 uspace/app/tetris/tetris.c if (fits_in(curshape, pos - 1))
fits_in 411 uspace/app/tetris/tetris.c if (fits_in(new, pos))
fits_in 418 uspace/app/tetris/tetris.c if (fits_in(curshape, pos + 1))
fits_in 425 uspace/app/tetris/tetris.c while (fits_in(curshape, pos + B_COLS)) {
fits_in 196 uspace/app/tetris/tetris.h extern int fits_in(const struct shape *, int);
fits_in 338 uspace/dist/src/c/demos/tetris/tetris.c if (fits_in(curshape, pos + B_COLS)) {
fits_in 359 uspace/dist/src/c/demos/tetris/tetris.c if (!fits_in(curshape, pos))
fits_in 393 uspace/dist/src/c/demos/tetris/tetris.c if (fits_in(curshape, pos - 1))
fits_in 403 uspace/dist/src/c/demos/tetris/tetris.c if (fits_in(new, pos))
fits_in 410 uspace/dist/src/c/demos/tetris/tetris.c if (fits_in(curshape, pos + 1))
fits_in 417 uspace/dist/src/c/demos/tetris/tetris.c while (fits_in(curshape, pos + B_COLS)) {
fits_in 196 uspace/dist/src/c/demos/tetris/tetris.h extern errno_t fits_in(const struct shape *, int);
HelenOS homepage, sources at GitHub