/titanic_52/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))[ 60 DECODE_LONG(from,to) global() argument 66 DECODE_FLOAT(from,to) global() argument 68 DECODE_DOUBLE(from,to) global() argument 82 ENCODE_SHORT(from,to) global() argument 83 ENCODE_LONG(from,to) global() argument 84 ENCODE_FLOAT(from,to) global() argument 85 ENCODE_DOUBLE(from,to) global() argument [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), (t 128 AUDIO_WAV_HOST2FILE_SHORT(from,to) global() argument 132 AUDIO_WAV_FILE2HOST_INT(from,to) global() argument 134 AUDIO_WAV_FILE2HOST_SHORT(from,to) global() argument 136 AUDIO_WAV_HOST2FILE_INT(from,to) global() argument 138 AUDIO_WAV_HOST2FILE_SHORT(from,to) global() 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) >> 2 157 AUDIO_AIFF_FILE2HOST_SHORT(from,to) global() argument 159 AUDIO_AIFF_HOST2FILE_INT(from,to) global() argument 161 AUDIO_AIFF_HOST2FILE_SHORT(from,to) global() argument [all...] |
/titanic_52/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 in prom_pathname() 159 prom_strip_options(char * from,char * to) prom_strip_options() argument [all...] |
/titanic_52/usr/src/lib/libmail/common/ |
H A D | xgetenv.c | 49 * xgetenv() returns the environment value from the 55 * Xgetenv() returns the environment value from the 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 ! 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() 207 * FILE *fp; stream to read from 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 in s_tok() 388 s_parse(string * from,string * to) s_parse() argument [all...] |
/titanic_52/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 52 struct range {int from, to; }; member 54 * from is first in range of changed lines 56 * from = to = line after point of insertion 111 static int skip(int i, int from, char *pr); 175 * pick up the line numbers of all changes from 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, d in merge() 450 skip(int i,int from,char * pr) skip() argument [all...] |
/titanic_52/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. [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 an [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. [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 61 # Support all UDP `connections' initiated from insid [all...] |
H A D | example.5 | 4 # allow packets coming from foo to bar through. 6 pass in from 10.1.1.2 to 10.2.1.1 8 # allow any TCP packets from the same subnet as foo is on through to host 11 pass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667 13 # allow in UDP packets which are NOT from port 53 and are destined for 16 pass in proto udp from 10.2.2.2 port != 53 to localhost 20 block in proto icmp from any to any icmp-type unreach 25 pass in from any to any with ipopts
|
/titanic_52/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_key.c | 12 * Export of this software from the United States of America may 13 * require a specific license from the United States Government. 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 in krb5_copy_keyblock_data() 90 krb5_copy_keyblock(context,from,to) krb5_copy_keyblock() argument [all...] |
/titanic_52/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 817 * To add stats from one mib2_tcp_t to another. Static fields are not added. 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 in tcp_add_mib() 958 tcp_add_stats(tcp_stat_counter_t * from,tcp_stat_t * to) tcp_add_stats() argument [all...] |
/titanic_52/usr/src/contrib/zlib/ |
H A D | inffast.c | 59 unsigned dmax; /* maximum distance from zlib header */ in inflate_fast() 76 unsigned char FAR *from; /* where to copy match from */ in inflate_fast() local 168 if (dist > op) { /* see if copy from window */ in inflate_fast() 189 from = out - dist; in inflate_fast() 191 *out++ = *from++; in inflate_fast() 197 from = window; in inflate_fast() 199 from += wsize - op; in inflate_fast() 200 if (op < len) { /* some from window */ in inflate_fast() 203 *out++ = *from in inflate_fast() [all...] |
/titanic_52/usr/src/boot/lib/libz/ |
H A D | inffast.c | 78 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...] |
/titanic_52/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_52/usr/src/lib/libxcurses/src/libc/stdio/ |
H A D | vfscanf.c | 123 static int from; /* token type we've come from */ variable 127 * Convert formatted input from given input. 140 long unsigned number; /* return value from getnumber */ in mks_vfscanf() 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() [all...] |
/titanic_52/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 210 /* Copy data from the SCTP MIB */ in sctp_kstat_update() 213 /* These are from global ndd params. */ in sctp_kstat_update() 220 /* Copy data from the local sctp_mib to the provided kstat. */ in sctp_kstat_update() 363 * To add counters from the per CPU sctp_kstat_counter_t to the stack 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 in sctp_add_kstats2() 935 sctp_add_mib(mib2_sctp_t * from,mib2_sctp_t * to) sctp_add_mib() argument [all...] |
/titanic_52/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Move.java | 45 private Resource from; field in Move 55 * @param from The source of the move 58 protected Move(Resource from, Resource to) in Move() argument 60 this.from = from; in Move() 69 return (from); in getFrom() 108 * @param from The source of the move 112 ComponentMove(Resource from, Resource to, Component comp) in ComponentMove() argument 114 super(from, to); in ComponentMove() 156 return ("from " in toString() 183 QuantityMove(Resource from, Resource to, long qty) QuantityMove() argument [all...] |
/titanic_52/usr/src/cmd/oamuser/user/ |
H A D | movedir.c | 47 * Move directory contents from one place to another 50 move_dir(char *from, char *to, char *login, int flags) in move_dir() argument 51 /* directory to move files from */ in move_dir() 64 if (access(from, F_OK) == 0) { /* home dir exists */ in move_dir() 68 from, to); in move_dir() 71 errmsg(M_NOSPACE, from, to); in move_dir() 76 * Check that to dir is not a subdirectory of from in move_dir() 78 len = strlen(from); in move_dir() 79 if (strncmp(from, to, len) == 0 && in move_dir() 85 if (stat(from, in move_dir() [all...] |
/titanic_52/usr/src/lib/nametoaddr/straddr/common/ |
H A D | straddr.c | 51 * from a "host" file and one gotten from a "services" file. 118 * Get the address from the services file in _netdir_getbyname() 167 * _netdir_getbyaddr() takes an address (hopefully obtained from 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 in _taddr2uaddr() 331 char *from; /* traverses the universal address */ _uaddr2taddr() local [all...] |
/titanic_52/usr/src/cmd/vi/port/ |
H A D | ex_vadj.c | 188 * in case stuff is left from before. in vreopen() 203 * from that line where the insert will go. 205 * delete some (blank) lines from the top of the screen so that 271 * too, since we only use it from line WTOP. in vinslin() 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 in vadjAL() 470 int from, to; vscroll() local 810 int from, to; vadjDL() local 956 int from, to, i; vreplace() local [all...] |
/titanic_52/usr/src/lib/libsqlite/test/ |
H A D | lastinsert.test | 50 # LIRID unchanged after a delete from a table 53 delete from t1 where k=4; 62 create view v as select * from t1; 73 delete from t2; 87 select val1 from t2; 94 select val2 from t2; 101 select val3 from t2; 111 delete from t2; 126 select val1 from t2; 133 select val2 from t [all...] |
H A D | null.test | 37 select * from t1; 45 select ifnull(a+b,99) from t1; 50 select ifnull(b*c,99) from t1; 60 select ifnull(case when b<>0 then 1 else 0 end, 99) from t1; 65 select ifnull(case when not b<>0 then 1 else 0 end, 99) from t1; 70 select ifnull(case when b<>0 and c<>0 then 1 else 0 end, 99) from t1; 75 select ifnull(case when not (b<>0 and c<>0) then 1 else 0 end, 99) from t1; 80 select ifnull(case when b<>0 or c<>0 then 1 else 0 end, 99) from t1; 85 select ifnull(case when not (b<>0 or c<>0) then 1 else 0 end, 99) from t1; 90 select ifnull(case b when c then 1 else 0 end, 99) from t [all...] |