Lines Matching refs:match
85 int color, match; in gdImageCropAuto() local
120 match = 1; in gdImageCropAuto()
121 for (y = 0; match && y < height; y++) { in gdImageCropAuto()
122 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
124 match = (color == c2); in gdImageCropAuto()
129 if (match) { in gdImageCropAuto()
135 match = 1; in gdImageCropAuto()
136 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto()
137 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
138 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
143 match = 1; in gdImageCropAuto()
144 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
145 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
146 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
151 match = 1; in gdImageCropAuto()
152 for (x = width - 1; match && x >= 0; x--) { in gdImageCropAuto()
153 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
154 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
187 int match; in gdImageCropThreshold() local
208 match = 1; in gdImageCropThreshold()
209 for (y = 0; match && y < height; y++) { in gdImageCropThreshold()
210 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
211 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
216 if (match) { in gdImageCropThreshold()
222 match = 1; in gdImageCropThreshold()
223 for (y = height - 1; match && y >= 0; y--) { in gdImageCropThreshold()
224 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
225 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; in gdImageCropThreshold()
230 match = 1; in gdImageCropThreshold()
231 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
232 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
233 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
238 match = 1; in gdImageCropThreshold()
239 for (x = width - 1; match && x >= 0; x--) { in gdImageCropThreshold()
240 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
241 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()