Searched defs:from (Results 26 - 50 of 283) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/net/
H A Drexec.c53 struct sockaddr_in sin, sin2, from; local
108 { int len = sizeof (from);
109 s3 = accept(s2, &from, &len);
/illumos-gate/usr/src/lib/libmail/common/
H A Dxgetenv.c49 * xgetenv() returns the environment value from the
55 * Xgetenv() returns the environment value from the
173 reduce(char *from) argument
175 char *to = from;
176 char *svfrom = from;
179 while (*from &&isspace((int)*from))
180 from++;
183 while (*from && (*from !
[all...]
H A Ds_string.c189 s_append(string *to, char *from) argument
193 if (from == NULL)
195 for (; *from; from++)
196 s_putc(to, (int)(unsigned int)*from);
207 * FILE *fp; stream to read from
282 s_tok(string *from, char *split) argument
284 char *splitend = strpbrk(from->ptr, split);
288 for (; from->ptr < splitend; ) {
289 s_putc(to, (int)(unsigned int)*from
388 s_parse(string *from, string *to) argument
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DMove.java45 private Resource from; field in class:Move
55 * @param from The source of the move
58 protected Move(Resource from, Resource to) argument
60 this.from = from;
69 return (from);
108 * @param from The source of the move
112 ComponentMove(Resource from, Resource to, Component comp) argument
114 super(from, to);
156 return ("from "
183 QuantityMove(Resource from, Resource to, long qty) argument
[all...]
/illumos-gate/usr/src/cmd/tr/
H A Dcmap.c62 * Add a mapping from "from" to "to" to the map.
65 cmap_add(struct cmap *cm, wint_t from, wint_t to) argument
75 cmn->cmn_from = from;
79 cm->cm_min = cm->cm_max = from;
83 cmn = cm->cm_root = cmap_splay(cm->cm_root, from);
85 if (cmn->cmn_from == from) {
93 ncmn->cmn_from = from;
95 if (from < cmn->cmn_from) {
104 if (from < c
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_strerror.c101 * expand_format_string: copy the printf format string from "fmt" to "buf",
108 const char *from; /* pointer into fmt */ local
121 for (from = fmt, to = buf; *from; from++) {
126 if (*from == '%' && *(from+1) == 'm') {
152 from++;
154 *to++ = *from;
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dstart_svm.c154 * loads things it gets the right information from md.conf.
174 * We ignore failures from metadevadm, since it can fail if
237 copyfile(char *from, char *to) argument
244 if ((fromfd = open(from, O_RDONLY | O_NDELAY)) < 0)
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drexec.c35 * University Acknowledgment- Portions of this document are derived from
129 struct sockaddr_storage sin2, from; local
152 socklen_t len = (socklen_t)sizeof (from);
153 s3 = accept(s2, (struct sockaddr *)&from, &len);
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dstubs.c119 rename_map(char *from, char *to, bool_t secure_map) argument
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dgroups.c56 struct group *g_ptr; /* group structure from fgetgrent */
159 /* first delete the login from the group, if it's there */
166 char **from = memptr + 1; local
171 *(from - 1) = *from;
172 } while (*from++);
H A Dproj.c108 /* first delete the login from the project, if it's there */
115 char **from = memptr + 1; local
118 *(from - 1) = *from;
119 } while (*from++);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c31 * Portions of this source code were derived from Berkeley 4.3 BSD
32 * under license from the Regents of the University of California.
45 static void rip_input(struct sockaddr_in6 *from, int size, uint_t hopcount,
73 struct sockaddr_in6 from; local
81 rmsg.msg_name = &from;
82 rmsg.msg_namelen = (socklen_t)sizeof (from);
100 (void) inet_ntop(from.sin6_family, &from.sin6_addr, buf1,
108 "Truncated message: msg_flags 0x%x from %s\n",
116 (void) fprintf(stderr, "Unknown hop limit from
128 rip_input(struct sockaddr_in6 *from, int size, uint_t hopcount, struct interface *ifp) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Din.talkd.c36 * University Acknowledgment- Portions of this document are derived from
71 struct sockaddr_in from; local
72 socklen_t from_size = (socklen_t)sizeof (from);
88 (struct sockaddr *)&from, &from_size);
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound_smf.c41 * Subclasses: The new state, one of SCF_STATE_STRING_* from libscf.h
61 * from-state STRING Previous state; SCF_STATE_STRING_*
136 int32_t transition, from, to; local
155 from = transition >> 16;
158 fromstr = smf_state_to_string(from);
180 nvlist_add_string(myattr, "from-state", fromstr) != 0 ||
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_subr.c37 * define enum_t here as it is all we need from rpc/types.h
91 dup_rdc_netbuf(const struct netbuf *from, struct netbuf *to) argument
94 to->len = from->len;
96 if (from->len > to->maxlen) {
97 cmn_err(CE_WARN, "!dup_rdc_netbuf: from->len %d, to->maxlen %d",
98 from->len, to->maxlen);
101 bcopy(from->buf, to->buf, (size_t)from->len);
215 * Returns oldsytle ipv4 RDC ver 3 addresses for RPC protocol from netbuf
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c7 * This code is derived from the Stanford/CMU enet packet filter,
21 * may be used to endorse or promote products derived from this software
474 uint_t i, from; local
539 * an 8-bit offset, and the from address is <=
548 from = i + 1;
551 if (from + p->k < from || from + p->k >= len)
558 if (from + p->jt >= len || from
[all...]
/illumos-gate/usr/src/uts/common/zmod/
H A Dinffast.c80 unsigned dmax; /* maximum distance from zlib header */
97 unsigned char FAR *from; /* where to copy match from */ local
189 if (dist > op) { /* see if copy from window */
196 from = window - OFF;
198 from += wsize - op;
199 if (op < len) { /* some from window */
202 PUP(out) = PUP(from);
204 from = out - dist; /* rest from outpu
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c37 /* convert mac address from string to uint64_t */
52 /* convert mac address from uint64_t to string */
186 vnet_dring_entry_copy(vnet_public_desc_t *from, vnet_public_desc_t *to, argument
195 *to = *from;
/illumos-gate/usr/src/cmd/mailwrapper/
H A Dmailwrapper.c21 * derived from this software without specific prior written permission.
86 char *line, *cp, *from, *to, *ap; local
137 if ((from = strsep(&cp, WS)) == NULL || cp == NULL)
145 if (strcmp(from, progname) == 0) {
/illumos-gate/usr/src/boot/lib/libz/
H A Dinffast.c78 unsigned dmax; /* maximum distance from zlib header */
95 unsigned char FAR *from; /* where to copy match from */ local
187 if (dist > op) { /* see if copy from window */
208 from = out - dist;
210 PUP(out) = PUP(from);
216 from = window - OFF;
218 from += wsize - op;
219 if (op < len) { /* some from window */
222 PUP(out) = PUP(from);
[all...]
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_lockdmsg.c87 struct sockaddr from; local
110 len = sizeof (from);
112 &from, &len);
258 * from the lock daemon and enter pid into lock file so that the daemon
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_log.cc214 int from, to, ret = 0; local
218 if ((from = open(oldname, O_RDONLY, 0666)) < 0) {
227 (void) close(from);
231 while ((size = read(from, buf, sizeof (buf))) > 0) {
248 (void) close(from);
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/
H A Djlgrp.c247 jobject obj, jlong from, jlong to)
249 return ((jint) lgrp_latency((lgrp_id_t)from, (lgrp_id_t)to));
246 Java_com_sun_solaris_service_locality_LocalityGroup_jl_1latency(JNIEnv *env, jobject obj, jlong from, jlong to) argument
/illumos-gate/usr/src/cmd/eqn/
H A De.y108 | box from box tbox %prec FROM { fromto($1, $3, $4); fromflg=0; }
136 from : FROM { $$=ps; ps -= 3; fromflg = 1; label
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsggen.c37 " UTF-8 encoded. \biconv\b(1) can be used to convert to/from UTF-8.]"
67 " \an\a from an existing message catalog. \an\a"
102 " message with that number (if any) is deleted from the"
180 * sfprintf() with ccmaps(from,to)
184 ccsfprintf(int from, int to, Sfio_t* sp, const char* format, ...) argument
192 if (from == to)
198 ccmaps(s, n, from, to);
520 error(ERROR_SYSTEM|3, "%s: cannot rename from temporary catalog file %s", catfile, s);

Completed in 106 milliseconds

1234567891011>>