/dragonfly/usr.bin/tail/ |
H A D | read.c | 133 } *lines; in display_lines() local 139 if ((lines = malloc(off * sizeof(*lines))) == NULL) in display_lines() 141 bzero(lines, off * sizeof(*lines)); in display_lines() 155 if ((lines[recno].l = realloc(lines[recno].l, in display_lines() 159 bcopy(sp, lines[recno].l, lines[recno].len = cnt); in display_lines() 185 WR(lines[cnt].l, lines[cnt].len); in display_lines() 188 WR(lines[cnt].l, lines[cnt].len); in display_lines() 192 WR(lines[cnt].l, lines[cnt].len); in display_lines() 194 WR(lines[cnt].l, lines[cnt].len); in display_lines() 198 free(lines[cnt].l); in display_lines() [all …]
|
/dragonfly/sys/dev/misc/syscons/ |
H A D | schistory.c | 87 if (lines <= 0) in sc_alloc_history_buffer() 91 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer() 108 if (lines > min_lines) { in sc_alloc_history_buffer() 121 if (lines > min_lines) in sc_alloc_history_buffer() 122 extra_history_size -= lines - min_lines; in sc_alloc_history_buffer() 166 int lines; in copy_history() local 173 lines = sc_vtb_rows(from); in copy_history() 178 for (i = 0; i < lines; ++i) { in copy_history() 249 int lines = imin(cnt, scp->ysize); in history_to_screen_lines() local 252 for (i = 1; i <= lines; ++i) { in history_to_screen_lines() [all …]
|
/dragonfly/contrib/mdocml/ |
H A D | chars.c | 46 static struct ln lines[] = { variable 446 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) { in mchars_alloc() 447 slot = ohash_qlookup(&mchars, lines[i].roffcode); in mchars_alloc() 449 ohash_insert(&mchars, slot, lines + i); in mchars_alloc() 503 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) in mchars_uc2str() 504 if (uc == lines[i].unicode) in mchars_uc2str() 505 return lines[i].ascii; in mchars_uc2str()
|
/dragonfly/games/cgram/ |
H A D | cgram.c | 175 static struct stringarray lines; variable 188 return (int)lines.v[cursor_y].len; in cur_max_x() 201 return lines.v[cursor_y].s[cursor_x - 1]; in char_left_of_cursor() 211 return lines.v[cursor_y].s[cursor_x]; in char_at_cursor() 228 stringarray_add(&lines, &line); in readquote() 242 stringarray_dup(&sollines, &lines); in readquote() 244 extent_y = (int)lines.num; in readquote() 285 for (int y = 0; y < (int)lines.num; y++) { in substitute() 302 for (size_t i = 0; i < lines.num; i++) in is_solved() 535 stringarray_init(&lines); in init() [all …]
|
/dragonfly/games/bcd/ |
H A D | bcd.c | 258 char lines[LINES][1024]; in decode() local 269 if (fgets(lines[i], sizeof(lines[i]), stdin) == NULL) in decode() 276 if (strlen(lines[i]) < columns + 2) in decode() 278 if (lines[i][0] != '|' || lines[i][columns + 1] != '|') in decode() 280 memmove(&lines[i][0], &lines[i][1], columns); in decode() 281 lines[i][columns] = 0; in decode() 286 if (lines[i][col] == ']') in decode()
|
/dragonfly/tools/tools/locale/tools/ |
H A D | cldr2def.pl | 261 my @lines = <FIN>; 262 chomp(@lines); 277 my @lines = <FIN>; 279 chomp(@lines); 320 my @lines = <FIN>; 322 chomp(@lines); 384 my @lines; 388 push @lines, $_; 404 @lines = (); 467 my @lines; [all …]
|
H A D | utf8-rollup.pl | 132 my @lines = <FIN>; 134 chomp(@lines); 139 foreach my $l (@lines) { 253 my @lines = initialize_lines ($territory); 266 push @lines, $_; 271 foreach my $line (@lines) { 363 my @lines = (); 367 push @lines, $_; 370 foreach my $line (@lines) {
|
H A D | UTF82encoding.pl | 12 my @lines = <FIN>; 13 chomp(@lines); 17 foreach my $line (@lines) { 31 @lines = <FIN>; 32 chomp(@lines); 35 foreach my $line (@lines) {
|
H A D | unicode2src.pl | 52 my @lines = <FIN>; 53 chomp(@lines); 56 foreach my $l (@lines) { 68 my @lines = <FIN>; 70 chomp(@lines); 75 foreach my $l (@lines) {
|
/dragonfly/usr.sbin/lpr/filters.ru/koi2855/ |
H A D | koi2855.c | 42 int lines; variable 83 lines = 0; in main() 95 lines++; in main() 97 lines = length; in main() 99 if (lines >= length) { in main() 100 lines = 0; in main()
|
/dragonfly/usr.sbin/lpr/filters.ru/koi2alt/ |
H A D | koi2alt.c | 40 int lines; variable 83 lines = 0; in main() 95 lines++; in main() 97 lines = length; in main() 99 if (lines >= length) { in main() 100 lines = 0; in main()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | gen-pass-instances.awk | 96 lines[i + increment] = lines[i]; 99 lines[i + increment] = lines[i]; 138 lines[num + after] = new_line; 162 lines[num] = new_line; 194 lines[lineno++] = $0; 200 ret = parse_line(lines[i], "NEXT_PASS"); 227 print lines[i];
|
H A D | gcov.c | 128 vector<unsigned> lines; member 283 vector<line_info> lines; member 307 int lines; member 1062 vector<line_info> &lines = (*it2)->lines; in output_intermediate_file() local 2240 if (lines) in executed_summary() 2242 format_gcov (executed, lines, 2), lines); in executed_summary() 2500 vector<unsigned> &lines = block->locations[i].lines; in add_line_counts() local 2512 gcc_assert (lines[j] - fn->start_line < fn->lines.size ()); in add_line_counts() 2513 line = &(fn->lines[lines[j] - fn->start_line]); in add_line_counts() 2530 coverage->lines++; in add_line_counts() [all …]
|
/dragonfly/usr.bin/pr/ |
H A D | pr.c | 240 while (linecnt < lines) { in onecol() 357 mvc = lines * clcnt; in vertcol() 392 for (j = 0; j < lines; ++j) { in vertcol() 489 if (++j >= lines) in vertcol() 578 pln = lines; in vertcol() 1789 if (!lines) in setup() 1790 lines = LINES; in setup() 1798 lines -= HEADLEN + TAILLEN; in setup() 1804 if (lines == 1) in setup() 1807 if (lines & 1) in setup() [all …]
|
/dragonfly/usr.sbin/lpr/chkprintcap/ |
H A D | skimprintcap.c | 101 skinf->lines++; in skim_printcap() 177 " at line %d%s", skinf->lines - 1, in skim_printcap() 194 skinf->lines, skim_entryname); in skim_printcap() 210 " at line %d%s", skinf->lines, in skim_printcap() 227 skinf->lines, skim_entryname); in skim_printcap() 236 skinf->lines, skim_entryname); in skim_printcap() 256 skinf->lines, skinf->comments, skinf->entries, pcap_fname); in skim_printcap()
|
/dragonfly/contrib/gcc-4.7/libcpp/ |
H A D | directives-only.c | 45 linenum_type lines; in _cpp_preprocess_dir_only() local 63 lines = 0; in _cpp_preprocess_dir_only() 80 lines++; in _cpp_preprocess_dir_only() 95 cb->print_lines (lines, base, next_line - base); in _cpp_preprocess_dir_only() 196 lines++; in _cpp_preprocess_dir_only() 232 lines++; in _cpp_preprocess_dir_only() 235 cb->print_lines (lines, base, cur - base); in _cpp_preprocess_dir_only()
|
/dragonfly/contrib/gcc-8.0/libcpp/ |
H A D | directives-only.c | 44 linenum_type lines; in _cpp_preprocess_dir_only() local 62 lines = 0; in _cpp_preprocess_dir_only() 79 lines++; in _cpp_preprocess_dir_only() 94 cb->print_lines (lines, base, next_line - base); in _cpp_preprocess_dir_only() 195 lines++; in _cpp_preprocess_dir_only() 231 lines++; in _cpp_preprocess_dir_only() 234 cb->print_lines (lines, base, cur - base); in _cpp_preprocess_dir_only()
|
/dragonfly/contrib/ncurses/progs/ |
H A D | clear_cmd.c | 52 int retval = tputs(clear_screen, lines > 0 ? lines : 1, putch); in clear_cmd() 57 (void) tputs(E3, lines > 0 ? lines : 1, putch); in clear_cmd()
|
/dragonfly/usr.bin/gzip/ |
H A D | gzexe | 23 lines=19 34 lines=$lines 42 if /usr/bin/tail +$lines "$0" | 71 if ! tail +$lines "$tmp" | gzip -vdc > "$1"; then
|
/dragonfly/crypto/libressl/crypto/ts/ |
H A D | ts_rsp_print.c | 147 int i, lines = 0; in TS_STATUS_INFO_print_bio() local 173 lines = TS_status_map_print(bio, failure_map, a->failure_info); in TS_STATUS_INFO_print_bio() 174 if (lines == 0) in TS_STATUS_INFO_print_bio() 184 int lines = 0; in TS_status_map_print() local 188 if (++lines > 1) in TS_status_map_print() 194 return lines; in TS_status_map_print()
|
/dragonfly/contrib/less/ |
H A D | ttyin.c | 148 int lines = 1; in default_wheel_lines() local 150 if (SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &lines, 0)) in default_wheel_lines() 152 if (lines == WHEEL_PAGESCROLL) in default_wheel_lines() 153 lines = 3; in default_wheel_lines() 156 return lines; in default_wheel_lines()
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | isearch.c | 95 cxt->lines = 0; 130 FREE (cxt->lines); 227 cxt->lines = (char **)xmalloc ((1 + (cxt->hlen = i)) * sizeof (char *)); 229 cxt->lines[i] = hlist[i]->line; 232 cxt->lines[i] = _rl_saved_line_for_history->line; 238 cxt->lines[i] = cxt->allocated_line; 269 strcpy (rl_line_buffer, cxt->lines[cxt->save_line]); 474 rl_replace_line (cxt->lines[cxt->save_line], 0); 591 cxt->sline = cxt->lines[cxt->history_pos]; 617 cxt->prev_line_found = cxt->lines[cxt->history_pos]; [all …]
|
H A D | shell.c | 124 sh_set_lines_and_columns (lines, cols) in sh_set_lines_and_columns() argument 125 int lines, cols; in sh_set_lines_and_columns() 131 sprintf (b, "%d", lines); 142 sprintf (b, "LINES=%d", lines);
|
/dragonfly/contrib/cvs-1.12/contrib/ |
H A D | log_accum.in | 145 local(@lines); 147 $lines[0] = sprintf(" %-08s", $dir); 149 if (length($lines[$#lines]) + length($file) > 60) { 150 $lines[++$#lines] = sprintf(" %8s", " "); 152 $lines[$#lines] .= " ".$file; 154 @lines; 169 local($filename, @lines) = @_; 172 print(FILE join("\n", @lines), "\n"); 180 local(@lines) = &format_names($dir, @files); 182 print(FILE join("\n", @lines), "\n"); [all …]
|
/dragonfly/contrib/diffutils/doc/ |
H A D | diffutils.info | 226 yields no common lines and one large hunk that contains all lines of 230 differing lines. 534 lines are found. 541 differing lines; if those lines are actually a few lines away from where 976 lines. The '--suppress-common-lines' option suppresses common lines 1606 lines from the first file, lines from the second file, and lines common 2179 lines from A 2181 lines from B 2188 lines from A 2190 lines from B [all …]
|