Searched refs:new (Results 1 - 25 of 662) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_connects.c61 evConn *new; local
64 OKNEW(new);
65 new->flags = EV_CONN_LISTEN;
66 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */
77 OKFREE(ioctl(fd, FIONBIO, (char *)&on), new); local
79 OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new);
81 new->flags |= EV_CONN_BLOCK;
83 OKFREE(listen(fd, maxconn), new); local
84 if (evSelectFD(opaqueCtx, fd, EV_READ, listener, new, &new
110 evConn *new; local
235 evAccept *new; local
284 int new; local
306 (*conn->func)(opaqueCtx, conn->uap, new, &la.sa, lalen, &ra.sa, ralen); local
[all...]
H A Dev_waits.c44 * Enter a new wait function on the queue.
51 evWait *new; local
54 OKNEW(new);
55 new->func = func;
56 new->uap = uap;
57 new->tag = tag;
58 new->next = NULL;
60 wl->last->next = new;
62 wl->first = new;
63 wl->last = new;
162 evWait *new; local
202 evWaitList *new; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dualarm.c24 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)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dualarm.c32 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)
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dprobe_ipv6.sh12 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...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Ddupwin.c52 * 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 Dsetcurscreen.c48 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) {
/illumos-gate/usr/src/cmd/powertop/common/
H A Dsuggestions.c63 * 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...]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dksid.c37 char *new; local
40 new = umem_alloc(len + 1, KM_SLEEP);
41 bcopy(s, new, len);
42 new[len] = '\0';
44 return (new);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_013_pos.ksh49 if datasetexists $TESTPOOL/$TESTCTR@snap-new ; then
50 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new
57 if datasetexists $TESTPOOL@snap-new ; then
58 log_must zfs destroy -f $TESTPOOL@snap-new
72 log_must zfs rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new
73 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
76 log_must zfs rename -r $TESTPOOL@snap $TESTPOOL@snap-new
77 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
78 log_must datasetexists $TESTPOOL@snap-new
80 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_common.h42 #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)
/illumos-gate/usr/src/cmd/zic/
H A Dialloc.c29 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);
/illumos-gate/usr/src/tools/scripts/
H A Dprotocmp.terse.sh46 new="$1"; shift
52 nawk -v old="$old" -v new="$new" -v differ="$differ" '
79 printf("\n%s\n\n", new);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dscr_dump.c76 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...]
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dsrc2texi15 ${dir}/${src} | expand > ${texi}.new
16 mv -f ${texi}.new ${dir}/${texi}
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_list.c20 * Insert a new entry between two known consecutive entries.
26 __list_add(struct mlist_head *new, struct mlist_head *prev, argument
29 next->prev = new;
30 new->next = next;
31 new->prev = prev;
32 prev->next = new;
36 * mlist_add - add a new entry
37 * @new: new entry to be added
40 * Insert a new entr
44 mlist_add(struct mlist_head *new, struct mlist_head *head) argument
58 mlist_add_tail(struct mlist_head *new, struct mlist_head *head) argument
[all...]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dnew_bugs.sh3 new=$1
7 echo "usage: $0 <new file> <old file>"
12 # If the $old and $new are very similar then we can
24 for err in $(diff -u $old $new | cut -b 2- | egrep '(warn|error|warning):') ; do
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dapply_return_fixes.sh17 while read func old new ; do
18 echo "update return_states set return = '$new' where function = '$func' and return = '$old';" | sqlite3 $db_file
/illumos-gate/usr/src/cmd/diff3/
H A Ddiff3prog.c59 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...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_wr.c76 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...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dscr_dump.c78 WINDOW *new; local
83 new = getwin(fp);
86 if (new == (WINDOW *) 0)
89 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) {
90 (void) delwin(new);
98 *w = *new;
106 new->_base = (cchar_t *) 0;
107 new->_line = (cchar_t **) 0;
108 new
[all...]
/illumos-gate/usr/src/lib/libgen/common/
H A Dstrtrns.c34 * in both `str' and `old' with the corresponding character from `new'.
39 strtrns(const char *str, const char *old, const char *new, argument
48 *r = new[o - old -1];
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpathdup.c55 static struct dup *head, *tail, *new; variable in typeref:struct:
77 new = tail->next;
79 tail = new;
93 new = calloc(1, sizeof (struct dup));
94 if (new == NULL) {
99 head = new;
101 tail->next = new;
102 tail = new;
131 /* Allocate and insert a pathname returning a pointer to the new string. */
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_list.c44 cmd_list_append(cmd_list_t *lp, void *new) argument
47 cmd_list_t *q = new; /* q = new list element */
60 cmd_list_prepend(cmd_list_t *lp, void *new) argument
62 cmd_list_t *p = new; /* p = new list element */
76 cmd_list_insert_before(cmd_list_t *lp, void *before_me, void *new) argument
79 cmd_list_t *q = new;
82 cmd_list_prepend(lp, new);
93 cmd_list_insert_after(cmd_list_t *lp, void *after_me, void *new) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dremovef.c48 struct cfextra *new; local
66 /* strip trailing new line */
99 new = calloc(1, sizeof (struct cfextra));
100 if (new == NULL) {
104 new->cf_ent.ftype = '-';
106 (void) eval_path(&(new->server_path), &(new->client_path),
107 &(new->map_path), path);
109 new->cf_ent.path = new
[all...]

Completed in 110 milliseconds

1234567891011>>