/titanic_50/usr/src/lib/libc/port/fp/ |
H A D | aconvert.c | 59 unsigned int i[2]; in __aconvert() member 63 int ha, i, s; in __aconvert() local 67 *sign = s = a.i[0] >> 31; in __aconvert() 68 ha = a.i[0] & ~0x80000000; in __aconvert() 73 __infnanstring((ha == 0x7ff00000 && a.i[1] == 0)? in __aconvert() 80 if ((ha | a.i[1]) == 0) { in __aconvert() 82 for (i = 0; i < ndigits; i++) in __aconvert() 83 buf[i] = '0'; in __aconvert() 94 a.i[0] = ha; in __aconvert() 98 ha = a.i[0] & ~0x80000000; in __aconvert() [all …]
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.substr.d | 39 int i; variable 48 command[i].index = 3; 49 command[i].nolen = 1; 50 i++; 52 command[i].index = 300; 53 command[i].nolen = 1; 54 i++; 56 command[i].index = -10; 57 command[i].nolen = 1; 58 i++; [all …]
|
H A D | tst.index.d | 38 int i; variable 42 command[i].str = "foobarbaz"; 43 command[i].substr = "barbaz"; 44 i++; 46 command[i].str = "foofoofoo"; 47 command[i].substr = "foo"; 48 i++; 50 command[i].str = "boofoofoo"; 51 command[i].substr = "foo"; 52 i++; [all …]
|
/titanic_50/usr/src/cmd/troff/ |
H A D | n4.c | 57 #define NHASH(i) ((i>>6)^i)&0177 argument 63 int i, j; in setn() local 68 if ((i = cbits(ii = getach())) == '+') in setn() 70 else if (i == '-') in setn() 76 if ((i = getsn()) == 0) in setn() 78 if ((i & 0177) == '.') in setn() 79 switch (i >> BYTE) { in setn() 81 i = pts; in setn() 84 i = lss; in setn() 87 i = font; in setn() [all …]
|
H A D | n5.c | 65 int i; in casead() local 71 switch (i = cbits(getch())) { in casead() 92 admod = (i - '0') / 2; in casead() 152 tchar i; local 154 if (skip() || ismot(i = getch()) || cbits(i) == ' ' || cbits(i) == '\n') { 155 ch = i; 158 return(i & BYTEMASK); 210 int i; in casehy() local 216 i = atoi(); in casehy() 220 hyf = max(i, 0); in casehy() [all …]
|
/titanic_50/usr/src/lib/libm/common/m9x/ |
H A D | nearbyintl.c | 39 unsigned i; member 46 unsigned i[4]; in __nearbyintl() member 49 unsigned hx, sx, i, frac; in __nearbyintl() local 55 sx = xx.i[0] & 0x80000000; in __nearbyintl() 56 hx = xx.i[0] & ~0x80000000; in __nearbyintl() 62 (xx.i[1] | xx.i[2] | xx.i[3]))) && !(hx & 0x8000)) { in __nearbyintl() 65 xx.i[0] = sx | hx | 0x8000; in __nearbyintl() 68 } else if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) /* x is zero */ in __nearbyintl() 82 ((hx & 0xffff) | xx.i[1] | xx.i[2] | xx.i[3])))) in __nearbyintl() 83 xx.i[0] = sx | 0x3fff0000; in __nearbyintl() [all …]
|
H A D | llroundl.c | 42 unsigned i[4]; in llroundl() member 46 unsigned i[2]; in llroundl() member 50 unsigned i; in llroundl() member 57 sx = xx.i[0] & 0x80000000; in llroundl() 58 hx = xx.i[0] & ~0x80000000; in llroundl() 63 tt.i = sx | 0x7f000000; in llroundl() 76 xx.i[0] = 0x10000 | (xx.i[0] & 0xffff); in llroundl() 78 zz.i[0] = 0; in llroundl() 79 zz.i[1] = xx.i[0] >> (j - 96); in llroundl() 80 frac = ((xx.i[0] << 1) << (127 - j)) | (xx.i[1] >> (j - 96)); in llroundl() [all …]
|
H A D | roundl.c | 38 unsigned i[4]; in roundl() member 45 sx = xx.i[0] & 0x80000000; in roundl() 46 hx = xx.i[0] & ~0x80000000; in roundl() 59 xx.i[0] = hx; in roundl() 64 if (xx.i[0] & v) in roundl() 65 xx.i[0] += v; in roundl() 66 xx.i[0] &= ~(v - 1); in roundl() 67 } else if (xx.i[1] & 0x80000000) in roundl() 68 ++xx.i[0]; in roundl() 69 xx.i[1] = xx.i[2] = xx.i[3] = 0; in roundl() [all …]
|
H A D | modfl.c | 39 unsigned i[4]; in __modfl() member 45 hx = xx.i[0] & ~0x80000000; in __modfl() 50 (xx.i[1] | xx.i[2] | xx.i[3]) == 0)) { in __modfl() 51 xx.i[0] &= 0x80000000; in __modfl() 52 xx.i[1] = xx.i[2] = xx.i[3] = 0; in __modfl() 58 xx.i[0] &= 0x80000000; in __modfl() 59 xx.i[1] = xx.i[2] = xx.i[3] = 0; in __modfl() 65 s = xx.i[0] & 0x80000000; in __modfl() 67 yy.i[0] = xx.i[0] & ~((1 << (0x400f - (hx >> 16))) - 1); in __modfl() 68 yy.i[1] = yy.i[2] = yy.i[3] = 0; in __modfl() [all …]
|
H A D | llrintl.c | 46 unsigned i[4]; in llrintl() member 50 unsigned i[2]; in llrintl() member 54 unsigned i; in llrintl() member 62 sx = xx.i[0] & 0x80000000; in llrintl() 63 hx = xx.i[0] & ~0x80000000; in llrintl() 68 tt.i = sx | 0x7f000000; in llrintl() 70 } else if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) /* x is zero */ in llrintl() 86 ((hx & 0xffff) | xx.i[1] | xx.i[2] | xx.i[3])))) in llrintl() 93 xx.i[0] = 0x10000 | (xx.i[0] & 0xffff); in llrintl() 95 zz.i[0] = 0; in llrintl() [all …]
|
H A D | __fex_sse.c | 68 int i, dbl, simd, rex, modrm, sib, r; in __fex_parse_sse() local 70 i = 0; in __fex_parse_sse() 76 if (ip[i] == 0xF3) { in __fex_parse_sse() 78 i++; in __fex_parse_sse() 79 } else if (ip[i] == 0x66) { in __fex_parse_sse() 81 i++; in __fex_parse_sse() 82 } else if (ip[i] == 0xF2) { in __fex_parse_sse() 85 i++; in __fex_parse_sse() 90 if (ip[i] >= 0x40 && ip[i] <= 0x4F) { in __fex_parse_sse() 91 rex = ip[i]; in __fex_parse_sse() [all …]
|
/titanic_50/usr/src/common/crypto/aes/amd64/ |
H A D | aeskey.c | 81 #define ke4(k, i) \ argument 82 { k[4 * (i) + 4] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \ 83 k[4 * (i) + 5] = ss[1] ^= ss[0]; \ 84 k[4 * (i) + 6] = ss[2] ^= ss[1]; \ 85 k[4 * (i) + 7] = ss[3] ^= ss[2]; \ 106 uint32_t i; in aes_encrypt_key128() local 107 for (i = 0; i < 9; ++i) in aes_encrypt_key128() 108 ke4(rk, i); in aes_encrypt_key128() 115 #define kef6(k, i) \ argument 116 { k[6 * (i) + 6] = ss[0] ^= ls_box(ss[5], 3) ^ t_use(r, c)[i]; \ [all …]
|
/titanic_50/usr/src/lib/iconv_modules/utf-8/utils/ |
H A D | cp720_to_utf8_generator.c | 38 register int i, j; in main() local 46 for (i = 0; i < 256; i++) { in main() 47 if (i <= 0x1f || i == 0x7f || (ascii_only && i <= 0x7f)) { in main() 48 tbl[i].size = 1; in main() 49 tbl[i].u8 = (unsigned int)i; in main() 50 } else if (!ascii_only && (i >= 0x80 && i <= 0x9f)) { in main() 51 tbl[i].size = 2; in main() 52 tbl[i].u8 = (unsigned int)i; in main() 54 tbl[i].size = ICV_TYPE_ILLEGAL_CHAR; in main() 55 tbl[i].u8 = 0; in main() [all …]
|
H A D | utf8_to_cp720_generator.c | 38 register int i, j; in main() local 46 for (i = 0; i < 256; i++) { in main() 47 if (i <= 0x1f || i == 0x7f || (ascii_only && i <= 0x7f)) { in main() 48 tbl[i].size = (signed char)1; in main() 49 tbl[i].u8 = (unsigned int)i; in main() 50 } else if (!ascii_only && (i >= 0x80 && i <= 0x9f)) { in main() 51 tbl[i].size = (signed char)2; in main() 52 tbl[i].u8 = (unsigned int)i; in main() 54 tbl[i].size = (signed char)ICV_TYPE_ILLEGAL_CHAR; in main() 55 tbl[i].u8 = 0; in main() [all …]
|
H A D | sb_to_utf8_generator.c | 38 register int i, j; in main() local 46 for (i = 0; i < 256; i++) { in main() 47 if (i <= 0x1f || i == 0x7f || (ascii_only && i <= 0x7f)) { in main() 48 tbl[i].size = 1; in main() 49 tbl[i].u8 = (unsigned int)i; in main() 50 } else if (!ascii_only && (i >= 0x80 && i <= 0x9f)) { in main() 51 tbl[i].size = 2; in main() 52 tbl[i].u8 = (unsigned int)i; in main() 54 tbl[i].size = ICV_TYPE_ILLEGAL_CHAR; in main() 55 tbl[i].u8 = 0; in main() [all …]
|
H A D | utf8_to_sb_generator.c | 43 register int i, j; in main() local 51 for (i = 0; i < 256; i++) { in main() 52 if (i <= 0x1f || i == 0x7f || (ascii_only && i <= 0x7f)) { in main() 53 tbl[i].size = (signed char)1; in main() 54 tbl[i].u8 = (unsigned int)i; in main() 55 } else if (!ascii_only && (i >= 0x80 && i <= 0x9f)) { in main() 56 tbl[i].size = (signed char)2; in main() 57 tbl[i].u8 = (unsigned int)i; in main() 59 tbl[i].size = (signed char)ICV_TYPE_ILLEGAL_CHAR; in main() 60 tbl[i].u8 = 0; in main() [all …]
|
H A D | cp720_to_ucs4_generator.c | 38 register int i, j; in main() local 46 for (i = 0; i < 256; i++) { in main() 47 if (i <= 0x1f || i == 0x7f || (ascii_only && i <= 0x7f)) { in main() 48 tbl[i].size = 1; in main() 49 tbl[i].u8 = (unsigned int)i; in main() 50 } else if (!ascii_only && (i >= 0x80 && i <= 0x9f)) { in main() 51 tbl[i].size = 2; in main() 52 tbl[i].u8 = (unsigned int)i; in main() 54 tbl[i].size = ICV_TYPE_ILLEGAL_CHAR; in main() 55 tbl[i].u8 = 0; in main() [all …]
|
/titanic_50/usr/src/uts/sparc/os/ |
H A D | bitmap_arch.c | 42 highbit64(uint64_t i) in highbit64() argument 46 if (i == 0) in highbit64() 48 if (i & 0xffffffff00000000ULL) { in highbit64() 49 h += 32; i >>= 32; in highbit64() 51 if (i & 0xffff0000) { in highbit64() 52 h += 16; i >>= 16; in highbit64() 54 if (i & 0xff00) { in highbit64() 55 h += 8; i >>= 8; in highbit64() 57 if (i & 0xf0) { in highbit64() 58 h += 4; i >>= 4; in highbit64() [all …]
|
/titanic_50/usr/src/cmd/sgs/lex/common/ |
H A D | sub2.c | 53 int i, j, k; in cfoll() local 55 i = name[v]; in cfoll() 56 if (!ISOPERATOR(i)) in cfoll() 57 i = 1; in cfoll() 58 switch (i) { in cfoll() 69 if (i == RSTR) in cfoll() 71 else if (i == RCCL || i == RNCCL) { in cfoll() 73 symbol[j] = (i == RNCCL); in cfoll() 76 symbol[*p++] = (i == RCCL); in cfoll() 132 int i, k, *p; in pfoll() local [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | vtoc.h | 154 int i; \ 163 for (i = 0; i < 10; i++) \ 164 v.v_reserved[i] = (unsigned long)extv.v_reserved[i]; \ 165 for (i = 0; i < V_NUMPAR; i++) { \ 166 v.v_part[i].p_tag = extv.v_part[i].p_tag; \ 167 v.v_part[i].p_flag = extv.v_part[i].p_flag; \ 168 v.v_part[i].p_start = (daddr_t)extv.v_part[i].p_start; \ 169 v.v_part[i].p_size = (long)extv.v_part[i].p_size; \ 170 v.timestamp[i] = (time_t)extv.timestamp[i]; \ 177 int i; \ [all …]
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/arithmetic/ |
H A D | tst.basics.d | 43 i = 0; 44 i = 1 + 2 + 3; 45 printf("The value of i is %d\n", i); 47 i = i * 3; 48 printf("The value of i is %d\n", i); 50 i = (i * 3) + i; 51 printf("The value of i is %d\n", i); 53 i = (i + (i * 3) + i) * i; 54 printf("The value of i is %d\n", i); 56 i = i - (i + (i * 3) + i) * i / i * i; [all …]
|
/titanic_50/usr/src/lib/libima/common/ |
H A D | ima-lib.c | 142 int i; in getSolarisNodeProps() local 153 for (i = 0; i < number_of_plugins; i++) { in getSolarisNodeProps() 154 if (strstr(plugintable[i].PluginPath, in getSolarisNodeProps() 159 if (plugintable[i].hPlugin != NULL) { in getSolarisNodeProps() 160 os_obtainmutex(plugintable[i].pluginMutex); in getSolarisNodeProps() 163 plugintable[i].hPlugin, in getSolarisNodeProps() 168 os_releasemutex(plugintable[i].pluginMutex); in getSolarisNodeProps() 203 int i; in setSolarisSharedNodeName() local 215 for (i = 0; i < number_of_plugins; i++) { in setSolarisSharedNodeName() 216 if (strstr(plugintable[i].PluginPath, in setSolarisSharedNodeName() [all …]
|
/titanic_50/usr/src/lib/libm/common/C/ |
H A D | __rem_pio2m.c | 169 int i, j, k, m, q0, ih; in __rem_pio2m() local 190 for (i = 0; i <= m; i++, j++) in __rem_pio2m() 191 f[i] = (j < 0)? zero : (double)ipio2[j]; in __rem_pio2m() 194 for (i = 0; i <= jk; i++) { in __rem_pio2m() 196 fw += x[j] * f[jx+i-j]; in __rem_pio2m() 197 q[i] = fw; in __rem_pio2m() 203 for (i = 0, j = jz, z = q[jz]; j > 0; i++, j--) { in __rem_pio2m() 205 iq[i] = (int)(z - two24 * fw); in __rem_pio2m() 216 i = (iq[jz-1] >> (24 - q0)); in __rem_pio2m() 217 n += i; in __rem_pio2m() [all …]
|
/titanic_50/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_scl.c | 43 unsigned int i[4]; in _Q_scl() member 49 hx = xx.i[0] & ~0x80000000; in _Q_scl() 52 if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) in _Q_scl() 56 while (hx == 0 && xx.i[1] < 0x10000) { in _Q_scl() 57 hx = xx.i[1]; in _Q_scl() 58 xx.i[1] = xx.i[2]; in _Q_scl() 59 xx.i[2] = xx.i[3]; in _Q_scl() 60 xx.i[3] = 0; in _Q_scl() 64 hx = (hx << 1) | (xx.i[1] >> 31); in _Q_scl() 65 xx.i[1] = (xx.i[1] << 1) | (xx.i[2] >> 31); in _Q_scl() [all …]
|
/titanic_50/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_dcb_82599.c | 124 u8 i = 0; in ixgbe_dcb_config_rx_arbiter_82599() local 140 for (i = 0; i < IXGBE_DCB_MAX_USER_PRIORITY; i++) in ixgbe_dcb_config_rx_arbiter_82599() 141 reg |= (map[i] << (i * IXGBE_RTRUP2TC_UP_SHIFT)); in ixgbe_dcb_config_rx_arbiter_82599() 146 for (i = 0; i < IXGBE_DCB_MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_rx_arbiter_82599() 147 credit_refill = refill[i]; in ixgbe_dcb_config_rx_arbiter_82599() 148 credit_max = max[i]; in ixgbe_dcb_config_rx_arbiter_82599() 151 reg |= (u32)(bwg_id[i]) << IXGBE_RTRPT4C_BWG_SHIFT; in ixgbe_dcb_config_rx_arbiter_82599() 153 if (tsa[i] == ixgbe_dcb_tsa_strict) in ixgbe_dcb_config_rx_arbiter_82599() 156 IXGBE_WRITE_REG(hw, IXGBE_RTRPT4C(i), reg); in ixgbe_dcb_config_rx_arbiter_82599() 180 u8 i; in ixgbe_dcb_config_tx_desc_arbiter_82599() local [all …]
|