Searched refs:line (Results 101 - 125 of 1636) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.sbin/eeprom/
H A Deeprom.c66 char line[BUFSIZ]; local
97 while (fgets(line, BUFSIZ, stdin) != NULL &&
99 if (line[0] == '\n')
101 if ((cp = strrchr(line, '\n')) != NULL)
103 rv = action(line);
121 action(char *line) argument
126 keyword = strdup(line);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonReadline.cpp50 char *line = readline(prompt); local
51 if (!line) {
61 if (*line)
62 add_history(line);
63 int n = strlen(line);
70 memcpy(ret, line, n);
71 free(line);
/freebsd-11-stable/contrib/binutils/gas/
H A Dmessages.c111 unsigned int line; local
113 as_where (&file, &line);
116 fprintf (stderr, "%s:%u: ", file, line);
156 as_warn_internal (char *file, unsigned int line, char *buffer) argument
161 as_where (&file, &line);
165 fprintf (stderr, "%s:%u: ", file, line);
214 /* Like as_bad but the file name and line number are passed in.
220 as_warn_where (char *file, unsigned int line, const char *format, ...) argument
230 as_warn_internal (file, line, buffer);
235 as_warn_where (file, line, forma
257 as_bad_internal(char *file, unsigned int line, char *buffer) argument
318 as_bad_where(char *file, unsigned int line, const char *format, ...) argument
394 as_assert(const char *file, int line, const char *fn) argument
411 as_abort(const char *file, int line, const char *fn) argument
446 as_internal_value_out_of_range(char * prefix, offsetT val, offsetT min, offsetT max, char * file, unsigned line, int bad) argument
518 as_warn_value_out_of_range(char * prefix, offsetT value, offsetT min, offsetT max, char * file, unsigned line) argument
529 as_bad_value_out_of_range(char * prefix, offsetT value, offsetT min, offsetT max, char * file, unsigned line) argument
[all...]
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dipft_hx.c65 char line[513]; local
73 * interpret start of line as possibly "[ifname]" or
81 while (fgets(line, sizeof(line)-1, tfp)) {
82 if ((s = strchr(line, '\n'))) {
83 if (s == line) {
89 if ((s = strchr(line, '#')))
91 if (!*line)
94 printf("input: %s", line);
97 if ((*line
[all...]
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dlex.c2 #line 3 "lex.c"
218 /* Whether we're considered to be at the beginning of a line.
224 int yy_bs_lineno; /**< The line count. */
790 #line 1 "lex.l"
791 #line 2 "lex.l"
850 #line 851 "lex.c"
1032 #line 68 "lex.l"
1034 #line 1035 "lex.c"
1119 #line 69 "lex.l"
1124 #line 7
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_chgat.c63 struct ldat *line = &(win->_line[win->_cury]); local
68 SetAttr(line->text[i], attr);
69 SetPair(line->text[i], color);
70 CHANGED_CELL(line, i);
H A Dlib_clrbot.c61 struct ldat *line = &(win->_line[y]); local
62 NCURSES_CH_T *ptr = &(line->text[startx]);
63 NCURSES_CH_T *end = &(line->text[win->_maxx]);
65 CHANGED_TO_EOL(line, startx, win->_maxx);
H A Dlib_delch.c54 struct ldat *line = &(win->_line[win->_cury]); local
55 NCURSES_CH_T *end = &(line->text[win->_maxx]);
56 NCURSES_CH_T *temp2 = &(line->text[win->_curx + 1]);
59 CHANGED_TO_EOL(line, win->_curx, win->_maxx);
/freebsd-11-stable/contrib/gcc/
H A Dinput.h25 #include "line-map.h"
38 /* The line-location in the source file. */
39 int line; member in struct:__anon1345
57 /* The line-location in the source file. */
58 int line; local
84 extern void push_srcloc (const char *name, int line);
90 #define LOCATION_LINE(LOC) ((expand_location (LOC)).line)
96 The line member is not accurate for the innermost file on the stack. */
/freebsd-11-stable/contrib/gdb/gdb/
H A Dmacroscope.h31 #inclusion), and a line number in that file. */
34 int line; member in struct:macro_scope
39 and line given in SAL. If we have no macro information for that
/freebsd-11-stable/contrib/bmake/unit-tests/
H A Dcond2.exp2 make: "cond2.mk" line 13: Malformed conditional ({TEST_TYPO} == "Ok")
4 make: "cond2.mk" line 20: Malformed conditional (${TEST_NOT_SET} == "empty")
H A Descape.mk12 # anywhere in the makefile except in a command line, an include
13 # line, or a line immediately preceding an include line, it shall
15 # line, with a single <space>.
17 # When an escaped <newline> is found in a command line in a
18 # makefile, the command line shall contain the <backslash>, the
19 # <newline>, and the next line, except that the first character of
20 # the next line shall not be included if it is a <tab>.
22 # When an escaped <newline> is found in an include line o
[all...]
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dassfail.h52 __assfail(const char *expr, const char *file, int line) argument
55 (void)fprintf(stderr, "Assertion failed: (%s), file %s, line %d.\n",
56 expr, file, line);
69 const char *file, int line) {
72 "Assertion failed: %s (0x%jx %s 0x%jx), file %s, line %d.\n",
73 expr, lv, op, rv, file, line);
68 __assfail3(const char *expr, uintmax_t lv, const char *op, uintmax_t rv, const char *file, int line) argument
/freebsd-11-stable/libexec/ulog-helper/
H A Dulog-helper.c74 const char *line, *user, *host; local
76 /* Device line name. */
77 if ((line = ptsname(STDIN_FILENO)) == NULL)
89 ulog_login(line, user, host);
92 ulog_logout(line);
/freebsd-11-stable/crypto/openssh/
H A Dfixpaths15 die $0: error in command line arguments.
/freebsd-11-stable/contrib/ntp/sntp/unity/auto/
H A Dcolour_reporter.rb16 message.each_line do |line|
17 line.chomp!
18 colour = case(line)
34 colour_puts(colour, line)
/freebsd-11-stable/sys/sys/
H A Dsema.h48 void _sema_post(struct sema *sema, const char *file, int line);
49 void _sema_wait(struct sema *sema, const char *file, int line);
51 line);
52 int _sema_trywait(struct sema *sema, const char *file, int line);
/freebsd-11-stable/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.c128 #line 15 "btyacc_demo.y"
154 #line 36 "btyacc_demo.y"
166 #line 167 "btyacc_demo.tab.c"
635 #line 200 "btyacc_demo.y"
663 #line 664 "btyacc_demo.tab.c"
673 #line 83 "btyacc_demo.y"
680 #line 681 "btyacc_demo.tab.c"
682 #line 83 "btyacc_demo.y"
689 #line 690 "btyacc_demo.tab.c"
691 #line 8
[all...]
/freebsd-11-stable/cddl/compat/opensolaris/include/
H A Dassert.h51 __assert(const char *expr, const char *file, int line) argument
54 (void)fprintf(stderr, "Assertion failed: (%s), file %s, line %d.\n",
55 expr, file, line);
/freebsd-11-stable/crypto/heimdal/lib/com_err/
H A Dparse.h67 #line 54 "parse.y"
73 #line 74 "parse.h"
/freebsd-11-stable/contrib/opie/libopie/
H A Dlogin.c46 int opielogin FUNCTION((line, name, host), char *line AND char *name AND char *host)
53 if (__opiegetutmpentry(line, &u)) {
55 syslog(LOG_DEBUG, "opielogin: __opiegetutmpentry(line=%s, &u) failed", line);
58 if (!strncmp(line, "/dev/", 5))
59 strncpy(u.ut_line, line + 5, sizeof(u.ut_line));
61 strncpy(u.ut_line, line, sizeof(u.ut_line));
111 opielogwtmp(line, name, host, id);
/freebsd-11-stable/sys/netgraph/
H A Dnetgraph.h167 void dumphook (hook_p hook, char *file, int line);
168 static __inline void _chkhook(hook_p hook, char *file, int line);
169 static __inline void _ng_hook_ref(hook_p hook, char * file, int line);
170 static __inline char * _ng_hook_name(hook_p hook, char * file, int line);
171 static __inline void _ng_hook_unref(hook_p hook, char * file, int line);
173 void * val, char * file, int line);
175 ng_rcvmsg_t *val, char * file, int line);
177 ng_rcvdata_t *val, char * file, int line);
178 static __inline void * _ng_hook_private(hook_p hook, char * file, int line);
179 static __inline int _ng_hook_not_valid(hook_p hook, char * file, int line);
191 _chkhook(hook_p hook, char *file, int line) argument
202 _ng_hook_ref(hook_p hook, char * file, int line) argument
209 _ng_hook_name(hook_p hook, char * file, int line) argument
216 _ng_hook_unref(hook_p hook, char * file, int line) argument
223 _ng_hook_set_private(hook_p hook, void *val, char * file, int line) argument
230 _ng_hook_set_rcvmsg(hook_p hook, ng_rcvmsg_t *val, char * file, int line) argument
237 _ng_hook_set_rcvdata(hook_p hook, ng_rcvdata_t *val, char * file, int line) argument
244 _ng_hook_private(hook_p hook, char * file, int line) argument
251 _ng_hook_not_valid(hook_p hook, char * file, int line) argument
258 _ng_hook_is_valid(hook_p hook, char * file, int line) argument
265 _ng_hook_node(hook_p hook, char * file, int line) argument
272 _ng_hook_peer(hook_p hook, char * file, int line) argument
279 _ng_hook_force_writer(hook_p hook, char * file, int line) argument
286 _ng_hook_force_queue(hook_p hook, char * file, int line) argument
293 _ng_hook_set_to_inbound(hook_p hook, char * file, int line) argument
300 _ng_hook_hi_stack(hook_p hook, char * file, int line) argument
459 _chknode(node_p node, char *file, int line) argument
470 _ng_node_name(node_p node, char *file, int line) argument
477 _ng_node_has_name(node_p node, char *file, int line) argument
484 _ng_node_id(node_p node, char *file, int line) argument
491 _ng_node_ref(node_p node, char *file, int line) argument
498 _ng_node_unref(node_p node, char *file, int line) argument
505 _ng_node_set_private(node_p node, void * val, char *file, int line) argument
512 _ng_node_private(node_p node, char *file, int line) argument
519 _ng_node_is_valid(node_p node, char *file, int line) argument
526 _ng_node_not_valid(node_p node, char *file, int line) argument
533 _ng_node_numhooks(node_p node, char *file, int line) argument
540 _ng_node_force_writer(node_p node, char *file, int line) argument
547 _ng_node_hi_stack(node_p node, char *file, int line) argument
554 _ng_node_really_die(node_p node, char *file, int line) argument
561 _ng_node_revive(node_p node, char *file, int line) argument
568 _ng_node_foreach_hook(node_p node, ng_fn_eachhook *fn, void *arg, char *file, int line) argument
727 _ngi_check(item_p item, char *file, int line) argument
734 _ngi_m(item_p item, char *file, int line) argument
741 _ngi_msg(item_p item, char *file, int line) argument
748 _ngi_retaddr(item_p item, char *file, int line) argument
755 _ngi_fn(item_p item, char *file, int line) argument
762 _ngi_fn2(item_p item, char *file, int line) argument
769 _ngi_arg1(item_p item, char *file, int line) argument
776 _ngi_arg2(item_p item, char *file, int line) argument
783 _ngi_node(item_p item, char *file, int line) argument
790 _ngi_hook(item_p item, char *file, int line) argument
[all...]
/freebsd-11-stable/usr.bin/cmp/
H A Dmisc.c56 diffmsg(const char *file1, const char *file2, off_t byte, off_t line) argument
59 (void)printf("%s %s differ: char %lld, line %lld\n",
60 file1, file2, (long long)byte, (long long)line);
/freebsd-11-stable/usr.sbin/ppp/
H A Dsystems.c54 char line[100]; local
56 snprintf(line, sizeof line, "%s/%s", PPP_CONFDIR, file);
57 fp = ID0fopen(line, "r");
59 log_Printf(LogWARN, "OpenSecret: Can't open %s.\n", line);
184 DecodeCtrlCommand(char *line, char *arg) argument
188 if (!strncasecmp(line, "include", 7) && issep(line[7])) {
189 end = InterpretArg(line+8, arg);
248 strip(char *line) argument
295 GetLabel(char *line, const char *filename, int linenum) argument
324 char line[LINE_LEN]; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DHighlighter.cpp29 llvm::StringRef line,
33 // If we don't have a valid cursor, then we just print the line as-is.
34 if (!cursor_pos || *cursor_pos >= line.size()) {
35 s << line; local
42 // Split the line around the character which is below the cursor.
45 s << line.substr(0, column);
47 options.selected.Apply(s, line.substr(column, 1));
48 // Print the rest of the line.
49 s << line.substr(column + 1U);
74 llvm::StringRef line,
28 Highlight(const HighlightStyle &options, llvm::StringRef line, llvm::Optional<size_t> cursor_pos, llvm::StringRef previous_lines, Stream &s) const argument
73 Highlight(const HighlightStyle &options, llvm::StringRef line, llvm::Optional<size_t> cursor_pos, llvm::StringRef previous_lines) const argument
[all...]

Completed in 177 milliseconds

1234567891011>>