/src/usr.bin/make/unit-tests/ |
cmdline-redirect-stdin.mk | 3 # Demonstrate that the '!=' assignment operator can read individual lines 11 | ${MAKE} -f ${MAKEFILE} read-lines 13 .if make(read-lines) 33 read-lines: .PHONY
|
job-output.mk | 6 @${MAKE} -f ${MAKEFILE} -j1 empty-lines 12 # size is, the empty lines must not be discarded. 13 empty-lines: .PHONY
|
deptgt-posix.mk | 101 # and comment lines or empty lines, that works. 107 # The only allowed lines before switching to POSIX mode are comment lines. 108 # POSIX defines comment lines as "blank lines, empty lines, and lines with 110 all: after-comment-lines 111 after-comment-lines: .PHONY set-up-sysdir check-is-posix ru [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/gpio/ |
priv.h | 10 int lines; member in struct:nvkm_gpio_func 13 * for lines that have not been masked off, while still 19 * given set of gpio lines
|
/src/games/rain/ |
rain.c | 63 static long lines; variable in typeref:typename:long 109 ypos[j] = random() % lines + 2; 116 if (is_term_resized(LINES, COLS)) { 117 resizeterm(LINES, COLS); 121 y = random() % lines + 2; 157 lines = LINES - 4; 159 if (lines == 0) lines++;
|
/src/usr.bin/tail/ |
read.c | 58 * rflag is set, the data is displayed in lines in reverse order, and this 122 * displaylines -- read lines to an offset from the end and display. 126 * rflag is set, the data is displayed in lines in reverse order, and this 140 } *lines; local in function:displaylines 147 if ((lines = malloc(off * sizeof(*lines))) == NULL) 150 memset(lines, 0, sizeof(*lines) * off); 165 if (lines[recno].blen < cnt) { 166 if ((n = realloc(lines[recno].l [all...] |
/src/games/ching/printching/ |
printching.c | 68 int lines; /* encoded value of lines */ member in struct:__anonc07732ed0108 104 char *hexptr; /* pointer to string of lines */ 105 char hexstr[6+1]; /* buffer for reading lines in */ 146 if (table[i].lines == lower) 148 if (table[i].lines == upper) 156 * represent the lines. 7 is a solid (yang) line, 8 is a broken (yin) line. 187 * Compute the changes based on moving lines; return 1 if any lines moved, 188 * 0 if no lines moved [all...] |
/src/usr.bin/shuffle/ |
shuffle.c | 102 * Return an array of lines read from input 110 char **lines = emalloc(sizeof(char *) * maxlines); local in function:get_lines 121 lines[nlines] = emalloc(size + 1); 122 (void)memcpy(lines[nlines], line, size); 123 lines[nlines++][size] = '\0'; 126 lines = erealloc(lines, (sizeof(char *) * maxlines)); 129 lines[nlines] = NULL; 131 *linesp = lines; 164 char **lines = NULL local in function:main [all...] |
/src/usr.bin/sortinfo/ |
sortinfo.c | 52 char **lines; member in struct:section 70 slist[nsections].lines = ecalloc(slist[nsections].maxlines, 71 sizeof(*slist[nsections].lines)); 80 s->lines = erealloc(s->lines, s->maxlines * sizeof(*s->lines)); 82 s->lines[s->nlines++] = line; 108 printf("%s", s->lines[i]); 160 qsort(s->lines, s->nlines, sizeof(*s->lines), strptrcmp) [all...] |
/src/sys/dev/scsipi/ |
ss_mustek.c | 446 /* read the requested number of bytes/lines from the scanner */ 461 /* instead of the bytes, the mustek wants the number of lines */ 464 SC_DEBUG(periph, SCSIPI_DB1, ("mustek_read: read %ld lines\n", 518 int error, lines, bytes_per_line; local in function:mustek_get_status 540 lines = _3ltol(data.lines); 541 if (lines != ss->sio.scan_lines) { 542 printf("mustek: lines actual(%d) != computed(%ld)\n", 543 lines, ss->sio.scan_lines); 546 if (bytes_per_line * lines != ss->sio.scan_window_size) [all...] |
ss_mustek.h | 122 u_int8_t lines[3]; /* LSB */ member in struct:mustek_get_status_data
|
/src/usr.sbin/timed/timedc/ |
timedc.c | 216 int columns, width = 0, lines; local in function:help 230 lines = (NCMDS + columns - 1) / columns; 231 for (i = 0; i < lines; i++) { 233 c = cmdtab + j * lines + i; 235 if (c + lines >= &cmdtab[NCMDS]) {
|
/src/usr.bin/netstat/ |
mbuf.c | 94 int i, lines; local in function:mbpr 226 for (mo = (void *) data, lines = 0; len >= sizeof(*mo); 244 if ((lines % 24) == 0 || lines > 24) { 247 lines = 1; 257 lines++; 269 lines += 2;
|
/src/sbin/disklabel/ |
interact.c | 674 size_t i, entry, lines; local in function:dumpnames 703 lines = (numentries + columns - 1) / columns; 705 for (i = 0; i < lines; i++) { 711 entry += lines;
|
/src/sbin/restore/ |
interactive.c | 426 "command lines cannot be continued\n"); 658 int i, j, precision, columns, lines; local in function:formatf 689 lines = (nentry + columns - 1) / columns; 690 for (i = 0; i < lines; i++) { 692 fp = &list[j * lines + i]; 707 if (fp + lines >= endlist) {
|
/src/usr.bin/mail/ |
cmd1.c | 503 size_t lines; local in function:top_core 513 for (lines = 0; lines < c && lines <= args->topl; lines++) { 525 * Print the top so many lines of each desired message. 526 * The number of lines is taken from the variable "toplines"
|
/src/usr.sbin/lpr/lpc/ |
lpc.c | 270 size_t columns, width = 0, lines; local in function:help 283 lines = (NCMDS + columns - 1) / columns; 284 for (i = 0; i < lines; i++) { 286 c = cmdtab + j * lines + i; 288 if (c + lines >= &cmdtab[NCMDS - 1]) {
|
/src/sys/arch/prep/prep/ |
platform.c | 242 int lines[MAX_PCI_INTRS] = { 0, 0, 0, 0 }; local in function:create_intr_map 254 lines[j] = 1; 262 if (line == 0xffff || lines[j] == 0)
|
/src/sys/arch/evbppc/wii/dev/ |
wiifb.c | 59 u_int lines; member in struct:wiifb_mode 88 .lines = 525, 94 .lines = 525, 100 .lines = 625,
|
/src/sys/arch/arm/xscale/ |
pxa2x0_lcd.c | 106 int lines; local in function:pxa2x0_lcd_geometry 131 lines = info->panel_height/2 + info->extra_lines; 133 lines = info->panel_height + info->extra_lines; 136 (lines-1)
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_fbc.c | 90 int lines; local in function:intel_fbc_calculate_cfb_size 92 intel_fbc_get_plane_source_size(cache, NULL, &lines); 94 lines = min(lines, 2048); 96 lines = min(lines, 2560); 99 return lines * cache->fb.stride;
|
/src/lib/libedit/ |
filecomplete.c | 546 size_t line, lines, col, cols, thisguy; local in function:fn_display_match_list 563 /* how many lines of output, rounded up */ 564 lines = (num + cols - 1) / cols; 570 * On the ith line print elements i, i+lines, i+lines*2, etc. 572 for (line = 0; line < lines; line++) { 574 thisguy = line + col * lines;
|
/src/games/cgram/ |
cgram.c | 172 static struct stringarray lines; variable in typeref:struct:stringarray 185 return (int)lines.v[cursor_y].len; 198 return lines.v[cursor_y].s[cursor_x - 1]; 208 return lines.v[cursor_y].s[cursor_x]; 221 stringarray_add(&lines, &line); 235 stringarray_dup(&sollines, &lines); 237 extent_y = (int)lines.num; 239 extent_x = imax(extent_x, (int)lines.v[i].len); 285 for (char *p = lines.v[y].s; *p != '\0'; p++) { 302 for (int y = 0; y < (int)lines.num; y++) [all...] |
/src/sys/dev/ic/ |
hd44780var.h | 72 uint8_t lines; member in struct:hd44780_info 94 #define HD_MULTILINE 0x02 /* 2 lines if set, 1 otherwise */
|
/src/sys/arch/sgimips/gio/ |
grtwo.c | 268 /* There appears to be a limit to the number of vertical lines that we 312 int lines = 4864 / length; local in function:grtwo_copy_rectangle 317 if ((y2 <= y1) || (height < lines)) { 320 bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DATA, lines); 328 from_y = y1 + height - lines; 329 to_y = y2 + height - lines; 330 temp_height = MIN(height, lines); 335 bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DATA, lines); 343 height = MIN(height, lines);
|