Searched refs:counter (Results 1 - 25 of 134) sorted by relevance

123456

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c14 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<1
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dgentab.sh38 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...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinstr.c50 int counter = 0; local
69 str[counter++] = (char) wc;
73 str[counter++] = (char) wc;
76 str[counter] = '\0';
78 return (counter);
H A Dwinchnstr.c57 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);
H A Dwinnstr.c55 int counter = 0; local
69 while (counter < ncols) {
72 if (counter + eucw > ncols)
80 counter++;
85 counter++;
96 if (counter < ncols)
99 return (counter);
H A Ddelkey.c56 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)
H A Dwinnwstr.c46 int counter = 0; local
61 while (counter < ncols) {
81 counter++;
91 if (counter < ncols)
94 return (counter);
H A Dwinwchnstr.c48 int counter = 0; local
64 while ((counter < ncols) && maxcols > 0) {
83 counter++;
85 if (counter < ncols)
87 return (counter);
H A Dinit_costs.c128 static int counter = 0; variable
133 counter++;
151 counter = 0;
153 return (counter);
H A Dnewwin.c54 int counter = 0; local
66 while (counter < nlines) {
67 memSset(&win->_y[counter][0], (chtype) ' ', ncols);
73 win->_y16[counter][i] = (_ochtype) ' ';
76 counter++;
H A Dwaddwchnstr.c49 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;
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vsqrtf_ultra3.S55 #define counter %l6 define
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
[all...]
H A D__vhypotf.S66 #define counter %l0 define
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,
[all...]
H A D__vlogf.S120 #define counter %l7 define
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
[all...]
H A D__vrhypotf.S191 #define counter %i0 define
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,
[all...]
/illumos-gate/usr/src/head/rpcsvc/
H A Dspray.x53 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
/illumos-gate/usr/src/uts/sun4/io/fpc/
H A Dfpc-impl.c56 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
181 fpc_get_counter_reg_index(fire_perfcnt_t regtype, int counter) argument
210 int num_counters, counter; local
280 int num_counters, counter; local
[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 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
[all...]
/illumos-gate/usr/src/uts/intel/io/
H A Dpit_beep.c256 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);
/illumos-gate/usr/src/uts/common/os/
H A Dbitmap.c175 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));
/illumos-gate/usr/src/uts/sun4u/io/
H A Dbbc_beep.c217 /* 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));
473 * Where n = position of the bit of counter registe
484 unsigned long counter; local
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Dspray_subr.c50 cumul.counter++;
76 cumul.counter = 0;
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dlock.cc88 int counter = 0; local
117 counter = 0;
129 if ((counter > 5) && (!printed_warning)) {
145 if (++counter > timeout ) {
/illumos-gate/usr/src/uts/sun4v/io/iospc/
H A Diospc.c322 /* Create counter kstats */
462 * Program a performance counter.
464 * reggroup is which type of counter.
465 * counter is the counter number.
466 * event is the event to program for that counter.
475 int counter; local
487 for (counter = 0; counter < grp_p->num_counters; counter
544 int counter; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc_kstats.c122 /* 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...]

Completed in 161 milliseconds

123456