Home
last modified time | relevance | path

Searched refs:long_array (Results 1 – 2 of 2) sorted by relevance

/imagick/
H A Dimagick_helpers.c336 im_long *long_array; in php_imagick_zval_to_long_array() local
351 long_array = ecalloc(*num_elements, sizeof(im_long)); in php_imagick_zval_to_long_array()
356 long_array[i] = zval_get_long(pzvalue); in php_imagick_zval_to_long_array()
379 long_array[i] = value; in php_imagick_zval_to_long_array()
383 return long_array; in php_imagick_zval_to_long_array()
H A Dimagick_class.c2372 im_long *long_array; in PHP_METHOD() local
2436 long_array = php_imagick_zval_to_long_array(pixels, &num_elements TSRMLS_CC); in PHP_METHOD()
2437 if (!long_array) { in PHP_METHOD()
2441 …atus = MagickImportImagePixels(intern->magick_wand, x, y, width, height, map, storage, long_array); in PHP_METHOD()
2442 efree(long_array); in PHP_METHOD()
2647 unsigned int *long_array; // The long pixel type is implemented in ImageMagick as 'unsigned int' in PHP_METHOD() local
2753 long_array = emalloc(map_size * sizeof(unsigned int)); in PHP_METHOD()
2754 …ickExportImagePixels(intern->magick_wand, x, y, width, height, map, LongPixel, (void *)long_array); in PHP_METHOD()
2759 add_next_index_long(return_value, long_array[i]); in PHP_METHOD()
2761 efree(long_array); in PHP_METHOD()

Completed in 38 milliseconds