/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_list.c | 53 * Link new into list after old. 60 ls_ins_after(ls_elt_t *old, ls_elt_t *new) argument 62 new->ls_next = old->ls_next; 63 new->ls_prev = old; 64 new->ls_next->ls_prev = new; 65 new->ls_prev->ls_next = new; 72 * Link new into list after old. 79 ls_ins_before(ls_elt_t *old, ls_elt_t *new) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libparted/common/lib/ |
H A D | strndup.c | 30 char *new = malloc (len + 1); local 32 if (new == NULL) 35 new[len] = '\0'; 36 return memcpy (new, s, len);
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/ |
H A D | biglog.t | 52 ok ($cl->new(-2)->blog(), 'NaN'); 53 ok ($cl->new(-1)->blog(), 'NaN'); 54 ok ($cl->new(-10)->blog(), 'NaN'); 55 ok ($cl->new(-2,2)->blog(), 'NaN'); 57 my $ten = $cl->new(10)->blog(); 60 ok ($cl->new(10)->blog(), '2.302585092994045684017991454684364207601'); 64 ok ($cl->new(0.1)->blog(), -$ten); 65 ok ($cl->new(0.01)->blog(), -$ten * 2); 66 ok ($cl->new(0.001)->blog(), -$ten * 3); 67 ok ($cl->new(0.000 [all...] |
H A D | downgrade.t | 30 ok (ref(Math::BigFloat->new('inf')),'Math::BigInt'); 31 ok (ref(Math::BigFloat->new('-inf')),'Math::BigInt'); 32 ok (ref(Math::BigFloat->new('NaN')),'Math::BigInt'); 33 ok (ref(Math::BigFloat->new('0')),'Math::BigInt'); 34 ok (ref(Math::BigFloat->new('1')),'Math::BigInt'); 35 ok (ref(Math::BigFloat->new('10')),'Math::BigInt'); 36 ok (ref(Math::BigFloat->new('-10')),'Math::BigInt'); 37 ok (ref(Math::BigFloat->new('-10.0E1')),'Math::BigInt'); 40 ok (Math::BigFloat->new('0.2E0'), '0.2'); 41 ok (Math::BigFloat->new('0. [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/ |
H A D | bigrat.t | 27 $x = Math::BigRat->new(1234); ok ($x,1234); 33 # new and bnorm() 35 foreach my $func (qw/new bnorm/) 66 $x = $cr->$func($mbi->new(1231)); ok ($x,'1231'); 67 $x = $cr->$func($mbf->new(1232)); ok ($x,'1232'); 68 $x = $cr->$func($mbf->new(1232.3)); ok ($x,'12323/10'); 71 $x = $cr->new('-0'); ok ($x,'0'); ok ($x->{_n}, '0'); ok ($x->{_d},'1'); 72 $x = $cr->new('NaN'); ok ($x,'NaN'); ok ($x->{_n}, '0'); ok ($x->{_d},'0'); 73 $x = $cr->new('-NaN'); ok ($x,'NaN'); ok ($x->{_n}, '0'); ok ($x->{_d},'0'); 74 $x = $cr->new(' [all...] |
H A D | big_ap.t | 19 my $proper = $r->new('12345678901234567890/2'); 20 my $proper_inc = $r->new('12345678901234567890/2')->binc(); 21 my $proper_dec = $r->new('12345678901234567890/2')->bdec(); 22 my $proper_int = Math::BigInt->new('12345678901234567890'); 23 my $proper_float = Math::BigFloat->new('12345678901234567890'); 24 my $proper2 = $r->new('12345678901234567890'); 34 # new() 36 $z = $r->new('12345678901234567890/2'); 39 $z = $r->new('1234567890123456789E1'); 42 $z = $r->new('1234567890123456789 [all...] |
H A D | bigratup.t | 25 $x = $rat->new('49/4'); ok ($x->bfloor(),'12'); 26 $x = $rat->new('49/4'); ok ($x->bceil(),'13'); 31 $x = $rat->new('144'); ok ($x->bsqrt(),'12'); 32 $x = $rat->new('144/16'); ok ($x->bsqrt(),'3'); 33 $x = $rat->new('1/3'); ok ($x->bsqrt(),
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | ualarm.c | 24 struct itimerval new, old; local 26 new.it_interval.tv_usec = reload % USPS; 27 new.it_interval.tv_sec = reload / USPS; 29 new.it_value.tv_usec = usecs % USPS; 30 new.it_value.tv_sec = usecs / USPS; 32 if (setitimer(ITIMER_REAL, &new, &old) == 0)
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
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)
|
/opensolaris-onvv-gate/usr/src/lib/libresolv2/include/ |
H A D | probe_ipv6.sh | 12 new=new_${target}.h 34 cat > ${new} <<EOF 45 echo "#define HAS_INET6_STRUCTS" >> ${new} 50 echo "#define in6_addr in_addr6" >> ${new} 54 echo "#define HAVE_SIN6_SCOPE_ID" >> ${new} 56 echo "#undef HAVE_SIN6_SCOPE_ID" >> ${new} 59 echo "#undef HAS_INET6_STRUCTS" >> ${new} 61 echo >> ${new} 62 echo "#endif" >> ${new} 64 if cmp -s ${new} [all...] |
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/ |
H A D | xnew.h | 33 #include <new> 35 #include <new.h> 44 *operator new(size_t, void *p)
|
/opensolaris-onvv-gate/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...] |
H A D | setcurscreen.c | 48 setcurscreen(SCREEN *new) argument 52 if (new != SP) { 56 fprintf(outf, "setterm: old %x, new %x\n", rv, new); 59 SP = new; 60 if (new) {
|
/opensolaris-onvv-gate/usr/src/cmd/powertop/common/ |
H A D | suggestions.c | 63 * Add a new suggestion. Only one suggestion per text allowed. 68 sugg_t *new, *n, *pos = NULL; local 80 if ((new = calloc(1, sizeof (sugg_t))) == NULL) 84 new->sb_msg = strdup(sb_msg); 87 new->text = strdup(text); 89 new->weight = weight; 90 new->key = key; 91 new->func = func; 92 new->slice = 0; 94 sugg = new; [all...] |
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_common.h | 42 #define cmp(old, new) \ 43 (((old)->cusec == (new)->cusec) && \ 44 ((old)->ctime == (new)->ctime) && \ 45 (strcmp((old)->client, (new)->client) == 0) && \ 46 (strcmp((old)->server, (new)->server) == 0) ? CMP_REPLAY : CMP_HOHUM) 52 #define alive(context, new, t, time) \ 53 (((new)->ctime + (t)) < (time) ? CMP_EXPIRED : CMP_HOHUM)
|
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_connects.c | 67 evConn *new; local 70 OKNEW(new); 71 new->flags = EV_CONN_LISTEN; 72 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */ 83 OKFREE(ioctl(fd, FIONBIO, (char *)&on), new); local 85 OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new); 87 new->flags |= EV_CONN_BLOCK; 89 OKFREE(listen(fd, maxconn), new); local 90 if (evSelectFD(opaqueCtx, fd, EV_READ, listener, new, &new 116 evConn *new; local 241 evAccept *new; local 290 int new; local 312 (*conn->func)(opaqueCtx, conn->uap, new, &la.sa, lalen, &ra.sa, ralen); local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Net/demos/ |
H A D | nntp | 13 $nntp = Net::NNTP->new('news', Debug => $opt_debug ? 1 : 0); 26 $new = $nntp->newnews(time - 3600, lc $group); 28 if(ref($new) && scalar(@$new)) 31 if $news = $nntp->article($new->[-1]);
|
H A D | inetd | 6 $p = new Net::DummyInetd qw(/usr/lib/sendmail -ba -bs); 8 $smtp = Net::SMTP->new('localhost', Port => $p->port, Debug => 7);
|
/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/agent/ |
H A D | subtree.c | 65 Subtree *new; local 76 new = (Subtree *) malloc(sizeof(Subtree)); 77 if(new == NULL) 82 new->next_subtree = NULL; 83 new->agent = agent; 84 new->next_agent_subtree = NULL; 85 new->name.subids = (Subid *) malloc(len * (int32_t)sizeof(Subid)); 86 if(new->name.subids == NULL) 89 subtree_free(new); 92 (void)memcpy(new [all...] |
/opensolaris-onvv-gate/usr/src/cmd/zic/ |
H A D | ialloc.c | 29 icatalloc(old, new) 31 const char * const new; 36 newsize = (new == NULL) ? 0 : strlen(new); 43 if (new != NULL) 44 (void) strcpy(result + oldsize, new);
|
/opensolaris-onvv-gate/usr/src/tools/scripts/ |
H A D | protocmp.terse.sh | 46 new="$1"; shift 52 nawk -v old="$old" -v new="$new" -v differ="$differ" ' 79 printf("\n%s\n\n", new);
|
/opensolaris-onvv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | scr_dump.c | 76 WINDOW *new; local 81 new = getwin(fp); 84 if (new == NULL) 87 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) { 88 (void) delwin(new); 96 new->_flags &= ~W_CLEAR_WINDOW; /* Removed default clear command */ 97 *w = *new; 105 new->_base = NULL; 106 new [all...] |
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/docs/ |
H A D | src2texi | 15 ${dir}/${src} | expand > ${texi}.new 16 mv -f ${texi}.new ${dir}/${texi}
|
/opensolaris-onvv-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 59 struct diff {struct range old, new; }; member in struct:diff 66 * the "new" component of de contains line positions 222 dd[i].new.from = c; 223 dd[i].new.to = d; 226 dd[i].new.from = dd[i-1].new.to; 289 d1->new.from, d1->new.to, 291 d2->new.from, d2->new [all...] |
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_wr.c | 76 kmdb_wr_t *new = arg; local 79 new->wn_next = new->wn_prev = NULL; 91 mdb.m_dbgwrtail = new; 93 mdb.m_dbgwrhead = new; 99 * Point the new node at the current tail. Attempt to set tail 100 * to point to our new node, but only as long as tail is what 103 new->wn_prev = curtail; 106 (uintptr_t)new) != (uintptr_t)curtail); 159 kmdb_wr_t *new local [all...] |