/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | winnwstr.c | 44 int counter = 0; in winnwstr() local 59 while (counter < ncols) { in winnwstr() 79 counter++; in winnwstr() 89 if (counter < ncols) in winnwstr() 92 return (counter); in winnwstr()
|
H A D | winwchnstr.c | 46 int counter = 0; in winwchnstr() local 62 while ((counter < ncols) && maxcols > 0) { in winwchnstr() 81 counter++; in winwchnstr() 83 if (counter < ncols) in winwchnstr() 85 return (counter); in winwchnstr()
|
H A D | waddwchnstr.c | 47 int counter; in waddwchnstr() local 67 counter = win->_maxx - my_x; in waddwchnstr() 68 while ((ncols > 0) && (*string) && (counter > 0)) { in waddwchnstr() 79 if ((scrw = wcscrw(rawc)) > counter) in waddwchnstr() 104 counter -= scrw; in waddwchnstr()
|
H A D | newwin.c | 52 int counter = 0; in newwin() local 64 while (counter < nlines) { in newwin() 65 memSset(&win->_y[counter][0], (chtype) ' ', ncols); in newwin() 71 win->_y16[counter][i] = (_ochtype) ' '; in newwin() 74 counter++; in newwin()
|
H A D | init_costs.c | 126 static int counter = 0; variable 131 counter++; in _countchar() 149 counter = 0; in _cost_fn() 151 return (counter); in _cost_fn()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bitmap.c | 174 int counter = start >> BT_ULSHIFT; in bt_getlowbit() local 189 word = map[counter]; in bt_getlowbit() 204 while ((word == 0) && (counter < limit)) { in bt_getlowbit() 205 word = map[++counter]; in bt_getlowbit() 213 if ((counter == limit) && (partial_stop != BT_ULMASK)) { in bt_getlowbit() 230 return ((counter << BT_ULSHIFT) | (lowbit(word) - 1)); in bt_getlowbit()
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | progress.test | 41 set counter 0 42 db progress 1 "[namespace code {incr counter}] ; expr 0" 46 expr $counter > 1 51 set counter 0 52 db progress 1 "[namespace code {incr counter}] ; expr 1" 56 set counter 109 set counter 0 110 db progress 0 "[namespace code {incr counter}] ; expr 0" 114 set counter
|
H A D | capi2.test | 293 CREATE TABLE t3(x counter); 313 } {SQLITE_ROW 1 1 {x counter}} 319 } {SQLITE_ROW 1 2 {x counter}} 325 } {SQLITE_ROW 1 3 {x counter}} 331 } {SQLITE_ROW 1 4 {x counter}} 337 } {SQLITE_ROW 1 5 {x counter}} 344 } {SQLITE_ROW 1 6 {x counter}} 351 } {SQLITE_ROW 1 7 {x counter}} 357 } {SQLITE_ROW 1 8 {x counter}} 363 } {SQLITE_ROW 1 9 {x counter}} [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | corectl.c | 466 counter_t counter; in set_proc_info() local 469 counter.cc_count = 0; in set_proc_info() 475 counter.cc_content = NULL; in set_proc_info() 477 counter.cc_path = NULL; in set_proc_info() 486 if (error == 0 && counter.cc_count == 0) in set_proc_info() 493 (void) set_one_proc_info(p, &counter); in set_proc_info() 494 if (counter.cc_count == 0) in set_proc_info() 511 (void) set_one_proc_info(p, &counter); in set_proc_info() 517 else if (counter.cc_count == 0) in set_proc_info() 522 corectl_path_rele(counter.cc_path); in set_proc_info() [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vrsqrt.S | 523 sub counter,7,counter ! counter 933 subcc counter,7,counter ! counter -= 7; 947 add counter,7,counter 950 subcc counter,1,counter 989 subcc counter,1,counter 1026 subcc counter,1,counter 1060 subcc counter,1,counter 1091 subcc counter,1,counter 1119 subcc counter,1,counter 1150 sub counter,1,counter [all …]
|
H A D | __vpow.S | 1912 subcc counter,2,counter ! update cycle counter 2274 sub counter,1,counter 2407 sub counter,2,counter 2528 sub counter,1,counter 2586 sub counter,2,counter 2701 sub counter,1,counter 2761 sub counter,3,counter 2882 sub counter,2,counter 2903 sub counter,1,counter 2924 sub counter,1,counter [all …]
|
H A D | __vatan2f.S | 256 subcc counter,1,counter 725 subcc counter,1,counter 810 subcc counter,1,counter 1562 subcc counter,6,counter ! counter? 1865 sub counter,0,counter 1945 sub counter,1,counter 2028 sub counter,2,counter 2110 sub counter,3,counter 2193 sub counter,4,counter 2271 sub counter,5,counter [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipdrop.c | 253 struct kstat_named *counter, ipdropper_t *who_called) in ip_drop_packet() argument 268 if (counter != NULL) { in ip_drop_packet() 269 switch (counter->data_type) { in ip_drop_packet() 271 counter->value.i32++; in ip_drop_packet() 274 counter->value.ui32++; in ip_drop_packet() 277 counter->value.i64++; in ip_drop_packet() 280 counter->value.ui64++; in ip_drop_packet() 286 if (counter != NULL) in ip_drop_packet() 287 str = counter->name; in ip_drop_packet()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | stats.c | 46 int counter; member 140 sp->u.counter++; in stats_counter_bump() 151 sp->u.counter += n; in stats_counter_add() 162 sp->u.counter = 0; in stats_counter_reset() 173 return (sp->u.counter); in stats_counter_value() 241 sp->u.counter, sp->desc); in stats_publish()
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | fcns.c | 91 int counter; in dump_exec_header() local 115 for (counter = 0; counter < nseg; counter++) { in dump_exec_header() 117 if (gelf_getphdr(elf_file, counter, &p_phdr) == 0) { in dump_exec_header()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | spray.c | 137 if (cumul.counter < cnt) in main() 139 cnt - cumul.counter, in main() 140 100.0 * (cnt - cumul.counter)/cnt, host); in main() 143 psec = (1000000.0 * cumul.counter) / in main() 145 bsec = (lnth * 1000000.0 * cumul.counter) / in main()
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | opteron_pcbe.c | 557 opt_pcbe_pes_addr(uint_t counter) in opt_pcbe_pes_addr() argument 559 ASSERT3U(counter, <, opd.opd_ncounters); in opt_pcbe_pes_addr() 560 return (PES_BASE_ADDR + counter); in opt_pcbe_pes_addr() 564 opt_pcbe_pes_ext_addr(uint_t counter) in opt_pcbe_pes_ext_addr() argument 566 ASSERT3U(counter, <, opd.opd_ncounters); in opt_pcbe_pes_ext_addr() 567 return (PES_EXT_BASE_ADDR + 2 * counter); in opt_pcbe_pes_ext_addr() 571 opt_pcbe_pic_addr(uint_t counter) in opt_pcbe_pic_addr() argument 573 ASSERT3U(counter, <, opd.opd_ncounters); in opt_pcbe_pic_addr() 574 return (PIC_BASE_ADDR + counter); in opt_pcbe_pic_addr() 578 opt_pcbe_pic_ext_addr(uint_t counter) in opt_pcbe_pic_ext_addr() argument [all …]
|
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | lock.cc | 86 int counter = 0; in file_lock() local 115 counter = 0; in file_lock() 127 if ((counter > 5) && (!printed_warning)) { in file_lock() 143 if (++counter > timeout ) { in file_lock()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | send_tgs.c | 266 krb5_pa_data * const * counter; in krb5_send_tgs2() local 268 for (counter = padata; *counter; counter++, i++); in krb5_send_tgs2() 276 for (i = 1, counter = padata; *counter; counter++, i++) in krb5_send_tgs2() 277 combined_padata[i] = (krb5_pa_data *) *counter; in krb5_send_tgs2()
|
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | ccm.c | 64 uint64_t counter; in ccm_mode_encrypt_contiguous_blocks() local 118 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask); in ccm_mode_encrypt_contiguous_blocks() 119 counter = htonll(counter + 1); in ccm_mode_encrypt_contiguous_blocks() 120 counter &= ctx->ccm_counter_mask; in ccm_mode_encrypt_contiguous_blocks() 122 (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter; in ccm_mode_encrypt_contiguous_blocks() 186 uint64_t counter; in calculate_ccm_mac() local 193 counter = 0; in calculate_ccm_mac() 370 uint64_t counter; in ccm_mode_decrypt_contiguous_blocks() local 473 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask); in ccm_mode_decrypt_contiguous_blocks() 474 counter = htonll(counter + 1); in ccm_mode_decrypt_contiguous_blocks() [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vhpet.c | 247 vhpet_adjust_compval(struct vhpet *vhpet, int n, uint32_t counter) in vhpet_adjust_compval() argument 292 uint32_t counter = vhpet_counter(vhpet, &now); in vhpet_handler() local 294 vhpet_start_timer(vhpet, n, counter, now); in vhpet_handler() 335 vhpet_adjust_compval(vhpet, n, counter); in vhpet_start_timer() 346 timer->compval - counter); in vhpet_start_timer() 373 vhpet->base_count = counter; in vhpet_stop_counting() 465 uint32_t isr_clear_mask, old_compval, old_comprate, counter; in vhpet_mmio_write() local 505 counter = vhpet_counter(vhpet, &now); in vhpet_mmio_write() 519 vhpet_stop_counting(vhpet, counter, now); in vhpet_mmio_write() 583 counter = vhpet_counter(vhpet, &now); in vhpet_mmio_write() [all …]
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | write_image.c | 179 int counter; in write_image() local 185 for (counter = 0; counter < 200; counter++) { in write_image()
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prfile.c | 94 int counter; in fd_recycle() local 97 counter = abs(fd_cnt_old - fd_cnt) + NUM_RESERVED_FD; in fd_recycle() 107 counter--; in fd_recycle() 111 if (counter == 0) in fd_recycle()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_er.c | 563 u32_t counter = 0; in lm_er_inc_load_cnt() local 600 counter = lm_er_get_number_of_functions(por_aux_register); in lm_er_inc_load_cnt() 606 return counter; in lm_er_inc_load_cnt() 612 u32_t counter = 0; in lm_er_dec_load_cnt() local 646 counter = lm_er_get_number_of_functions(por_aux_register); in lm_er_dec_load_cnt() 652 return counter; in lm_er_dec_load_cnt() 658 u32_t counter = 0; in lm_er_get_load_cnt() local 677 counter = lm_er_get_number_of_functions(por_aux_register); in lm_er_get_load_cnt() 683 return counter; in lm_er_get_load_cnt()
|
/illumos-gate/usr/src/tools/cpcgen/ |
H A D | cpcgen.c | 1064 if (strcmp(counter, "0") == 0 || strcmp(counter, "0,") == 0) { in cpcgen_cfile_intel_event() 1066 } else if (strcmp(counter, "1") == 0) { in cpcgen_cfile_intel_event() 1068 } else if (strcmp(counter, "2") == 0) { in cpcgen_cfile_intel_event() 1070 } else if (strcmp(counter, "3") == 0) { in cpcgen_cfile_intel_event() 1072 } else if (strcmp(counter, "0,1") == 0) { in cpcgen_cfile_intel_event() 1074 } else if (strcmp(counter, "0,1,2") == 0) { in cpcgen_cfile_intel_event() 1085 } else if (strcmp(counter, "0,2,3") == 0) { in cpcgen_cfile_intel_event() 1087 } else if (strcmp(counter, "1,2,3") == 0) { in cpcgen_cfile_intel_event() 1089 } else if (strcmp(counter, "2,3") == 0) { in cpcgen_cfile_intel_event() 1416 if (strcmp(counter, "32") == 0 || strcmp(counter, "33") == 0 || in cpcgen_skip_intel_entry() [all …]
|