/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 280 int j; in merge() local 284 j = 0; in merge() 351 j = edit(d1, dup, j); in merge() 378 edscript(j); in merge() 379 if (j) in merge() 452 int j, n; in skip() local 518 return (j); in edit() 519 j++; in edit() 526 return (j); in edit() 533 int j, k; in edscript() local [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | truncl.c | 42 int j; in truncl() local 56 j = 0x406f - (hx >> 16); /* 1 <= j <= 112 */ in truncl() 58 if (j >= 96) { /* 96 <= j <= 112 */ in truncl() 59 xx.i[0] &= ~((1 << (j - 96)) - 1); in truncl() 61 } else if (j >= 64) { /* 64 <= j <= 95 */ in truncl() 62 xx.i[1] &= ~((1 << (j - 64)) - 1); in truncl() 64 } else if (j >= 32) { /* 32 <= j <= 63 */ in truncl() 65 xx.i[2] &= ~((1 << (j - 32)) - 1); in truncl() 68 xx.i[3] &= ~((1 << j) - 1); in truncl()
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprinter.c | 66 int i, j; in _nss_ldap_printers2str() local 134 for (j = 0; j < attr->value_count; j++) { in _nss_ldap_printers2str() 135 len = strlen(attr->attrvalue[j]); in _nss_ldap_printers2str() 142 attr->attrvalue[j]); in _nss_ldap_printers2str() 195 for (j = 0; j < attr->value_count; j++) { in _nss_ldap_printers2str() 199 if (attr->attrvalue[j] == NULL) { in _nss_ldap_printers2str() 204 len = strlen(attr->attrvalue[j]); in _nss_ldap_printers2str() 219 if (j == 0) in _nss_ldap_printers2str() 230 if (j > 0) in _nss_ldap_printers2str() 234 attr->attrvalue[j]); in _nss_ldap_printers2str() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_hash.c | 128 unsigned j; in toeplitz_cache_init() local 137 for (j = 1, mask = 1 << (NBBY - 1); j < NBBY; j++, mask >>= 1) { in toeplitz_cache_init() 138 key_bits[j] = key_bits[j - 1] << 1; in toeplitz_cache_init() 140 key_bits[j] |= 1; in toeplitz_cache_init() 145 for (j = 0, mask = 1 << (NBBY - 1); in toeplitz_cache_init() 146 j < NBBY; in toeplitz_cache_init() 147 j++, mask >>= 1) { in toeplitz_cache_init() 149 res ^= key_bits[j]; in toeplitz_cache_init()
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | substr.c | 41 int i, j, len1, len2; in substr() local 49 for (j = 0; j < len2 && string1[i+j] == string2[j]; j++) in substr() 51 if (j == len2) in substr()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_espc.c | 39 int i, j; in nxge_espc_get_next_mac_addr() local 41 for (i = ETHERADDRL - 1, j = 0; j < ETHERADDRL; i--, j++) { in nxge_espc_get_next_mac_addr() 42 mac[j] = st_mac[i]; in nxge_espc_get_next_mac_addr() 43 mac_addr |= (mac[j] << (j*8)); in nxge_espc_get_next_mac_addr() 280 int i, j; in nxge_check_vpd_version() local 299 for (j = 0; j < fcode_str_len; j++, i++) { in nxge_check_vpd_version() 303 if (j < fcode_str_len) in nxge_check_vpd_version() 307 for (j = 0; j < NXGE_FCODE_VER_STR_LEN; j++, i++) { in nxge_check_vpd_version() 309 if (ver_num_str[j] == ' ') in nxge_check_vpd_version() 312 if (j < NXGE_FCODE_VER_STR_LEN) in nxge_check_vpd_version() [all …]
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | huffman.c | 72 Int32 nNodes, nHeap, n1, n2, i, j, k; in BZ2_hbMakeCodeLengths() local 116 j = 0; in BZ2_hbMakeCodeLengths() 118 while (parent[k] >= 0) { k = parent[k]; j++; } in BZ2_hbMakeCodeLengths() 119 len[i-1] = j; in BZ2_hbMakeCodeLengths() 120 if (j > maxLen) tooLong = True; in BZ2_hbMakeCodeLengths() 143 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths() 144 j = 1 + (j / 2); in BZ2_hbMakeCodeLengths() 145 weight[i] = j << 8; in BZ2_hbMakeCodeLengths() 178 Int32 pp, i, j, vec; in BZ2_hbCreateDecodeTables() local 182 for (j = 0; j < alphaSize; j++) in BZ2_hbCreateDecodeTables() [all …]
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n8.c | 61 int j; local 86 for (j = 1; j; ) { 87 j = 0; 90 j++; 140 char *j; in casehw() local 152 *j++ = 0; in casehw() 153 nexth = j; in casehw() 154 *j = 0; in casehw() 164 *j++ = maplow(i) | k; in casehw() 356 int i, j; local [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 236 int i, j, c; in check() local 325 for (j = 0; j < sblock.fs_ipg; j++) { in check() 327 itab[j].di_mode = itab[j].di_smode; in check() 329 itab[j].di_uid = itab[j].di_suid; in check() 331 itab[j].di_gid = itab[j].di_sgid; in check() 332 pass1(&itab[j]); in check() 344 for (j = 0; j < sblock.fs_ipg; j++) { in check() 347 itab[j].di_mode = itab[j].di_smode; in check() 348 pass2(&itab[j]); in check() 357 for (j = 0; j < sblock.fs_ipg; j++) { in check() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/timer/ |
H A D | timer_limit.c | 61 for (int j = 0; j < i; j++) { in main() local 62 assert(mktimer(&timers[j]) == 0); in main() 73 for (int j = 0; j < i; j++) { in main() local 74 assert(timer_delete(timers[j]) == 0); in main()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/ |
H A D | psvcpolicy.c | 402 for (j = 0; j < sizeof (temp_array); j++) { in update_thresholds() 642 for (j = 0; j < led_count; j++) { in psvc_check_ps_hotplug_status_0() 721 for (j = 0; j < DAK_MAX_PS_I_SENSORS; ++j) { in psvc_ps_overcurrent_check_policy_0() 764 for (j = 0; j < DAK_MAX_PS_I_SENSORS; ++j) { in psvc_ps_overcurrent_check_policy_0() 856 for (j = 0; j < DAK_MAX_PS_I_SENSORS; ++j) { in psvc_ps_undercurrent_check() 868 for (j = 0; j < DAK_MAX_PS_I_SENSORS; ++j) { in psvc_ps_undercurrent_check() 937 for (j = 0; j < DAK_MAX_FAULT_SENSORS; j++) { in psvc_ps_device_fail_notifier_policy_0() 1204 for (j = 0; j < HPC3130_SLOTS; j++) { in psvc_ps_check_and_disable_dr_policy_0() 1472 for (j = 0; j < DAK_MAX_FAULT_SENSORS; j++) { in handle_ps_hotplug_children_presence() 1484 for (j = 0; j < DAK_MAX_PS_I_SENSORS; ++j) { in handle_ps_hotplug_children_presence() [all …]
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | rintf.c | 89 int hx, k, j, ix; in anintf() local 95 j = 1 << (149 - k); in anintf() 96 k = j + j - 1; in anintf() 99 *(int *) &x = (hx + j) & ~k; in anintf() 124 int hx, ix, k, j, m; in nintf() local 132 j = 1 << m; in nintf() 133 if ((ix & (j + j - 1)) != 0) in nintf() 136 return ((((ix + j) >> (m + 1)) ^ hx) - hx); in nintf()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hash.c | 66 int j; in hcreate() local 70 for (j=0; j < TABLENGTH; ++j) in hcreate() 72 table[j] = 0; in hcreate() 91 int j; variable 93 for (j=0; j < TABLENGTH; ++j) 95 p = table[j];
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.c | 784 for (; j<i; j++) 1007 for (j=0; attrvalues[j]; ++j) { 1159 for (j=0; dest[j]; ++j) { 1469 for (j=0; values[j] != NULL; ++j) 1478 for (j=0; values[j] != NULL; ++j) { 1513 for (j=0; ber_values[j] != NULL; ++j) 1519 for (j=0; ber_values[j] != NULL; ++j) { 1563 for (j=0; value[j] != -1; ++j) 1568 for (j=0; value[j] != -1; ++j) { 1904 for (j=k+1; j<=slen && listin[j]!=NULL ;j++) { in remove_overlapping_subtrees() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tgetch.c | 123 j = *chars_onQ; in tgetch() 125 while (collapse < j) in tgetch() 312 int j; in _getkey() local 327 for (j = i--; j > first; ) in _getkey() 381 int j, mx, my; in get_xterm_mouse() local 414 for (j = 0; j < 2; j++) { in get_xterm_mouse() 420 if (j == 0) in get_xterm_mouse() 430 if (j == 0) in get_xterm_mouse() 444 j = char1 - '0'; in get_xterm_mouse() 445 if (j != 0) { in get_xterm_mouse() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | init.c | 111 int i, j; in reload_gcs() local 196 for (j = 0; trustfor[i].global_catalog[j].host[0] != '\0'; in reload_gcs() 197 j++) { in reload_gcs() 199 trustfor[i].global_catalog[j].host, in reload_gcs() 208 for (j = 0; trustfor[i].domains_in_forest[j].domain[0] != '\0'; in reload_gcs() 209 j++) { in reload_gcs() 336 int i, j; in print_idmapdstate() local 397 for (j = 0; tf->global_catalog[j].host[0] != '\0'; j++) in print_idmapdstate() 401 tf->global_catalog[j].host, in print_idmapdstate() 402 tf->global_catalog[j].port); in print_idmapdstate() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | btree3rb.test | 45 for {set j 1} {$j<=$k} {incr j} { 46 set jkey [format %02d $j] 51 do_test btree3rb-$k.$j.1.$i { 56 do_test btree3rb-$k.$j.2 { 60 do_test btree3rb-$k.$j.3 { 63 if {$j<$k} { 64 do_test btree3rb-$k.$j.4 { 67 } [format %02d [expr $j+1]] 69 if {$j>1} { 70 do_test btree3rb-$k.$j.5 { [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/ |
H A D | zfs_get_list_d.kshlib | 44 typeset -i i j k 61 (( j=1 )) 62 while (( j<=DS_COUNT )); do 63 log_must zfs create $fs/fs_"$j"_depth"$i" 65 log_must zfs create -V 8M $fs/vol_"$j"_depth"$i" 67 log_must zfs snapshot $fs@snap_"$j"_depth"$i" 68 (( j=j+1 ))
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/json/ |
H A D | tst.usdt.d | 35 this->j = copyinstr(arg0); 39 /json(this->j, "finished") == NULL && json(this->j, "action") != "ignore"/ 41 this->index = strtoll(json(this->j, "index")); 42 this->size = json(this->j, "sizes[2]"); 43 this->odd = json(this->j, "facts.odd"); 44 this->even = json(this->j, "facts.even"); 50 /json(this->j, "finished") != NULL/
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | date.c | 740 int n, i, j; in strftimeFunc() local 792 case 'd': sprintf(&z[j],"%02d",x.D); j+=2; break; in strftimeFunc() 797 j += strlen(&z[j]); in strftimeFunc() 800 case 'H': sprintf(&z[j],"%02d",x.h); j+=2; break; in strftimeFunc() 814 j += 2; in strftimeFunc() 821 case 'J': sprintf(&z[j],"%.16g",x.rJD); j+=strlen(&z[j]); break; in strftimeFunc() 822 case 'm': sprintf(&z[j],"%02d",x.M); j+=2; break; in strftimeFunc() 823 case 'M': sprintf(&z[j],"%02d",x.m); j+=2; break; in strftimeFunc() 826 j += strlen(&z[j]); in strftimeFunc() 831 case 'Y': sprintf(&z[j],"%04d",x.Y); j+=strlen(&z[j]); break; in strftimeFunc() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_array_overflow.c | 15 unsigned int j = 4; in options_write() local 29 str[j] = '\0'; in options_write() 30 str2[j] = '\0'; in options_write() 31 str3[j] = '\0'; in options_write() 32 str4[j] = '\0'; in options_write() 33 str5[j] = '\0'; in options_write() 34 d[j] = '\0'; in options_write()
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | mdiv.c | 66 int j; in m_dsb() local 76 for (j = n; j > 0; j--) { in m_dsb() 111 for (j = n; j > 0; j--) { in m_dsb() 154 int j; in m_div() local 199 for (j = a->len - n; j >= 0; j--) { in m_div() 200 qq = m_trq(v1, v2, uval[j + n], uval[j + n - 1], in m_div() 201 uval[j + n - 2]); in m_div() 202 if (m_dsb(qq, n, v.val, uval + j)) in m_div() 204 qval[j] = (short)qq; in m_div()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fmsmb.c | 114 int i, j; in smb_create_strcnt() local 132 for (j = 0; j < MAX_CONT; j++) { in smb_create_strcnt() 146 int i, j; in smb_free_strcnt() local 152 for (j = 0; j < MAX_CONT; j++) { in smb_free_strcnt() 301 for (j = 0; j < cont_count; j++) { in smb_bb_contains() 469 for (j = 0; j < ma_cnt; j++) { in fm_smb_check() 570 for (j = 0; j < cnt; j++) { in fm_smb_fmacompat() 619 for (j = 0; j < ep.smbpe_n; j++) { in find_matching_apic() 718 j++; in get_bboard_index() 849 for (j = 0, i = chcnt, cnt = chcnt; j < bb_idx.count; j++) { in smb_get_bb_fmri() [all …]
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | qdivrem.c | 87 int m, n, d, j, i; in ___qdivrem() local 191 j = 0; in ___qdivrem() 206 uj1 = u[j + 1]; /* for D3 only */ in ___qdivrem() 230 t = u[i + j] - v[i] * qhat - t; in ___qdivrem() 231 u[i + j] = LHALF(t); in ___qdivrem() 234 t = u[j] - t; in ___qdivrem() 235 u[j] = LHALF(t); in ___qdivrem() 245 t += u[i + j] + v[i]; in ___qdivrem() 246 u[i + j] = LHALF(t); in ___qdivrem() 249 u[j] = LHALF(u[j] + t); in ___qdivrem() [all …]
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | diff.c | 450 for (j = 0; j < i; j++) in main() 451 if (buf1[j] != buf2[j]) in main() 727 for (; j <= len[1]; j++) { in check() 1603 for (j = 0; j < i; j++) in compare() 1604 if (buf1[j] != buf2[j]) in compare() 1829 for (j = 1, m = 0; j <= n; j *= 2) in sort() 1833 for (j = 1; j <= k; j++) { in sort() 1996 for (j = 0; j < 2; j++) { in prune() 1997 sfile[j] = file[j] + pref; in prune() 2021 c[j] = -b[j].serial; in equiv() [all …]
|