/titanic_41/usr/src/cmd/audio/include/ |
H A D | archdep.h | 50 #define DECODE_SHORT(from, to) *((short *)(to)) = *((short *)(from)) argument 51 #define DECODE_LONG(from, to) *((long *)(to)) = *((long *)(from)) argument 52 #define DECODE_FLOAT(from, to) *((float *)(to)) = *((float *)(from)) argument 53 #define DECODE_DOUBLE(from, to) *((double *)(to)) = *((double *)(from)) argument 57 #define DECODE_SHORT(from, to) \ argument 58 ((char *)(to))[0] = ((char *)(from))[1]; \ 59 ((char *)(to))[1] = ((char *)(from))[0]; 60 #define DECODE_LONG(from, to) \ argument 61 ((char *)(to))[0] = ((char *)(from))[3]; \ 62 ((char *)(to))[1] = ((char *)(from))[2]; \ [all …]
|
H A D | wav.h | 121 #define AUDIO_WAV_FILE2HOST_INT(from, to) \ argument 122 (*to) = ((((*from) >> 24) & 0xff) | (((*from) & 0xff) << 24) | \ 123 (((*from) >> 8) & 0xff00) | (((*from) & 0xff00) << 8)) 124 #define AUDIO_WAV_FILE2HOST_SHORT(from, to) \ argument 125 (*to) = ((((*from) >> 8) & 0xff) | (((*from) & 0xff) << 8)) 126 #define AUDIO_WAV_HOST2FILE_INT(from, to) \ argument 127 AUDIO_WAV_FILE2HOST_INT((from), (to)) 128 #define AUDIO_WAV_HOST2FILE_SHORT(from, to) \ argument 129 AUDIO_WAV_FILE2HOST_SHORT((from), (to)) 132 #define AUDIO_WAV_FILE2HOST_INT(from, to) \ argument [all …]
|
H A D | aiff.h | 145 #define AUDIO_AIFF_FILE2HOST_INT(from, to) \ argument 146 *((int *)(to)) = *((int *)(from)) 147 #define AUDIO_AIFF_FILE2HOST_SHORT(from, to) \ argument 148 *((short *)(to)) = *((short *)(from)) 149 #define AUDIO_AIFF_HOST2FILE_INT(from, to) \ argument 150 *((int *)(to)) = *((int *)(from)) 151 #define AUDIO_AIFF_HOST2FILE_SHORT(from, to) \ argument 152 *((short *)(to)) = *((short *)(from)) 154 #define AUDIO_AIFF_FILE2HOST_INT(from, to) \ argument 155 (*to) = ((((*from) >> 24) & 0xff) | (((*from) & 0xff) << 24) | \ [all …]
|
/titanic_41/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_path.c | 32 prom_path_gettoken(register char *from, register char *to) in prom_path_gettoken() argument 34 while (*from) { in prom_path_gettoken() 35 switch (*from) { in prom_path_gettoken() 41 return (from); in prom_path_gettoken() 43 *to++ = *from++; in prom_path_gettoken() 47 return (from); in prom_path_gettoken() 62 char *from = tmp; in prom_pathname() local 83 if ((uintptr_t)from > (uint32_t)-1) { in prom_pathname() 84 from = promplat_alloc(OBP_MAXPATHLEN); in prom_pathname() 85 if (from == NULL) { in prom_pathname() [all …]
|
/titanic_41/usr/src/lib/libmail/common/ |
H A D | xgetenv.c | 173 reduce(char *from) in reduce() argument 175 char *to = from; in reduce() 176 char *svfrom = from; in reduce() 179 while (*from &&isspace((int)*from)) in reduce() 180 from++; in reduce() 183 while (*from && (*from != '=') && !isspace((int)*from)) in reduce() 184 *to++ = *from++; in reduce() 187 while (*from && isspace((int)*from)) in reduce() 188 from++; in reduce() 191 if (*from == '=') in reduce() [all …]
|
H A D | s_string.c | 189 s_append(string *to, char *from) in s_append() argument 193 if (from == NULL) in s_append() 195 for (; *from; from++) in s_append() 196 s_putc(to, (int)(unsigned int)*from); in s_append() 282 s_tok(string *from, char *split) in s_tok() argument 284 char *splitend = strpbrk(from->ptr, split); in s_tok() 288 for (; from->ptr < splitend; ) { in s_tok() 289 s_putc(to, (int)(unsigned int)*from->ptr); in s_tok() 290 from->ptr++; in s_tok() 295 from->ptr += strspn(from->ptr, split); in s_tok() [all …]
|
/titanic_41/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 52 struct range {int from, to; }; member 111 static int skip(int i, int from, char *pr); 220 dd[i].old.from = a; in readin() 222 dd[i].new.from = c; in readin() 225 dd[i].old.from = dd[i-1].old.to; in readin() 226 dd[i].new.from = dd[i-1].new.to; in readin() 288 d1->old.from, d1->old.to, in merge() 289 d1->new.from, d1->new.to, in merge() 290 d2->old.from, d2->old.to, in merge() 291 d2->new.from, d2->new.to); in merge() [all …]
|
/titanic_41/usr/src/cmd/ipf/examples/ |
H A D | example.3 | 4 block in from any to any 6 # pass through packets to and from localhost. 8 pass in from 127.0.0.1/32 to 127.0.0.1/32 13 pass in from 10.1.3.1/32 to any 14 pass in from 10.1.3.2/32 to any 15 pass in from 10.1.3.3/32 to any 16 pass in from 10.1.3.4/32 to any 17 pass in from 10.1.3.5/32 to any 18 pass in from 10.1.0.13/32 to any 19 pass in from 10.1.1.1/32 to any [all …]
|
H A D | BASIC_1.FW | 27 block in log on ed0 from w.x.y.z/24 to any head 200 36 block in log quick from 127.0.0.0/8 to any group 100 37 block in log quick from any to 127.0.0.0/8 group 100 38 block in log quick from 127.0.0.0/8 to any group 200 39 block in log quick from any to 127.0.0.0/8 group 200 49 block in log quick from 10.0.0.0/8 to any group 100 50 block in log quick from 192.168.0.0/16 to any group 100 51 block in log quick from 172.16.0.0/12 to any group 100 55 block in log quick from a.b.c.d/24 to any group 100 60 pass in quick proto udp from any to any port = 53 keep state group 202 [all …]
|
H A D | example.sr | 4 log in on le0 from any to any with ipopts 11 block in log quick on le0 from any to any with short frag 18 log in on le0 proto tcp from any to any flags S/SA 22 block in log on le0 proto icmp from any to any icmp-type unreach 27 block in log on le0 proto udp from any to any port = 2049 29 # quickly allow any packets to/from a particular pair of hosts 31 pass in quick from any to 10.1.3.2/32 32 pass in quick from any to 10.1.0.13/32 33 pass in quick from 10.1.3.2/32 to any 34 pass in quick from 10.1.0.13/32 to any [all …]
|
H A D | BASIC_2.FW | 26 block in log on ed0 from w.x.y.z/24 to any head 200 34 block in log quick from 10.0.0.0/8 to any group 100 35 block in log quick from 192.168.0.0/16 to any group 100 36 block in log quick from 172.16.0.0/12 to any group 100 40 block in log quick from a.b.c.d/24 to any group 100 47 block in log quick from 127.0.0.0/8 to any group 100 48 block in log quick from any to 127.0.0.0/8 group 100 49 block in log quick from 127.0.0.0/8 to any group 200 50 block in log quick from any to 127.0.0.0/8 group 200 70 block return-rst in log proto tcp from any to any flags S/SA group 100
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_key.c | 46 const krb5_keyblock *from, krb5_keyblock *to) in krb5_copy_keyblock_data() argument 51 if (from == NULL || to == NULL) in krb5_copy_keyblock_data() 54 if ((to->contents == NULL || from->contents == NULL) && in krb5_copy_keyblock_data() 55 from->length > 0) in krb5_copy_keyblock_data() 58 to->magic = from->magic; in krb5_copy_keyblock_data() 59 to->enctype = from->enctype; in krb5_copy_keyblock_data() 60 to->length = from->length; in krb5_copy_keyblock_data() 63 if (from->length > 0) in krb5_copy_keyblock_data() 64 (void) memcpy(to->contents, from->contents, from->length); in krb5_copy_keyblock_data() 67 to->kef_mt = from->kef_mt; in krb5_copy_keyblock_data() [all …]
|
/titanic_41/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 821 tcp_add_mib(mib2_tcp_t *from, mib2_tcp_t *to) in tcp_add_mib() argument 823 to->tcpActiveOpens += from->tcpActiveOpens; in tcp_add_mib() 824 to->tcpPassiveOpens += from->tcpPassiveOpens; in tcp_add_mib() 825 to->tcpAttemptFails += from->tcpAttemptFails; in tcp_add_mib() 826 to->tcpEstabResets += from->tcpEstabResets; in tcp_add_mib() 827 to->tcpInSegs += from->tcpInSegs; in tcp_add_mib() 828 to->tcpOutSegs += from->tcpOutSegs; in tcp_add_mib() 829 to->tcpRetransSegs += from->tcpRetransSegs; in tcp_add_mib() 830 to->tcpOutRsts += from->tcpOutRsts; in tcp_add_mib() 832 to->tcpOutDataSegs += from->tcpOutDataSegs; in tcp_add_mib() [all …]
|
/titanic_41/usr/src/uts/common/zmod/ |
H A D | inffast.c | 97 unsigned char FAR *from; /* where to copy match from */ local 196 from = window - OFF; 198 from += wsize - op; 202 PUP(out) = PUP(from); 204 from = out - dist; /* rest from output */ 208 from += wsize + write - op; 213 PUP(out) = PUP(from); 215 from = window - OFF; 220 PUP(out) = PUP(from); 222 from = out - dist; /* rest from output */ [all …]
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | md_mddb.h | 668 #define de32tode(from, to) \ argument 673 to->de_next = (struct mddb_de_ic *)(uintptr_t)from->de32_next; \ 674 to->de_rb = (mddb_rb32_t *)(uintptr_t)from->de32_rb; \ 675 to->de_recid = from->de32_recid; \ 676 to->de_type1 = from->de32_type1; \ 677 to->de_type2 = from->de32_type2; \ 678 to->de_reqsize = from->de32_reqsize; \ 679 to->de_recsize = from->de32_recsize; \ 680 to->de_blkcount = from->de32_blkcount; \ 681 to->de_flags = from->de32_flags; \ [all …]
|
/titanic_41/usr/src/head/audio/ |
H A D | au.h | 117 #define AUDIO_AU_FILE2HOST(from, to) *((long *)(to)) = *((long *)(from)) argument 119 #define AUDIO_AU_FILE2HOST(from, to) \ argument 120 ((char *)(to))[0] = ((char *)(from))[3]; \ 121 ((char *)(to))[1] = ((char *)(from))[2]; \ 122 ((char *)(to))[2] = ((char *)(from))[1]; \ 123 ((char *)(to))[3] = ((char *)(from))[0]; 127 #define AUDIO_AU_HOST2FILE(from, to) AUDIO_AU_FILE2HOST((from), (to)) argument
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | canohost.c | 40 struct sockaddr_storage from; in get_remote_hostname() local 47 fromlen = sizeof(from); in get_remote_hostname() 48 memset(&from, 0, sizeof(from)); in get_remote_hostname() 49 if (getpeername(socket, (struct sockaddr *) &from, &fromlen) < 0) { in get_remote_hostname() 54 if ((res = getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), in get_remote_hostname() 59 if (from.ss_family == AF_INET6) { in get_remote_hostname() 60 struct sockaddr_in6 *from6 = (struct sockaddr_in6 *)&from; in get_remote_hostname() 62 (void) inet_ntop_native(from.ss_family, in get_remote_hostname() 73 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), in get_remote_hostname() 102 hints.ai_family = from.ss_family; in get_remote_hostname() [all …]
|
/titanic_41/usr/src/lib/libxcurses/src/libc/stdio/ |
H A D | vfscanf.c | 123 static int from; /* token type we've come from */ variable 145 from = 'X'; in mks_vfscanf() 150 if (from == 'X') { in mks_vfscanf() 165 switch (from) { in mks_vfscanf() 170 from = 'E'; in mks_vfscanf() 174 from = 'X'; in mks_vfscanf() 180 switch (from) { in mks_vfscanf() 188 from = 'X'; in mks_vfscanf() 319 from = 'X'; in mks_vfscanf() 325 if (from == 'P') { in mks_vfscanf() [all …]
|
/titanic_41/usr/src/cmd/oamuser/user/ |
H A D | movedir.c | 52 move_dir(char *from, char *to, char *login) in move_dir() argument 65 if (access(from, F_OK) == 0) { /* home dir exists */ in move_dir() 69 from, to); in move_dir() 72 errmsg(M_NOSPACE, from, to); in move_dir() 79 len = strlen(from); in move_dir() 80 if (strncmp(from, to, len) == 0 && in move_dir() 86 if (stat(from, &statbuf) == 0) { in move_dir() 95 rc = rm_files(from, login); in move_dir()
|
/titanic_41/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Move.java | 45 private Resource from; field in Move 58 protected Move(Resource from, Resource to) in Move() argument 60 this.from = from; in Move() 69 return (from); in getFrom() 112 ComponentMove(Resource from, Resource to, Component comp) in ComponentMove() argument 114 super(from, to); in ComponentMove() 183 QuantityMove(Resource from, Resource to, long qty) in QuantityMove() argument 185 super(from, to); in QuantityMove()
|
/titanic_41/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 367 sctp_add_kstats2(sctp_kstat_counter_t *from, sctp_kstat_t *to) in sctp_add_kstats2() argument 369 to->sctp_add_faddr.value.ui64 += from->sctp_add_faddr; in sctp_add_kstats2() 370 to->sctp_add_timer.value.ui64 += from->sctp_add_timer; in sctp_add_kstats2() 371 to->sctp_conn_create.value.ui64 += from->sctp_conn_create; in sctp_add_kstats2() 372 to->sctp_find_next_tq.value.ui64 += from->sctp_find_next_tq; in sctp_add_kstats2() 373 to->sctp_fr_add_hdr.value.ui64 += from->sctp_fr_add_hdr; in sctp_add_kstats2() 374 to->sctp_fr_not_found.value.ui64 += from->sctp_fr_not_found; in sctp_add_kstats2() 375 to->sctp_output_failed.value.ui64 += from->sctp_output_failed; in sctp_add_kstats2() 376 to->sctp_rexmit_failed.value.ui64 += from->sctp_rexmit_failed; in sctp_add_kstats2() 377 to->sctp_send_init_failed.value.ui64 += from->sctp_send_init_failed; in sctp_add_kstats2() [all …]
|
/titanic_41/usr/src/cmd/ssh/doc/ |
H A D | nchan2.ms | 13 move right 2*l from last ellipse.e 15 move down l from last ellipse.s 17 move down l from 1st ellipse.s 19 arrow from S1.e to S4.n 21 arrow "ibuf_empty ||" "rcvd CLOSE/" "send EOF" "" from S2.e to S4.w 22 arrow from S1.s to S2.n 25 arrow "start" "" from S1.w+(-0.5,0) to S1.w 31 move right 2*l from last ellipse.e 33 move down l from last ellipse.s 35 move down l from 1st ellipse.s [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_rename.c | 371 ASSERT(rtxnp->from.uip); in md_rename_listfolks() 372 ASSERT(rtxnp->from.unp); in md_rename_listfolks() 374 if ((!rtxnp->from.uip) || (!rtxnp->from.unp)) { in md_rename_listfolks() 376 rtxnp->from.mnum); in md_rename_listfolks() 380 if (!MD_HAS_PARENT(MD_PARENT(rtxnp->from.unp))) { in md_rename_listfolks() 389 if (MD_PARENT(rtxnp->from.unp) == MD_MULTI_PARENT) { in md_rename_listfolks() 391 rtxnp->from.mnum); in md_rename_listfolks() 396 (MD_PARENT(rtxnp->from.unp) != MD_SID(rtxnp->to.unp))) { in md_rename_listfolks() 401 md_makedevice(md_major, MD_PARENT(rtxnp->from.unp)), in md_rename_listfolks() 403 MD_UNIT(MD_PARENT(rtxnp->from.unp)), in md_rename_listfolks() [all …]
|
/titanic_41/usr/src/lib/nametoaddr/straddr/common/ |
H A D | straddr.c | 285 char *from; /* traverses the string to be converted */ in _taddr2uaddr() local 297 from = netbufp->buf; in _taddr2uaddr() 300 if (*from == '\\') { in _taddr2uaddr() 304 if (*from == '\n' || !isprint((unsigned char)*from)) { in _taddr2uaddr() 305 (void) sprintf(to, "\\%.3o", *from & 0xff); in _taddr2uaddr() 308 *to++ = *from; in _taddr2uaddr() 311 from++; in _taddr2uaddr() 331 char *from; /* traverses the universal address */ in _uaddr2taddr() local 338 from = uaddr; in _uaddr2taddr() 341 while (*from) { in _uaddr2taddr() [all …]
|
/titanic_41/usr/src/cmd/vi/port/ |
H A D | ex_vadj.c | 377 int from, to; in vadjAL() local 384 for (from = p, to = p + cnt; to <= WECHO; from++, to++) in vadjAL() 385 vtube[to] = tlines[from]; in vadjAL() 386 for (to = p; from <= WECHO; from++, to++) { in vadjAL() 387 vtube[to] = tlines[from]; in vadjAL() 470 int from, to; in vscroll() local 482 for (to = ZERO, from = ZERO + cnt; to <= WECHO - cnt; to++, from++) in vscroll() 483 vtube[to] = tlines[from]; in vscroll() 484 for (from = ZERO; to <= WECHO; to++, from++) { in vscroll() 485 vtube[to] = tlines[from]; in vscroll() [all …]
|