Lines Matching defs:stride
243 int width, height, stride;
294 stride = width * PIXMAN_FORMAT_BPP (format) + prng_rand_n (17);
295 stride = (stride + 3) & (~3);
296 bits = (uint32_t *)make_random_bytes (height * stride);
300 stride = 0;
305 stride = width * PIXMAN_FORMAT_BPP (format) + prng_rand_n (17);
306 stride = (stride + 3) & (~3);
307 bits = fence_malloc (height * stride);
310 memset (bits, 0, height * stride);
314 stride = width * PIXMAN_FORMAT_BPP (format) + prng_rand_n (17);
315 stride = (stride + 3) & (~3);
316 bits = fence_malloc (height * stride);
319 memset (bits, 0xff, height * stride);
323 stride = 232;
330 stride = width * PIXMAN_FORMAT_BPP (format) + prng_rand_n (17);
331 stride = (stride + 3) & (~3);
332 bits = fence_malloc (height * stride);
335 memset (bits, 0xff, height * stride);
340 case 6: /* bits is a real pointer, stride is negative */
341 stride = (width * PIXMAN_FORMAT_BPP (format) + prng_rand_n (17));
342 stride = (stride + 3) & (~3);
343 bits = (uint32_t *)make_random_bytes (height * stride);
346 bits += ((height - 1) * stride) / 4;
347 stride = - stride;
378 image = pixman_image_create_bits (format, width, height, bits, stride);