Home
last modified time | relevance | path

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

/imagick/
H A Dimagick_helpers.c388 unsigned char *char_array; in php_imagick_zval_to_char_array() local
403 char_array = ecalloc(*num_elements, sizeof(unsigned char)); in php_imagick_zval_to_char_array()
408 char_array[i] = zval_get_long(pzvalue); in php_imagick_zval_to_char_array()
430 char_array[i] = value; in php_imagick_zval_to_char_array()
434 return char_array; in php_imagick_zval_to_char_array()
H A Dimagick_class.c2373 unsigned char *char_array; in PHP_METHOD() local
2446 char_array = php_imagick_zval_to_char_array(pixels, &num_elements TSRMLS_CC); in PHP_METHOD()
2447 if (!char_array) { in PHP_METHOD()
2451 …atus = MagickImportImagePixels(intern->magick_wand, x, y, width, height, map, storage, char_array); in PHP_METHOD()
2452 efree(char_array); in PHP_METHOD()
2645 unsigned char *char_array; in PHP_METHOD() local
2767 char_array = emalloc(map_size * sizeof(char)); in PHP_METHOD()
2768 …ickExportImagePixels(intern->magick_wand, x, y, width, height, map, CharPixel, (void *)char_array); in PHP_METHOD()
2773 add_next_index_long(return_value, (int)char_array[i]); in PHP_METHOD()
2775 efree(char_array); in PHP_METHOD()

Completed in 45 milliseconds