This file is indexed.

/usr/lib/x86_64-linux-gnu/perl5/5.22/Imager/Regops.pm is in libimager-perl 1.004+dfsg-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
# AUTOMATICALLY GENERATED BY regops.perl
package Imager::Regops;
use strict;
require Exporter;
use vars qw(@ISA @EXPORT @EXPORT_OK %Attr $MaxOperands $PackCode);
@ISA = qw(Exporter);
@EXPORT_OK = qw(%Attr $MaxOperands $PackCode);

use constant RBC_ADD => 0;
use constant RBC_SUBTRACT => 1;
use constant RBC_MULT => 2;
use constant RBC_DIV => 3;
use constant RBC_MOD => 4;
use constant RBC_POW => 5;
use constant RBC_UMINUS => 6;
use constant RBC_MULTP => 7;
use constant RBC_ADDP => 8;
use constant RBC_SUBTRACTP => 9;
use constant RBC_SIN => 10;
use constant RBC_COS => 11;
use constant RBC_ATAN2 => 12;
use constant RBC_SQRT => 13;
use constant RBC_DISTANCE => 14;
use constant RBC_GETP1 => 15;
use constant RBC_GETP2 => 16;
use constant RBC_GETP3 => 17;
use constant RBC_VALUE => 18;
use constant RBC_HUE => 19;
use constant RBC_SAT => 20;
use constant RBC_HSV => 21;
use constant RBC_RED => 22;
use constant RBC_GREEN => 23;
use constant RBC_BLUE => 24;
use constant RBC_RGB => 25;
use constant RBC_INT => 26;
use constant RBC_IF => 27;
use constant RBC_IFP => 28;
use constant RBC_LE => 29;
use constant RBC_LT => 30;
use constant RBC_GE => 31;
use constant RBC_GT => 32;
use constant RBC_EQ => 33;
use constant RBC_NE => 34;
use constant RBC_AND => 35;
use constant RBC_OR => 36;
use constant RBC_NOT => 37;
use constant RBC_ABS => 38;
use constant RBC_RET => 39;
use constant RBC_JUMP => 40;
use constant RBC_JUMPZ => 41;
use constant RBC_JUMPNZ => 42;
use constant RBC_SET => 43;
use constant RBC_SETP => 44;
use constant RBC_PRINT => 45;
use constant RBC_RGBA => 46;
use constant RBC_HSVA => 47;
use constant RBC_ALPHA => 48;
use constant RBC_LOG => 49;
use constant RBC_EXP => 50;
use constant RBC_DET => 51;
use constant RBC_OP_COUNT => 52;

@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);

%Attr =
  (
  'abs' =>
    {
    'func' => 1,
    'opcode' => 38,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'add' =>
    {
    'func' => 0,
    'opcode' => 0,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'addp' =>
    {
    'func' => 0,
    'opcode' => 8,
    'parms' => 2,
    'result' => 'p',
    'types' => 'pp',
    },
  'alpha' =>
    {
    'func' => 1,
    'opcode' => 48,
    'parms' => 1,
    'result' => 'r',
    'types' => 'p',
    },
  'and' =>
    {
    'func' => 0,
    'opcode' => 35,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'atan2' =>
    {
    'func' => 1,
    'opcode' => 12,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'blue' =>
    {
    'func' => 1,
    'opcode' => 24,
    'parms' => 1,
    'result' => 'r',
    'types' => 'p',
    },
  'cos' =>
    {
    'func' => 1,
    'opcode' => 11,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'det' =>
    {
    'func' => 1,
    'opcode' => 51,
    'parms' => 4,
    'result' => 'r',
    'types' => 'rrrr',
    },
  'distance' =>
    {
    'func' => 1,
    'opcode' => 14,
    'parms' => 4,
    'result' => 'r',
    'types' => 'rrrr',
    },
  'div' =>
    {
    'func' => 0,
    'opcode' => 3,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'eq' =>
    {
    'func' => 0,
    'opcode' => 33,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'exp' =>
    {
    'func' => 1,
    'opcode' => 50,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'ge' =>
    {
    'func' => 0,
    'opcode' => 31,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'getp1' =>
    {
    'func' => 1,
    'opcode' => 15,
    'parms' => 2,
    'result' => 'p',
    'types' => 'rr',
    },
  'getp2' =>
    {
    'func' => 1,
    'opcode' => 16,
    'parms' => 2,
    'result' => 'p',
    'types' => 'rr',
    },
  'getp3' =>
    {
    'func' => 1,
    'opcode' => 17,
    'parms' => 2,
    'result' => 'p',
    'types' => 'rr',
    },
  'green' =>
    {
    'func' => 1,
    'opcode' => 23,
    'parms' => 1,
    'result' => 'r',
    'types' => 'p',
    },
  'gt' =>
    {
    'func' => 0,
    'opcode' => 32,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'hsv' =>
    {
    'func' => 1,
    'opcode' => 21,
    'parms' => 3,
    'result' => 'p',
    'types' => 'rrr',
    },
  'hsva' =>
    {
    'func' => 1,
    'opcode' => 47,
    'parms' => 4,
    'result' => 'p',
    'types' => 'rrrr',
    },
  'hue' =>
    {
    'func' => 1,
    'opcode' => 19,
    'parms' => 1,
    'result' => 'r',
    'types' => 'p',
    },
  'if' =>
    {
    'func' => 1,
    'opcode' => 27,
    'parms' => 3,
    'result' => 'r',
    'types' => 'rrr',
    },
  'ifp' =>
    {
    'func' => 1,
    'opcode' => 28,
    'parms' => 3,
    'result' => 'p',
    'types' => 'rpp',
    },
  'int' =>
    {
    'func' => 1,
    'opcode' => 26,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'jump' =>
    {
    'func' => 0,
    'opcode' => 40,
    'parms' => 0,
    'result' => undef,
    'types' => '',
    },
  'jumpnz' =>
    {
    'func' => 0,
    'opcode' => 42,
    'parms' => 1,
    'result' => undef,
    'types' => 'r',
    },
  'jumpz' =>
    {
    'func' => 0,
    'opcode' => 41,
    'parms' => 1,
    'result' => undef,
    'types' => 'r',
    },
  'le' =>
    {
    'func' => 0,
    'opcode' => 29,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'log' =>
    {
    'func' => 1,
    'opcode' => 49,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'lt' =>
    {
    'func' => 0,
    'opcode' => 30,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'mod' =>
    {
    'func' => 0,
    'opcode' => 4,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'mult' =>
    {
    'func' => 0,
    'opcode' => 2,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'multp' =>
    {
    'func' => 0,
    'opcode' => 7,
    'parms' => 2,
    'result' => 'p',
    'types' => 'pr',
    },
  'ne' =>
    {
    'func' => 0,
    'opcode' => 34,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'not' =>
    {
    'func' => 0,
    'opcode' => 37,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'op_count' =>
    {
    'func' => 0,
    'opcode' => 52,
    'parms' => 0,
    'result' => undef,
    'types' => '',
    },
  'or' =>
    {
    'func' => 0,
    'opcode' => 36,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'pow' =>
    {
    'func' => 0,
    'opcode' => 5,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'print' =>
    {
    'func' => 1,
    'opcode' => 45,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'red' =>
    {
    'func' => 1,
    'opcode' => 22,
    'parms' => 1,
    'result' => 'r',
    'types' => 'p',
    },
  'ret' =>
    {
    'func' => 0,
    'opcode' => 39,
    'parms' => 1,
    'result' => undef,
    'types' => 'p',
    },
  'rgb' =>
    {
    'func' => 1,
    'opcode' => 25,
    'parms' => 3,
    'result' => 'p',
    'types' => 'rrr',
    },
  'rgba' =>
    {
    'func' => 1,
    'opcode' => 46,
    'parms' => 4,
    'result' => 'p',
    'types' => 'rrrr',
    },
  'sat' =>
    {
    'func' => 1,
    'opcode' => 20,
    'parms' => 1,
    'result' => 'r',
    'types' => 'p',
    },
  'set' =>
    {
    'func' => 0,
    'opcode' => 43,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'setp' =>
    {
    'func' => 0,
    'opcode' => 44,
    'parms' => 1,
    'result' => 'p',
    'types' => 'p',
    },
  'sin' =>
    {
    'func' => 1,
    'opcode' => 10,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'sqrt' =>
    {
    'func' => 1,
    'opcode' => 13,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'subtract' =>
    {
    'func' => 0,
    'opcode' => 1,
    'parms' => 2,
    'result' => 'r',
    'types' => 'rr',
    },
  'subtractp' =>
    {
    'func' => 0,
    'opcode' => 9,
    'parms' => 2,
    'result' => 'p',
    'types' => 'pp',
    },
  'uminus' =>
    {
    'func' => 0,
    'opcode' => 6,
    'parms' => 1,
    'result' => 'r',
    'types' => 'r',
    },
  'value' =>
    {
    'func' => 1,
    'opcode' => 18,
    'parms' => 1,
    'result' => 'r',
    'types' => 'p',
    },
  );
$MaxOperands = 4;
$PackCode = "i";
1;

__END__

=head1 NAME

Imager::Regops - generated information about the register based virtual machine

=head1 SYNOPSIS

  use Imager::Regops;
  $Imager::Regops::Attr{$opname}->{opcode} # opcode for given operator
  $Imager::Regops::Attr{$opname}->{parms} # number of parameters
  $Imager::Regops::Attr{$opname}->{types} # types of parameters
  $Imager::Regops::Attr{$opname}->{func} # operator is a function
  $Imager::Regops::Attr{$opname}->{result} # r for numeric, p for pixel result
  $Imager::Regops::MaxOperands; # maximum number of operands

=head1 DESCRIPTION

This module is generated automatically from F<regmach.h> so we don't need to
maintain the same information in at least one extra place.

At least that's the idea.

=head1 AUTHOR

Tony Cook, tony@develop-help.com

=head1 SEE ALSO

perl(1), Imager(3), http://imager.perl.org/

=cut