| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/ |
| arcfour_str2key.c | 14 int counter; local 15 for (counter=0;counter<len;counter++) { 16 unicode[2*counter]=ascii[counter]; 17 unicode[2*counter + 1]=0x00; 66 int counter; 67 for(counter=0;counter<16;counter++ [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/aes/ |
| aes_ctr.c | 62 /* NOTE: the IV/counter CTR mode is big-endian. The rest of the AES code 65 /* increment counter (128-bit int) by 1 */ 66 static void AES_ctr128_inc(unsigned char *counter) { 69 /* Grab bottom dword of counter and increment */ 70 c = GETU32(counter + 12); 72 PUTU32(counter + 12, c); 78 /* Grab 1st dword of counter and increment */ 79 c = GETU32(counter + 8); 81 PUTU32(counter + 8, c); 87 /* Grab 2nd dword of counter and increment * [all...] |
| /onnv/onnv-gate/usr/src/lib/libpp/common/ |
| 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 i [all...] |
| /onnv/onnv-gate/usr/src/lib/libcurses/screen/ |
| winstr.c | 50 int counter = 0; local 69 str[counter++] = (char) wc; 73 str[counter++] = (char) wc; 76 str[counter] = '\0'; 78 return (counter);
|
| winchnstr.c | 57 int counter = 0; local 70 while ((counter < ncols) && maxcols > 0) { 74 if (counter + eucw > ncols) 82 counter++; 86 counter++; 89 if (counter < ncols) 91 return (counter);
|
| winnstr.c | 55 int counter = 0; local 69 while (counter < ncols) { 72 if (counter + eucw > ncols) 80 counter++; 85 counter++; 96 if (counter < ncols) 99 return (counter);
|
| delkey.c | 56 int counter = 0, i, num_deleted_keys = 0; local 68 while (++counter < numkeys) { 88 i = (numkeys - counter) - 1; 91 if (counter <= *lmorder) { 92 if (counter < *first_macro) { 93 if (counter <= *lkorder)
|
| winnwstr.c | 46 int counter = 0; local 61 while (counter < ncols) { 81 counter++; 91 if (counter < ncols) 94 return (counter);
|
| winwchnstr.c | 48 int counter = 0; local 64 while ((counter < ncols) && maxcols > 0) { 83 counter++; 85 if (counter < ncols) 87 return (counter);
|
| init_costs.c | 128 static int counter = 0; variable 133 counter++; 151 counter = 0; 153 return (counter);
|
| newwin.c | 54 int counter = 0; local 66 while (counter < nlines) { 67 memSset(&win->_y[counter][0], (chtype) ' ', ncols); 73 win->_y16[counter][i] = (_ochtype) ' '; 76 counter++;
|
| waddwchnstr.c | 49 int counter; local 69 counter = win->_maxx - my_x; 70 while ((ncols > 0) && (*string) && (counter > 0)) { 81 if ((scrw = wcscrw(rawc)) > counter) 106 counter -= scrw;
|
| /onnv/onnv-gate/usr/src/head/rpcsvc/ |
| spray.x | 53 unsigned int counter; 65 * Just throw away the data and increment the counter 73 * Get the value of the counter and elapsed time since 80 * Clear the counter and reset the elapsed time
|
| /onnv/onnv-gate/usr/src/uts/sun4/io/fpc/ |
| fpc-impl.c | 56 JBC_PIC0_EVT_MASK, /* JBC counter 0 */ 57 JBC_PIC1_EVT_MASK, /* JBC counter 1 */ 58 IMU_PIC0_EVT_MASK, /* IMU counter 0 */ 59 IMU_PIC1_EVT_MASK, /* IMU counter 1 */ 60 MMU_PIC0_EVT_MASK, /* MMU counter 0 */ 61 MMU_PIC1_EVT_MASK, /* MMU counter 1 */ 62 TLU_PIC0_EVT_MASK, /* TLU counter 0 */ 63 TLU_PIC1_EVT_MASK, /* TLU counter 1 */ 64 TLU_PIC2_EVT_MASK, /* TLU counter 2 */ 65 LPU_PIC0_EVT_MASK, /* LPU counter 1 * 210 int num_counters, counter; local 280 int num_counters, counter; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
| tftpsubs.c | 82 int counter; /* size of data in buffer, or flag */ member in struct:bf 87 /* Values for bf.counter */ 113 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ 115 bfs[1].counter = BF_FREE; 130 bfs[current].counter = BF_FREE; /* free old one */ 134 if (b->counter == BF_FREE) /* if it's empty */ 137 return (b->counter); 154 if (b->counter != BF_FREE) /* nop if not free */ 161 b->counter = fread(dp->th_data, sizeof (char), blocksize, 164 b->counter = -1 [all...] |
| /onnv/onnv-gate/usr/src/uts/intel/io/ |
| pit_beep.c | 256 int counter; local 259 counter = 0; 261 counter = PIT_HZ / freq; 262 if (counter > UINT16_MAX) 263 counter = UINT16_MAX; 264 else if (counter < 1) 265 counter = 1; 269 outb(PITCTR2_PORT, counter & 0xff); 270 outb(PITCTR2_PORT, counter >> 8);
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| bitmap.c | 175 int counter = start >> BT_ULSHIFT; local 190 word = map[counter]; 205 while ((word == 0) && (counter < limit)) { 206 word = map[++counter]; 214 if ((counter == limit) && (partial_stop != BT_ULMASK)) { 231 return ((counter << BT_ULSHIFT) | (lowbit(word) - 1));
|
| /onnv/onnv-gate/usr/src/uts/sun4u/io/ |
| bbc_beep.c | 217 /* Map the Beep Control and Beep counter Registers */ 328 unsigned long counter; local 334 /* Convert the frequency in hz to the bbc counter value */ 335 counter = bbc_beep_hztocounter(freq); 337 /* Extract relevant second and third byte of counter value */ 338 beep_c2 = (counter & 0xff00) >> 8; 339 beep_c3 = (counter & 0xff0000) >> 16; 354 "bbc_beep_freq: dip = 0x%p, freq = %d, counter = 0x%x : Done", 355 (void *)dip, freq, (int)counter)); 400 * The Keyboard Beep Control Register and Keyboard Beep Counter Registe 484 unsigned long counter; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/rpcsvc/ |
| spray_subr.c | 50 cumul.counter++; 76 cumul.counter = 0;
|
| spray.c | 139 if (cumul.counter < cnt) 141 cnt - cumul.counter, 142 100.0 * (cnt - cumul.counter)/cnt, host); 145 psec = (1000000.0 * cumul.counter) 147 bsec = (lnth * 1000000.0 * cumul.counter)/
|
| /onnv/onnv-gate/usr/src/uts/sun4v/io/n2piupc/ |
| n2piupc_kstats.c | 122 /* Create counter kstats */ 326 * Program a performance counter. 328 * reggroup is which type of counter. 329 * counter is the counter number. 330 * event is the event to program for that counter. 339 int counter; local 355 for (counter = 0; counter < grp_p->num_counters; counter++) 408 int counter; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sgs/dump/common/ |
| fcns.c | 83 int counter; local 107 for (counter = 0; counter < nseg; counter++) { 109 if (gelf_getphdr(elf_file, counter, &p_phdr) == 0) {
|
| /onnv/onnv-gate/usr/src/cmd/ldap/ns_ldap/ |
| ldapclient.c | 788 int counter; local 868 for (counter = 0; 869 counter < arglist->serviceAuthenticationMethod->count; 870 counter++) { 873 arglist->serviceAuthenticationMethod->optlist[counter], 876 for (counter = 0; 877 counter < arglist->serviceCredentialLevel->count; 878 counter++) { 881 arglist->serviceCredentialLevel->optlist[counter], 884 for (counter = 0 1102 int counter; local 1349 int counter; local 2299 int counter; local 2432 int counter; local 3421 int counter; local 3468 int counter; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
| conversions.c | 79 int counter; local 84 for (counter = 0; c_list[counter].string; ++counter) 85 if (strstr(str, c_list[counter].string)) 86 rc = rc | c_list[counter].value;
|
| /onnv/onnv-gate/usr/src/cmd/fm/eversholt/common/ |
| stats.c | 48 int counter; member in union:stats::__anon431 142 sp->u.counter++; 153 sp->u.counter += n; 164 sp->u.counter = 0; 175 return (sp->u.counter); 243 sp->u.counter, sp->desc);
|