/titanic_50/usr/src/lib/libpp/common/ |
H A D | gentab.sh | 38 typeset -i counter err_line 44 counter=0 99 ksh) ((n=counter-1)) ;; 100 *) n=`expr $counter - 1` ;; 122 ?*) eval $index=$counter ;; 159 "") counter=$init 163 "") counter=$init ;; 164 [0123456789]*) counter=$value ;; 169 1:?*) echo "#define $prefix$first $counter" ;; 185 then case $counter in [all …]
|
/titanic_50/usr/src/lib/libmvec/common/vis/ |
H A D | __vrhypotf.S | 191 #define counter %i0 macro 327 ld [%fp+tmp_counter],counter 332 cmp counter,0 570 cmp counter,5 575 sub counter,5,counter 847 subcc counter,5,counter ! counter -= 5; 855 add counter,5,counter 858 subcc counter,1,counter 894 subcc counter,1,counter 923 subcc counter,1,counter [all …]
|
H A D | __vsqrtf_ultra3.S | 55 #define counter %l6 macro 145 ld [%fp+tmp_counter],counter 149 cmp counter,0 381 cmp counter,5 386 sub counter,5,counter ! counter 586 subcc counter,5,counter ! counter 593 add counter,5,counter 595 subcc counter,1,counter 609 subcc counter,1,counter 627 subcc counter,1,counter [all …]
|
H A D | __vhypotf.S | 66 #define counter %l0 macro 199 ld [%fp+tmp_counter],counter 204 cmp counter,0 424 cmp counter,5 435 sub counter,5,counter 696 subcc counter,5,counter ! counter -= 5 710 add counter,5,counter 713 subcc counter,1,counter 745 subcc counter,1,counter 779 subcc counter,1,counter [all …]
|
H A D | __vlogf.S | 120 #define counter %l7 macro 141 ! l7 cycle counter 298 ld [%fp+tmp0],counter 303 subcc counter,1,counter 489 subcc counter,7,counter 661 subcc counter,4,counter ! update cycle counter 672 addcc counter,7,counter 729 subcc counter,1,counter 747 subcc counter,1,counter 792 subcc counter,1,counter [all …]
|
H A D | __vatanf.S | 184 #define counter %l1 macro 294 ld [%fp+tmp_counter],counter 298 cmp counter,0 578 subcc counter,8,counter 1081 subcc counter,8,counter 1114 addcc counter,7,counter 1168 subcc counter,1,counter 1219 subcc counter,1,counter 1265 subcc counter,1,counter 1308 subcc counter,1,counter [all …]
|
H A D | __vpowf.S | 534 #define counter %o7 macro 781 ld [%fp+tmp_counter],counter 786 cmp counter,0 1104 cmp counter,6 ! counter 1115 sub counter,3,counter ! counter 1364 cmp counter,6 ! counter 1369 subcc counter,1,counter 1434 subcc counter,1,counter 1489 subcc counter,1,counter 1533 subcc counter,1,counter [all …]
|
H A D | __vrsqrtf.S | 185 #define counter %i5 macro 384 ld [%fp+tmp_counter],counter 388 cmp counter,0 636 cmp counter,6 641 sub counter,6,counter ! counter 861 subcc counter,6,counter ! counter -= 6; 870 add counter,6,counter 873 subcc counter,1,counter 892 subcc counter,1,counter 898 subcc counter,1,counter [all …]
|
H A D | __vsqrt.S | 583 #define counter %l3 macro 709 ld [%fp+tmp_counter],counter 713 cmp counter,0 973 cmp counter,6 1338 sub counter,6,counter ! counter 1343 cmp counter,6 1348 subcc counter,1,counter 1385 subcc counter,1,counter 1418 subcc counter,1,counter 1449 subcc counter,1,counter [all …]
|
H A D | __vhypot.S | 43 #define counter %i0 macro 223 mov tmp_counter,counter 228 cmp counter,0 512 cmp counter,4 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 [all …]
|
H A D | __vrhypot.S | 87 #define counter %l4 macro 307 ld [%fp+tmp_counter],counter 312 cmp counter,0 967 cmp counter,8 972 sub counter,8,counter 1892 subcc counter,8,counter ! counter -= 8; 1896 add counter,8,counter 1899 subcc counter,1,counter 1914 subcc counter,1,counter 1972 subcc counter,1,counter [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/ |
H A D | arcfour_str2key.c | 14 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()
|
/titanic_50/usr/src/uts/sun4/io/fpc/ |
H A D | fpc-impl.c | 181 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() 188 FPC_DBG1("returning: %d\n", first_reg_of_type[regtype] + counter); 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() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 82 int counter; /* size of data in buffer, or flag */ member 113 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ in rw_init() 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() 161 b->counter = fread(dp->th_data, sizeof (char), blocksize, in read_ahead() 164 b->counter = -1; in read_ahead() 186 b->counter = (int)(p - dp->th_data); in read_ahead() [all …]
|
/titanic_50/usr/src/uts/sun4v/io/n2piupc/ |
H A D | n2piupc_kstats.c | 339 int counter; in n2piupc_perfcnt_program() local 355 for (counter = 0; counter < grp_p->num_counters; counter++) { in n2piupc_perfcnt_program() 357 if (grp_p->counters_p[counter].zero_regoff == NO_REGISTER) in n2piupc_perfcnt_program() 360 event_mask = grp_p->regsel_p->fields_p[counter].event_mask << in n2piupc_perfcnt_program() 361 grp_p->regsel_p->fields_p[counter].event_offset; in n2piupc_perfcnt_program() 367 grp_p->grp_name, counter, in n2piupc_perfcnt_program() 368 grp_p->counters_p[counter].zero_regoff, in n2piupc_perfcnt_program() 376 N2PIUPC_DBG1("Zeroing counter %d\n", counter); in n2piupc_perfcnt_program() 378 grp_p->counters_p[counter].zero_regoff, in n2piupc_perfcnt_program() 379 grp_p->counters_p[counter].zero_value)) != SUCCESS) in n2piupc_perfcnt_program() [all …]
|
/titanic_50/usr/src/lib/libcurses/screen/ |
H A D | winnstr.c | 55 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 D | winchnstr.c | 57 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 D | delkey.c | 56 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 D | winstr.c | 50 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()
|
H A D | winwchnstr.c | 48 int counter = 0; in winwchnstr() local 64 while ((counter < ncols) && maxcols > 0) { in winwchnstr() 83 counter++; in winwchnstr() 85 if (counter < ncols) in winwchnstr() 87 return (counter); in winwchnstr()
|
/titanic_50/usr/src/uts/sun4v/io/iospc/ |
H A D | iospc.c | 475 int counter; in iospc_perfcnt_program() local 487 for (counter = 0; counter < grp_p->num_counters; counter++) { in iospc_perfcnt_program() 489 if (grp_p->counters_p[counter].zero_regoff == NO_REGISTER) in iospc_perfcnt_program() 492 event_mask = grp_p->regsel_p->fields_p[counter].event_mask << in iospc_perfcnt_program() 493 grp_p->regsel_p->fields_p[counter].event_offset; 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() 511 IOSPC_REG_WRITE, grp_p->counters_p[counter].zero_regoff, in iospc_perfcnt_program() 512 &grp_p->counters_p[counter].zero_value)) != SUCCESS) in iospc_perfcnt_program() [all …]
|
/titanic_50/usr/src/uts/sun4u/io/ |
H A D | bbc_beep.c | 328 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 502 for (i = BBC_BEEP_MIN_SHIFT, counter = 1 << BBC_BEEP_MSBIT; in bbc_beep_hztocounter() 503 i >= BBC_BEEP_MAX_SHIFT; i--, counter >>= 1) { in bbc_beep_hztocounter() 521 return (counter); in bbc_beep_hztocounter() 533 return (counter); in bbc_beep_hztocounter() [all …]
|
/titanic_50/usr/src/uts/intel/io/ |
H A D | pit_beep.c | 256 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()
|
/titanic_50/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapclient.c | 779 int counter; in client_manual() local 859 for (counter = 0; in client_manual() 860 counter < arglist->serviceAuthenticationMethod->count; in client_manual() 861 counter++) { in client_manual() 864 arglist->serviceAuthenticationMethod->optlist[counter], in client_manual() 867 for (counter = 0; in client_manual() 868 counter < arglist->serviceCredentialLevel->count; in client_manual() 869 counter++) { in client_manual() 872 arglist->serviceCredentialLevel->optlist[counter], in client_manual() 875 for (counter = 0; in client_manual() [all …]
|
/titanic_50/usr/src/common/crypto/modes/ |
H A D | gcm.c | 147 uint64_t counter; in gcm_mode_encrypt_contiguous_blocks() local 184 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_mode_encrypt_contiguous_blocks() 185 counter = htonll(counter + 1); in gcm_mode_encrypt_contiguous_blocks() 186 counter &= counter_mask; in gcm_mode_encrypt_contiguous_blocks() 187 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_mode_encrypt_contiguous_blocks() 269 uint64_t counter; in gcm_encrypt_final() local 280 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_encrypt_final() 281 counter = htonll(counter + 1); in gcm_encrypt_final() 282 counter &= counter_mask; in gcm_encrypt_final() 283 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_encrypt_final() [all …]
|