Lines Matching refs:name

150         $tmp_name2num{$item->name()} = $num;
314 join("\n ", map { $_->{source}.": ".$_->name() } @items), "\n";
331 join(", ", map { $_->name()." => ".$_->intnum() } @items), "\n"
334 join(", ", map { $_->name()." => ".$_->version() } @items), "\n"
344 $items[0]->name(), " and ", $items[1]->name(), ":",
349 croak "Duplicate entries for ".$items[0]->name()." from ".
351 if $items[0]->name() eq $items[1]->name()
364 $_->name().":".$platform
378 $items[0]->name(), " and ", $items[1]->name(), "\n";
454 my $name = shift;
460 my $verbsig = "add('$name' , '$type' , [ " . join(', ', @defs) . " ])";
468 my @items = $self->items(filter => f_name($name));
479 name => $name,
497 my $alias = $self->{aliases}->{$name};
498 delete $self->{aliases}->{$name};
502 push @returns, $self->add_alias($source, $alias->{name}, $name, @{$alias->{defs}})
523 my $name = shift; # For this name (assuming it exists)
528 "add_alias('$source' , '$alias' , '$name' , [ " . join(', ', @defs) . " ])";
530 croak "You're kidding me... $alias == $name" if $alias eq $name;
539 my $f_byname = f_name($name);
546 croak "Alias already exists ($alias => $name)"
551 $self->{aliases}->{$name} = { source => $source,
552 name => $alias, defs => [ @defs ] };
555 "\tSet future alias $alias => $name\n"
573 name => $alias,
592 croak "$name has an alias already (trying to add alias $alias)\n",
593 "\t", join(", ", map { $_->name() } @items), "\n";
815 name => $a[0],
825 if ($opts{name} && $opts{version} && defined $opts{exists} && $opts{type}
832 name => $opts{name},
953 $self->name(),
987 return sub { $_[0]->name() cmp $_[1]->name() };
1073 my $name = shift;
1076 unless $name;
1078 return [ F_NAME, $name ];