Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 1869) sorted by relevance

12345678910>>...75

/illumos-gate/usr/src/cmd/audio/include/
H A Darchdep.h48 #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
53 #define DECODE_SHORT(from, to) \
54 ((char *)(to))[0] = ((char *)(from))[1]; \
55 ((char *)(to))[1] = ((char *)(from))[0];
56 #define DECODE_LONG(from, to) \
57 ((char *)(to))[0] = ((char *)(from))[3]; \
58 ((char *)(to))[1] = ((char *)(from))[2]; \
[all …]
H A Dwav.h121 #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 Daiff.h142 #define AUDIO_AIFF_FILE2HOST_INT(from, to) \ argument
143 *((int *)(to)) = *((int *)(from))
144 #define AUDIO_AIFF_FILE2HOST_SHORT(from, to) \ argument
145 *((short *)(to)) = *((short *)(from))
146 #define AUDIO_AIFF_HOST2FILE_INT(from, to) \ argument
147 *((int *)(to)) = *((int *)(from))
148 #define AUDIO_AIFF_HOST2FILE_SHORT(from, to) \ argument
149 *((short *)(to)) = *((short *)(from))
151 #define AUDIO_AIFF_FILE2HOST_INT(from, to) \ argument
152 (*to) = ((((*from) >> 24) & 0xff) | (((*from) & 0xff) << 24) | \
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_path.c32 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 …]
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A Dres.ok11 Last: bond(0.2, 60, from Last.R.ne )
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
49 line from V1 to V2 chop 0.08 chop 0
50 line from V2 to V3 chop 0 chop 0
51 line from V3 to V4 chop 0 chop 0
[all …]
H A Dlsd1.ok19 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
41 line from V1 to V2 chop 0 chop 0
42 line from V2 to V3 chop 0 chop 0
43 line from V3 to V4 chop 0 chop 0
44 line from 0.75<C,V3> to 0.75<C,V4> chop 0 chop 0
[all …]
H A Dres.p9 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 Ddiff3prog.c52 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 …]
/illumos-gate/usr/src/lib/libmail/common/
H A Dxgetenv.c171 reduce(char *from) in reduce() argument
173 char *to = from; in reduce()
174 char *svfrom = 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()
189 if (*from == '=') in reduce()
[all …]
H A Ds_string.c187 s_append(string *to, char *from) in s_append() argument
191 if (from == NULL) in s_append()
193 for (; *from; from++) in s_append()
194 s_putc(to, (int)(unsigned int)*from); in s_append()
280 s_tok(string *from, char *split) in s_tok() argument
282 char *splitend = strpbrk(from->ptr, split); in s_tok()
286 for (; from->ptr < splitend; ) { in s_tok()
287 s_putc(to, (int)(unsigned int)*from->ptr); in s_tok()
288 from->ptr++; in s_tok()
293 from->ptr += strspn(from->ptr, split); in s_tok()
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dfixup_kernel.sh6 delete from caller_info where function = '(struct file_operations)->read' and file != 'fs/read_writ…
7 delete from caller_info where function = '(struct file_operations)->write' and file != 'fs/read_wri…
8 delete from caller_info where function = '(struct file_operations)->read' and caller != '__vfs_read…
9 delete from caller_info where function = '(struct file_operations)->write' and caller != '__vfs_wri…
10 delete from function_ptr where function = '(struct file_operations)->read';
11 delete from function_ptr where function = '(struct file_operations)->write';
12 delete from caller_info where function = '__vfs_write' and caller != 'vfs_write';
13 delete from caller_info where function = '__vfs_read' and caller != 'vfs_read';
14 delete from caller_info where function = '(struct file_operations)->write' and caller = 'do_loop_re…
15 delete from caller_info where function = 'do_splice_from' and caller = 'direct_splice_actor';
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dcast.c10 #define DEFINE_CAST(from, to) \ argument
11 static to from##2##to(from x) { \
15 #define DEFINE_CASTS(from) \ argument
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) \
21 DEFINE_CAST(from, ushort) \
22 DEFINE_CAST(from, int) \
[all …]
/illumos-gate/usr/src/cmd/ipf/examples/
H A Dexample.34 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 DBASIC_1.FW27 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 Dexample.sr4 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 DBASIC_2.FW26 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/inet/tcp/
H A Dtcp_stats.c888 tcp_add_mib(mib2_tcp_t *from, mib2_tcp_t *to) in tcp_add_mib() argument
890 to->tcpActiveOpens += from->tcpActiveOpens; in tcp_add_mib()
891 to->tcpPassiveOpens += from->tcpPassiveOpens; in tcp_add_mib()
892 to->tcpAttemptFails += from->tcpAttemptFails; in tcp_add_mib()
893 to->tcpEstabResets += from->tcpEstabResets; in tcp_add_mib()
894 to->tcpInSegs += from->tcpInSegs; in tcp_add_mib()
895 to->tcpOutSegs += from->tcpOutSegs; in tcp_add_mib()
896 to->tcpRetransSegs += from->tcpRetransSegs; in tcp_add_mib()
897 to->tcpOutRsts += from->tcpOutRsts; in tcp_add_mib()
899 to->tcpOutDataSegs += from->tcpOutDataSegs; in tcp_add_mib()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_key.c46 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 …]
/illumos-gate/usr/src/contrib/zlib/
H A Dinffast.c76 unsigned char FAR *from; /* where to copy match from */ in inflate_fast() local
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()
203 *out++ = *from++; in inflate_fast()
205 from = out - dist; /* rest from output */ in inflate_fast()
209 from += wsize + wnext - op; in inflate_fast()
214 *out++ = *from++; in inflate_fast()
216 from = window; in inflate_fast()
[all …]
/illumos-gate/usr/src/head/audio/
H A Dau.h115 #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 Dvfscanf.c121 static int from; /* token type we've come from */ variable
143 from = 'X'; in mks_vfscanf()
148 if (from == 'X') { in mks_vfscanf()
163 switch (from) { in mks_vfscanf()
168 from = 'E'; in mks_vfscanf()
172 from = 'X'; in mks_vfscanf()
178 switch (from) { in mks_vfscanf()
186 from = 'X'; in mks_vfscanf()
317 from = 'X'; in mks_vfscanf()
323 if (from == 'P') { in mks_vfscanf()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_snmp.c372 sctp_add_kstats2(sctp_kstat_counter_t *from, sctp_kstat_t *to) in sctp_add_kstats2() argument
374 to->sctp_add_faddr.value.ui64 += from->sctp_add_faddr; in sctp_add_kstats2()
375 to->sctp_add_timer.value.ui64 += from->sctp_add_timer; in sctp_add_kstats2()
376 to->sctp_conn_create.value.ui64 += from->sctp_conn_create; in sctp_add_kstats2()
377 to->sctp_find_next_tq.value.ui64 += from->sctp_find_next_tq; in sctp_add_kstats2()
378 to->sctp_fr_add_hdr.value.ui64 += from->sctp_fr_add_hdr; in sctp_add_kstats2()
379 to->sctp_fr_not_found.value.ui64 += from->sctp_fr_not_found; in sctp_add_kstats2()
380 to->sctp_output_failed.value.ui64 += from->sctp_output_failed; in sctp_add_kstats2()
381 to->sctp_rexmit_failed.value.ui64 += from->sctp_rexmit_failed; in sctp_add_kstats2()
382 to->sctp_send_init_failed.value.ui64 += from->sctp_send_init_failed; in sctp_add_kstats2()
[all …]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DMove.java45 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/lib/nametoaddr/straddr/common/
H A Dstraddr.c285 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 …]
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dmovedir.c50 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()

12345678910>>...75