/illumos-gate/usr/src/cmd/audio/include/ |
H A D | archdep.h | 48 #define DECODE_SHORT(from, to) *((short *)(to)) = *((short *)(from)) argument 49 #define DECODE_LONG(from, to) *((long *)(to)) = *((long *)(from)) argument 50 #define DECODE_FLOAT(from, to) *((float *)(to)) = *((float *)(from)) argument 51 #define DECODE_DOUBLE(from, to) *((double *)(to)) = *((double *)(from)) argument 55 #define DECODE_SHORT(from, to) \ argument 58 #define DECODE_LONG(from, to) \ argument 64 #define DECODE_FLOAT(from, to) DECODE_LONG((to), (from)) argument 80 #define ENCODE_SHORT(from, to) DECODE_SHORT((from), (to)) argument 81 #define ENCODE_LONG(from, to) DECODE_LONG((from), (to)) argument 82 #define ENCODE_FLOAT(from, to) DECODE_FLOAT((from), (to)) 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)) 125 (*to) = ((((*from) >> 8) & 0xff) | (((*from) & 0xff) << 8)) 126 #define AUDIO_WAV_HOST2FILE_INT(from, to) \ argument 127 AUDIO_WAV_FILE2HOST_INT((from), (to)) 129 AUDIO_WAV_FILE2HOST_SHORT((from), (to)) 133 *((int *)(to)) = *((int *)(from)) 135 *((short *)(to)) = *((short *)(from)) 137 *((int *)(to)) = *((int *)(from)) [all …]
|
H A D | aiff.h | 143 #define AUDIO_AIFF_FILE2HOST_INT(from, to) \ argument 144 *((int *)(to)) = *((int *)(from)) 146 *((short *)(to)) = *((short *)(from)) 147 #define AUDIO_AIFF_HOST2FILE_INT(from, to) \ argument 148 *((int *)(to)) = *((int *)(from)) 150 *((short *)(to)) = *((short *)(from)) 153 (*to) = ((((*from) >> 24) & 0xff) | (((*from) & 0xff) << 24) | \ 154 (((*from) >> 8) & 0xff00) | (((*from) & 0xff00) << 8)) 156 (*to) = ((((*from) >> 8) & 0xff) | (((*from) & 0xff) << 8)) 158 AUDIO_AIFF_FILE2HOST_INT((from), (to)) [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_path.c | 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 115 if (from != tmp) { in prom_pathname() 118 from = tmp; in prom_pathname() 144 p = from; in prom_pathname() 163 while ((*from != (char)0) && (*from != '/')) in prom_strip_options() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | res.ok | 25 line from V1 to V2 26 line from V2 to V3 27 line from V3 to V4 28 line from V4 to V5 29 line from V5 to V6 30 line from V6 to V1 124 line from V1 to V2 125 line from V2 to V3 126 line from V3 to V4 127 line from V4 to V5 [all …]
|
H A D | lsd1.ok | 19 line from V1 to V2 20 line from V2 to V3 21 line from V3 to V4 22 line from V4 to V5 23 line from V5 to V6 24 line from V6 to V1 66 line from V1 to V2 67 line from V2 to V3 68 line from V3 to V4 69 line from V4 to V5 [all …]
|
H A D | res.p | 9 back bond -120 from R4.V4 ; H 10 back bond 60 from R4.V3 ; H 13 doublebond down from C ; O 15 back bond 60 from R5.V3 ; H 16 back bond down from R5.V4 ; O 18 bond 120 from R5.V3 ; O 19 bond right lenght .1 from O ; C 21 bond right length .1 from C 23 bond 30 from B ; OCH3 24 bond right from B ; OCH3 [all …]
|
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 323 d1[1].old.from = d1->old.from; in merge() 324 d1[1].new.from = d1->new.from; in merge() 331 d2[1].old.from = d2->old.from; in merge() 332 d2[1].new.from = d2->new.from; in merge() 361 if (d1->new.from < d2->new.from) { in merge() 362 d2->old.from -= d2->new.from-d1->new.from; in merge() 363 d2->new.from = d1->new.from; in merge() 365 d1->old.from -= d1->new.from-d2->new.from; in merge() 366 d1->new.from = d2->new.from; in merge() 439 trange.from = rnew->from - delta; in keep() [all …]
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | xgetenv.c | 171 reduce(char *from) in reduce() argument 173 char *to = from; in reduce() 177 while (*from &&isspace((int)*from)) in reduce() 178 from++; in reduce() 181 while (*from && (*from != '=') && !isspace((int)*from)) in reduce() 182 *to++ = *from++; in reduce() 185 while (*from && isspace((int)*from)) in reduce() 186 from++; in reduce() 193 while (*from && isspace((int)*from)) in reduce() 194 from++; in reduce() [all …]
|
H A D | s_string.c | 193 for (; *from; from++) in s_append() 288 from->ptr++; in s_tok() 293 from->ptr += strspn(from->ptr, split); in s_tok() 300 from->ptr++; in s_tok() 389 from->ptr++; in s_parse() 395 from->ptr++; in s_parse() 396 for (; *from->ptr != '\'' && *from->ptr != '\0'; from->ptr++) in s_parse() 399 from->ptr++; in s_parse() 401 from->ptr++; in s_parse() 402 for (; *from->ptr != '"' && *from->ptr != '\0'; from->ptr++) in s_parse() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | cast.c | 11 static to from##2##to(from x) { \ 16 DEFINE_CAST(from, bool) \ 17 DEFINE_CAST(from, char) \ 18 DEFINE_CAST(from, schar) \ 19 DEFINE_CAST(from, uchar) \ 20 DEFINE_CAST(from, short) \ 22 DEFINE_CAST(from, int) \ 23 DEFINE_CAST(from, uint) \ 24 DEFINE_CAST(from, long) \ 25 DEFINE_CAST(from, ulong) \ [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | fixup_kernel.sh | 29 delete from return_states where function='scnprintf' and type = 9017; 30 delete from return_states where function='vsnprintf' and type = 9017; 31 delete from return_states where function='snprintf' and type = 9017; 32 delete from return_states where function='sprintf' and type = 9017; 34 delete from return_states where function='scnprintf' and type = 8017; 36 delete from return_states where function='snprintf' and type = 8017; 37 delete from return_states where function='sprintf' and type = 8017; 47 delete from caller_info where caller = 'NF_HOOK' and type = 8017; 123 delete from caller_info where caller = '__kernel_write'; 172 delete from type_info where key = '(union anonymous)->__val'; [all …]
|
/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | example.3 | 4 block in from any to any 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 20 pass in from 10.1.2.1/32 to any 25 block out from any 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 18 log in on le0 proto tcp from any to any flags S/SA 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 38 block in quick on le0 from any to any with ipopts 42 pass in from any to any 46 block in on le0 proto udp from any to 10.1.3.0/24 47 block in on le0 proto udp from any to 10.1.1.0/24 [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
|
/illumos-gate/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() 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() 90 krb5_copy_keyblock(context, from, to) in krb5_copy_keyblock() argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 1030 from->tcp_no_listener; in tcp_add_stats() 1032 from->tcp_listendrop; in tcp_add_stats() 1036 from->tcp_wsrv_called; in tcp_add_stats() 1038 from->tcp_flwctl_on; in tcp_add_stats() 1044 from->tcp_zcopy_on; in tcp_add_stats() 1046 from->tcp_zcopy_off; in tcp_add_stats() 1054 from->tcp_fusion_urg; in tcp_add_stats() 1074 from->tcp_lso_enabled; in tcp_add_stats() 1078 from->tcp_lso_times; in tcp_add_stats() 1090 from->tcp_rst_unsent; in tcp_add_stats() [all …]
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | inffast.c | 197 from = window; in inflate_fast() 199 from += wsize - op; in inflate_fast() 216 from = window; in inflate_fast() 238 *out++ = *from++; in inflate_fast() 239 *out++ = *from++; in inflate_fast() 240 *out++ = *from++; in inflate_fast() 244 *out++ = *from++; in inflate_fast() 252 *out++ = *from++; in inflate_fast() 253 *out++ = *from++; in inflate_fast() 254 *out++ = *from++; in inflate_fast() [all …]
|
/illumos-gate/usr/src/head/audio/ |
H A D | au.h | 115 #define AUDIO_AU_FILE2HOST(from, to) *((long *)(to)) = *((long *)(from)) argument 117 #define AUDIO_AU_FILE2HOST(from, to) \ argument 118 ((char *)(to))[0] = ((char *)(from))[3]; \ 119 ((char *)(to))[1] = ((char *)(from))[2]; \ 120 ((char *)(to))[2] = ((char *)(from))[1]; \ 121 ((char *)(to))[3] = ((char *)(from))[0]; 125 #define AUDIO_AU_HOST2FILE(from, to) AUDIO_AU_FILE2HOST((from), (to)) argument
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/ |
H A D | vfscanf.c | 143 from = 'X'; in mks_vfscanf() 168 from = 'E'; in mks_vfscanf() 172 from = 'X'; in mks_vfscanf() 186 from = 'X'; in mks_vfscanf() 317 from = 'X'; in mks_vfscanf() 324 from = 'A'; in mks_vfscanf() 344 if (from == 'P' || from == 'A') { in mks_vfscanf() 358 from = 'X'; in mks_vfscanf() 383 from = 'X'; in mks_vfscanf() 396 from = 'X'; in mks_vfscanf() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 385 from->sctp_send_cookie_ack_failed; in sctp_add_kstats2() 389 from->sctp_send_shutdown_failed; in sctp_add_kstats2() 391 from->sctp_send_shutdown_ack_failed; in sctp_add_kstats2() 393 from->sctp_send_shutdown_comp_failed; in sctp_add_kstats2() 395 from->sctp_send_user_abort_failed; in sctp_add_kstats2() 398 from->sctp_send_asconf_ack_failed; in sctp_add_kstats2() 972 to->sctpAborted += from->sctpAborted; in sctp_add_mib() 980 to->sctpOutAck += from->sctpOutAck; in sctp_add_mib() 988 to->sctpInAck += from->sctpInAck; in sctp_add_mib() 989 to->sctpInDupAck += from->sctpInDupAck; in sctp_add_mib() [all …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | movedir.c | 50 move_dir(char *from, char *to, char *login, int flags) in move_dir() argument 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() 78 len = strlen(from); in move_dir() 79 if (strncmp(from, to, len) == 0 && in move_dir() 85 if (stat(from, &statbuf) == 0) { in move_dir() 94 rc = rm_files(from, login, flags); in move_dir()
|
/illumos-gate/usr/src/lib/nametoaddr/straddr/common/ |
H A D | straddr.c | 297 from = netbufp->buf; in _taddr2uaddr() 300 if (*from == '\\') { in _taddr2uaddr() 304 if (*from == '\n' || !isprint((unsigned char)*from)) { in _taddr2uaddr() 308 *to++ = *from; in _taddr2uaddr() 311 from++; in _taddr2uaddr() 338 from = uaddr; in _uaddr2taddr() 341 while (*from) { in _uaddr2taddr() 342 if (*from == '\\') { in _uaddr2taddr() 345 from += 2; in _uaddr2taddr() 350 from += 4; in _uaddr2taddr() [all …]
|