blib/lib/Imager/Regops.pm

filter: Statementstmt 100% 173 / 173 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 55 / 55 Podpod n/a totaltotal 100% 228 / 228 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Imager/Filter/Mandelbrot.pm ↑ Summary trans2.c »
1 # AUTOMATICALLY GENERATED BY regops.perl
2 package Imager::Regops;
3 6 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 6 require Exporter;
6 6 our @ISA = qw(Exporter);
7 6 our @EXPORT_OK = qw(%Attr $MaxOperands $PackCode);
8 6 our $VERSION = "1.000";
9  
10 6 ▶use constant RBC_ADD => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 6 ▶use constant RBC_SUBTRACT => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 6 ▶use constant RBC_MULT => 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 6 ▶use constant RBC_DIV => 3;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 6 ▶use constant RBC_MOD => 4;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 6 ▶use constant RBC_POW => 5;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 6 ▶use constant RBC_UMINUS => 6;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 6 ▶use constant RBC_MULTP => 7;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 6 ▶use constant RBC_ADDP => 8;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 6 ▶use constant RBC_SUBTRACTP => 9;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 6 ▶use constant RBC_SIN => 10;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 6 ▶use constant RBC_COS => 11;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 6 ▶use constant RBC_ATAN2 => 12;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 6 ▶use constant RBC_SQRT => 13;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 6 ▶use constant RBC_DISTANCE => 14;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 6 ▶use constant RBC_GETP1 => 15;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 6 ▶use constant RBC_GETP2 => 16;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 6 ▶use constant RBC_GETP3 => 17;
Subroutine BEGIN: called CC=1 SCAR=0.0
28 6 ▶use constant RBC_VALUE => 18;
Subroutine BEGIN: called CC=1 SCAR=0.0
29 6 ▶use constant RBC_HUE => 19;
Subroutine BEGIN: called CC=1 SCAR=0.0
30 6 ▶use constant RBC_SAT => 20;
Subroutine BEGIN: called CC=1 SCAR=0.0
31 6 ▶use constant RBC_HSV => 21;
Subroutine BEGIN: called CC=1 SCAR=0.0
32 6 ▶use constant RBC_RED => 22;
Subroutine BEGIN: called CC=1 SCAR=0.0
33 6 ▶use constant RBC_GREEN => 23;
Subroutine BEGIN: called CC=1 SCAR=0.0
34 6 ▶use constant RBC_BLUE => 24;
Subroutine BEGIN: called CC=1 SCAR=0.0
35 6 ▶use constant RBC_RGB => 25;
Subroutine BEGIN: called CC=1 SCAR=0.0
36 6 ▶use constant RBC_INT => 26;
Subroutine BEGIN: called CC=1 SCAR=0.0
37 6 ▶use constant RBC_IF => 27;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 6 ▶use constant RBC_IFP => 28;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 6 ▶use constant RBC_LE => 29;
Subroutine BEGIN: called CC=1 SCAR=0.0
40 6 ▶use constant RBC_LT => 30;
Subroutine BEGIN: called CC=1 SCAR=0.0
41 6 ▶use constant RBC_GE => 31;
Subroutine BEGIN: called CC=1 SCAR=0.0
42 6 ▶use constant RBC_GT => 32;
Subroutine BEGIN: called CC=1 SCAR=0.0
43 6 ▶use constant RBC_EQ => 33;
Subroutine BEGIN: called CC=1 SCAR=0.0
44 6 ▶use constant RBC_NE => 34;
Subroutine BEGIN: called CC=1 SCAR=0.0
45 6 ▶use constant RBC_AND => 35;
Subroutine BEGIN: called CC=1 SCAR=0.0
46 6 ▶use constant RBC_OR => 36;
Subroutine BEGIN: called CC=1 SCAR=0.0
47 6 ▶use constant RBC_NOT => 37;
Subroutine BEGIN: called CC=1 SCAR=0.0
48 6 ▶use constant RBC_ABS => 38;
Subroutine BEGIN: called CC=1 SCAR=0.0
49 6 ▶use constant RBC_RET => 39;
Subroutine BEGIN: called CC=1 SCAR=0.0
50 6 ▶use constant RBC_JUMP => 40;
Subroutine BEGIN: called CC=1 SCAR=0.0
51 6 ▶use constant RBC_JUMPZ => 41;
Subroutine BEGIN: called CC=1 SCAR=0.0
52 6 ▶use constant RBC_JUMPNZ => 42;
Subroutine BEGIN: called CC=1 SCAR=0.0
53 6 ▶use constant RBC_SET => 43;
Subroutine BEGIN: called CC=1 SCAR=0.0
54 6 ▶use constant RBC_SETP => 44;
Subroutine BEGIN: called CC=1 SCAR=0.0
55 6 ▶use constant RBC_PRINT => 45;
Subroutine BEGIN: called CC=1 SCAR=0.0
56 6 ▶use constant RBC_RGBA => 46;
Subroutine BEGIN: called CC=1 SCAR=0.0
57 6 ▶use constant RBC_HSVA => 47;
Subroutine BEGIN: called CC=1 SCAR=0.0
58 6 ▶use constant RBC_ALPHA => 48;
Subroutine BEGIN: called CC=1 SCAR=0.0
59 6 ▶use constant RBC_LOG => 49;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 6 ▶use constant RBC_EXP => 50;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 6 ▶use constant RBC_DET => 51;
Subroutine BEGIN: called CC=1 SCAR=0.0
62 6 ▶use constant RBC_OP_COUNT => 52;
Subroutine BEGIN: called CC=1 SCAR=0.0
63  
64 6 our @EXPORT = qw(RBC_ADD RBC_SUBTRACT RBC_MULT RBC_DIV RBC_MOD RBC_POW RBC_UMINUS RBC_MULTP RBC_ADDP RBC_SUBTRACTP RBC_SIN RBC_COS RBC_ATAN2 RBC_SQRT RBC_DISTANCE RBC_GETP1 RBC_GETP2 RBC_GETP3 RBC_VALUE RBC_HUE RBC_SAT RBC_HSV RBC_RED RBC_GREEN RBC_BLUE RBC_RGB RBC_INT RBC_IF RBC_IFP RBC_LE RBC_LT RBC_GE RBC_GT RBC_EQ RBC_NE RBC_AND RBC_OR RBC_NOT RBC_ABS RBC_RET RBC_JUMP RBC_JUMPZ RBC_JUMPNZ RBC_SET RBC_SETP RBC_PRINT RBC_RGBA RBC_HSVA RBC_ALPHA RBC_LOG RBC_EXP RBC_DET RBC_OP_COUNT);
65  
66 6 our %Attr =
67 (
68 'abs' =>
69 {
70 'func' => 1,
71 'opcode' => 38,
72 'parms' => 1,
73 'result' => 'r',
74 'types' => 'r',
75 },
76 'add' =>
77 {
78 'func' => 0,
79 'opcode' => 0,
80 'parms' => 2,
81 'result' => 'r',
82 'types' => 'rr',
83 },
84 'addp' =>
85 {
86 'func' => 0,
87 'opcode' => 8,
88 'parms' => 2,
89 'result' => 'p',
90 'types' => 'pp',
91 },
92 'alpha' =>
93 {
94 'func' => 1,
95 'opcode' => 48,
96 'parms' => 1,
97 'result' => 'r',
98 'types' => 'p',
99 },
100 'and' =>
101 {
102 'func' => 0,
103 'opcode' => 35,
104 'parms' => 2,
105 'result' => 'r',
106 'types' => 'rr',
107 },
108 'atan2' =>
109 {
110 'func' => 1,
111 'opcode' => 12,
112 'parms' => 2,
113 'result' => 'r',
114 'types' => 'rr',
115 },
116 'blue' =>
117 {
118 'func' => 1,
119 'opcode' => 24,
120 'parms' => 1,
121 'result' => 'r',
122 'types' => 'p',
123 },
124 'cos' =>
125 {
126 'func' => 1,
127 'opcode' => 11,
128 'parms' => 1,
129 'result' => 'r',
130 'types' => 'r',
131 },
132 'det' =>
133 {
134 'func' => 1,
135 'opcode' => 51,
136 'parms' => 4,
137 'result' => 'r',
138 'types' => 'rrrr',
139 },
140 'distance' =>
141 {
142 'func' => 1,
143 'opcode' => 14,
144 'parms' => 4,
145 'result' => 'r',
146 'types' => 'rrrr',
147 },
148 'div' =>
149 {
150 'func' => 0,
151 'opcode' => 3,
152 'parms' => 2,
153 'result' => 'r',
154 'types' => 'rr',
155 },
156 'eq' =>
157 {
158 'func' => 0,
159 'opcode' => 33,
160 'parms' => 2,
161 'result' => 'r',
162 'types' => 'rr',
163 },
164 'exp' =>
165 {
166 'func' => 1,
167 'opcode' => 50,
168 'parms' => 1,
169 'result' => 'r',
170 'types' => 'r',
171 },
172 'ge' =>
173 {
174 'func' => 0,
175 'opcode' => 31,
176 'parms' => 2,
177 'result' => 'r',
178 'types' => 'rr',
179 },
180 'getp1' =>
181 {
182 'func' => 1,
183 'opcode' => 15,
184 'parms' => 2,
185 'result' => 'p',
186 'types' => 'rr',
187 },
188 'getp2' =>
189 {
190 'func' => 1,
191 'opcode' => 16,
192 'parms' => 2,
193 'result' => 'p',
194 'types' => 'rr',
195 },
196 'getp3' =>
197 {
198 'func' => 1,
199 'opcode' => 17,
200 'parms' => 2,
201 'result' => 'p',
202 'types' => 'rr',
203 },
204 'green' =>
205 {
206 'func' => 1,
207 'opcode' => 23,
208 'parms' => 1,
209 'result' => 'r',
210 'types' => 'p',
211 },
212 'gt' =>
213 {
214 'func' => 0,
215 'opcode' => 32,
216 'parms' => 2,
217 'result' => 'r',
218 'types' => 'rr',
219 },
220 'hsv' =>
221 {
222 'func' => 1,
223 'opcode' => 21,
224 'parms' => 3,
225 'result' => 'p',
226 'types' => 'rrr',
227 },
228 'hsva' =>
229 {
230 'func' => 1,
231 'opcode' => 47,
232 'parms' => 4,
233 'result' => 'p',
234 'types' => 'rrrr',
235 },
236 'hue' =>
237 {
238 'func' => 1,
239 'opcode' => 19,
240 'parms' => 1,
241 'result' => 'r',
242 'types' => 'p',
243 },
244 'if' =>
245 {
246 'func' => 1,
247 'opcode' => 27,
248 'parms' => 3,
249 'result' => 'r',
250 'types' => 'rrr',
251 },
252 'ifp' =>
253 {
254 'func' => 1,
255 'opcode' => 28,
256 'parms' => 3,
257 'result' => 'p',
258 'types' => 'rpp',
259 },
260 'int' =>
261 {
262 'func' => 1,
263 'opcode' => 26,
264 'parms' => 1,
265 'result' => 'r',
266 'types' => 'r',
267 },
268 'jump' =>
269 {
270 'func' => 0,
271 'opcode' => 40,
272 'parms' => 0,
273 'result' => undef,
274 'types' => '',
275 },
276 'jumpnz' =>
277 {
278 'func' => 0,
279 'opcode' => 42,
280 'parms' => 1,
281 'result' => undef,
282 'types' => 'r',
283 },
284 'jumpz' =>
285 {
286 'func' => 0,
287 'opcode' => 41,
288 'parms' => 1,
289 'result' => undef,
290 'types' => 'r',
291 },
292 'le' =>
293 {
294 'func' => 0,
295 'opcode' => 29,
296 'parms' => 2,
297 'result' => 'r',
298 'types' => 'rr',
299 },
300 'log' =>
301 {
302 'func' => 1,
303 'opcode' => 49,
304 'parms' => 1,
305 'result' => 'r',
306 'types' => 'r',
307 },
308 'lt' =>
309 {
310 'func' => 0,
311 'opcode' => 30,
312 'parms' => 2,
313 'result' => 'r',
314 'types' => 'rr',
315 },
316 'mod' =>
317 {
318 'func' => 0,
319 'opcode' => 4,
320 'parms' => 2,
321 'result' => 'r',
322 'types' => 'rr',
323 },
324 'mult' =>
325 {
326 'func' => 0,
327 'opcode' => 2,
328 'parms' => 2,
329 'result' => 'r',
330 'types' => 'rr',
331 },
332 'multp' =>
333 {
334 'func' => 0,
335 'opcode' => 7,
336 'parms' => 2,
337 'result' => 'p',
338 'types' => 'pr',
339 },
340 'ne' =>
341 {
342 'func' => 0,
343 'opcode' => 34,
344 'parms' => 2,
345 'result' => 'r',
346 'types' => 'rr',
347 },
348 'not' =>
349 {
350 'func' => 0,
351 'opcode' => 37,
352 'parms' => 1,
353 'result' => 'r',
354 'types' => 'r',
355 },
356 'op_count' =>
357 {
358 'func' => 0,
359 'opcode' => 52,
360 'parms' => 0,
361 'result' => undef,
362 'types' => '',
363 },
364 'or' =>
365 {
366 'func' => 0,
367 'opcode' => 36,
368 'parms' => 2,
369 'result' => 'r',
370 'types' => 'rr',
371 },
372 'pow' =>
373 {
374 'func' => 0,
375 'opcode' => 5,
376 'parms' => 2,
377 'result' => 'r',
378 'types' => 'rr',
379 },
380 'print' =>
381 {
382 'func' => 1,
383 'opcode' => 45,
384 'parms' => 1,
385 'result' => 'r',
386 'types' => 'r',
387 },
388 'red' =>
389 {
390 'func' => 1,
391 'opcode' => 22,
392 'parms' => 1,
393 'result' => 'r',
394 'types' => 'p',
395 },
396 'ret' =>
397 {
398 'func' => 0,
399 'opcode' => 39,
400 'parms' => 1,
401 'result' => undef,
402 'types' => 'p',
403 },
404 'rgb' =>
405 {
406 'func' => 1,
407 'opcode' => 25,
408 'parms' => 3,
409 'result' => 'p',
410 'types' => 'rrr',
411 },
412 'rgba' =>
413 {
414 'func' => 1,
415 'opcode' => 46,
416 'parms' => 4,
417 'result' => 'p',
418 'types' => 'rrrr',
419 },
420 'sat' =>
421 {
422 'func' => 1,
423 'opcode' => 20,
424 'parms' => 1,
425 'result' => 'r',
426 'types' => 'p',
427 },
428 'set' =>
429 {
430 'func' => 0,
431 'opcode' => 43,
432 'parms' => 1,
433 'result' => 'r',
434 'types' => 'r',
435 },
436 'setp' =>
437 {
438 'func' => 0,
439 'opcode' => 44,
440 'parms' => 1,
441 'result' => 'p',
442 'types' => 'p',
443 },
444 'sin' =>
445 {
446 'func' => 1,
447 'opcode' => 10,
448 'parms' => 1,
449 'result' => 'r',
450 'types' => 'r',
451 },
452 'sqrt' =>
453 {
454 'func' => 1,
455 'opcode' => 13,
456 'parms' => 1,
457 'result' => 'r',
458 'types' => 'r',
459 },
460 'subtract' =>
461 {
462 'func' => 0,
463 'opcode' => 1,
464 'parms' => 2,
465 'result' => 'r',
466 'types' => 'rr',
467 },
468 'subtractp' =>
469 {
470 'func' => 0,
471 'opcode' => 9,
472 'parms' => 2,
473 'result' => 'p',
474 'types' => 'pp',
475 },
476 'uminus' =>
477 {
478 'func' => 0,
479 'opcode' => 6,
480 'parms' => 1,
481 'result' => 'r',
482 'types' => 'r',
483 },
484 'value' =>
485 {
486 'func' => 1,
487 'opcode' => 18,
488 'parms' => 1,
489 'result' => 'r',
490 'types' => 'p',
491 },
492 );
493 6 our $MaxOperands = 4;
494 6 our $PackCode = "i";
495 6 1;
496  
497 __END__
« blib/lib/Imager/Filter/Mandelbrot.pm ↑ Summary trans2.c »