| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/t/ |
| o.t | 31 my @lines = get_lines( @args ); 33 is( $lines[0], 'Compiling!', 'Output should not be saved without -q switch' ); 34 is( $lines[1], '(foo) <bar>', 'O.pm should call backend compile() method' ); 35 is( $lines[2], '[]', 'Nothing should be in $O::BEGIN_output without -q' ); 36 is( $lines[3], '-e syntax OK', 'O.pm should not munge perl output without -qq'); 39 @lines = get_lines( @args ); 40 isnt( $lines[1], 'Compiling!', 'Output should not be printed with -q switch' ); 45 is( $lines[1], "[Compiling!", '... but should be in $O::BEGIN_output' ); 48 @lines = get_lines( @args ); 49 is( scalar @lines, 3, '-qq should suppress even the syntax OK message' ) [all...] |
| /onnv/onnv-gate/usr/src/cmd/hal/tools/ |
| hal-storage-cleanup-all-mountpoints.c | 56 char **lines; local 82 lines = g_strsplit (hal_mtab_buf, "\n", 0); 86 for (i = 0; lines[i] != NULL; i++) { 90 printf (" line = '%s'\n", lines[i]); 93 if ((lines[i])[0] == '#') 96 line_elements = g_strsplit (lines[i], "\t", 6); 120 line_to_free = lines[i]; 121 for (j = i; lines[j] != NULL; j++) { 122 lines[j] = lines[j+1] [all...] |
| hal-storage-cleanup-mountpoint.c | 56 char **lines; local 83 lines = g_strsplit (hal_mtab_buf, "\n", 0); 88 for (i = 0; lines[i] != NULL && !found; i++) { 92 printf (" line = '%s'\n", lines[i]); 95 if ((lines[i])[0] == '#') 98 line_elements = g_strsplit (lines[i], "\t", 6); 115 line_to_free = lines[i]; 116 for (j = i; lines[j] != NULL; j++) { 117 lines[j] = lines[j+1] [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/ |
| diag.t | 22 my @lines; 30 push @lines, $output; 33 $ret = diag("multiple\n", "lines"); 34 push @lines, split(/\n/, $output); 37 is( @lines, 3, 'diag() should send messages to its filehandle' ); 38 like( $lines[0], '/^#\s+/', ' should add comment mark to all lines' ); 39 is( $lines[0], "# a single line\n", ' should send exact message' ); 40 is( $output, "# multiple\n# lines\n", ' should append multi messages');
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Text/ |
| ParseWords.pm | 15 local(@lines) = @_; 16 $lines[$#lines] =~ s/\s+$//; 17 return(quotewords('\s+', 0, @lines)); 23 my($delim, $keep, @lines) = @_; 27 foreach $line (@lines) { 38 my($delim, $keep, @lines) = @_; 41 for ($i = 0; $i < @lines; $i++) { 42 @{$allwords[$i]} = parse_line($delim, $keep, $lines[$i]); 43 return() unless (@{$allwords[$i]} || !length($lines[$i])) [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/terminfo/ |
| 40.ti | 40 lines#66, 53 lines#88, 65 lines#88,
|
| PS.ti | 36 lines#66,
|
| 593.ti | 38 lines#62, 55 lines#62,
|
| 44x.ti | 38 lines#66,
|
| /onnv/onnv-gate/usr/src/cmd/terminfo/ |
| cdc.ti | 36 cr=^M, cud1=^J, ind=^J, bel=^G, lines#24, cols#80, clear=^Y^X, 41 lines#24, cols#80, clear=^y^x, cub1=^H, cup=\E1%p1%' '%+%c%p2%' '%+%c, am,
|
| /onnv/onnv-gate/usr/src/lib/libxcurses/src/terminfo/ |
| cdc | 30 cr=^M, cud1=^J, ind=^J, bel=^G, lines#24, cols#80, clear=^Y^X, 35 lines#24, cols#80, clear=^y^x, cub1=^H, cup=\E1%p1%' '%+%c%p2%' '%+%c, am,
|
| simple | 32 # variables LINES and COLUMNS. 35 lines#24, 49 # variables LINES and COLUMNS. 52 lines#24,
|
| homebrew | 31 cup=\E=%p1%' '%+%c%p2%' '%+%c, clear=^Z, cols#96, home=^^, lines#72, 35 lines#24, cols#80, cuf1=^C, cuu1=^N, home=^B, ll=^K, el=^A, ed=^E, 39 rmir=^T, home=^^, smir=^T, lines#24, cuf1=^L, rmso=^V, smso=^V, 42 cr=^M, cud1=^J, ind=^J, bel=^G, lines#24, cols#80, home=^Q, 47 smir=^P, lines#30, cuf1=^\, ht=^I, smso=^N, rmso=^X, cuu1=^Z, 50 cr=^M, cud1=^J, ind=^J, bel=^G, lines#24, cols#64, clear=^L, home=^Q, 57 lines#16, cuf1=\E+@A, pad=\200, ri=\E=@@^K, cuu1=^K, 61 lines#16, cuf1=\E+@A, pad=\200, ri=\E=@@^K, cuu1=^K, 65 clear=^Z, cup=\E=%p1%' '%+%c%p2%' '%+%c, cols#80, lines#24, cuf1=^L, 68 cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#12 [all...] |
| hazeltine | 35 cub1=^H, home=^K, clear=^L, cuf1= , cols#80, lines#12, cr=^M, cud1=^J, ind=^J, bel=^G, 47 cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, am, lines#24, cols#80, 53 dl1=~^S$<40>, cud1=~^K, lines#24, cuf1=^P, .rmso=~^_, .smso=~^Y, cuu1=~^L, 58 dl1=\E^S, cud1=\E^K, lines#24, cuf1=^P, .rmso=\E^_, .smso=\E^Y, cuu1=\E^L, 62 dl1=~^S, cud1=~^K, hz, lines#24, cuf1=^P, rmso=~^Y, smso=~\037, cuu1=~^L, home=~^R, 67 dl1=~^s$<6>, home=~^r, lines#27, pad=\177,
|
| /onnv/onnv-gate/usr/src/lib/libbsm/common/ |
| audit_class.c | 203 static int lines = 0; local 215 /* Count number of lines in the class file */ 225 lines++; 228 class_tbl = (au_class_ent_t **)calloc((size_t)lines + 1, 235 lines = 0; 243 class_tbl[lines] = (au_class_ent_t *) 245 if (class_tbl[lines] == NULL) { 249 class_tbl[lines]->ac_name = strdup(p_class->ac_name); 250 class_tbl[lines]->ac_class = p_class->ac_class; 251 class_tbl[lines]->ac_desc = strdup(p_class->ac_desc) [all...] |
| audit_event.c | 274 int lines = 0; local 284 /* Count number of lines in the events file */ 294 lines++; 297 size = lines; 305 p_tbl = calloc(lines + 1, sizeof (au_event_ent_t)); 310 lines = 0; 315 p_tbl[lines] = (au_event_ent_t *) 317 if (p_tbl[lines] == NULL) { 321 p_tbl[lines]->ae_number = p_event->ae_number; 322 p_tbl[lines]->ae_name = strdup(p_event->ae_name) [all...] |
| /onnv/onnv-gate/usr/src/cmd/vi/port/ |
| ex_v.c | 50 * ex_vget.c input of single keys and reading of input lines 63 * changes, opening new lines, shifts, replacements and yanks 97 if(value(vi_WINDOW) >= lines || options[vi_WINDOW].odefault == value(vi_WINDOW)) 98 value(vi_WINDOW) = lines -1; 99 options[vi_WINDOW].odefault = lines - 1; 102 options[vi_SCROLL].odefault = (lines - 1)/2; 113 vdirty(0, lines); 142 if (columns != jwin.ws_col || lines != jwin.ws_row) 161 lines = jwin.ws_row; 166 lines = envlines [all...] |
| ex_tty.c | 100 use_env(1); /* $LINES and $COLUMNS override terminfo */ 122 if (trace) fprintf(trace, "after setupterm, lines %d, columns %d, clear_screen '%s', cursor_address '%s'\n", lines, columns, clear_screen, cursor_address); 130 i = lines; 131 if (lines <= 1) 132 lines = 24; 133 if (lines > TUBELINES) 134 lines = TUBELINES; 135 l = lines; 140 if (l > lines) [all...] |
| /onnv/onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| meta_tab.c | 52 if (tabp->lines != NULL) { 55 md_tab_line_t *linep = &tabp->lines[line]; 66 Free(tabp->lines); 118 assert(tabp->lines == NULL); 119 tabp->lines = Malloc(nlines * sizeof (*tabp->lines)); 121 assert(tabp->lines != NULL); 122 tabp->lines = 123 Realloc(tabp->lines, (nlines * sizeof (*tabp->lines))); [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/eg/ |
| file_upload.cgi | 19 will count the number of lines, words, and characters in 22 my @types = ('count lines','count words','count characters'); 44 my($lines,$words,$characters,@words) = (0,0,0,0); 46 $lines++; 53 print strong("Lines: "),$lines,br if $stats{'count lines'};
|
| /onnv/onnv-gate/usr/src/lib/pyzfs/common/ |
| table.py | 29 __slots__ = "fields", "rjustfields", "maxfieldlen", "lines" 37 self.lines = list() 50 self.lines.append((sortkey, va)) 57 self.lines.sort() 58 for (k, va) in self.lines:
|
| /onnv/onnv-gate/usr/src/lib/libcmd/common/ |
| wc.h | 46 Sfoff_t lines; member in struct:__anon171
|
| /onnv/onnv-gate/usr/src/lib/libshell/common/tests/ |
| grep.sh | 92 to see how many lines find both foo and bar. 94 and some lines contain bar only. 95 However, many lines contain both foo and also bar. 97 There should be six lines with foo and bar.
|
| /onnv/onnv-gate/usr/src/lib/libeti/panel/common/ |
| new.c | 69 int lines, cols; local 79 getmaxyx(window, lines, cols); 80 panel -> wendy = panel->wstarty + lines - 1;
|
| /onnv/onnv-gate/usr/src/lib/libshell/common/scripts/ |
| termclock.sh | 79 # members "columns" and "lines" 85 rect.lines=${ tput lines ; } || return 1 165 clock.middle_y=termsize.lines/2.-.5 , 167 clock.len_y=termsize.lines/2-2 , 234 integer lines=-1 309 tput_cup $((termsize.lines-2)) 0
|