/freebsd-11-stable/stand/mips/beri/loader/ |
H A D | beri_disk_cfi.c | 119 char line[80]; local 126 snprintf(line, sizeof(line), " cfi%d CFI flash device\n", 0); 127 ret = pager_output(line); 135 snprintf(line, sizeof(line), " cfi%d", 0); 136 ret = disk_print(&dev, line, verbose);
|
/freebsd-11-stable/sbin/dump/ |
H A D | dumprmt.c | 223 char line[30]; local 226 (void)snprintf(line, sizeof (line), "R%d\n", count); 227 n = rmtcall("read", line); 242 char line[30]; local 244 (void)snprintf(line, sizeof (line), "W%d\n", count); 245 write(rmtape, line, strlen(line)); 253 char line[3 local 276 char line[80]; local 358 rmtgets(char *line, int len) argument [all...] |
/freebsd-11-stable/usr.bin/tail/tests/ |
H A D | tail_test.sh | 49 This is the first line 50 This is the second line 51 This is the third line 54 This is the third line 55 This is the second line 56 This is the first line 72 This is the first line 73 This is the second line 74 This is the third line 77 This is the third line [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | mdoc_macro.c | 226 n->line, n->pos, roff_name[n->tok]); 236 * or as a line macro if from == TOKEN_NONE. 239 lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) argument 253 mdoc->parse, line, ppos, p); 292 roff_body_alloc(mdoc, n->line, n->pos, 398 find_pending(struct roff_man *mdoc, enum roff_tok tok, int line, int ppos, argument 419 mdoc->parse, line, ppos, 422 mdoc_endbody_alloc(mdoc, line, ppos, 435 dword(struct roff_man *mdoc, int line, int col, const char *p, argument 450 roff_word_alloc(mdoc, line, co 469 append_delims(struct roff_man *mdoc, int line, int *pos, char *buf) argument 1444 parse_rest(struct roff_man *mdoc, enum roff_tok tok, int line, int *pos, char *buf) argument [all...] |
/freebsd-11-stable/contrib/elftoolchain/elfcopy/ |
H A D | ascii.c | 46 static int ihex_read(const char *line, char *type, uint64_t *addr, 56 static int read_num(const char *line, int *len, uint64_t *num, size_t sz, 58 static int srec_read(const char *line, char *type, uint64_t *addr, 68 static void write_num(char *line, int *len, uint64_t num, size_t sz, 200 char line[_LINE_BUFSZ], name[_LINE_BUFSZ]; local 253 while (fgets(line, _LINE_BUFSZ, ifp) != NULL) { 255 if (line[0] == '\r' || line[0] == '\n') 257 if (line[0] == '$' && line[ 471 char line[_LINE_BUFSZ]; local 689 srec_read(const char *line, char *type, uint64_t *addr, uint8_t *data, size_t *sz) argument 746 char line[_LINE_BUFSZ]; local 846 char line[_LINE_BUFSZ]; local 896 ihex_read(const char *line, char *type, uint64_t *addr, uint64_t *num, uint8_t *data, size_t *sz) argument 984 char line[_LINE_BUFSZ]; local 1011 read_num(const char *line, int *len, uint64_t *num, size_t sz, int *checksum) argument 1030 write_num(char *line, int *len, uint64_t num, size_t sz, int *checksum) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | mem.c | 77 static void *default_malloc_ex(size_t num, const char *file, int line) argument 82 static void *(*malloc_ex_func) (size_t, const char *file, int line) 95 const char *file, int line) 100 static void *(*realloc_ex_func) (void *, size_t, const char *file, int line) 110 static void *default_malloc_locked_ex(size_t num, const char *file, int line) argument 115 static void *(*malloc_locked_ex_func) (size_t, const char *file, int line) 296 void *CRYPTO_malloc_locked(int num, const char *file, int line) argument 308 malloc_debug_func(NULL, num, file, line, 0); 310 ret = malloc_locked_ex_func(num, file, line); 315 malloc_debug_func(ret, num, file, line, 94 default_realloc_ex(void *str, size_t num, const char *file, int line) argument 332 CRYPTO_malloc(int num, const char *file, int line) argument 356 CRYPTO_strdup(const char *str, const char *file, int line) argument 367 CRYPTO_realloc(void *str, int num, const char *file, int line) argument 390 CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, int line) argument 439 CRYPTO_remalloc(void *a, int num, const char *file, int line) argument [all...] |
/freebsd-11-stable/contrib/dma/ |
H A D | local.c | 129 char line[1000]; local 199 error = snprintf(line, sizeof(line), "%sFrom %s %s", newline, sender, ctime(&now)); 200 if (error < 0 || (size_t)error >= sizeof(line)) { 204 if (write(mbox, line, error) != error) 208 if (fgets(line, sizeof(line), it->mailf) == NULL) 210 linelen = strlen(line); 211 if (linelen == 0 || line[linelen - 1] != '\n') { 225 * line startin [all...] |
/freebsd-11-stable/sbin/devfs/ |
H A D | devfs.c | 140 * Read a line from a /FILE/. If the return value isn't 0, it is the 141 * length of the line, a pointer to which exists in /line/. It is the 143 * there was an error or we reached EOF, and /line/ is undefined (so, 147 efgetln(FILE *fp, char **line) argument 154 *line = NULL; 159 *line = strdup(cp); 160 if (*line == NULL) 164 *line = malloc(rv + 1); 165 if (*line 186 tokenize(const char *line, int *acp, char ***avp) argument [all...] |
/freebsd-11-stable/contrib/tnftp/src/ |
H A D | domacro.c | 77 (void)strlcpy(line2, line, sizeof(line2)); 83 cp2 = line; 97 sizeof(line) - (cp2 - line)); 107 sizeof(line) - (cp2 - line)); 134 fputs(line, ttyout); 142 (void)strlcpy(line, line2, sizeof(line));
|
/freebsd-11-stable/usr.bin/systat/ |
H A D | keyboard.c | 50 static char line[80]; variable 101 line[col] = '\0'; 102 command(line + 1); 146 if (col == 1 && line[0] == ':') 152 while (--col >= 0 && isspace(line[col])) 155 while (--col >= 0 && !isspace(line[col])) 156 if (col == 0 && line[0] == ':') 163 if (line[0] == ':') 171 line[col] = ch;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt.c | 52 char *line, *ptr, *optstring = NULL, *result = NULL; local 59 while ((line = fparseln(stdin, &len, &lineno, NULL, 0)) != NULL) { 60 if (strncmp(line, "load:", 5) == 0) { 63 optstring = strtok(&line[6], WS); 65 errx(1, "missing optstring at line %ld", 70 } else if (strncmp(line, "args:", 5) == 0) { 75 args[nargs = 0] = strtok(&line[6], WS); 77 errx(1, "missing args at line %ld", 89 } else if (strncmp(line, "result:", 7) == 0) { 94 result = strtok(&line[ [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDebugMacro.cpp | 68 uint32_t line = 0; local 75 line = debug_macro_data.GetULEB128(offset); 79 DebugMacroEntry::CreateDefineEntry(line, macro_str)); 82 DebugMacroEntry::CreateUndefEntry(line, macro_str)); 86 line = debug_macro_data.GetULEB128(offset); 94 DebugMacroEntry::CreateDefineEntry(line, macro_str)); 97 DebugMacroEntry::CreateUndefEntry(line, macro_str)); 100 line = debug_macro_data.GetULEB128(offset); 103 DebugMacroEntry::CreateStartFileEntry(line, debug_line_file_idx));
|
/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_touch.c | 49 is_linetouched(WINDOW *win, int line) 51 T((T_CALLED("is_linetouched(%p,%d)"), (void *) win, line)); 54 if (!win || (line > win->_maxy) || (line < 0)) 57 returnCode(win->_line[line].firstchar != _NOCHANGE ? TRUE : FALSE);
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | table.py | 58 line = str() 61 line += va[i] 62 line += "\t" 69 line += fmt % (mfl, va[i]) 70 print(line)
|
/freebsd-11-stable/libexec/mknetid/ |
H A D | parse_group.c | 58 static char line[MAXLINELENGTH]; variable 109 if (!fgets(line, sizeof(line), _gr_fp)) 111 bp = line; 113 if (!strchr(line, '\n')) {
|
/freebsd-11-stable/tools/tools/mwl/mwlstats/ |
H A D | main.c | 91 int line, omask; local 100 line = 0; 102 if (line != 0) { 117 line++; 118 if (line == 21) /* XXX tty line count */
|
/freebsd-11-stable/usr.bin/xlint/lint2/ |
H A D | msg.c | 114 int qm, src, line; local 118 line = posp->p_iline; 121 line = posp->p_line; 130 if (line != 0) { 132 fn, qm ? "?" : "", line);
|
/freebsd-11-stable/tools/tools/genericize/ |
H A D | genericize.pl | 74 my $line = $_; 81 print $line; 92 $line =~ s/$value/$ident/; 99 $line =~ s{=$old}{=$new}; 115 print $line;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/ |
H A D | LineEntry.cpp | 17 : range(), file(), line(LLDB_INVALID_LINE_NUMBER), column(0), 28 original_file(_file), line(_line), column(_column), 38 line = LLDB_INVALID_LINE_NUMBER; 48 return range.GetBaseAddress().IsValid() && line != LLDB_INVALID_LINE_NUMBER; 58 if (line) 61 if (line) { 62 s->Printf("%u", line); 68 return file || line; 85 if (line) 86 s->Printf(", line [all...] |
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_wrapper_malloc.h | 47 // this line. 57 void * aligned_malloc( int size, char const * file, int line ) { 58 void * ptr = _malloc_dbg( size, file, line ); 78 // reported at this line. 172 #define _malloc_src_loc(size, file, line) \ 173 _malloc_dbg((size), KMP_MEM_BLOCK, (file), (line)) 174 #define _free_src_loc(ptr, file, line) _free_dbg((ptr), KMP_MEM_BLOCK) 180 #define _malloc_src_loc(size, file, line) malloc((size)) 181 #define _free_src_loc(ptr, file, line) free((ptr))
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | c-exp.c | 145 #line 39 "c-exp.y" 242 #line 126 "c-exp.y" 275 #line 150 "c-exp.y" 512 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 1051 YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", 1503 Otherwise, the following line sets YYVAL to garbage. 1515 #line 238 "c-exp.y" 1522 #line 246 "c-exp.y" 1527 #line 251 "c-exp.y" 1532 #line 25 [all...] |
H A D | macrotab.c | 153 /* The source file and line number where the definition's scope 154 begins. This is also the line of the definition itself. */ 158 /* The first source file and line after the definition's scope. 187 LINE1 and LINE2 are line numbers in the source files FILE1 and 203 the line containing the #include, but *before* the line after the 273 /* Now we've got two line numbers in the same file. */ 281 with the same line number in the #including file. */ 295 line number LINE. 305 const char *name, struct macro_source_file *file, int line) 301 key_compare(struct macro_key *key, const char *name, struct macro_source_file *file, int line) argument 330 new_macro_key(struct macro_table *t, const char *name, struct macro_source_file *file, int line) argument 421 macro_include(struct macro_source_file *source, int line, const char *included) argument 604 find_definition(const char *name, struct macro_source_file *file, int line) argument 665 check_for_redefinition(struct macro_source_file *source, int line, const char *name, enum macro_kind kind, int argc, const char **argv, const char *replacement) argument 720 macro_define_object(struct macro_source_file *source, int line, const char *name, const char *replacement) argument 752 macro_define_function(struct macro_source_file *source, int line, const char *name, int argc, const char **argv, const char *replacement) argument 779 macro_undef(struct macro_source_file *source, int line, const char *name) argument 821 macro_lookup_definition(struct macro_source_file *source, int line, const char *name) argument 834 macro_definition_location(struct macro_source_file *source, int line, const char *name, int *definition_line) argument [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | lock.h | 122 * facilities such as tracking the file and line number of lock operations 136 * In the LOCK_DEBUG case, use the filename and line numbers for debugging 140 #define LOCK_FILE_LINE_ARG_DEF , const char *file, int line 141 #define LOCK_FILE_LINE_ARG , file, line 160 * line - line number 170 #define LOCK_LOG_LOCK(opname, lo, flags, recurse, file, line) do { \ 174 (lo), (u_int)(recurse), (file), (line)); \ 177 #define LOCK_LOG_TRY(opname, lo, flags, result, file, line) do { \ 181 (lo), (u_int)(result), (file), (line)); \ [all...] |
/freebsd-11-stable/contrib/byacc/ |
H A D | reader.c | 5 /* The line size must be a positive integer. One hundred was chosen */ 7 /* Note that if a line exceeds LINESIZE characters, the line buffer */ 40 char *cptr, *line; variable 60 char line_format[] = "#line %d \"%s\"\n"; 128 * line[[:space:]]+ 141 for (n = 0; (ld <= ldOK) && (line[n] != '\0'); ++n) 143 int ch = UCH(line[n]); 162 UNLESS(strncmp(line + n, "line", [all...] |
/freebsd-11-stable/contrib/ntp/scripts/ |
H A D | plot_summary.in | 104 my $line; 121 $line = timegm(59, 59, 23, $3, $2 - 1, $1 - 1900, 0, 0, 0); 122 $line = int $line / 86400; # days relative to 1970 123 $first_day = "$1-$2-$3 ($line)" unless $day_out; 127 warn "Illegal number of fields in file $fname, line $."; 131 $_ = $Fld[1]; s/,/ /; $line .= " $_"; 135 $line .= "$1 $lower_bound $upper_bound"; 141 $line .= " $rms"; 143 $line [all...] |