/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/ |
H A D | POSIX.pm | 11 # Grandfather old foo_h form to new :foo_h form 57 sub new { bless {HANDLER => $_[1], MASK => $_[2], FLAGS => $_[3] || 0, SAFE => 0}, $_[0] } subroutine
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/ |
H A D | dclone.t | 82 sub new { subroutine 87 my $empty_string_obj = TestString->new('');
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Class/ |
H A D | Struct.t | 12 sub new { bless {}, shift } subroutine 16 sub new { bless {}, shift } subroutine 42 my $obj = MyObj->new; 64 $obj = MyObj->new( c => aClass->new ); 69 $obj = MyOther->new; 91 $obj = MyOther->new( c => aClass->new ); 97 my $obk = SomeClass->new(); 101 my $recobj = RecClass->new(); [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | DirHandle.pm | 12 $d = new DirHandle "."; 48 sub new { subroutine 49 @_ >= 1 && @_ <= 2 or croak 'usage: new DirHandle [DIRNAME]';
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/t/ |
H A D | netrc.t | 135 sub new { subroutine
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/ |
H A D | Usage.pm | 495 my $parser = new Pod::Usage(USAGE_OPTIONS => \%opts); 528 sub new { subroutine
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Term/ |
H A D | ReadLine.t | 15 sub new { bless {} } subroutine 26 my $t = new Term::ReadLine 'test term::readline'; 33 findConsole Attribs Features new ) ) {
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | addsev.c | 49 void *new; local 70 /* Allocate new entry */ 71 new = libc_realloc(__pfmt_sev_tab, 73 if (new == NULL) { 78 __pfmt_sev_tab = new; 89 new = libc_realloc(__pfmt_sev_tab[i].string, strlen(string) + 1); 90 if (new == NULL) { 95 __pfmt_sev_tab[i].string = new;
|
H A D | ualarm.c | 32 struct itimerval new, old; local 34 new.it_interval.tv_usec = reload % USPS; 35 new.it_interval.tv_sec = reload / USPS; 37 new.it_value.tv_usec = usecs % USPS; 38 new.it_value.tv_sec = usecs / USPS; 40 if (setitimer(ITIMER_REAL, &new, &old) != 0)
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_list.c | 43 dt_list_append(dt_list_t *dlp, void *new) argument 46 dt_list_t *q = new; /* q = new list element */ 62 dt_list_prepend(dt_list_t *dlp, void *new) argument 64 dt_list_t *p = new; /* p = new list element */ 81 dt_list_insert(dt_list_t *dlp, void *after_me, void *new) argument 84 dt_list_t *q = new; 87 dt_list_append(dlp, new);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/ |
H A D | Encoder.pm | 18 sub new{ subroutine 34 sub encoder{ __PACKAGE__->new(@_) } 107 Encode::Encoder->new($data)->iso_8859_1; # OOP way 168 =item $e = Encode::Encoder-E<gt>new([$data, $encoding]); 178 is an alias of Encode::Encoder-E<gt>new(). This one is exported on demand.
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
H A D | Poll.pm | 37 sub new { subroutine 142 $poll = new IO::Poll;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/I18N/ |
H A D | Collate.pm | 14 $s1 = new I18N::Collate "scalar_data_1"; 15 $s2 = new I18N::Collate "scalar_data_2"; 27 That is, please do not use it anymore for any new applications 84 # $s1 = new I18N::Collate "scalar_data_1"; 85 # $s2 = new I18N::Collate "scalar_data_2"; 130 sub new { subroutine 131 my $new = $_[1]; 144 That is, please do not use it anymore for any new applications 157 bless \$new;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Perldoc/ |
H A D | ToPod.pm | 20 sub new { return bless {}, ref($_[0]) || $_[0] } subroutine
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/ |
H A D | RefHash.t | 28 sub new { my ($c, $s) = @_; bless \$s, $c } subroutine 31 my $ox = Boustrophedon->new("foobar");
|
H A D | Scalar.pm | 38 package. The basic B<Tie::Scalar> package provides a C<new> method, as well 42 built-in scalars, allowing for selective overloading of methods. The C<new> 54 The method invoked by the command C<tie $scalar, classname>. Associates a new 86 sub new { subroutine 91 # "Grandfather" the new, a la Tie::Hash 95 if ($pkg->can('new') and $pkg ne __PACKAGE__) { 96 warnings::warnif("WARNING: calling ${pkg}->new since ${pkg}->TIESCALAR is missing"); 97 $pkg->new(@_);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/base/t/ |
H A D | fields.t | 19 sub new { fields::new(shift) } subroutine 42 eval q(my Foo $obj = Foo->new; $obj->{notthere} = ""); 50 foreach (Foo->new) { 84 sub new { fields::new($_[0]) } subroutine 87 my Foo::Autoviv $a = Foo::Autoviv->new(); 98 sub new { subroutine 99 my $self = fields::new(shift); 107 my $x = Test::FooBar->new( [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_rename.c | 36 pr_rename(struct ps_prochandle *Pr, const char *old, const char *new) argument 44 return (rename(old, new)); 60 adp++; /* move to new fd argument */ 67 adp++; /* move to new argument */ 69 adp->arg_object = (void *)new; 72 adp->arg_size = strlen(new) + 1; 87 pr_link(struct ps_prochandle *Pr, const char *existing, const char *new) argument 95 return (link(existing, new)); 118 adp++; /* new argument */ 120 adp->arg_object = (void *)new; [all...] |
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_list.c | 40 shadow_list_append(shadow_list_t *lp, void *new) argument 43 shadow_list_t *q = new; /* q = new list element */ 59 shadow_list_prepend(shadow_list_t *lp, void *new) argument 61 shadow_list_t *p = new; /* p = new list element */ 78 shadow_list_insert_before(shadow_list_t *lp, void *before_me, void *new) argument 81 shadow_list_t *q = new; 84 shadow_list_prepend(lp, new); 95 shadow_list_insert_after(shadow_list_t *lp, void *after_me, void *new) argument [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | charray.c | 148 char **new; local 153 new = (char **)NSLDAPI_MALLOC( (i + 1) * sizeof(char *) ); 154 if ( new == NULL ) { 159 new[i] = nsldapi_strdup( a[i] ); 160 if ( new[i] == NULL ) { 164 NSLDAPI_FREE( new[j] ); 165 NSLDAPI_FREE( new ); 169 new[i] = NULL; 171 return( new );
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | dupwin.c | 52 * SS: calling makenew to allocate a new window is wastefull, since 60 WINDOW *new; local 66 /* allocate storage for new window and do block copy of */ 67 /* old one into new */ 69 if ((new = (WINDOW *) malloc(sizeof (WINDOW))) == NULL) 72 (void) memcpy(new, win, sizeof (WINDOW)); 74 /* allocate storage for "malloced" fields of the new window */ 76 if ((new->_firstch = (short *)malloc((unsigned)2 * line_size)) == NULL) 81 if ((new->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == 87 free((char *)new [all...] |
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_list.c | 43 ipmi_list_append(ipmi_list_t *lp, void *new) argument 46 ipmi_list_t *q = new; /* q = new list element */ 62 ipmi_list_prepend(ipmi_list_t *lp, void *new) argument 64 ipmi_list_t *p = new; /* p = new list element */ 81 ipmi_list_insert_before(ipmi_list_t *lp, void *before_me, void *new) argument 84 ipmi_list_t *q = new; 87 ipmi_list_prepend(lp, new); 98 ipmi_list_insert_after(ipmi_list_t *lp, void *after_me, void *new) argument [all...] |
/osnet-11/usr/src/lib/efcode/extend/ |
H A D | fthread.c | 40 fcode_env_t *new; local 45 new = clone_environment(cenv, NULL); 46 if (new) { 47 envs[envc] = new; 48 env = new;
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_mem.c | 79 char *new; local 87 new = asr_alloc(len); 89 if (new == NULL) 92 bcopy(str, new, len); 93 return (new);
|
/osnet-11/usr/src/lib/krb5/ss/ |
H A D | utils.c | 105 register char *new; local 106 new = malloc(len); 107 strncpy(new, s, len); 108 return(new);
|