Lines Matching refs:x
272 int x, y, ylo, yhi, xlo, xhi; in gdImageCreateFromGd2Ctx() local
345 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx()
347 if (!gdGetInt(&im->tpixels[y][x], in)) { in gdImageCreateFromGd2Ctx()
359 im->pixels[y][x] = ch; in gdImageCreateFromGd2Ctx()
363 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx()
370 im->tpixels[y][x] = a + r + g + b; in gdImageCreateFromGd2Ctx()
372 im->pixels[y][x] = chunkBuf[chunkPos++]; in gdImageCreateFromGd2Ctx()
438 int x, y, ylo, yhi, xlo, xhi; in gdImageCreateFromGd2PartCtx() local
580 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2PartCtx()
604 …if ((x >= srcx) && (x < (srcx + w)) && (x < fsx) && (x >= 0) && (y >= srcy) && (y < (srcy + h)) &&… in gdImageCreateFromGd2PartCtx()
606 im->tpixels[y - srcy][x - srcx] = ch; in gdImageCreateFromGd2PartCtx()
608 im->pixels[y - srcy][x - srcx] = ch; in gdImageCreateFromGd2PartCtx()
667 int x, y, ylo, yhi, xlo, xhi; in _gdImageGd2() local
761 for (x = xlo; x < xhi; x++) { in _gdImageGd2()
762 GD2_DBG(gd_error("%d...",x)); in _gdImageGd2()
764 int p = im->tpixels[y][x]; in _gdImageGd2()
770 chunkData[chunkLen++] = im->pixels[y][x]; in _gdImageGd2()
774 for (x = xlo; x < xhi; x++) { in _gdImageGd2()
775 GD2_DBG(gd_error("%d, ",x)); in _gdImageGd2()
778 gdPutInt(im->tpixels[y][x], out); in _gdImageGd2()
780 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd2()
811 for (x = 0; x < chunkNum; x++) { in _gdImageGd2()
812 GD2_DBG(gd_error("Chunk %d size %d offset %d", x, chunkIdx[x].size, chunkIdx[x].offset)); in _gdImageGd2()
813 gdPutInt(chunkIdx[x].offset, out); in _gdImageGd2()
814 gdPutInt(chunkIdx[x].size, out); in _gdImageGd2()