/external/ImageMagick/MagickCore/ |
D | segment.c | 326 cluster->next=(Cluster *) AcquireQuantumMemory(1, in Classify() 332 cluster=(Cluster *) AcquireQuantumMemory(1,sizeof(*cluster)); in Classify() 353 cluster=(Cluster *) AcquireQuantumMemory(1,sizeof(*cluster)); in Classify() 518 squares=(double *) AcquireQuantumMemory(513UL,sizeof(*squares)); in Classify() 982 histogram[i]=(ssize_t *) AcquireQuantumMemory(256UL,sizeof(**histogram)); in GetImageDynamicThreshold() 983 extrema[i]=(short *) AcquireQuantumMemory(256UL,sizeof(**histogram)); in GetImageDynamicThreshold() 1027 cluster->next=(Cluster *) AcquireQuantumMemory(1, in GetImageDynamicThreshold() 1033 cluster=(Cluster *) AcquireQuantumMemory(1,sizeof(*cluster)); in GetImageDynamicThreshold() 1059 cluster=(Cluster *) AcquireQuantumMemory(1,sizeof(*cluster)); in GetImageDynamicThreshold() 1362 list=(IntervalTree **) AcquireQuantumMemory((size_t) TreeLength, in InitializeIntervalTree() [all …]
|
D | string.c | 107 destination=(char *) AcquireQuantumMemory(length+MagickPathExtent, in AcquireString() 159 string_info->datum=(unsigned char *) AcquireQuantumMemory( in AcquireStringInfo() 202 string_info->datum=(unsigned char *) AcquireQuantumMemory(length+ in BlobToStringInfo() 591 string=(char *) AcquireQuantumMemory(length+MagickPathExtent, in ConfigureFileToStringInfo() 679 destination=(char *) AcquireQuantumMemory(length+1UL,sizeof(*destination)); in ConstantString() 910 destination=(char *) AcquireQuantumMemory(length+MagickPathExtent, in EscapeString() 1709 string_info->datum=(unsigned char *) AcquireQuantumMemory(length+ in SetStringInfoLength() 1855 string=(char *) AcquireQuantumMemory(length+MagickPathExtent, in StringInfoToString() 1909 string=(char *) AcquireQuantumMemory(length+MagickPathExtent,2* in StringInfoToHexString() 2008 argv=(char **) AcquireQuantumMemory((size_t) (*argc+1UL),sizeof(*argv)); in StringToArgv() [all …]
|
D | utility-private.h | 83 longPath=(wchar_t *) AcquireQuantumMemory(count,sizeof(*longPath)); in create_wchar_path() 92 wideChar=(wchar_t *) AcquireQuantumMemory(count-3,sizeof(*wideChar)); in create_wchar_path() 96 wideChar=(wchar_t *) AcquireQuantumMemory(count,sizeof(*wideChar)); in create_wchar_path() 221 command_wide=(wchar_t *) AcquireQuantumMemory(length,sizeof(*command_wide)); in popen_utf8()
|
D | compress.c | 453 mb_hash=(HuffmanTable **) AcquireQuantumMemory(HashSize,sizeof(*mb_hash)); in HuffmanDecodeImage() 454 mw_hash=(HuffmanTable **) AcquireQuantumMemory(HashSize,sizeof(*mw_hash)); in HuffmanDecodeImage() 455 scanline=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, in HuffmanDecodeImage() 758 scanline=(unsigned char *) AcquireQuantumMemory((size_t) width+1UL, in HuffmanEncodeImage() 969 table=(TableType *) AcquireQuantumMemory(1UL << 12,sizeof(*table)); in LZWEncodeImage() 1105 packbits=(unsigned char *) AcquireQuantumMemory(128UL,sizeof(*packbits)); in PackbitsEncodeImage() 1227 return((voidpf) AcquireQuantumMemory(items,size)); in AcquireZIPMemory() 1259 compress_pixels=(unsigned char *) AcquireQuantumMemory(compress_packets, in ZLIBEncodeImage()
|
D | utility.c | 225 buffer=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*buffer)); in AcquireUniqueSymbolicLink() 365 decode=(unsigned char *) AcquireQuantumMemory((strlen(source)+3)/4, in Base64Decode() 521 encode=(char *) AcquireQuantumMemory(blob_length/3+4,4*sizeof(*encode)); in Base64Encode() 771 vector=(char **) AcquireQuantumMemory((size_t) (*number_arguments+1), in ExpandFilenames() 1086 program_name=AcquireQuantumMemory(extent,sizeof(*program_name)); in GetExecutionPath() 1450 components=(char **) AcquireQuantumMemory((size_t) *number_components+1UL, in GetPathComponents() 1460 components[i]=(char *) AcquireQuantumMemory((size_t) (q-p)+MagickPathExtent, in GetPathComponents() 1642 filelist=(char **) AcquireQuantumMemory((size_t) max_entries, in ListFiles()
|
D | matrix.c | 328 matrix=(double **) AcquireQuantumMemory(number_rows,sizeof(*matrix)); in AcquireMagickMatrix() 333 matrix[i]=(double *) AcquireQuantumMemory(size,sizeof(*matrix[i])); in AcquireMagickMatrix() 510 columns=(ssize_t *) AcquireQuantumMemory(rank,sizeof(*columns)); in GaussJordanElimination() 511 rows=(ssize_t *) AcquireQuantumMemory(rank,sizeof(*rows)); in GaussJordanElimination() 512 pivots=(ssize_t *) AcquireQuantumMemory(rank,sizeof(*pivots)); in GaussJordanElimination()
|
D | random-private.h | 64 random_info=(RandomInfo **) AcquireQuantumMemory(number_threads, in AcquireRandomInfoThreadSet()
|
D | resample-private.h | 55 filter=(ResampleFilter **) AcquireQuantumMemory(number_threads, in AcquireResampleFilterThreadSet()
|
D | colormap.c | 127 image->colormap=(PixelInfo *) AcquireQuantumMemory(image->colors+1, in AcquireImageColormap() 324 pixels=(unsigned short *) AcquireQuantumMemory((size_t) image->colors, in SortColormapByIntensity()
|
D | memory_.h | 51 *AcquireQuantumMemory(const size_t,const size_t)
|
D | nt-base.c | 187 utf8=(char *) AcquireQuantumMemory(count+1,sizeof(*utf8)); in create_utf8_string() 260 wide_path=(wchar_t *) AcquireQuantumMemory(MagickPathExtent, in DllMain() 277 path=(char *) AcquireQuantumMemory(MagickPathExtent,16*sizeof(*path)); in DllMain() 293 variable=(char *) AcquireQuantumMemory(MagickPathExtent, in DllMain() 426 utf8=(char **) AcquireQuantumMemory(argc,sizeof(*utf8)); in NTArgvToUTF8() 2058 value=(unsigned char *) AcquireQuantumMemory(size,sizeof(*value)); in NTRegistryKeyLookup() 2205 blob=(unsigned char *) AcquireQuantumMemory(length+MagickPathExtent, in NTResourceToBlob()
|
/external/ImageMagick/coders/ |
D | meta.c | 340 line = (char *) AcquireQuantumMemory(inputlen,sizeof(*line)); in parse8BIM() 351 token=(char *) AcquireQuantumMemory(inputlen,sizeof(*token)); in parse8BIM() 354 newstr=(char *) AcquireQuantumMemory(inputlen,sizeof(*newstr)); in parse8BIM() 387 name=(char *) AcquireQuantumMemory(strlen(newstr)+MagickPathExtent, in parse8BIM() 658 line=(char *) AcquireQuantumMemory(inputlen,sizeof(*line)); in parse8BIMW() 669 token=(char *) AcquireQuantumMemory(inputlen,sizeof(*token)); in parse8BIMW() 672 newstr=(char *) AcquireQuantumMemory(inputlen,sizeof(*newstr)); in parse8BIMW() 705 name=(char *) AcquireQuantumMemory(strlen(newstr)+MagickPathExtent, in parse8BIMW() 1160 buffer=(unsigned char *) AcquireQuantumMemory(MagickMaxBufferExtent, in CopyBlob() 1234 blob=(unsigned char *) AcquireQuantumMemory(length,sizeof(unsigned char)); in ReadMETAImage() [all …]
|
D | jxl.c | 89 data=(unsigned char *) AcquireQuantumMemory(size,sizeof(*data)); in JXLAcquireMemory() 259 input_buffer=AcquireQuantumMemory(input_size,sizeof(*input_buffer)); in ReadJXLImage() 358 output_buffer=AcquireQuantumMemory(output_size,sizeof(*output_buffer)); in ReadJXLImage() 595 input_buffer=AcquireQuantumMemory(bytes_per_row,image->rows* in WriteJXLImage() 621 output_buffer=AcquireQuantumMemory(MagickMaxBufferExtent, in WriteJXLImage()
|
D | map.c | 165 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* in ReadMAPImage() 168 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size* in ReadMAPImage() 399 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* in WriteMAPImage() 402 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size* in WriteMAPImage()
|
D | gif.c | 221 lzw_info->table[0]=(size_t *) AcquireQuantumMemory(MaximumLZWCode, in AcquireLZWInfo() 223 lzw_info->table[1]=(size_t *) AcquireQuantumMemory(MaximumLZWCode, in AcquireLZWInfo() 253 lzw_info->stack->codes=(size_t *) AcquireQuantumMemory(2UL* in AcquireLZWInfo() 614 packet=(unsigned char *) AcquireQuantumMemory(256,sizeof(*packet)); in EncodeImage() 615 hash_code=(short *) AcquireQuantumMemory(MaxHashTable,sizeof(*hash_code)); in EncodeImage() 616 hash_prefix=(short *) AcquireQuantumMemory(MaxHashTable,sizeof(*hash_prefix)); in EncodeImage() 617 hash_suffix=(unsigned char *) AcquireQuantumMemory(MaxHashTable, in EncodeImage() 1040 global_colormap=(unsigned char *) AcquireQuantumMemory((size_t) in ReadGIFImage() 1173 info=(unsigned char *) AcquireQuantumMemory((size_t) in ReadGIFImage() 1317 colormap=(unsigned char *) AcquireQuantumMemory((size_t) in ReadGIFImage() [all …]
|
D | sixel.c | 269 imbuf=(sixel_pixel_t *) AcquireQuantumMemory(imsx,imsy* in sixel_decode() 374 dmbuf = (sixel_pixel_t *) AcquireQuantumMemory(dmsx,dmsy*sizeof(sixel_pixel_t)); in sixel_decode() 452 dmbuf = (sixel_pixel_t *) AcquireQuantumMemory(dmsx, dmsy*sizeof(sixel_pixel_t)); in sixel_decode() 554 … if ((dmbuf = (sixel_pixel_t *) AcquireQuantumMemory(dmsx,dmsy*sizeof(sixel_pixel_t))) == NULL) { in sixel_decode() 571 *palette = (unsigned char *) AcquireQuantumMemory(*ncolors,4); in sixel_decode() 587 …output = (sixel_output_t *) AcquireQuantumMemory(sizeof(sixel_output_t) + SIXEL_OUTPUT_PACKET_SIZE… in sixel_output_create() 742 if ((map = (sixel_pixel_t *)AcquireQuantumMemory(len, sizeof(sixel_pixel_t))) == NULL) { in sixel_encode_impl() 1039 sixel_buffer=(char *) AcquireQuantumMemory((size_t) length+MagickPathExtent, in ReadSIXELImage() 1338 sixel_pixels=(sixel_pixel_t *) AcquireQuantumMemory(image->columns, in WriteSIXELImage()
|
D | hrz.c | 148 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,3* in ReadHRZImage() 318 pixels=(unsigned char *) AcquireQuantumMemory((size_t) hrz_image->columns, in WriteHRZImage()
|
D | sun.c | 363 sun_colormap=(unsigned char *) AcquireQuantumMemory(image->colors, in ReadSUNImage() 405 sun_colormap=(unsigned char *) AcquireQuantumMemory(sun_info.maplength, in ReadSUNImage() 440 sun_data=(unsigned char *) AcquireQuantumMemory(sun_info.length, in ReadSUNImage() 472 sun_pixels=(unsigned char *) AcquireQuantumMemory(pixels_length+image->rows, in ReadSUNImage() 912 pixels=(unsigned char *) AcquireQuantumMemory(length,4*sizeof(*pixels)); in WriteSUNImage()
|
D | xwd.c | 326 comment=(char *) AcquireQuantumMemory(length+1,sizeof(*comment)); in ReadXWDImage() 394 colors=(XColor *) AcquireQuantumMemory(length,sizeof(*colors)); in ReadXWDImage() 456 ximage->data=(char *) AcquireQuantumMemory(length,sizeof(*ximage->data)); in ReadXWDImage() 877 colors=(XColor *) AcquireQuantumMemory((size_t) image->colors, in WriteXWDImage() 919 pixels=(unsigned char *) AcquireQuantumMemory(length,sizeof(*pixels)); in WriteXWDImage()
|
D | mtv.c | 168 pixels=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadMTVImage() 382 pixels=(unsigned char *) AcquireQuantumMemory(image->columns, in WriteMTVImage()
|
D | aai.c | 165 pixels=(unsigned char *) AcquireQuantumMemory(image->columns, in ReadAAIImage() 383 pixels=(unsigned char *) AcquireQuantumMemory(image->columns, in WriteAAIImage()
|
D | pcl.c | 805 pixels=(unsigned char *) AcquireQuantumMemory(length+1,sizeof(*pixels)); in WritePCLImage() 825 compress_pixels=(unsigned char *) AcquireQuantumMemory(length+256, in WritePCLImage() 840 compress_pixels=(unsigned char *) AcquireQuantumMemory(3*length+256, in WritePCLImage() 849 previous_pixels=(unsigned char *) AcquireQuantumMemory(length+1, in WritePCLImage()
|
D | dcm.c | 3357 data=(unsigned char *) AcquireQuantumMemory(length+1,quantum* in ReadDCMImage() 3625 graymap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3652 redmap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3684 greenmap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3716 bluemap=(int *) AcquireQuantumMemory(MagickMax(colors,65536), in ReadDCMImage() 3868 stream_info->offsets=(ssize_t *) AcquireQuantumMemory( in ReadDCMImage() 4000 info.scale=(Quantum *) AcquireQuantumMemory(MagickMax(length,MaxMap)+1, in ReadDCMImage() 4039 stream_info->offsets=(ssize_t *) AcquireQuantumMemory( in ReadDCMImage()
|
/external/ImageMagick/www/source/ |
D | mgk.c | 200 pixels=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, in ReadMGKImage() 410 pixels=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, in WriteMGKImage()
|
/external/ImageMagick/MagickWand/ |
D | magick-property.c | 622 artifacts=(char **) AcquireQuantumMemory(length,sizeof(*artifacts)); in MagickGetImageArtifacts() 707 datum=(unsigned char *) AcquireQuantumMemory(GetStringInfoLength(profile), in MagickGetImageProfile() 773 profiles=(char **) AcquireQuantumMemory(length,sizeof(*profiles)); in MagickGetImageProfiles() 910 properties=(char **) AcquireQuantumMemory(length,sizeof(*properties)); in MagickGetImageProperties() 1111 options=(char **) AcquireQuantumMemory(length,sizeof(*options)); in MagickGetOptions() 1522 sampling_factors=(double *) AcquireQuantumMemory((size_t) i+1, in MagickGetSamplingFactors() 1779 datum=(unsigned char *) AcquireQuantumMemory(GetStringInfoLength(profile), in MagickRemoveImageProfile()
|