Lines Matching refs:g
63 long g; /* decision variable */
297 g = x2 - 1;
298 g = g * g * hs + 4 * ws - whs;
303 g += ws * 4 * (y2 + 1);
305 if (g > 0) /* Need to drop */
308 g -= hs * 4 * x2;
331 g = y2 - 1;
332 g = g * g * ws + 4 * hs - whs;
337 g += hs * 4 * (x2 + 1);
339 if (g > 0) /* Need to drop */
342 g -= ws * 4 * y2;
414 g = x2 - 1;
415 g = g * g * hs + 4 * ws - whs;
423 g += ws * 4 * (y2 + 1);
425 if (g > 0) /* Need to drop */
428 g -= hs * 4 * x2;
441 g += ws * 4 * (y2 + 1);
443 if (g > 0) /* Need to drop */
446 g -= hs * 4 * x2;
479 g = y2 - 1;
480 g = g * g * ws + 4 * hs - whs;
485 g += hs * 4 * (x2 + 1);
487 if (g > 0) /* Need to drop */
490 g -= ws * 4 * y2;
506 g += hs * 4 * (x2 + 1);
508 if (g > 0) /* Need to drop */
511 g -= ws * 4 * y2;
555 long g; /* decision variable */
636 g = x2 - 1;
637 g = g * g * hs + 4 * ws - whs;
642 g += ws * 4 * (y2 + 1);
644 if (g > 0) /* Need to drop */
647 g -= hs * 4 * x2;
663 g = y2 - 1;
664 g = g * g * ws + 4 * hs - whs;
669 g += hs * 4 * (x2 + 1);
671 if (g > 0) /* Need to drop */
674 g -= ws * 4 * y2;