HomeSort by relevance Sort by last modified time
    Searched refs:new (Results 1 - 25 of 1084) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/uts/common/avs/ns/solaris/
nsc_list.c 53 * Link new into list after old.
60 ls_ins_after(ls_elt_t *old, ls_elt_t *new)
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)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libparted/common/lib/
strndup.c 30 char *new = malloc (len + 1); local
32 if (new == NULL)
35 new[len] = '\0';
36 return memcpy (new, s, len);
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
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.0001)->blog(), -$ten * 4)
    [all...]
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.2E1'), '2')
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
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('-1r4'); ok ($x,'NaN'); ok ($x->{_n}, '0'); ok ($x->{_d},'0')
    [all...]
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('12345678901234567890/1E0')
    [all...]
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(),
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Devel/PPPort/
ppport_h.PL 8 my $new = '';
10 $new = <FH> if open(FH, "ppport.tmp"); close FH;
11 if ($old ne $new) {
  /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/
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)
  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
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)
  /onnv/onnv-gate/usr/src/lib/libresolv2/include/
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} ${old} ; the
    [all...]
  /onnv/onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/
xnew.h 33 #include <new>
35 #include <new.h>
44 *operator new(size_t, void *p)
  /onnv/onnv-gate/usr/src/lib/libcurses/screen/
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->_firstch)
    [all...]
setcurscreen.c 48 setcurscreen(SCREEN *new)
52 if (new != SP) {
56 fprintf(outf, "setterm: old %x, new %x\n", rv, new);
59 SP = new;
60 if (new) {
  /onnv/onnv-gate/usr/src/cmd/powertop/common/
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...]
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
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)
  /onnv/onnv-gate/usr/src/lib/libresolv2/common/isc/
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->file) < 0)
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...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Net/demos/
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]);
inetd 6 $p = new Net::DummyInetd qw(/usr/lib/sendmail -ba -bs);
8 $smtp = Net::SMTP->new('localhost', Port => $p->port, Debug => 7);
  /onnv/onnv-gate/usr/src/cmd/agents/snmp/agent/
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->name.subids, subids, len * (int32_t)sizeof(Subid))
    [all...]
  /onnv/onnv-gate/usr/src/cmd/zic/
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);
  /onnv/onnv-gate/usr/src/tools/scripts/
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);
  /onnv/onnv-gate/usr/src/lib/libc/port/sys/
libc_link.c 39 extern int __link(const char *existing, const char *new);
42 link(const char *existing, const char *new)
65 return (__link(existing, new));
  /onnv/onnv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
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->_line = NULL
    [all...]
  /onnv/onnv-gate/usr/src/grub/grub-0.97/docs/
src2texi 15 ${dir}/${src} | expand > ${texi}.new
16 mv -f ${texi}.new ${dir}/${texi}

Completed in 540 milliseconds

1 2 3 4 5 6 7 8 91011>>