Lines Matching refs:resource_info
107 resource_info = variable
188 resource_info.area=(MagickOffsetType) size; in AcquireMagickResource()
189 limit=resource_info.area_limit; in AcquireMagickResource()
190 status=(resource_info.area_limit == MagickResourceInfinity) || in AcquireMagickResource()
192 (void) FormatMagickSize((MagickSizeType) resource_info.area,MagickFalse, in AcquireMagickResource()
194 (void) FormatMagickSize(resource_info.area_limit,MagickFalse,"B", in AcquireMagickResource()
200 resource_info.memory+=size; in AcquireMagickResource()
201 limit=resource_info.memory_limit; in AcquireMagickResource()
202 status=(resource_info.memory_limit == MagickResourceInfinity) || in AcquireMagickResource()
203 ((MagickSizeType) resource_info.memory < limit) ? MagickTrue : in AcquireMagickResource()
205 (void) FormatMagickSize((MagickSizeType) resource_info.memory,MagickTrue, in AcquireMagickResource()
207 (void) FormatMagickSize(resource_info.memory_limit,MagickTrue,"B", in AcquireMagickResource()
213 resource_info.map+=size; in AcquireMagickResource()
214 limit=resource_info.map_limit; in AcquireMagickResource()
215 status=(resource_info.map_limit == MagickResourceInfinity) || in AcquireMagickResource()
216 ((MagickSizeType) resource_info.map < limit) ? MagickTrue : MagickFalse; in AcquireMagickResource()
217 (void) FormatMagickSize((MagickSizeType) resource_info.map,MagickTrue, in AcquireMagickResource()
219 (void) FormatMagickSize(resource_info.map_limit,MagickTrue,"B", in AcquireMagickResource()
225 resource_info.disk+=size; in AcquireMagickResource()
226 limit=resource_info.disk_limit; in AcquireMagickResource()
227 status=(resource_info.disk_limit == MagickResourceInfinity) || in AcquireMagickResource()
228 ((MagickSizeType) resource_info.disk < limit) ? MagickTrue : in AcquireMagickResource()
230 (void) FormatMagickSize((MagickSizeType) resource_info.disk,MagickTrue, in AcquireMagickResource()
232 (void) FormatMagickSize(resource_info.disk_limit,MagickTrue,"B", in AcquireMagickResource()
238 resource_info.file+=size; in AcquireMagickResource()
239 limit=resource_info.file_limit; in AcquireMagickResource()
240 status=(resource_info.file_limit == MagickResourceInfinity) || in AcquireMagickResource()
241 ((MagickSizeType) resource_info.file < limit) ? in AcquireMagickResource()
243 (void) FormatMagickSize((MagickSizeType) resource_info.file,MagickFalse, in AcquireMagickResource()
245 (void) FormatMagickSize((MagickSizeType) resource_info.file_limit, in AcquireMagickResource()
251 resource_info.area=(MagickOffsetType) size; in AcquireMagickResource()
252 limit=resource_info.height_limit; in AcquireMagickResource()
253 status=(resource_info.area_limit == MagickResourceInfinity) || in AcquireMagickResource()
255 (void) FormatMagickSize((MagickSizeType) resource_info.height,MagickFalse, in AcquireMagickResource()
257 (void) FormatMagickSize(resource_info.height_limit,MagickFalse,"P", in AcquireMagickResource()
263 limit=resource_info.thread_limit; in AcquireMagickResource()
264 status=(resource_info.thread_limit == MagickResourceInfinity) || in AcquireMagickResource()
265 ((MagickSizeType) resource_info.thread < limit) ? in AcquireMagickResource()
267 (void) FormatMagickSize((MagickSizeType) resource_info.thread,MagickFalse, in AcquireMagickResource()
269 (void) FormatMagickSize((MagickSizeType) resource_info.thread_limit, in AcquireMagickResource()
275 limit=resource_info.throttle_limit; in AcquireMagickResource()
276 status=(resource_info.throttle_limit == MagickResourceInfinity) || in AcquireMagickResource()
277 ((MagickSizeType) resource_info.throttle < limit) ? in AcquireMagickResource()
279 (void) FormatMagickSize((MagickSizeType) resource_info.throttle, in AcquireMagickResource()
281 (void) FormatMagickSize((MagickSizeType) resource_info.throttle_limit, in AcquireMagickResource()
287 resource_info.time+=size; in AcquireMagickResource()
288 limit=resource_info.time_limit; in AcquireMagickResource()
289 status=(resource_info.time_limit == MagickResourceInfinity) || in AcquireMagickResource()
290 ((MagickSizeType) resource_info.time < limit) ? in AcquireMagickResource()
292 (void) FormatMagickSize((MagickSizeType) resource_info.time,MagickFalse, in AcquireMagickResource()
294 (void) FormatMagickSize((MagickSizeType) resource_info.time_limit, in AcquireMagickResource()
300 resource_info.area=(MagickOffsetType) size; in AcquireMagickResource()
301 limit=resource_info.width_limit; in AcquireMagickResource()
302 status=(resource_info.area_limit == MagickResourceInfinity) || in AcquireMagickResource()
304 (void) FormatMagickSize((MagickSizeType) resource_info.width,MagickFalse, in AcquireMagickResource()
306 (void) FormatMagickSize(resource_info.width_limit,MagickFalse,"P", in AcquireMagickResource()
602 resource=(MagickSizeType) resource_info.width; in GetMagickResource()
607 resource=(MagickSizeType) resource_info.height; in GetMagickResource()
612 resource=(MagickSizeType) resource_info.area; in GetMagickResource()
617 resource=(MagickSizeType) resource_info.memory; in GetMagickResource()
622 resource=(MagickSizeType) resource_info.map; in GetMagickResource()
627 resource=(MagickSizeType) resource_info.disk; in GetMagickResource()
632 resource=(MagickSizeType) resource_info.file; in GetMagickResource()
637 resource=(MagickSizeType) resource_info.thread; in GetMagickResource()
642 resource=(MagickSizeType) resource_info.throttle; in GetMagickResource()
647 resource=(MagickSizeType) resource_info.time; in GetMagickResource()
692 resource=resource_info.width_limit; in GetMagickResourceLimit()
697 resource=resource_info.height_limit; in GetMagickResourceLimit()
702 resource=resource_info.area_limit; in GetMagickResourceLimit()
707 resource=resource_info.memory_limit; in GetMagickResourceLimit()
712 resource=resource_info.map_limit; in GetMagickResourceLimit()
717 resource=resource_info.disk_limit; in GetMagickResourceLimit()
722 resource=resource_info.file_limit; in GetMagickResourceLimit()
727 resource=resource_info.thread_limit; in GetMagickResourceLimit()
732 resource=resource_info.throttle_limit; in GetMagickResourceLimit()
737 resource=resource_info.time_limit; in GetMagickResourceLimit()
791 (void) FormatMagickSize(resource_info.width_limit,MagickFalse,"P", in ListMagickResourceInfo()
793 (void) FormatMagickSize(resource_info.height_limit,MagickFalse,"P", in ListMagickResourceInfo()
795 (void) FormatMagickSize(resource_info.area_limit,MagickFalse,"B", in ListMagickResourceInfo()
797 (void) FormatMagickSize(resource_info.memory_limit,MagickTrue,"B", in ListMagickResourceInfo()
799 (void) FormatMagickSize(resource_info.map_limit,MagickTrue,"B", in ListMagickResourceInfo()
802 if (resource_info.disk_limit != MagickResourceInfinity) in ListMagickResourceInfo()
803 (void) FormatMagickSize(resource_info.disk_limit,MagickTrue,"B", in ListMagickResourceInfo()
806 if (resource_info.time_limit != MagickResourceInfinity) in ListMagickResourceInfo()
808 ((MagickOffsetType) resource_info.time_limit)); in ListMagickResourceInfo()
817 resource_info.file_limit)); in ListMagickResourceInfo()
819 resource_info.thread_limit)); in ListMagickResourceInfo()
821 ((MagickOffsetType) resource_info.throttle_limit)); in ListMagickResourceInfo()
870 resource_info.width=(MagickOffsetType) size; in RelinquishMagickResource()
871 (void) FormatMagickSize((MagickSizeType) resource_info.width,MagickFalse, in RelinquishMagickResource()
873 (void) FormatMagickSize(resource_info.width_limit,MagickFalse,"P", in RelinquishMagickResource()
879 resource_info.height=(MagickOffsetType) size; in RelinquishMagickResource()
880 (void) FormatMagickSize((MagickSizeType) resource_info.height,MagickFalse, in RelinquishMagickResource()
882 (void) FormatMagickSize(resource_info.height_limit,MagickFalse,"P", in RelinquishMagickResource()
888 resource_info.area=(MagickOffsetType) size; in RelinquishMagickResource()
889 (void) FormatMagickSize((MagickSizeType) resource_info.area,MagickFalse, in RelinquishMagickResource()
891 (void) FormatMagickSize(resource_info.area_limit,MagickFalse,"B", in RelinquishMagickResource()
897 resource_info.memory-=size; in RelinquishMagickResource()
898 (void) FormatMagickSize((MagickSizeType) resource_info.memory, in RelinquishMagickResource()
900 (void) FormatMagickSize(resource_info.memory_limit,MagickTrue,"B", in RelinquishMagickResource()
906 resource_info.map-=size; in RelinquishMagickResource()
907 (void) FormatMagickSize((MagickSizeType) resource_info.map,MagickTrue, in RelinquishMagickResource()
909 (void) FormatMagickSize(resource_info.map_limit,MagickTrue,"B", in RelinquishMagickResource()
915 resource_info.disk-=size; in RelinquishMagickResource()
916 (void) FormatMagickSize((MagickSizeType) resource_info.disk,MagickTrue, in RelinquishMagickResource()
918 (void) FormatMagickSize(resource_info.disk_limit,MagickTrue,"B", in RelinquishMagickResource()
924 resource_info.file-=size; in RelinquishMagickResource()
925 (void) FormatMagickSize((MagickSizeType) resource_info.file,MagickFalse, in RelinquishMagickResource()
927 (void) FormatMagickSize((MagickSizeType) resource_info.file_limit, in RelinquishMagickResource()
933 (void) FormatMagickSize((MagickSizeType) resource_info.thread,MagickFalse, in RelinquishMagickResource()
935 (void) FormatMagickSize((MagickSizeType) resource_info.thread_limit, in RelinquishMagickResource()
941 (void) FormatMagickSize((MagickSizeType) resource_info.throttle, in RelinquishMagickResource()
943 (void) FormatMagickSize((MagickSizeType) resource_info.throttle_limit, in RelinquishMagickResource()
949 resource_info.time-=size; in RelinquishMagickResource()
950 (void) FormatMagickSize((MagickSizeType) resource_info.time,MagickFalse, in RelinquishMagickResource()
952 (void) FormatMagickSize((MagickSizeType) resource_info.time_limit, in RelinquishMagickResource()
1061 (void) SetMagickResourceLimit(WidthResource,resource_info.width_limit); in ResourceComponentGenesis()
1069 (void) SetMagickResourceLimit(HeightResource,resource_info.height_limit); in ResourceComponentGenesis()
1243 resource_info.width_limit=limit; in SetMagickResourceLimit()
1246 resource_info.width_limit=MagickMin(limit,StringToSizeType(value, in SetMagickResourceLimit()
1252 resource_info.height_limit=limit; in SetMagickResourceLimit()
1255 resource_info.height_limit=MagickMin(limit,StringToSizeType(value, in SetMagickResourceLimit()
1261 resource_info.area_limit=limit; in SetMagickResourceLimit()
1264 resource_info.area_limit=MagickMin(limit,StringToSizeType(value,100.0)); in SetMagickResourceLimit()
1269 resource_info.memory_limit=limit; in SetMagickResourceLimit()
1272 resource_info.memory_limit=MagickMin(limit,StringToSizeType(value, in SetMagickResourceLimit()
1278 resource_info.map_limit=limit; in SetMagickResourceLimit()
1281 resource_info.map_limit=MagickMin(limit,StringToSizeType(value,100.0)); in SetMagickResourceLimit()
1286 resource_info.disk_limit=limit; in SetMagickResourceLimit()
1289 resource_info.disk_limit=MagickMin(limit,StringToSizeType(value,100.0)); in SetMagickResourceLimit()
1294 resource_info.file_limit=limit; in SetMagickResourceLimit()
1297 resource_info.file_limit=MagickMin(limit,StringToSizeType(value,100.0)); in SetMagickResourceLimit()
1302 resource_info.thread_limit=limit; in SetMagickResourceLimit()
1305 resource_info.thread_limit=MagickMin(limit,StringToSizeType(value, in SetMagickResourceLimit()
1307 if (resource_info.thread_limit > GetOpenMPMaximumThreads()) in SetMagickResourceLimit()
1308 resource_info.thread_limit=GetOpenMPMaximumThreads(); in SetMagickResourceLimit()
1309 else if (resource_info.thread_limit == 0) in SetMagickResourceLimit()
1310 resource_info.thread_limit=1; in SetMagickResourceLimit()
1315 resource_info.throttle_limit=limit; in SetMagickResourceLimit()
1318 resource_info.throttle_limit=MagickMin(limit,StringToSizeType(value, in SetMagickResourceLimit()
1320 if (resource_info.throttle_limit > GetOpenMPMaximumThreads()) in SetMagickResourceLimit()
1321 resource_info.throttle_limit=GetOpenMPMaximumThreads(); in SetMagickResourceLimit()
1326 resource_info.time_limit=limit; in SetMagickResourceLimit()
1329 resource_info.time_limit=MagickMin(limit,StringToSizeType(value,100.0)); in SetMagickResourceLimit()