/titanic_41/usr/src/lib/libbc/libc/sys/common/ |
H A D | syscall.c | 90 int i1, i2, i3, i4; in syscall() local 97 i1 = va_arg(ap, int); in syscall() 101 return (bc_read(i1, c1, i2)); in syscall() 103 i1 = va_arg(ap, int); in syscall() 107 return (bc_write(i1, c1, i2)); in syscall() 109 i1 = va_arg(ap, int); in syscall() 113 return (bc_readv(i1, c1, i2)); in syscall() 115 i1 = va_arg(ap, int); in syscall() 119 return (bc_writev(i1, c1, i2)); in syscall() 122 i1 = va_arg(ap, int); in syscall() [all …]
|
/titanic_41/usr/src/lib/libsqlite/test/ |
H A D | expr.test | 24 execsql {CREATE TABLE test1(i1 int, i2 int, r1 real, r2 real, t1 text, t2 text)} 32 test_expr expr-1.1 {i1=10, i2=20} {i1+i2} 30 33 test_expr expr-1.2 {i1=10, i2=20} {i1-i2} -10 34 test_expr expr-1.3 {i1=10, i2=20} {i1*i2} 200 35 test_expr expr-1.4 {i1=10, i2=20} {i1/i2} 0.5 36 test_expr expr-1.5 {i1=10, i2=20} {i2/i1} 2 37 test_expr expr-1.6 {i1=10, i2=20} {i2<i1} 0 38 test_expr expr-1.7 {i1=10, i2=20} {i2<=i1} 0 39 test_expr expr-1.8 {i1=10, i2=20} {i2>i1} 1 40 test_expr expr-1.9 {i1=10, i2=20} {i2>=i1} 1 [all …]
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | strrevcmp.c | 38 register int i1, i2; local 40 i1 = strlen(s1) - 1; 42 while (i1 >= 0 && i2 >= 0 && 43 charmap[(unsigned char) s1[i1]] == 46 --i1; 49 if (i1 < 0) 61 return (charmap[(unsigned char) s1[i1]] - 80 register int i1, i2; local 82 i1 = strlen(s1) - 1; 84 while (i1 >= 0 && i2 >= 0 && s1[i1] == s2[i2]) [all …]
|
/titanic_41/usr/src/lib/libc/i386/gen/ |
H A D | strcmp.c | 63 #define ANYNUL(i1, i2) (((i1) - (int)0x0101010101010101LL) & ~(i2) & \ argument 70 int i1, i2; in strcmp() local 166 i1 = s1[0]; in strcmp() 168 if (i1 != i2) in strcmp() 170 else if (ANYNUL(i1, i2)) in strcmp() 174 i1 = s1[1]; in strcmp() 176 if (i1 != i2) in strcmp() 178 else if (ANYNUL(i1, i2)) in strcmp() 182 i1 = s1[2]; in strcmp() 184 if (i1 != i2) in strcmp() [all …]
|
/titanic_41/usr/src/uts/common/inet/tcp/ |
H A D | tcp_opt_data.c | 311 int32_t *i1 = (int32_t *)ptr; in tcp_opt_default() local 318 *i1 = tcps->tcps_ip_notify_interval; in tcp_opt_default() 321 *i1 = tcps->tcps_ip_abort_interval; in tcp_opt_default() 324 *i1 = tcps->tcps_ip_notify_cinterval; in tcp_opt_default() 327 *i1 = tcps->tcps_ip_abort_cinterval; in tcp_opt_default() 336 *i1 = tcps->tcps_ipv4_ttl; in tcp_opt_default() 345 *i1 = tcps->tcps_ipv6_hoplimit; in tcp_opt_default() 363 int *i1 = (int *)ptr; in tcp_opt_get() local 378 *i1 = tcp->tcp_snd_zcopy_on ? in tcp_opt_get() 382 *i1 = (tcp->tcp_state == TCPS_LISTEN); in tcp_opt_get() [all …]
|
/titanic_41/usr/src/common/crypto/arcfour/sun4v/ |
H A D | arcfour_crypt.c | 67 unsigned int tmp0, tmp1, i_accum, shift = 0, i1; in arcfour_crypt() local 158 for (ii = 0, i1 = i; ii < ((len-1) & (~7)); in arcfour_crypt() 159 ii += 8, i1 = i1&0xff) { in arcfour_crypt() 166 if (i1 < 248) { in arcfour_crypt() 169 i1 = (i1 + 1); in arcfour_crypt() 179 base1 = &base[i1]; in arcfour_crypt() 201 if (i1 == tmp0) { in arcfour_crypt() 219 if ((i1 ^ j) < 2) { in arcfour_crypt() 249 *((unsigned short *) &base[i1]) = in arcfour_crypt() 306 i1 = (i1+6); in arcfour_crypt() [all …]
|
/titanic_41/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_invoke.s | 76 sub %i1, 6, %i1 ! %i1 is now num regs over 6 (if any) 77 brgz,pn %i1, savestackargs 78 sllx %i1, 3, %i1 ! (argc - 6) * 8 97 ldx [%l0 + %i1], %l0 109 add %i1, STACK_ALIGN/2, %g1 120 sub %i1, 8, %i1 122 ldx [%l0 + %i1], %l2 123 stx %l2, [%l1 + %i1] 124 brnz,pt %i1, 1b 125 sub %i1, 8, %i1
|
/titanic_41/usr/src/uts/sun4v/cpu/ |
H A D | niagara_copy.s | 1168 andcc %i1, 1, %o3 ! is dest byte aligned 1174 andcc %i1, 2, %o3 1177 andcc %i1, 4, %o3 1186 andcc %i1, 0x3f, %o3 ! %o3 == 0 means dst is 64 byte aligned 1197 add %i1, 8, %i1 ! increment dst ptr 1198 stx %o4, [%i1-8] 1207 stx %o4, [%i1] 1210 stx %o4, [%i1+8] 1213 add %i1, 16, %i1 ! increment dst ptr 1253 sub %i1, %i0, %i1 [all …]
|
H A D | generic_copy.s | 121 mov %i1, %g5 ! save dest addr start 132 xor %i0, %i1, %o4 ! xor from and to address 137 xor %i0, %i1, %o4 ! xor from and to address 147 ! i0 - src address, i1 - dest address, i2 - count 159 btst 3, %i1 ! is destnation address aligned? 184 stb %i4, [%i1] ! write a byte 185 add %i1, 1, %i1 ! increment destination address 187 btst 3, %i1 ! is destination aligned? 205 st %i5, [%i1] ! write a word 208 add %i1, 4, %i1 ! increment destination address [all …]
|
/titanic_41/usr/src/lib/libc/sparc/gen/ |
H A D | strncmp.s | 56 sub %i0, %i1, %i0 ! delay slot, get diff from s1 - s2 59 andcc %i1, 3, %i3 ! is s2 aligned 66 ldub [%i1], %i5 70 inc %i1 87 .w3cmp: ldub [%i1], %i5 88 inc 1, %i1 91 sub %i0, %i1, %i0 95 ld [%i1], %i3 ! delay slot 96 dec %i1 ! reset s2 101 ld [%i0 + %i1], %i4 [all …]
|
H A D | strncpy.s | 82 ldub [%i3 + %i4], %i1 ! src[] 83 stb %i1, [%i2 + %i4] ! dst[] = src[] 86 tst %i1 ! end of src reached (null byte) ? 103 lduw [%i3 + %i4], %i1 ! src dword 106 andn %i5, %i1, %g1 ! ~dword & 0x80808080 107 sub %i1, %l1, %l0 ! dword - 0x01010101 110 stw %i1, [%i2 + %i4] ! store word to dst (address pre-incremented) 117 srl %i1, 24, %g1 ! first byte 121 andn %i1, %g1, %i1 ! if byte == 0, start padding with null bytes 122 srl %i1, 16, %g1 ! second byte [all …]
|
H A D | ascii_strcasecmp.s | 128 subcc %i0, %i1, %i2 ! s1 == s2 ? 155 ldub [%i1 + %i2], %i0 ! s1[1] 156 ldub [%i1], %g1 ! s2[1] 169 inc %i1 ! s1++, s2++ 195 andcc %i1, 3, %i3 ! s2 word-aligned ? 207 andcc %i1, 3, %i3 ! s2 word aligned ? 217 andn %i1, 3, %i1 ! round s1 pointer down to next word 220 lduw [%i1], %i0 ! new lower word from s2 235 lduw [%i1 + 4], %i0 ! load next aligned word from s2 239 lduw [%i1 + %i2], %i3 ! x1 = word from s1 [all …]
|
/titanic_41/usr/src/lib/libc/sparcv9/gen/ |
H A D | strncmp.s | 56 sub %i0, %i1, %i0 ! delay slot, get diff from s1 - s2 59 andcc %i1, 3, %i3 ! is s2 aligned 66 ldub [%i1], %i5 70 inc %i1 87 .w3cmp: ldub [%i1], %i5 88 inc 1, %i1 91 sub %i0, %i1, %i0 95 lduw [%i1], %i3 ! delay slot 96 dec %i1 ! reset s2 101 lduw [%i0 + %i1], %i4 [all …]
|
H A D | ascii_strcasecmp.s | 128 subcc %i0, %i1, %i2 ! s1 == s2 ? 155 ldub [%i1 + %i2], %i0 ! s1[1] 156 ldub [%i1], %g1 ! s2[1] 169 inc %i1 ! s1++, s2++ 195 andcc %i1, 3, %i3 ! s2 word-aligned ? 207 andcc %i1, 3, %i3 ! s2 word aligned ? 217 andn %i1, 3, %i1 ! round s1 pointer down to next word 220 lduw [%i1], %i0 ! new lower word from s2 235 lduw [%i1 + 4], %i0 ! load next aligned word from s2 239 lduw [%i1 + %i2], %i3 ! x1 = word from s1 [all …]
|
/titanic_41/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rds_opt.c | 52 int *i1 = (int *)(uintptr_t)ptr; in rds_opt_get() local 58 *i1 = SOCK_DGRAM; in rds_opt_get() 62 *i1 = q->q_hiwat; in rds_opt_get() 65 *i1 = RD(q)->q_hiwat; in rds_opt_get() 84 int *i1 = (int *)(uintptr_t)invalp; in rds_opt_set() local 128 if (*i1 > rds_max_buf) { in rds_opt_set() 133 q->q_hiwat = *i1; in rds_opt_set() 137 if (*i1 > rds_max_buf) { in rds_opt_set() 142 RD(q)->q_hiwat = *i1; in rds_opt_set() 143 (void) proto_set_rx_hiwat(RD(q), NULL, *i1); in rds_opt_set()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | _ftoll.c | 48 int i0, i1; /* bitslam */ in __dtoll() local 65 i1 = u.i[1]; in __dtoll() 74 if (i0 >= 0 || exp != 63 || (i0 & 0xfffff) != 0 || i1 != 0) { in __dtoll() 90 m0 = 0x40000000 | ((i0 << 10) & 0x3ffffc00) | ((i1 >> 22) & 0x3ff); in __dtoll() 91 m1 = i1 << 10; in __dtoll() 217 unsigned int i1, i2; /* a long double is 128-bit in length */ in _Q_qtoll() local 228 i1 = plngdbl[1]; in _Q_qtoll() 244 if (i0 >= 0 || exp != 63 || (i0 & 0xffff) != 0 || i1 != 0 || in _Q_qtoll() 261 m0 = 0x40000000 | ((i0 << 14) & 0x3fffc000) | ((i1 >> 18) & 0x3fff); in _Q_qtoll() 262 m1 = (i1 << 14) | ((i2 >> 18) & 0x3fff); in _Q_qtoll()
|
H A D | _ftoull.c | 52 unsigned i1; /* bitslam */ in __dtoull() local 69 i1 = u.i[1]; in __dtoull() 90 m0 = 0x80000000 | ((i0 << 11) & 0x7ffff800) | ((i1 >> 21) & 0x7ff); in __dtoull() 91 m1 = i1 << 11; in __dtoull() 228 unsigned int i1, i2; /* a long double is 128-bit in length */ in _Q_qtoull() local 237 i1 = plngdbl[1]; in _Q_qtoull() 263 m0 = 0x80000000 | ((i0<<15) & 0x7fff8000) | ((i1>>17) & 0x7fff); in _Q_qtoull() 264 m1 = (i1 << 15) | ((i2 >> 17) & 0x7fff); in _Q_qtoull()
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | fenv_inlines.h | 216 sse_cmpeqss(float *f1, float *f2, int *i1) in sse_cmpeqss() argument 221 : "=m" (*i1), "+x" (*f1) in sse_cmpeqss() 227 sse_cmpltss(float *f1, float *f2, int *i1) in sse_cmpltss() argument 232 : "=m" (*i1), "+x" (*f1) in sse_cmpltss() 238 sse_cmpless(float *f1, float *f2, int *i1) in sse_cmpless() argument 243 : "=m" (*i1), "+x" (*f1) in sse_cmpless() 249 sse_cmpunordss(float *f1, float *f2, int *i1) in sse_cmpunordss() argument 254 : "=m" (*i1), "+x" (*f1) in sse_cmpunordss() 357 sse_cvtsi2ss(int *i1, float *f1) in sse_cvtsi2ss() argument 365 : "m" (*i1)); in sse_cvtsi2ss() [all …]
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | conn_opt.c | 590 int *i1 = (int *)ptr; in conn_opt_get() local 603 *i1 = connp->conn_debug ? SO_DEBUG : 0; in conn_opt_get() 606 *i1 = connp->conn_keepalive ? SO_KEEPALIVE : 0; in conn_opt_get() 617 *i1 = connp->conn_oobinline ? SO_OOBINLINE : 0; in conn_opt_get() 620 *i1 = connp->conn_reuseaddr ? SO_REUSEADDR : 0; in conn_opt_get() 623 *i1 = connp->conn_so_type; in conn_opt_get() 626 *i1 = (ixa->ixa_flags & IXAF_DONTROUTE) ? in conn_opt_get() 630 *i1 = connp->conn_useloopback ? SO_USELOOPBACK : 0; in conn_opt_get() 633 *i1 = connp->conn_broadcast ? SO_BROADCAST : 0; in conn_opt_get() 637 *i1 = connp->conn_sndbuf; in conn_opt_get() [all …]
|
/titanic_41/usr/src/common/bzip2/ |
H A D | blocksort.c | 347 Bool mainGtU ( UInt32 i1, in mainGtU() argument 358 AssertD ( i1 != i2, "mainGtU" ); in mainGtU() 360 c1 = block[i1]; c2 = block[i2]; in mainGtU() 362 i1++; i2++; in mainGtU() 364 c1 = block[i1]; c2 = block[i2]; in mainGtU() 366 i1++; i2++; in mainGtU() 368 c1 = block[i1]; c2 = block[i2]; in mainGtU() 370 i1++; i2++; in mainGtU() 372 c1 = block[i1]; c2 = block[i2]; in mainGtU() 374 i1++; i2++; in mainGtU() [all …]
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 509 int i1, i2, i3; in delitem() local 515 i1 = sp[n+1]; in delitem() 520 if (i2 > i1) in delitem() 521 while (i1 > i3) { in delitem() 522 i1--; in delitem() 524 buf[i2] = buf[i1]; in delitem() 525 buf[i1] = 0; in delitem() 527 i2 -= i1; in delitem() 528 for (i1 = n + 1; i1 < sp[0]; i1++) in delitem() 529 sp[i1+1-1] = sp[i1+1] + i2; in delitem() [all …]
|
/titanic_41/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 516 int i1, i2, i3; in delitem() local 521 i1 = sp[n+1]; in delitem() 526 if (i2 > i1) in delitem() 527 while (i1 > i3) { in delitem() 528 i1--; in delitem() 530 buf[i2] = buf[i1]; in delitem() 531 buf[i1] = 0; in delitem() 533 i2 -= i1; in delitem() 534 for (i1 = n+1; i1 < sp[0]; i1++) in delitem() 535 sp[i1+1-1] = sp[i1+1] + i2; in delitem() [all …]
|
/titanic_41/usr/src/lib/libast/common/features/ |
H A D | sig.sh | 68 i1= j1= 73 $e) i1= j1=; break 2 ;; 75 case $i1 in 76 "") i1=$i j1=$j ;; 80 case $i1 in 81 ?*) i=$i1 j=$j1 ;;
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | keyed_checksum_types.c | 33 int i1, i2; in etype_match() local 35 for (i1=0; i1<krb5_enctypes_length; i1++) in etype_match() 36 if (krb5_enctypes_list[i1].etype == e1) in etype_match() 43 return((i1 < krb5_enctypes_length) && in etype_match() 45 (krb5_enctypes_list[i1].enc == krb5_enctypes_list[i2].enc)); in etype_match()
|
/titanic_41/usr/src/lib/libmvec/common/vis/ |
H A D | __vlog.S | 137 ! i1 x 240 ld [%i1],%l0 ! ix 241 ld [%i1],%f0 ! u.l[0] = *x 243 ld [%i1+4],%f1 ! u.l[1] = *(1+x) 258 add %i1,%i2,%i1 ! x += stridex 263 lda [%i1]%asi,%l1 ! preload next argument 267 lda [%i1]%asi,%f10 271 lda [%i1+4]%asi,%f11 337 add %i1,%i2,%i1 ! x += stridex 342 lda [%i1]%asi,%l2 ! preload next argument [all …]
|