Lines Matching refs:pointer
183 my ($opts, $cur_thread, $pointer, $name, $size, $arg2) = @_;
187 $opts->{pointers}->{$pointer} = $slot;
190 $opts->{pointers}->{$pointer} = -1;
211 my $pointer = $1;
213 PrintAlloc($opts, $cur_thread, $pointer, "MALLOC", $size, 0);
215 my $pointer = $1;
218 PrintAlloc($opts, $cur_thread, $pointer, "CALLOC", $size, $nmemb);
220 my $pointer = $1;
223 PrintAlloc($opts, $cur_thread, $pointer, "MEMALIGN", $size, $align);
225 my $pointer = $1;
226 if (!exists $opts->{pointers}->{$pointer}) {
228 warn "WARNING: $.: Unknown allocation $pointer ignored on $cur_thread\n";
231 die "$.: Unknown allocation $pointer on $cur_thread\n";
233 } elsif ($opts->{pointers}->{$pointer} != -1) {
234 print " {FREE, $opts->{pointers}->{$pointer}, 0, 0},\n";
235 push @{$opts->{empty_slots}}, $opts->{pointers}->{$pointer};