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

123456

/osnet-11/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;
/osnet-11/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...]
/osnet-11/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;
/osnet-11/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...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dcpudists8 # USAGE: cpudists [-ahV] [-t top] [interval [count]]
12 # -t num # print top num only
58 opt_all=0; opt_time=1; opt_top=0; top=0; interval=1; count=1
65 t) opt_top=1; top=$OPTARG ;;
67 USAGE: cpudists [-ahV] [-t top] [interval [count]]
71 -t num # print top num only
98 inline int TOP = '$top';
H A Dcputimes14 # USAGE: cputimes [-ahTV] [-t top] [interval [count]]
19 # -t num # print top num lines only
23 # cputimes -at 8 5 # print top 8 lines every 5 secs
68 top=0; interval=1; count=1
76 t) opt_top=1; top=$OPTARG ;;
78 USAGE: cputimes [-ahTV] [-t top] [interval [count]]
83 -t num # print top num lines only
87 cputimes -at 8 5 # top 8 lines every 5 secs
115 inline int TOP = '$top';
H A Dj_calltime.d12 * USAGE: j_calltime.d [top] # hit Ctrl-C to end
14 * The "top" optional argument will truncate the output for each report
51 top = $1 != 0 ? $1 : TOP;
107 trunc(@num, top);
108 printf("\nTop %d counts,\n", top);
112 trunc(@types, top);
114 printf("\nTop %d elapsed times (us),\n", top);
118 trunc(@types_excl, top);
120 printf("\nTop %d exclusive method elapsed times (us),\n", top);
124 trunc(@types_incl, top);
[all...]
H A Dj_cputime.d12 * USAGE: j_cputime.d [top] # hit Ctrl-C to end
14 * The "top" optional argument will truncate the output for each report
51 top = $1 != 0 ? $1 : TOP;
107 trunc(@num, top);
108 printf("\nTop %d counts,\n", top);
112 trunc(@types, top);
114 printf("\nTop %d on-CPU times (us),\n", top);
118 trunc(@types_excl, top);
120 printf("\nTop %d exclusive method on-CPU times (us),\n", top);
124 trunc(@types_incl, top);
[all...]
H A Diotop3 # iotop - display top disk I/O events by process.
11 # [-m mount_point] [-t top] [interval [count]]
24 # -t top # print top number only
31 # iotop -t 20 # print top 20 lines only
67 # INSPIRATION: top(1) by William LeFebvre
102 opt_top=0; opt_elapsed=0; opt_dtime=0; interval=5; count=-1; top=0
116 t) opt_top=1; top=$OPTARG ;;
120 [-m mount_point] [-t top] [interval [count]]
131 -t top # prin
[all...]
H A Drwtop3 # rwtop - display top read/write bytes by process.
12 # [-t top] [interval [count]]
22 # -t top # print top number only
25 # rwtop -t 10 # print top 10 only
43 # INSPIRATION: top(1) by William LeFebvre
74 opt_top=0; opt_count=0; interval=5; count=-1; top=0
85 t) opt_top=1; top=$OPTARG ;;
89 [-t top] [interval [count]]
97 -t top # prin
[all...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Kernel/
H A Dcpudists8 # USAGE: cpudists [-ahV] [-t top] [interval [count]]
12 # -t num # print top num only
58 opt_all=0; opt_time=1; opt_top=0; top=0; interval=1; count=1
65 t) opt_top=1; top=$OPTARG ;;
67 USAGE: cpudists [-ahV] [-t top] [interval [count]]
71 -t num # print top num only
98 inline int TOP = '$top';
H A Dcputimes14 # USAGE: cputimes [-ahTV] [-t top] [interval [count]]
19 # -t num # print top num lines only
23 # cputimes -at 8 5 # print top 8 lines every 5 secs
68 top=0; interval=1; count=1
76 t) opt_top=1; top=$OPTARG ;;
78 USAGE: cputimes [-ahTV] [-t top] [interval [count]]
83 -t num # print top num lines only
87 cputimes -at 8 5 # top 8 lines every 5 secs
115 inline int TOP = '$top';
/osnet-11/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...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Java/
H A Dj_calltime.d12 * USAGE: j_calltime.d [top] # hit Ctrl-C to end
14 * The "top" optional argument will truncate the output for each report
51 top = $1 != 0 ? $1 : TOP;
107 trunc(@num, top);
108 printf("\nTop %d counts,\n", top);
112 trunc(@types, top);
114 printf("\nTop %d elapsed times (us),\n", top);
118 trunc(@types_excl, top);
120 printf("\nTop %d exclusive method elapsed times (us),\n", top);
124 trunc(@types_incl, top);
[all...]
H A Dj_cputime.d12 * USAGE: j_cputime.d [top] # hit Ctrl-C to end
14 * The "top" optional argument will truncate the output for each report
51 top = $1 != 0 ? $1 : TOP;
107 trunc(@num, top);
108 printf("\nTop %d counts,\n", top);
112 trunc(@types, top);
114 printf("\nTop %d on-CPU times (us),\n", top);
118 trunc(@types_excl, top);
120 printf("\nTop %d exclusive method on-CPU times (us),\n", top);
124 trunc(@types_incl, top);
[all...]
/osnet-11/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;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/
H A Diotop3 # iotop - display top disk I/O events by process.
11 # [-m mount_point] [-t top] [interval [count]]
24 # -t top # print top number only
31 # iotop -t 20 # print top 20 lines only
67 # INSPIRATION: top(1) by William LeFebvre
102 opt_top=0; opt_elapsed=0; opt_dtime=0; interval=5; count=-1; top=0
116 t) opt_top=1; top=$OPTARG ;;
120 [-m mount_point] [-t top] [interval [count]]
131 -t top # prin
[all...]
H A Drwtop3 # rwtop - display top read/write bytes by process.
12 # [-t top] [interval [count]]
22 # -t top # print top number only
25 # rwtop -t 10 # print top 10 only
43 # INSPIRATION: top(1) by William LeFebvre
74 opt_top=0; opt_count=0; interval=5; count=-1; top=0
85 t) opt_top=1; top=$OPTARG ;;
89 [-t top] [interval [count]]
97 -t top # prin
[all...]
/osnet-11/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 65 milliseconds

123456