Searched refs:line (Results 201 - 225 of 1581) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/mandoc/
H A Dsoelim.c92 char *line = NULL; local
100 while ((linelen = getline(&line, &linecap, f)) > 0) {
101 if (strncmp(line, ".so", 3) != 0) {
102 printf("%s", line);
106 walk = line + 3;
108 printf("%s", line);
119 if (cp < line + linelen)
123 printf("%s", line);
127 free(line);
134 free(line);
[all...]
H A Dmdoc_macro.c232 n->line, n->pos, "%s", roff_name[n->tok]);
241 * or as a line macro if from == TOKEN_NONE.
244 lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) argument
257 mandoc_msg(MANDOCERR_MACRO_CALL, line, ppos, "%s", p);
296 roff_body_alloc(mdoc, n->line, n->pos,
404 find_pending(struct roff_man *mdoc, enum roff_tok tok, int line, int ppos, argument
425 line, ppos, "%s breaks %s",
427 mdoc_endbody_alloc(mdoc, line, ppos,
440 dword(struct roff_man *mdoc, int line, int col, const char *p, argument
455 roff_word_alloc(mdoc, line, co
474 append_delims(struct roff_man *mdoc, int line, int *pos, char *buf) argument
1533 parse_rest(struct roff_man *mdoc, enum roff_tok tok, int line, int *pos, char *buf) argument
[all...]
/freebsd-13-stable/usr.sbin/jail/
H A Djaillex.l134 warnx("%s line %d: unterminated comment",
140 warnx("%s line %d: unterminated string",
146 warnx("%s line %d: unterminated variable",
164 warnx("%s line %d: %s", cfname, lineno, s);
168 warnx("%s line %d: %s: %s", cfname, lineno, yytext, s);
/freebsd-13-stable/usr.bin/soelim/
H A Dsoelim.c87 char *line = NULL; local
95 while ((linelen = getline(&line, &linecap, f)) > 0) {
96 if (strncmp(line, ".so", 3) != 0) {
97 printf("%s", line);
101 walk = line + 3;
103 printf("%s", line);
114 if (cp < line + linelen)
118 printf("%s", line);
122 free(line);
129 free(line);
[all...]
/freebsd-13-stable/sys/kern/
H A Dsubr_hints.c64 char *line, *eq; local
76 line = malloc(i + 1, M_TEMP, M_WAITOK);
77 strcpy(line, cp);
78 line[eqidx] = line[i] = '\0';
85 if (testenv(line) == 0)
86 kern_setenv(line, line + eqidx + 1);
87 free(line, M_TEMP);
125 res_find(char **hintp_cookie, int *line, in argument
306 resource_find(int *line, int *startln, const char *name, int *unit, const char *resname, const char *value, const char **ret_name, int *ret_namelen, int *ret_unit, const char **ret_resname, int *ret_resnamelen, const char **ret_value) argument
343 int line; local
367 int line; local
389 int line; local
501 int error, line; local
[all...]
/freebsd-13-stable/crypto/heimdal/appl/login/
H A Dutmpx_login.c26 int utmpx_login(char *line, const char *user, const char *host) { return 0; } argument
30 utmpx_update(struct utmpx *ut, char *line, const char *user, const char *host) argument
33 char *clean_tty = clean_ttyname(line);
58 prepare_utmp (&utmp, line, user, host);
68 utmpx_login(char *line, const char *user, const char *host) argument
89 utmpx_update(&save_ut, line, user, host);
99 utmpx_update(&newut, line, user, host);
/freebsd-13-stable/lib/libpam/modules/pam_ftpusers/
H A Dpam_ftpusers.c63 char *line, *name, **mem; local
79 while (!found && (line = fgetln(f, &len)) != NULL) {
80 if (*line == '#')
82 while (len > 0 && isspace(line[len - 1]))
87 if (*line != '@') {
88 if (len == ulen && strncmp(user, line, len) == 0)
93 asprintf(&name, "%.*s", (int)len - 1, line + 1);
/freebsd-13-stable/stand/mips/beri/loader/
H A Dberi_disk_cfi.c119 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-13-stable/tools/tools/ansify/
H A Dansify.pl43 my $line = 0;
65 warn("[$fn:$line] $func(): can't parse argument list\n");
67 $line += @saved;
77 warn("[$fn:$line] $func(): unknown type for '$arg' argument\n");
79 $line += @saved;
97 warn("[$fn:$line] $func(): too many arguments\n");
99 $line += @saved;
103 ++$line;
105 warn("[$fn:$line] $func(): definition exceeds 80 characters\n")
108 ++$line;
[all...]
/freebsd-13-stable/sbin/dump/
H A Ddumprmt.c224 char line[30]; local
227 (void)snprintf(line, sizeof (line), "R%d\n", count);
228 n = rmtcall("read", line);
243 char line[30]; local
245 (void)snprintf(line, sizeof (line), "W%d\n", count);
246 write(rmtape, line, strlen(line));
254 char line[3 local
277 char line[80]; local
359 rmtgets(char *line, int len) argument
[all...]
/freebsd-13-stable/usr.bin/tail/tests/
H A Dtail_test.sh50 This is the first line
51 This is the second line
52 This is the third line
55 This is the third line
56 This is the second line
57 This is the first line
73 This is the first line
74 This is the second line
75 This is the third line
78 This is the third line
[all...]
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dascii.c46 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-13-stable/sbin/devfs/
H A Ddevfs.c140 * 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-13-stable/contrib/dma/
H A Dlocal.c130 char line[1000]; local
200 error = snprintf(line, sizeof(line), "%sFrom %s %s", newline, sender, ctime(&now));
201 if (error < 0 || (size_t)error >= sizeof(line)) {
205 if (write(mbox, line, error) != error)
209 if (fgets(line, sizeof(line), it->mailf) == NULL)
211 linelen = strlen(line);
212 if (linelen == 0 || line[linelen - 1] != '\n') {
226 * line startin
[all...]
/freebsd-13-stable/contrib/tnftp/src/
H A Ddomacro.c77 (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-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp68 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-13-stable/contrib/googletest/googletest/scripts/
H A Dpump.py88 """Represents a position (line and column) in a text file."""
90 def __init__(self, line=-1, column=-1):
91 self.line = line
95 return self.line == rhs.line and self.column == rhs.column
101 return self.line < rhs.line or (
102 self.line == rhs.line an
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_getopt.c52 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-13-stable/usr.bin/systat/
H A Dkeyboard.c52 static char line[80]; variable
103 line[col] = '\0';
104 command(line + 1);
148 if (col == 1 && line[0] == ':')
154 while (--col >= 0 && isspace(line[col]))
157 while (--col >= 0 && !isspace(line[col]))
158 if (col == 0 && line[0] == ':')
165 if (line[0] == ':')
173 line[col] = ch;
/freebsd-13-stable/libexec/mknetid/
H A Dparse_group.c60 static char line[MAXLINELENGTH]; variable
111 if (!fgets(line, sizeof(line), _gr_fp))
113 bp = line;
115 if (!strchr(line, '\n')) {
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dcond-token-plain.exp30 make: "cond-token-plain.mk" line 102: A bare word is treated like defined(...), and the variable 'bare' is not defined.
32 make: "cond-token-plain.mk" line 107: A bare word is treated like defined(...).
34 make: "cond-token-plain.mk" line 114: ok
36 make: "cond-token-plain.mk" line 122: Undefined variables in bare words expand to an empty string.
38 make: "cond-token-plain.mk" line 130: Numbers can be composed from literals and variable expressions.
40 make: "cond-token-plain.mk" line 134: Numbers can be composed from literals and variable expressions.
42 make: "cond-token-plain.mk" line 140: Missing right-hand-side of operator '=='
44 make: "cond-token-plain.mk" line 148: Malformed conditional (== "")
46 make: "cond-token-plain.mk" line 163: The variable '\\' is not defined.
48 make: "cond-token-plain.mk" line 16
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Symbol/
H A DLineEntry.cpp17 : 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-13-stable/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dtable.py58 line = str()
61 line += va[i]
62 line += "\t"
69 line += fmt % (mfl, va[i])
70 print(line)
/freebsd-13-stable/contrib/bc/
H A Dmanpage.sh63 while IFS= read -r line; do
65 if [ "$line" = "{{ end }}" ]; then
73 elif [ "${line#\{\{* $_gen_manpage_args *\}\}}" != "$line" ]; then
81 elif [ "${line#\{\{*\}\}}" != "$line" ]; then
91 printf '%s\n' "$line" >> "$_gen_manpage_temp"
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wrapper_malloc.h47 // 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))

Completed in 160 milliseconds

1234567891011>>