Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 147) sorted by relevance

123456

/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dgentab.sh38 typeset -i counter err_line
44 counter=0
99 ksh) ((n=counter-1)) ;;
122 ?*) eval $index=$counter ;;
159 "") counter=$init
163 "") counter=$init ;;
185 then case $counter in
208 ksh) ((counter=counter+1)) ;;
209 *) counter=`expr $counter + 1` ;;
220 ksh) ((n=counter-1)) ;;
[all …]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vrhypotf.S575 sub counter,5,counter
847 subcc counter,5,counter ! counter -= 5;
855 add counter,5,counter
986 sub counter,1,counter ! counter--;
1002 sub counter,1,counter ! counter--;
1010 sub counter,1,counter
1025 sub counter,1,counter
1043 sub counter,1,counter
1058 sub counter,2,counter
1073 sub counter,2,counter
[all …]
H A D__vsqrtf_ultra3.S386 sub counter,5,counter ! counter
586 subcc counter,5,counter ! counter
593 add counter,5,counter
652 sub counter,1,counter
667 sub counter,1,counter
682 sub counter,1,counter
697 sub counter,2,counter
712 sub counter,2,counter
727 sub counter,3,counter
742 sub counter,3,counter
[all …]
H A D__vhypotf.S435 sub counter,5,counter
696 subcc counter,5,counter ! counter -= 5
710 add counter,5,counter
823 sub counter,1,counter ! counter--
852 sub counter,1,counter ! counter--
872 sub counter,1,counter ! counter--
885 sub counter,1,counter
900 sub counter,1,counter
915 sub counter,2,counter
930 sub counter,2,counter
[all …]
H A D__vlogf.S303 subcc counter,1,counter
661 subcc counter,4,counter ! update cycle counter
808 subcc counter,1,counter ! update cycle counter
911 sub counter,1,counter
924 sub counter,1,counter
939 sub counter,2,counter
954 sub counter,2,counter
967 sub counter,3,counter
980 sub counter,3,counter
995 sub counter,4,counter
[all …]
H A D__vatanf.S1402 sub counter,1,counter
1425 sub counter,1,counter
1435 sub counter,1,counter
1448 sub counter,1,counter
1463 sub counter,1,counter
1478 sub counter,2,counter
1493 sub counter,2,counter
1508 sub counter,3,counter
1523 sub counter,3,counter
1538 sub counter,4,counter
[all …]
H A D__vpowf.S1115 sub counter,3,counter ! counter
1605 sub counter,1,counter
1691 sub counter,1,counter ! counter--;
1842 sub counter,1,counter
1858 sub counter,1,counter
1876 sub counter,2,counter
1893 sub counter,2,counter
1911 sub counter,3,counter
1929 sub counter,3,counter
1950 sub counter,1,counter
[all …]
H A D__vrsqrtf.S641 sub counter,6,counter ! counter
861 subcc counter,6,counter ! counter -= 6;
870 add counter,6,counter
932 sub counter,1,counter
958 sub counter,1,counter
972 sub counter,1,counter
1027 sub counter,1,counter
1042 sub counter,2,counter
1088 sub counter,2,counter
1103 sub counter,3,counter
[all …]
H A D__vsqrt.S1338 sub counter,6,counter ! counter
1507 sub counter,1,counter
1518 sub counter,1,counter
1533 sub counter,1,counter
1548 sub counter,2,counter
1563 sub counter,2,counter
1578 sub counter,3,counter
1593 sub counter,3,counter
1608 sub counter,4,counter
1623 sub counter,4,counter
[all …]
H A D__vhypot.S228 cmp counter,0
517 sub counter,4,counter
775 subcc counter,4,counter ! counter -= 4;
779 add counter,4,counter
782 subcc counter,1,counter
796 subcc counter,1,counter
820 subcc counter,1,counter
896 sub counter,1,counter
925 sub counter,1,counter
936 sub counter,1,counter
[all …]
H A D__vrhypot.S972 sub counter,8,counter
1892 subcc counter,8,counter ! counter -= 8;
1896 add counter,8,counter
2127 sub counter,1,counter
2136 sub counter,1,counter
2166 sub counter,1,counter
2217 sub counter,1,counter
2240 sub counter,1,counter
2259 sub counter,2,counter
2287 sub counter,2,counter
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c14 int counter; in asctouni() local
15 for (counter=0;counter<len;counter++) { in asctouni()
16 unicode[2*counter]=ascii[counter]; in asctouni()
17 unicode[2*counter + 1]=0x00; in asctouni()
66 int counter; in krb5int_arcfour_string_to_key()
67 for(counter=0;counter<16;counter++) in krb5int_arcfour_string_to_key()
68 printf("%02x", md4_context.digest[counter]); in krb5int_arcfour_string_to_key()
/illumos-gate/usr/src/uts/sun4/io/fpc/
H A Dfpc-impl.c181 fpc_get_counter_reg_index(fire_perfcnt_t regtype, int counter) in fpc_get_counter_reg_index() argument
185 regtype, counter, counters_per_type[regtype]); in fpc_get_counter_reg_index()
186 if (BOUNDS_CHECK_FAILS(counter, counters_per_type[regtype])) in fpc_get_counter_reg_index()
189 return (first_reg_of_type[regtype] + counter); in fpc_get_counter_reg_index()
210 int num_counters, counter; in fpc_perfcnt_program() local
235 for (counter = 0; counter < num_counters; counter++) { in fpc_perfcnt_program()
237 counter_index = fpc_get_counter_reg_index(reggroup, counter); in fpc_perfcnt_program()
280 int num_counters, counter; in fpc_perfcnt_read() local
298 for (counter = 0; counter < num_counters; counter++) { in fpc_perfcnt_read()
302 &values[counter], IS_READ)) != SUCCESS) in fpc_perfcnt_read()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c82 int counter; /* size of data in buffer, or flag */ member
115 bfs[1].counter = BF_FREE; in rw_init()
130 bfs[current].counter = BF_FREE; /* free old one */ in readit()
134 if (b->counter == BF_FREE) /* if it's empty */ in readit()
137 return (b->counter); in readit()
154 if (b->counter != BF_FREE) /* nop if not free */ in read_ahead()
164 b->counter = -1; in read_ahead()
186 b->counter = (int)(p - dp->th_data); in read_ahead()
225 if (b->counter < -1) /* anything to flush? */ in write_behind()
228 count = b->counter; /* remember byte count */ in write_behind()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc_kstats.c337 int counter; in n2piupc_perfcnt_program() local
353 for (counter = 0; counter < grp_p->num_counters; counter++) { in n2piupc_perfcnt_program()
365 grp_p->grp_name, counter, in n2piupc_perfcnt_program()
366 grp_p->counters_p[counter].zero_regoff, in n2piupc_perfcnt_program()
374 N2PIUPC_DBG1("Zeroing counter %d\n", counter); in n2piupc_perfcnt_program()
376 grp_p->counters_p[counter].zero_regoff, in n2piupc_perfcnt_program()
406 int counter; in n2piupc_kstat_update() local
447 for (counter = 0; counter < grp_p->num_counters; counter++) { in n2piupc_kstat_update()
449 grp_p->counters_p[counter].regoff, in n2piupc_kstat_update()
454 grp_p->counters_p[counter].regoff, in n2piupc_kstat_update()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinchnstr.c57 int counter = 0; in winchnstr() local
70 while ((counter < ncols) && maxcols > 0) { in winchnstr()
74 if (counter + eucw > ncols) in winchnstr()
82 counter++; in winchnstr()
86 counter++; in winchnstr()
89 if (counter < ncols) in winchnstr()
91 return (counter); in winchnstr()
H A Dwinnstr.c55 int counter = 0; in winnstr() local
69 while (counter < ncols) { in winnstr()
72 if (counter + eucw > ncols) in winnstr()
80 counter++; in winnstr()
85 counter++; in winnstr()
96 if (counter < ncols) in winnstr()
99 return (counter); in winnstr()
H A Ddelkey.c56 int counter = 0, i, num_deleted_keys = 0; in delkey() local
68 while (++counter < numkeys) { in delkey()
88 i = (numkeys - counter) - 1; in delkey()
91 if (counter <= *lmorder) { in delkey()
92 if (counter < *first_macro) { in delkey()
93 if (counter <= *lkorder) in delkey()
H A Dwinstr.c50 int counter = 0; in winstr() local
69 str[counter++] = (char) wc; in winstr()
73 str[counter++] = (char) wc; in winstr()
76 str[counter] = '\0'; in winstr()
78 return (counter); in winstr()
/illumos-gate/usr/src/uts/sun4v/io/iospc/
H A Diospc.c475 int counter; in iospc_perfcnt_program() local
487 for (counter = 0; counter < grp_p->num_counters; counter++) { in iospc_perfcnt_program()
499 grp_p->grp_name, counter, in iospc_perfcnt_program()
500 grp_p->counters_p[counter].zero_regoff, in iospc_perfcnt_program()
508 IOSPC_DBG1("Zeroing counter %d\n", counter); in iospc_perfcnt_program()
544 int counter; in iospc_kstat_update() local
587 for (counter = 0; counter < grp_p->num_counters; counter++) { in iospc_kstat_update()
590 grp_p->counters_p[counter].regoff, in iospc_kstat_update()
591 &data_p[counter + 1].value.ui64) != SUCCESS) in iospc_kstat_update()
595 grp_p->counters_p[counter].regoff, in iospc_kstat_update()
[all …]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c780 int counter; in client_manual() local
883 for (counter = 0; counter < arglist->attributeMap->count; counter++) { in client_manual()
1094 int counter; in client_mod() local
1341 int counter; in client_genProfile() local
2269 int counter; in credCheck() local
2323 for (counter = 0; credLevel && credLevel[counter] != NULL; counter++) { in credCheck()
2402 int counter; in adminCredCheck() local
2487 for (counter = 0; credLevel && credLevel[counter] != NULL; counter++) { in adminCredCheck()
3345 int counter; in parseParam() local
3362 for (counter = 0; paramArray[counter].name != NULL; counter++) { in parseParam()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dbbc_beep.c328 unsigned long counter; in bbc_beep_freq() local
335 counter = bbc_beep_hztocounter(freq); in bbc_beep_freq()
338 beep_c2 = (counter & 0xff00) >> 8; in bbc_beep_freq()
339 beep_c3 = (counter & 0xff0000) >> 16; in bbc_beep_freq()
355 (void *)dip, freq, (int)counter)); in bbc_beep_freq()
484 unsigned long counter; in bbc_beep_hztocounter() local
521 return (counter); in bbc_beep_hztocounter()
533 return (counter); in bbc_beep_hztocounter()
544 return (counter); in bbc_beep_hztocounter()
549 return (counter << 1); in bbc_beep_hztocounter()
[all …]
/illumos-gate/usr/src/uts/intel/io/
H A Dpit_beep.c256 int counter; in pit_beep_freq() local
259 counter = 0; in pit_beep_freq()
261 counter = PIT_HZ / freq; in pit_beep_freq()
262 if (counter > UINT16_MAX) in pit_beep_freq()
263 counter = UINT16_MAX; in pit_beep_freq()
264 else if (counter < 1) in pit_beep_freq()
265 counter = 1; in pit_beep_freq()
269 outb(PITCTR2_PORT, counter & 0xff); in pit_beep_freq()
270 outb(PITCTR2_PORT, counter >> 8); in pit_beep_freq()
/illumos-gate/usr/src/common/crypto/modes/
H A Dgcm.c147 uint64_t counter; in gcm_mode_encrypt_contiguous_blocks() local
185 counter = htonll(counter + 1); in gcm_mode_encrypt_contiguous_blocks()
186 counter &= counter_mask; in gcm_mode_encrypt_contiguous_blocks()
269 uint64_t counter; in gcm_encrypt_final() local
281 counter = htonll(counter + 1); in gcm_encrypt_final()
282 counter &= counter_mask; in gcm_encrypt_final()
335 uint64_t counter; in gcm_decrypt_incomplete_block() local
344 counter = htonll(counter + 1); in gcm_decrypt_incomplete_block()
345 counter &= counter_mask; in gcm_decrypt_incomplete_block()
418 uint64_t counter; in gcm_decrypt_final() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmmd.c150 data.counter = 0; in multidata()
213 data.counter = 0; in multidata_stats()
226 data.counter = 0; in multidata_stats()
238 data.counter = 0; in multidata_stats()
251 data.counter = 0; in multidata_stats()
269 data.counter = 0; in multidata_stats()
283 data.counter = 0; in multidata_stats()
294 data.counter = 0; in multidata_stats()
382 data->counter++; in pdesc_count()
410 data->counter += attr_data.counter; in pdesc_count()
[all …]

123456