/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | nearbyint.c | 47 unsigned i[2]; in __nearbyint() member 84 xx.i[LOWORD] = 0; in __nearbyint() 94 if (xx.i[LOWORD] & (i - 1)) in __nearbyint() 98 xx.i[LOWORD] = 0; in __nearbyint() 99 xx.i[HIWORD] &= ~(i - 1); in __nearbyint() 102 (xx.i[HIWORD] & i))))) in __nearbyint() 103 xx.i[HIWORD] += i; in __nearbyint() 105 i = 1 << j; in __nearbyint() 109 xx.i[LOWORD] &= ~(i - 1); in __nearbyint() 112 (xx.i[LOWORD] & i))))) { in __nearbyint() [all …]
|
H A D | lrintl.c | 48 unsigned int i; in lrintl() member 64 } else if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) /* x is zero */ in lrintl() 80 ((hx & 0xffff) | xx.i[1] | xx.i[2] | xx.i[3])))) in lrintl() 87 xx.i[0] = 0x10000 | (xx.i[0] & 0xffff); in lrintl() 90 frac = ((xx.i[0] << 1) << (127 - j)) | (xx.i[1] >> (j - 96)); in lrintl() 91 if (((xx.i[1] << 1) << (127 - j)) | xx.i[2] | xx.i[3]) in lrintl() 94 l = (xx.i[0] << (96 - j)) | (xx.i[1] >> (j - 64)); in lrintl() 95 frac = (xx.i[1] << (96 - j)) | (xx.i[2] >> (j - 64)); in lrintl() 96 if ((xx.i[2] << (96 - j)) | xx.i[3]) in lrintl() 140 yy.i[2] = (xx.i[2] & 0x8000) | 0x403e; in lrintl() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_dump.c | 60 int i; in mdb_dump_header() local 63 for (i = 0; i < width; i++) { in mdb_dump_header() 74 for (i = 0; i < width; i++) { in mdb_dump_header() 98 int i; in mdb_dump_data() local 108 for (i = 0; i < width; i++) { in mdb_dump_data() 111 if (i < lmargin || (width - i) <= rmargin) { in mdb_dump_data() 124 for (i = 0; i < width; i++) in mdb_dump_data() 125 if (i < lmargin || (width - i) <= rmargin) in mdb_dump_data() 127 else if (buf[i] < ' ' || buf[i] > '~') in mdb_dump_data() 130 abuf[i] = buf[i]; in mdb_dump_data() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | md5.c | 106 for (i = 0; i < 16; i++) in md5_transform() 114 for (i = 0, j = 1; i < 16; i++, j += 5) in md5_transform() 122 for (i = 0, j = 5; i < 16; i++, j += 3) in md5_transform() 130 for (i = 0, j = 0; i < 16; i++, j += 7) in md5_transform() 195 for (i = 0; i < 4; i++) in md5_final() 248 for (i = keylen; i > 16; i -= 16) in md5_password() 252 for (i = keylen; i > 0; i >>= 1) in md5_password() 256 for (i = 0; i < 1000; i++) in md5_password() 281 for (i = 0; i < 5; i++) in md5_password() 284 digest[i == 4 ? 5 : 12+i] | (digest[6+i] << 8) | (digest[i] << 16); in md5_password() [all …]
|
/illumos-gate/usr/src/test/smbclient-tests/tests/smbutil/ |
H A D | tp_smbutil_015.ksh | 54 i=0 55 while ((i<20));do 56 cmd="$EXPECT $SMBUTILEXP $TUSER$i \$TPASS\$i" 73 ((i=i+1)) 76 i=0 77 while ((i<20));do 78 cmd="smbutil logout $TUSER$i" 94 ((i=i+1)) 105 while ((i<20)); do 106 cmd="smbutil login -c $TUSER$i|grep exists" [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcache.c | 66 for (i = matchstate.size; i--;) in flushcache() 67 if (matchstate.cache[i] && matchstate.cache[i]->keep) in flushcache() 96 i = 0; in regcache() 104 i = 1; in regcache() 134 for (i = 0; i < sizeof(key) && pattern[i]; i++) in regcache() 135 ((char*)&key)[i] = pattern[i]; in regcache() 136 for (; i < sizeof(key); i++) in regcache() 140 for (i = matchstate.size; i--;) in regcache() 142 empty = i; in regcache() 148 old = i; in regcache() [all …]
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipftest.c | 326 int i; in ipftestioctl() local 348 int i; in ipnattestioctl() local 370 int i; in ipstatetestioctl() local 392 int i; in ipauthtestioctl() local 414 int i; in ipscantestioctl() local 436 int i; in ipsynctestioctl() local 671 for (i = 0; i < IPL_LOGSIZE; i++) 677 for (i = 0; i < IPL_LOGSIZE; i++) 692 for (i = 0; i < IPL_LOGSIZE; i++) 708 for (i = 0; i < IPL_LOGSIZE; i++) [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_bus_reset.c | 189 for (i = 1; i < number_of_nodes; i++) { in s1394_sort_selfids() 200 for (i = number_of_nodes - 1; i > 0; i--) { in s1394_sort_selfids() 360 for (i = 0; i < number_of_nodes; i++) { in s1394_init_topology_tree() 408 for (i = 0; i < number_of_nodes; i++) { in s1394_topology_tree_build() 423 for (i = 0; i < number_of_nodes; i++) { in s1394_topology_tree_build() 608 for (i = 0; i < number_of_nodes; i++) in s1394_topology_tree_mark_all_unvisited() 626 for (i = 0; i < number_of_nodes; i++) in s1394_old_tree_mark_all_unvisited() 645 for (i = 0; i < number_of_nodes; i++) in s1394_old_tree_mark_all_unmatched() 793 for (i = 0; i < number_of_nodes; i++) { in s1394_topology_tree_calculate_diameter() 812 for (i = start; i < end; i++) { in s1394_topology_tree_calculate_diameter() [all …]
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | mkdevalloc.c | 306 i++; in dotape() 350 i++; in dotape() 357 for (i = 0; i < tape_count - 1; i++) { in dotape() 374 for (i = 0; i < 8; i++) { in dotape() 561 for (i = 0; i < audio_count - 1; i++) { in doaudio() 574 for (i = 0; i < 8; i++) { in doaudio() 738 for (i = 0; i < 8; i++) { in dofloppy() 887 cd[i].id = cd[i].number; in docd() 1008 for (i = 0; i < 8; i++) { in docd() 1187 for (i = 0, j = rmdisk_count; i < rmdisk_count; i++, j++) { in dormdisk() [all …]
|
/illumos-gate/usr/src/common/bignum/ |
H A D | bignumimpl.c | 446 for (i = 0; i < len; i++) { in big_copy() 498 for (i = 0; i < n->len; i++) { in big_is_zero() 572 for (i = 0; i < len; i++) { in big_sub_vec() 1396 for (i = 0; i < len; i++) { in big_mul_add_vec() 1442 for (i = 0; i < len; i++) { in big_mul_set_vec() 1455 for (i = 1; i < len; ++i) in big_sqr_vec() 1482 for (i = 0; i < len; i++) { in big_mul_add_vec() 1513 for (i = 0; i < len; i++) { in big_mul_set_vec() 1527 for (i = 1; i < len; ++i) in big_sqr_vec() 1540 for (i = 1; i < blen; ++i) in big_mul_vec() [all …]
|
/illumos-gate/usr/src/common/crypto/arcfour/ |
H A D | arcfour_crypt.c | 66 for (i = j = 0; i < 256; i++, j++) { in arcfour_key_init() 72 for (i = 0; i < 256; i++) in arcfour_key_init() 73 key->arr[i] = (uchar_t)i; in arcfour_key_init() 76 for (i = 0; i < 256; i++) { in arcfour_key_init() 135 i = key->i; in arcfour_crypt() 148 key->i = i; in arcfour_crypt() 160 i = key->i; in arcfour_crypt() 170 ++i; in arcfour_crypt() 187 ++i; in arcfour_crypt() 197 ++i; in arcfour_crypt() [all …]
|
/illumos-gate/usr/src/lib/libnsl/des/ |
H A D | des_soft.c | 102 for (i = 0; i < 8; i++) { in des_setparity() 151 for (i = 0; i < 8; i++) { in des_setparity_g() 177 for (i = 0; i < 8; i++) in __des_crypt() 180 for (i = 0; i < 8; i++) in __des_crypt() 184 for (i = 0; i < 8; i++) in __des_crypt() 185 nextiv[i] = buf[i]; in __des_crypt() 187 for (i = 0; i < 8; i++) { in __des_crypt() 226 for (i = 0; i < 28; i++) { in __des_setkey() 242 for (i = 0; i < 16; i++) { in __des_setkey() 327 for (lp = (uint32_t *)&longtab[0], i = 0; i < 32; i++) { in __des_encrypt() [all …]
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 193 int i; in main() local 313 for (i = 0; i < MAX_RESETS; i++) { in main() 343 int i; in load_tables() local 350 for (i = 0; i < pidcnt; i++) in load_tables() 396 for (i = 0; i < (timeout / WTMPX_ufreq); i++) { in wait_for_pids() 450 for (i = pidcnt - 1; i > 0; i--) { in wait_for_pids() 743 for (i = 0; i < pidcnt; i++) { in add_pid() 807 if ((i == -1 && pid == 0) || (i == 0)) { in rem_pid() 1034 for (i = 0; i < pidcnt; i++) in print_tables() 1038 for (i = 0; i < pidcnt; i++) in print_tables() [all …]
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | niagara_perfctr.c | 317 for (i = 0; i < DRAM_BANKS; i++) { in niagara_kstat_init() 362 for (i = 0; i < ZAMBEZI_LPU_COUNTERS; i++) { in niagara_kstat_init() 398 for (i = 0; i < ZAMBEZI_GPD_COUNTERS; i++) { in niagara_kstat_init() 434 for (i = 0; i < ZAMBEZI_ASU_COUNTERS; i++) { in niagara_kstat_init() 508 for (i = 0; i < DRAM_BANKS; i++) { in niagara_kstat_fini() 519 for (i = 0; i < ZAMBEZI_LPU_COUNTERS; i++) { in niagara_kstat_fini() 529 for (i = 0; i < ZAMBEZI_GPD_COUNTERS; i++) { in niagara_kstat_fini() 539 for (i = 0; i < ZAMBEZI_ASU_COUNTERS; i++) { in niagara_kstat_fini() 570 for (i = 0; i < NUM_OF_PICS; i++) { in ni_create_name_kstat() 587 for (i = 0; i < NUM_OF_PICS; i++) { in ni_delete_name_kstat() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/qsort/ |
H A D | qsort_test.c | 167 for (i = 0; i < n; i++) { in check_result() 189 for (i = 0; i < n; i++) \ 217 for (i = 0; i < n; i++) \ 246 for (i = 0; i < n; i++) \ 247 x[i] = (i * m + i) % n; \ 275 for (i = 0; i < n; i++) \ 333 for (i = 0; i < n; i++) { \ 475 y[i] = z[i] = x[i]; \ 493 y[i] = z[i] = x[i]; \ 501 y[i] = z[i] = x[i]; \ [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | slk_start.c | 97 i = 0; in slk_start() 109 for (; i < ng; i++) { in slk_start() 113 _groups[i] = gp[i]; in slk_start() 126 int i, len, num; in _init_slk_func() local 145 for (i = 0; i < _ngroups; i++) in _init_slk_func() 179 for (i = 0; i < num; ++i) { in _init_slk_func() 223 for (i = 0, n = 0; i < _ngroups; ++i) in _slk_setpos() 231 for (i = 1; i < _ngroups; ++i) { in _slk_setpos() 232 grpx[i] = grpx[i - 1] + (_groups[i - 1] * in _slk_setpos() 235 grpx[i]++; in _slk_setpos() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | davicom.c | 219 for (i=0; i<34; i++) in phy_read() 231 for (i=0x10; i>0; i=i>>1) in phy_read() 235 for (i=0x10; i>0; i=i>>1) in phy_read() 263 for (i=0; i<34; i++) in phy_write() 275 for (i=0x10; i>0; i=i>>1) in phy_write() 279 for (i=0x10; i>0; i=i>>1) in phy_write() 287 for (i=0x8000; i>0; i>>=1) in phy_write() 411 for (i = 16; i > 0; i--) { in read_eeprom() 435 for (i=0; i<NTXD; i++) { in davicom_init_chain() 446 for (i=0; i<192; i++) txb[i] = 0xFF; in davicom_init_chain() [all …]
|
/illumos-gate/usr/src/cmd/checknr/ |
H A D | checknr.c | 186 int i; local 209 for (i = 0; br[i].opbr; i++) 219 i++; 254 for (i = 1; i < argc; i++) { 323 for (i = 0; line[i]; i++) in process() 324 if (line[i] == '\\' && (i == 0 || line[i-1] != '\\')) { in process() 374 for (i = stktop; i >= 0; i--) { in process() 402 i, stk[i].opno, br[stk[i].opno].opbr, in prop() 411 int i; in chkcmd() local 420 for (i = 0; br[i].opbr; i++) { in chkcmd() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch.c | 83 int i; in id_from_name() local 85 for (i = 1; i < ARRAY_SIZE(reg_funcs); i++) { in id_from_name() 94 int i; in show_checks() local 96 for (i = 1; i < ARRAY_SIZE(reg_funcs); i++) { in show_checks() 98 printf("%3d. %s\n", i, reg_funcs[i].name); in show_checks() 107 int i; in enable_disable_checks() local 123 for (i = 1; i < ARRAY_SIZE(reg_funcs); i++) { in enable_disable_checks() 184 int i; in parse_args() local 186 for (i = 1 ; i < *argcp; i++) { in parse_args() 321 int i; in main() local [all …]
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | sttyparse.c | 229 for (i = 0; imodes[i].string; i++) 240 for (i = 0; nimodes[i].string; i++) 247 for (i = 0; omodes[i].string; i++) 256 for (i = 0; cmodes[i].string; i++) 270 for (i = 0; ncmodes[i].string; i++) 275 for (i = 0; lmodes[i].string; i++) 281 for (i = 0; nlmodes[i].string; i++) 287 for (i = 0; hmodes[i].string; i++) 386 for (i = 0; i < NCC; i++) 449 for (i = 0; i < NCC; i++) [all …]
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | fconvert.c | 38 int i; in fconvert() local 59 for (i = 0; i < dr.ndigits; i++) in fconvert() 60 buf[i] = dr.ds[i]; in fconvert() 74 for (i = 1; i < ndigits; i++) in fconvert() 92 int i; in sfconvert() local 113 for (i = 0; i < dr.ndigits; i++) in sfconvert() 114 buf[i] = dr.ds[i]; in sfconvert() 128 for (i = 1; i < ndigits; i++) in sfconvert() 190 for (i = 0; i < dr.ndigits; i++) in qfconvert() 191 buf[i] = dr.ds[i]; in qfconvert() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | emacs.c | 372 for(i= ++eol; i>cur; i--) in ed_emacsread() 373 out[i] = out[i-1]; in ed_emacsread() 387 for(i=eol;i>=cur;i--) in ed_emacsread() 388 out[c+i] = out[i]; in ed_emacsread() 419 genncpy(kstack,out+i,cur-i); in ed_emacsread() 426 genncpy(kstack,out+i,cur-i); in ed_emacsread() 536 out[i-1] = out[i-2]; in ed_emacsread() 888 while ((i>0)&&(!isword(i))) in escape() 890 while ((i>0)&&(isword(i-1))) in escape() 1255 while ((i = ed_getchar(ep->ed,1))&&(i != '\r')&&(i != '\n')) in search() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ltablib.c | 50 int i; in tinsert() local 53 for (i = e; i > pos; i--) { /* move up elements */ in tinsert() 96 int i, last; in tconcat() local 102 for (; i < last; i++) { in tconcat() 125 int i; in pack() local 129 for (i = n; i >= 2; i--) /* assign other elements */ in pack() 137 int i, e; in unpack() local 187 int i, j; in auxsort() local 238 if (i-l < u-i) { in auxsort() 239 j=l; i=i-1; l=i+2; in auxsort() [all …]
|
/illumos-gate/usr/src/man/man4i/ |
H A D | Makefile | 19 MANSECT= 4i 22 cdio.4i \ 23 dkio.4i \ 24 dsp.4i \ 25 fbio.4i \ 26 fdio.4i \ 27 hdio.4i \ 29 ipnat.4i \ 30 mhd.4i \ 31 mixer.4i \ [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | init.c | 161 for (i = 0; pgcfg->global_catalog[i].host[0] != '\0'; i++) { in reload_gcs() 188 for (i = 0; i < num_trustfor; i++) { in reload_gcs() 231 for (i = 0; i < old_num_gcs; i++) in reload_gcs() 246 int i; in reload_dcs() local 286 for (i = 0; pgcfg->domain_controller[i].host[0] != '\0'; i++) { in reload_dcs() 316 for (i = 0; i < old_num_dcs; i++) in reload_dcs() 360 for (i = 0; pgcfg->domain_controller[i].host[0] != '\0'; i++) in print_idmapdstate() 371 for (i = 0; pgcfg->global_catalog[i].host[0] != '\0'; i++) in print_idmapdstate() 381 for (i = 0; pgcfg->domains_in_forest[i].domain[0] != '\0'; i++) in print_idmapdstate() 390 for (i = 0; pgcfg->trusted_domains[i].domain[0] != '\0'; i++) in print_idmapdstate() [all …]
|