/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | strrevcmp.c | 38 register int i1, i2; local 41 i2 = strlen(s2) - 1; 42 while (i1 >= 0 && i2 >= 0 && 44 charmap[(unsigned char) s2[i2]]) 47 --i2; 51 if (i2 < 0) 58 if (i2 < 0) 62 charmap[(unsigned char) s2[i2]]); 80 register int i1, i2; local 83 i2 = strlen(s2) - 1; [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/lib/libbc/libc/sys/common/ |
H A D | syscall.c | 90 int i1, i2, i3, i4; in syscall() local 99 i2 = va_arg(ap, int); in syscall() 101 return (bc_read(i1, c1, i2)); in syscall() 105 i2 = va_arg(ap, int); in syscall() 107 return (bc_write(i1, c1, i2)); in syscall() 111 i2 = va_arg(ap, int); in syscall() 113 return (bc_readv(i1, c1, i2)); in syscall() 117 i2 = va_arg(ap, int); in syscall() 119 return (bc_writev(i1, c1, i2)); in syscall() 123 i2 = va_arg(ap, int); in syscall() [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 167 i2 = s2[0]; in strcmp() 168 if (i1 != i2) in strcmp() 170 else if (ANYNUL(i1, i2)) in strcmp() 175 i2 = s2[1]; in strcmp() 176 if (i1 != i2) in strcmp() 178 else if (ANYNUL(i1, i2)) in strcmp() 183 i2 = s2[2]; in strcmp() 184 if (i1 != i2) in strcmp() [all …]
|
/titanic_41/usr/src/lib/libc/sparc/gen/ |
H A D | strlcpy.s | 59 subcc %g0, %i2, %g4 ! n = -n or n == 0 ? 61 add %i1, %i2, %i3 ! i3 = src + n 64 add %i0, %i2, %i2 ! n = dst + n 70 stub %l1, [%i2 + %g4] ! dst[] = src[] 72 add %i2, %g4, %i2 ! get single dest ptr for strlen 81 add %i2, %g4, %l0 ! l0 = dest 83 sub %i2, 4, %i2 ! pre-incr for in cpy loop 96 st %l1, [%i2 + %g4] ! dst[] = src[] 99 add %i2, %g4, %i2 ! ptr to dest 103 stb %g1, [%i2] ! store byte [all …]
|
H A D | strncmp.s | 54 cmp %i2, 8 61 deccc %i2 ! --n >= 0 ? 93 deccc 4, %i2 ! n >= 4 ? 99 inc 4, %i2 143 deccc 4, %i2 ! n >= 4 ? 149 inc 4, %i2 187 deccc 4, %i2 ! n >= 4 ? 193 inc 4, %i2 ! delay slot 226 5: cmp %i2,0 230 deccc 4, %i2 ! n >= 4 ? [all …]
|
H A D | memmove.s | 43 cmp %i2, 17 ! delay slot, for small counts copy bytes 46 cmp %i2, %i4 ! compare size and difference of addresses 48 cmp %i2, 17 ! delay slot, for small counts copy bytes 63 dec %i2
|
/titanic_41/usr/src/lib/libc/sparcv9/gen/ |
H A D | strlcpy.s | 62 subcc %g0, %i2, %g4 ! n = -n, n == 0 ? 64 add %i1, %i2, %i3 ! src = src + n 67 add %i0, %i2, %i2 ! dst = dst + n 73 stub %l1, [%i2 + %g4] ! dst[] = src[] 75 add %i2, %g4, %i2 ! need single dest pointer for strlen 110 stx %l1, [%i2 + %g4] ! store word to dst (address pre-incremented) 118 add %i2, %g4, %i2 ! pointer to dest string 122 stb %g1, [%i2] ! store it 123 add %i2, 1, %i2 ! dst++ 127 stb %g1, [%i2] ! store it [all …]
|
H A D | strncmp.s | 54 cmp %i2, 8 61 deccc %i2 ! --n >= 0 ? 93 deccc 4, %i2 ! n >= 4 ? 99 inc 4, %i2 143 deccc 4, %i2 ! n >= 4 ? 149 inc 4, %i2 187 deccc 4, %i2 ! n >= 4 ? 193 inc 4, %i2 ! delay slot 226 5: cmp %i2, 0 230 deccc 4, %i2 ! n >= 4 ? [all …]
|
/titanic_41/usr/src/common/bzip2/ |
H A D | blocksort.c | 348 UInt32 i2, 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/libmvec/common/vis/ |
H A D | __vpow.S | 1056 sra %i2,0,stridex 1116 lda [px+4]%asi,%i2 ! (Y0_3) *((int*)&x + 1) = ((unsigned*)px)[1]; 1126 st %i2,[%fp+tmp0_lo] ! (Y0_3) *((int*)&x + 1) = ((unsigned*)px)[1]; 1168 lda [px+4]%asi,%i2 ! (Y1_2) *((int*)&x + 1) = ((unsigned*)px)[1]; 1177 st %i2,[%fp+tmp0_lo] ! (Y1_2) *((int*)&x + 1) = ((unsigned*)px)[1]; 1232 lda [px+4]%asi,%i2 ! (Y0_3) *((int*)&x + 1) = ((unsigned*)px)[1]; 1245 st %i2,[%fp+tmp0_lo] ! (Y0_3) *((int*)&x + 1) = ((unsigned*)px)[1]; 1332 lda [px+4]%asi,%i2 ! (Y1_2) *((int*)&x + 1) = ((unsigned*)px)[1]; 1351 st %i2,[%fp+tmp0_lo] ! (Y1_2) *((int*)&x + 1) = ((unsigned*)px)[1]; 1467 lda [px+4]%asi,%i2 ! (Y0_3) *((int*)&x + 1) = ((unsigned*)px)[1]; [all …]
|
H A D | __vrhypotf.S | 300 sll %i2,2,stridex 329 ldx [%fp+tmp_py],%i2 336 lda [%i2]0x82,%l6 ! (3_0) ay = *(int*)py; 340 lda [%i2]0x82,%f2 ! (3_0) y0 = *py; 356 lda [%i2+stridey]0x82,%l6 ! (4_0) ay = *(int*)py; 363 add %i2,stridey,%i2 ! py += stridey 367 lda [%i2]0x82,%f2 ! (4_0) y0 = *py; 383 lda [%i2+stridey]0x82,%l6 ! (0_0) ay = *(int*)py; 390 add %i2,stridey,%i2 ! py += stridey 394 lda [%i2]0x82,%f2 ! (0_0) y0 = *py; [all …]
|
H A D | __vexpf.S | 199 ! i2 stridex 300 sll %i2,2,%i2 322 add %i1,%i2,%o5 ! px += stridex 328 add %o5,%i2,%i1 ! px += stridex 334 add %i1,%i2,%o5 ! px += stridex 339 add %o5,%i2,%o0 ! px += stridex 342 add %o0,%i2,%o1 ! px += stridex 344 add %o1,%i2,%o2 ! px += stridex 347 add %o2,%i2,%o3 ! px += stridex 349 add %o3,%i2,%i1 ! px += stridex [all …]
|
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ProbeData.java | 444 compareUnsigned(int i1, int i2) in compareUnsigned() argument 449 if (i2 < 0) { in compareUnsigned() 450 cmp = (i1 < i2 ? -1 : (i1 > i2 ? 1 : 0)); in compareUnsigned() 454 } else if (i2 < 0) { in compareUnsigned() 457 cmp = (i1 < i2 ? -1 : (i1 > i2 ? 1 : 0)); in compareUnsigned() 464 compareUnsigned(long i1, long i2) in compareUnsigned() argument 469 if (i2 < 0) { in compareUnsigned() 470 cmp = (i1 < i2 ? -1 : (i1 > i2 ? 1 : 0)); in compareUnsigned() 474 } else if (i2 < 0) { in compareUnsigned() 477 cmp = (i1 < i2 ? -1 : (i1 > i2 ? 1 : 0)); in compareUnsigned() [all …]
|
/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 39 for (i2=0; i2<krb5_enctypes_length; i2++) in etype_match() 40 if (krb5_enctypes_list[i2].etype == e2) in etype_match() 44 (i2 < krb5_enctypes_length) && in etype_match() 45 (krb5_enctypes_list[i1].enc == krb5_enctypes_list[i2].enc)); in etype_match()
|
/titanic_41/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_invoke.s | 113 add %i2, 6*8, %l0 ! %l0 is &argv[6] 131 cp6arg: ldx [%i2 + 5*8], %o5 132 cp5arg: ldx [%i2 + 4*8], %o4 133 cp4arg: ldx [%i2 + 3*8], %o3 134 cp3arg: ldx [%i2 + 2*8], %o2 135 cp2arg: ldx [%i2 + 1*8], %o1 136 cp1arg: ldx [%i2 + 0*8], %o0
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 509 int i1, i2, i3; in delitem() local 516 i2 = PBLKSIZ; in delitem() 518 i2 = sp[n+1-1]; in delitem() 520 if (i2 > i1) in delitem() 523 i2--; in delitem() 524 buf[i2] = buf[i1]; in delitem() 527 i2 -= i1; in delitem() 529 sp[i1+1-1] = sp[i1+1] + i2; in delitem() 543 int i1, i2; in additem() local 551 i2 = (sp[0]+2) * (int)sizeof (short); in additem() [all …]
|
/titanic_41/usr/src/uts/sun4/ml/ |
H A D | ip_ocsum.s | 372 add %o0, %i2, %i2 ! accumulator 396 add %o0, %i2, %i2 ! accumulator 398 add %o1, %i2, %i2 ! accumulator 418 add %o0, %i2, %i2 ! accumulator 422 add %l0, %i2, %i2 ! accumulator 428 srlx %i2, 32, %o0 ! delay: hi32 434 add %l0, %i2, %i2 ! accumulator 442 srlx %i2, 32, %o0 ! hi32 444 and %i2, %g1, %o1 ! lo32
|
/titanic_41/usr/src/uts/sun4v/cpu/ |
H A D | niagara_copy.s | 1190 add %i2, %o3, %i2 ! adjust remaining count 1250 sub %i2, 8, %i2 1251 andn %i2, 0x7f, %o3 ! %o3 is multiple of 2*block size 1252 and %i2, 0x7f, %i2 ! residue bytes in %i2 1283 sub %i2, 16, %i2 1284 andn %i2, 0x7f, %o3 ! %o3 is multiple of 2*block size 1285 and %i2, 0x7f, %i2 ! residue bytes in %i2 1318 sub %i2, 24, %i2 1319 andn %i2, 0x7f, %o3 ! %o3 is multiple of 2*block size 1320 and %i2, 0x7f, %i2 ! residue bytes in %i2 [all …]
|
/titanic_41/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 516 int i1, i2, i3; in delitem() local 522 i2 = PBLKSIZ; in delitem() 524 i2 = sp[n+1-1]; in delitem() 526 if (i2 > i1) in delitem() 529 i2--; in delitem() 530 buf[i2] = buf[i1]; in delitem() 533 i2 -= i1; in delitem() 535 sp[i1+1-1] = sp[i1+1] + i2; in delitem() 549 int i1, i2; in additem() local 556 i2 = (int)((sp[0]+2) * sizeof (short)); in additem() [all …]
|
/titanic_41/usr/src/lib/libbc/libc/crt/sparc/ |
H A D | misalign.s | 245 andcc %i2,3,%g0 ! test for long alignment 247 st %i0,[%i2] 249 andcc %i2,1,%g0 ! test for short alignment 256 stb %o0,[%i2] ! store first word, a byte at a time 257 stb %o1,[%i2+1] 258 stb %o2,[%i2+2] 259 stb %i0,[%i2+3] 263 stb %o0,[%i2+4] ! store second word, a byte at a time 264 stb %o1,[%i2+5] 265 stb %o2,[%i2+6] [all …]
|
/titanic_41/usr/src/lib/libmvec/common/ |
H A D | __vlog.c | 669 int i0, i1, i2, i3, e; in __vlog() local 717 i2 = (i2 + 0x800) & ~0xfff; in __vlog() 718 e = (i2 & 0x7ff00000) - 0x3ff00000; in __vlog() 720 w2.i[HIWORD] = i2 - e; in __vlog() 722 i2 = (i2 >> 10) & 0x3fc; in __vlog() 738 h2 = d2 * TBL[i2]; in __vlog() 743 l2 = d2 * TBL[i2+1]; in __vlog() 766 *y = (n2 * ln2hi + TBL[i2+2]) + (h2 + (l2 + in __vlog() 767 (n2 * ln2lo + TBL[i2+3]) + b2)); in __vlog()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 1043 mib2_ip_t *i2 = (mib2_ip_t *)tempp2->valp; in mib_item_diff() local 1054 d->ipForwarding = i2->ipForwarding; in mib_item_diff() 1055 d->ipDefaultTTL = i2->ipDefaultTTL; in mib_item_diff() 1056 MDIFF(d, i2, i1, ipInReceives); in mib_item_diff() 1057 MDIFF(d, i2, i1, ipInHdrErrors); in mib_item_diff() 1058 MDIFF(d, i2, i1, ipInAddrErrors); in mib_item_diff() 1059 MDIFF(d, i2, i1, ipInCksumErrs); in mib_item_diff() 1060 MDIFF(d, i2, i1, ipForwDatagrams); in mib_item_diff() 1061 MDIFF(d, i2, i1, ipForwProhibits); in mib_item_diff() 1062 MDIFF(d, i2, i1, ipInUnknownProtos); in mib_item_diff() [all …]
|
/titanic_41/usr/src/ucbcmd/expr/ |
H A D | expr.y | 174 long i1, i2; local 180 i2 = atol(r2); 184 i1 = i1 + i2; 187 i1 = i1 - i2; 190 i1 = i1 * i2; 193 if (i2 == 0) 195 i1 = i1 / i2; 198 if (i2 == 0) 200 i1 = i1 % i2;
|
/titanic_41/usr/src/lib/libm/sparc/src/ |
H A D | nextafter.S | 58 std %i2,[%fp+y] 59 or %g0,%i2,%o2 75 and %i2,%l1,%i0 98 andcc %i0,%l3,%i2 101 cmp %i2,%l3
|