Searched refs:top (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/uts/i86pc/sys/
H A Dmachclock.h65 #define TODOP_GET(top) ((top)->tod_get(top))
66 #define TODOP_SET(top, ts) ((top)->tod_set(top, ts))
67 #define TODOP_SETWD(top, nsec) ((top)->tod_set_watchdog_timer(top, nsec))
68 #define TODOP_CLRWD(top) ((to
[all...]
/opensolaris-onvv-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dscrreg.c47 (setscrreg)(top, bottom)
48 int top, bottom;
51 __m_trace("setscrreg(%d, %d)", top, bottom);
54 if (top < 0 || bottom < top || stdscr->_maxy <= bottom)
58 stdscr->_top = top;
H A Dwscrreg.c47 wsetscrreg(w, top, bottom)
49 int top, bottom;
52 __m_trace("wsetscrreg(%p, %d, %d)", w, top, bottom);
55 if (top < 0 || bottom < top || w->_maxy <= bottom)
59 w->_top = top;
/opensolaris-onvv-gate/usr/src/lib/libeti/menu/common/
H A Dchk.c38 /* Make sure top is not within a page of the end of the menu */
41 _chk_top(MENU *m, int *top, ITEM *current) argument
43 if (Y(current) < *top) {
44 *top = Y(current);
46 if (Y(current) >= *top + Height(m)) {
47 *top = Y(current) - Height(m) + 1;
52 * This routine makes sure top is in the correct position
58 _chk_current(MENU *m, int *top, ITEM *current) argument
60 if (Y(current) < *top) {
61 *top
[all...]
H A Dtopitem.c39 set_top_row(MENU *m, int top) argument
50 if (top < 0 || top > Rows(m) - Height(m)) {
53 if (top != Top(m)) {
59 current = IthItem(m, RowMajor(m) ? top * Cols(m) : top);
62 _affect_change(m, top, current);
H A Dcuritem.c41 int top; local
52 top = Top(m);
53 _chk_current(m, &top, current);
58 _affect_change(m, top, current);
H A Ddriver.c42 int top; local
56 top = Top(m);
104 if (--top < 0) {
105 ++top;
113 if (++top > Rows(m) - Height(m)) {
114 --top;
122 n = min(Height(m), top);
124 top -= n;
135 n = min(Height(m), Rows(m) - Height(m) - top);
137 top
[all...]
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/
H A DOutputState.cxx41 switch (top().state) {
46 top().state = afterRsOrRe;
50 top().state = pendingAfterRsOrRe;
51 top().reLocation = location;
52 top().reSerial = nextSerial_++;
56 handler.data(new (alloc) ReEvent(&re_, top().reLocation, top().reSerial));
57 top().state = pendingAfterRsOrRe;
58 top().reLocation = location;
59 top()
[all...]
/opensolaris-onvv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dscrreg.c52 setscrreg(int top, int bottom) argument
54 if (top < 0 || bottom < top || stdscr->_maxy <= bottom)
58 stdscr->_top = (short) top;
H A Dwscrreg.c50 wsetscrreg(WINDOW *w, int top, int bottom) argument
52 if (top < 0 || bottom < top || w->_maxy <= bottom)
56 w->_top = (short) top;
/opensolaris-onvv-gate/usr/src/lib/libast/common/hash/
H A Dhashview.c35 * bot==0 pop top scope
36 * bot==top query
37 * bot!=0 push top on bot
43 hashview(Hash_table_t* top, Hash_table_t* bot) argument
50 if (!top || top->frozen)
52 else if (top == bot)
53 bot = top->scope;
56 if (top->scope)
60 sx = &top
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash_live.c26 iphtent_t entry, *top, *node; local
52 top = NULL;
57 entry.ipe_snext = top;
58 top = malloc(sizeof(*top));
59 if (top == NULL)
61 bcopy(&entry, top, sizeof(entry));
64 while (top != NULL) {
65 node = top;
67 top
[all...]
H A Dprintpool_live.c26 ip_pool_node_t entry, *top, *node; local
52 top = NULL;
57 entry.ipn_next = top;
58 top = malloc(sizeof(*top));
59 if (top == NULL)
61 bcopy(&entry, top, sizeof(entry));
64 while (top != NULL) {
65 node = top;
67 top
[all...]
/opensolaris-onvv-gate/usr/src/cmd/tnf/prex/
H A Dsource.c74 static source_t *top; variable
102 top = new_p;
150 top = new_p;
166 if (!top)
169 c = getc(top->instream);
173 * If we get an EOF at the top level, we quit if we are *
177 if (top->instream == stdin) {
178 if (top->isatty) {
185 if (top->path)
186 free(top
[all...]
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/bn/
H A Dbn_shift.c74 if (bn_wexpand(r,a->top+1) == NULL) return(0);
75 r->top=a->top;
79 if (bn_wexpand(r,a->top+1) == NULL) return(0);
84 for (i=0; i<a->top; i++)
93 r->top++;
114 if (bn_wexpand(r,a->top) == NULL) return(0);
115 r->top=a->top;
121 for (i=a->top
[all...]
H A Dbn_word.c77 for (i=a->top-1; i>=0; i--)
101 if (a->top == 0)
110 for (i=a->top-1; i>=0; i--)
119 if ((a->top > 0) && (a->d[a->top-1] == 0))
120 a->top--;
148 if (((BN_ULONG)(a->d[a->top - 1] + 1) == 0) &&
149 (bn_wexpand(a,a->top+1) == NULL))
154 if (i >= a->top)
165 if (i >= a->top)
[all...]
H A Dbn_rand.c118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) argument
141 /* make a random number and set the top and bottom bits */
177 if (top != -1)
179 if (top)
211 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
213 return bnrand(0, rnd, bits, top, bottom);
216 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
218 return bnrand(1, rnd, bits, top, bottom);
222 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
224 return bnrand(2, rnd, bits, top, botto
[all...]
H A Dbn_lib.c250 int i = a->top - 1;
308 ret->top=0;
347 for (i=b->top>>2; i>0; i--,A+=4,B+=4)
362 switch (b->top&3)
368 * the switch table by doing a=top&3; a--; goto jump_table[a];
369 * which fails for top== 0 */
376 memcpy(A,b->d,sizeof(b->d[0])*b->top);
401 * words <= b->dmax && top < words
415 r->top = b->top;
[all...]
/opensolaris-onvv-gate/usr/src/tools/scripts/
H A Dmktpl.pl40 my $top = $ENV{"CODEMGR_WS"};
41 if (! $top) {
62 my $tplname = "$top/THIRDPARTYLICENSE.$suffix";
119 chdir($top) or die "Can't chdir to $top: $!\n";
120 $top = getcwd();
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DXref.pm74 The C<t> option prints the object on the top of the stack as it's
104 my $top = UNKNOWN; # shadows top element of stack as
172 warn sprintf("top = [%s, %s, %s]\n", @$top) if $debug_top;
224 $top = UNKNOWN;
229 $top = $pad[$op->targ];
230 process($top, $op->private & OPpLVAL_INTRO ? "intro" : "used");
242 sub pp_rv2cv { deref(shift, $top, "&"); }
243 sub pp_rv2hv { deref(shift, $top, "
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ral/
H A Dral_rate.c86 int flags = 0, i, rateidx = 0, thridx, top; local
91 for (i = 0, top = RAL_RSSADAPT_BKT0;
93 i++, top <<= RAL_RSSADAPT_BKTPOWER) {
95 if (len <= top)
155 uint32_t i, thridx, top; local
162 for (i = 0, top = RAL_RSSADAPT_BKT0;
164 i++, top <<= RAL_RSSADAPT_BKTPOWER) {
166 if (id->id_len <= top)
184 int i, top; local
188 for (i = 0, top
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h198 #define TODOP_GET(top) ((top).tod_get())
199 #define TODOP_SET(top, ts) ((top).tod_set(ts))
200 #define TODOP_SETWD(top, nsec) ((top).tod_set_watchdog_timer(nsec))
201 #define TODOP_CLRWD(top) ((top).tod_clear_watchdog_timer())
202 #define TODOP_SETWAKE(top, ts) ((top)
[all...]
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/
H A Doverlap.c56 top, bottom, left, right; local
71 top = _MAX(sby, dby); bottom = _MIN(sey, dey);
74 sby = top - sby; sbx = left - sbx;
76 dby = top - dby; dbx = left - dbx;
H A Dinit_pair.c81 short top = -1; local
98 if (top == -1)
99 top = i;
104 if (top != -1) {
105 _VIRTTOP = top;
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A DMakefile25 THIRDPARTYLICENSE: LICENSE.top COPYING.top
27 $(CAT) LICENSE.top COPYING.top > $@
59 $(ROOTSRC)/%: %.top

Completed in 208 milliseconds

1234567891011>>