Lines Matching refs:match
120 int color, corners, match; in gdImageCropAuto() local
158 match = 1; in gdImageCropAuto()
159 for (y = 0; match && y < height; y++) { in gdImageCropAuto()
160 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
162 match = (color == c2); in gdImageCropAuto()
167 if (match) { in gdImageCropAuto()
173 match = 1; in gdImageCropAuto()
174 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto()
175 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
176 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
181 match = 1; in gdImageCropAuto()
182 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
183 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
184 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
189 match = 1; in gdImageCropAuto()
190 for (x = width - 1; match && x >= 0; x--) { in gdImageCropAuto()
191 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
192 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
228 int match; in gdImageCropThreshold() local
249 match = 1; in gdImageCropThreshold()
250 for (y = 0; match && y < height; y++) { in gdImageCropThreshold()
251 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
252 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
257 if (match) { in gdImageCropThreshold()
263 match = 1; in gdImageCropThreshold()
264 for (y = height - 1; match && y >= 0; y--) { in gdImageCropThreshold()
265 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
266 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; in gdImageCropThreshold()
271 match = 1; in gdImageCropThreshold()
272 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
273 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
274 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
279 match = 1; in gdImageCropThreshold()
280 for (x = width - 1; match && x >= 0; x--) { in gdImageCropThreshold()
281 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
282 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()