Lines Matching refs:idx
83 my $idx;
87 $idx = $index[$lv];
88 $r->[$idx] = $self->create_imap($lv + 1, undef)
89 unless defined $r->[$idx];
90 $r = $r->[$idx];
92 $idx = $index[$lv];
93 $r->[$idx] = $self->create_dmap() unless defined $r->[$idx];
94 $self->add_to_dmap($r->[$idx], $index[$maxlv], $val);
114 my @idx;
119 unshift @idx, $v & ((1 << $bit) - 1);
122 print "(", join(',', @idx), ")\n" if $debug;
123 @idx;
135 foreach my $idx (@index) {
136 return $map->{DEFAULT} unless defined $map->[$idx];
137 $map = $map->[$idx];
170 my $idx;
171 for ($idx = 0; $idx < @$nextmaps; $idx++) {
172 last if $nextmaps->[$idx] == $m;
174 croak "internal error: map corrupted" if $idx >= @$nextmaps;
175 push @indirect, $offset + $chunksz * $idx;
391 my ($self, $map, $idx, $val) = @_;
392 vec($$map, $idx, 1) = 1;
472 my ($self, $map, $idx, $val) = @_;
473 $map->[$idx] = $val;