/external/ImageMagick/MagickCore/ |
D | cache-view.c | 74 number_threads; member 169 cache_view->number_threads=GetOpenMPMaximumThreads(); in AcquireVirtualCacheView() 170 if (GetMagickResourceLimit(ThreadResource) > cache_view->number_threads) in AcquireVirtualCacheView() 171 cache_view->number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireVirtualCacheView() 172 if (cache_view->number_threads == 0) in AcquireVirtualCacheView() 173 cache_view->number_threads=1; in AcquireVirtualCacheView() 174 cache_view->nexus_info=AcquirePixelCacheNexus(cache_view->number_threads); in AcquireVirtualCacheView() 221 clone_view->number_threads=cache_view->number_threads; in CloneCacheView() 222 clone_view->nexus_info=AcquirePixelCacheNexus(cache_view->number_threads); in CloneCacheView() 261 cache_view->number_threads); in DestroyCacheView() [all …]
|
D | random-private.h | 61 number_threads; in AcquireRandomInfoThreadSet() local 63 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireRandomInfoThreadSet() 64 random_info=(RandomInfo **) AcquireQuantumMemory(number_threads, in AcquireRandomInfoThreadSet() 68 (void) memset(random_info,0,number_threads*sizeof(*random_info)); in AcquireRandomInfoThreadSet() 69 for (i=0; i < (ssize_t) number_threads; i++) in AcquireRandomInfoThreadSet()
|
D | resample-private.h | 52 number_threads; in AcquireResampleFilterThreadSet() local 54 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireResampleFilterThreadSet() 55 filter=(ResampleFilter **) AcquireQuantumMemory(number_threads, in AcquireResampleFilterThreadSet() 59 (void) memset(filter,0,number_threads*sizeof(*filter)); in AcquireResampleFilterThreadSet() 60 for (i=0; i < (ssize_t) number_threads; i++) in AcquireResampleFilterThreadSet()
|
D | thread.c | 52 number_threads; member 102 (*keys)->number_threads=GetOpenMPMaximumThreads(); in CreateMagickThreadKey() 103 (*keys)->values=AcquireQuantumMemory((*keys)->number_threads, in CreateMagickThreadKey() 108 (void) memset((*keys)->values,0,(*keys)->number_threads* in CreateMagickThreadKey() 154 for (i=0; i < (ssize_t) keys->number_threads; i++) in DeleteMagickThreadKey()
|
D | cache.c | 185 MagickPrivate Cache AcquirePixelCache(const size_t number_threads) in AcquirePixelCache() argument 203 cache_info->number_threads=number_threads; in AcquirePixelCache() 204 if (GetOpenMPMaximumThreads() > cache_info->number_threads) in AcquirePixelCache() 205 cache_info->number_threads=GetOpenMPMaximumThreads(); in AcquirePixelCache() 206 if (GetMagickResourceLimit(ThreadResource) > cache_info->number_threads) in AcquirePixelCache() 207 cache_info->number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelCache() 208 if (cache_info->number_threads == 0) in AcquirePixelCache() 209 cache_info->number_threads=1; in AcquirePixelCache() 210 cache_info->nexus_info=AcquirePixelCacheNexus(cache_info->number_threads); in AcquirePixelCache() 255 MagickPrivate NexusInfo **AcquirePixelCacheNexus(const size_t number_threads) in AcquirePixelCacheNexus() argument [all …]
|
D | quantum.c | 164 quantum_info->number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireQuantumPixels() 166 quantum_info->number_threads,sizeof(*quantum_info->pixels)); in AcquireQuantumPixels() 170 (void) memset(quantum_info->pixels,0,quantum_info->number_threads* in AcquireQuantumPixels() 172 for (i=0; i < (ssize_t) quantum_info->number_threads; i++) in AcquireQuantumPixels() 260 for (i=0; i < (ssize_t) quantum_info->number_threads; i++) in DestroyQuantumPixels()
|
D | profile.c | 400 number_threads; in AcquirePixelThreadSet() local 402 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelThreadSet() 403 pixels=(LCMSType **) AcquireQuantumMemory(number_threads,sizeof(*pixels)); in AcquirePixelThreadSet() 406 (void) memset(pixels,0,number_threads*sizeof(*pixels)); in AcquirePixelThreadSet() 407 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelThreadSet() 443 number_threads; in AcquireTransformThreadSet() local 445 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireTransformThreadSet() 446 transform=(cmsHTRANSFORM *) AcquireQuantumMemory(number_threads, in AcquireTransformThreadSet() 450 (void) memset(transform,0,number_threads*sizeof(*transform)); in AcquireTransformThreadSet() 451 for (i=0; i < (ssize_t) number_threads; i++) in AcquireTransformThreadSet()
|
D | attribute.c | 418 number_threads; in GetImageDepth() local 430 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in GetImageDepth() 431 current_depth=(size_t *) AcquireQuantumMemory(number_threads, in GetImageDepth() 436 for (i=0; i < (ssize_t) number_threads; i++) in GetImageDepth() 473 for (i=1; i < (ssize_t) number_threads; i++) in GetImageDepth() 553 for (i=1; i < (ssize_t) number_threads; i++) in GetImageDepth() 619 for (i=1; i < (ssize_t) number_threads; i++) in GetImageDepth()
|
D | paint.c | 670 number_threads; in AcquireHistogramThreadSet() local 672 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireHistogramThreadSet() 673 histogram=(size_t **) AcquireQuantumMemory(number_threads,sizeof(*histogram)); in AcquireHistogramThreadSet() 676 (void) memset(histogram,0,number_threads*sizeof(*histogram)); in AcquireHistogramThreadSet() 677 for (i=0; i < (ssize_t) number_threads; i++) in AcquireHistogramThreadSet()
|
D | statistic.c | 162 number_threads; in AcquirePixelThreadSet() local 164 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelThreadSet() 165 pixels=(PixelChannels **) AcquireQuantumMemory(number_threads, in AcquirePixelThreadSet() 169 (void) memset(pixels,0,number_threads*sizeof(*pixels)); in AcquirePixelThreadSet() 170 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelThreadSet() 2470 number_threads; in AcquirePixelListThreadSet() local 2472 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelListThreadSet() 2473 pixel_list=(PixelList **) AcquireQuantumMemory(number_threads, in AcquirePixelListThreadSet() 2477 (void) memset(pixel_list,0,number_threads*sizeof(*pixel_list)); in AcquirePixelListThreadSet() 2478 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelListThreadSet()
|
D | cache-private.h | 177 number_threads; member
|
D | quantize.c | 1447 number_threads; in AcquirePixelThreadSet() local 1449 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelThreadSet() 1450 pixels=(DoublePixelPacket **) AcquireQuantumMemory(number_threads, in AcquirePixelThreadSet() 1454 (void) memset(pixels,0,number_threads*sizeof(*pixels)); in AcquirePixelThreadSet() 1455 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelThreadSet()
|
D | quantum-private.h | 70 number_threads; member
|
D | resize.c | 2411 number_threads; in AcquireContributionThreadSet() local 2413 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireContributionThreadSet() 2414 contribution=(ContributionInfo **) AcquireQuantumMemory(number_threads, in AcquireContributionThreadSet() 2418 (void) memset(contribution,0,number_threads*sizeof(*contribution)); in AcquireContributionThreadSet() 2419 for (i=0; i < (ssize_t) number_threads; i++) in AcquireContributionThreadSet()
|
D | fx.c | 3085 number_threads; in AcquireFxThreadSet() local 3087 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireFxThreadSet() 3088 fx_info=(FxInfo **) AcquireQuantumMemory(number_threads,sizeof(*fx_info)); in AcquireFxThreadSet() 3095 (void) memset(fx_info,0,number_threads*sizeof(*fx_info)); in AcquireFxThreadSet() 3100 for (i=0; i < (ssize_t) number_threads; i++) in AcquireFxThreadSet() 3113 if (i < (ssize_t) number_threads) in AcquireFxThreadSet()
|
D | draw.c | 4526 number_threads; in AcquirePolygonThreadSet() local 4528 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePolygonThreadSet() 4529 polygon_info=(PolygonInfo **) AcquireQuantumMemory(number_threads, in AcquirePolygonThreadSet() 4533 (void) memset(polygon_info,0,number_threads*sizeof(*polygon_info)); in AcquirePolygonThreadSet() 4537 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePolygonThreadSet()
|
D | stream.c | 239 cache_info->number_threads); in DestroyPixelStream()
|
/external/ImageMagick/MagickWand/ |
D | wand-view.c | 728 number_threads; in AcquirePixelsThreadSet() local 730 number_threads=GetOpenMPMaximumThreads(); in AcquirePixelsThreadSet() 731 pixel_wands=(PixelWand ***) AcquireQuantumMemory(number_threads, in AcquirePixelsThreadSet() 735 (void) memset(pixel_wands,0,number_threads*sizeof(*pixel_wands)); in AcquirePixelsThreadSet() 736 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelsThreadSet()
|
D | mogrify.c | 143 number_threads; in MagickCommandGenesis() local 200 number_threads=GetOpenMPMaximumThreads(); in MagickCommandGenesis() 202 for (n=1; n <= (ssize_t) number_threads; n++) in MagickCommandGenesis()
|