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

1234567891011>>

/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dlogin_access.c20 * addresses (or network numbers), or on terminal line names in case of
61 char line[BUFSIZ]; local
77 * Process the table one line at a time and stop at the first match.
85 while (!match && fgets(line, sizeof(line), fp)) {
87 if (line[end = strlen(line) - 1] != '\n') {
88 syslog(LOG_ERR, "%s: line %d: missing newline or line too long",
92 if (line[
[all...]
/freebsd-11-stable/crypto/heimdal/appl/rsh/
H A Dlogin_access.c20 * addresses (or network numbers), or on terminal line names in case of
61 char line[BUFSIZ]; local
77 * Process the table one line at a time and stop at the first match.
85 while (!match && fgets(line, sizeof(line), fp)) {
87 if (line[end = strlen(line) - 1] != '\n') {
88 syslog(LOG_ERR, "%s: line %d: missing newline or line too long",
92 if (line[
[all...]
/freebsd-11-stable/libexec/fingerd/
H A Dfingerd.c76 char **ap, *av[ENTRIES + 1], **comp, line[1024], *prog; local
117 if (!fgets(line, sizeof(line), stdin))
135 end = memchr(line, 0, sizeof(line));
137 if ((t = malloc(sizeof(line) + 1)) == NULL)
139 memcpy(t, line, sizeof(line));
140 t[sizeof(line)] = 0;
142 if ((t = strdup(line))
[all...]
/freebsd-11-stable/usr.bin/lam/
H A Dlam.c62 char eol; /* end of line character */
63 const char *sepstring; /* string to print before each line */
68 static int nofinalnl; /* normally append \n to each output line */
69 static char line[BIGBUFSIZ]; variable
88 linep = line;
93 fputs(line, stdout);
181 strlcpy(lp, ip->sepstring, line + sizeof(line) - lp);
184 snprintf(lp, line + sizeof(line)
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/pthreads/
H A Dmutex.c72 int line; member in struct:__anon4854
80 int line; /*%< Line mutex was created on. */ member in struct:isc_mutexstats
99 isc_mutex_init_profile(isc_mutex_t *mp, const char *file, int line) { argument
127 mp->stats->line = line;
133 mp->stats->lockers[i].line = 0;
143 isc_mutex_lock_profile(isc_mutex_t *mp, const char *file, int line) { argument
166 locker->line = line;
169 mp->stats->lockers[i].line
186 isc_mutex_unlock_profile(isc_mutex_t *mp, const char *file, int line) argument
268 isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line) argument
[all...]
/freebsd-11-stable/contrib/byacc/test/yacc/
H A Dgrammar.tab.c100 #line 9 "grammar.y"
110 #line 81 "grammar.y"
325 * the parameter declaration on the same line. If the lexer scans a comment
328 * after scanning a comment or end of line.
349 unsigned line_num; /* current line number in input file */
387 #line 388 "grammar.tab.c"
920 #line 1014 "grammar.y"
948 put_error(); /* tell what line we're on, and what file */
1091 #line 1092 "grammar.tab.c"
1291 #line 37
[all...]
/freebsd-11-stable/contrib/openresolv/
H A Dlibc.in39 local key="$1" x= line=
43 while read -r line; do
44 case "$line" in
45 "$key"*) echo "${line##$key}";;
50 while read -r line; do
51 case "$line" in
52 "$key"*) echo "${line##$key}";;
61 local key x line found
63 while read -r line; do
66 case "$line" i
[all...]
/freebsd-11-stable/sys/sys/
H A Dmutex.h84 * used by consumers willing to pass options, file and line
96 int line);
100 const char *file, int line);
102 const char *file, int line);
111 const char *file, int line);
117 int line);
119 int line);
121 int line);
123 const char *file, int line);
125 const char *file, int line);
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_rmlock.c72 #define _rm_assert(c, what, file, line)
591 _rm_wlock_debug(struct rmlock *rm, const char *file, int line) argument
599 curthread, rm->lock_object.lo_name, file, line));
601 ("rm_wlock() of destroyed rmlock @ %s:%d", file, line));
602 _rm_assert(rm, RA_UNLOCKED, file, line);
605 file, line, NULL);
609 LOCK_LOG_LOCK("RMWLOCK", &rm->lock_object, 0, 0, file, line);
610 WITNESS_LOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line);
615 _rm_wunlock_debug(struct rmlock *rm, const char *file, int line) argument
622 ("rm_wunlock() of destroyed rmlock @ %s:%d", file, line));
631 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument
644 rm->lock_object.lo_name, file, line)); local
678 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument
701 _rm_wlock_debug(struct rmlock *rm, const char *file, int line) argument
708 _rm_wunlock_debug(struct rmlock *rm, const char *file, int line) argument
715 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument
723 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument
743 _rm_assert(const struct rmlock *rm, int what, const char *file, int line) argument
[all...]
/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Ddisplayq.c140 while ((i = read(fd, line, sizeof(line))) > 0)
141 (void) fwrite(line, 1, i, stdout);
197 while ((i = read(fd, line,
198 sizeof(line))) > 0)
199 fwrite(line, 1, i, stdout);
231 (void) snprintf(line, sizeof(line), "%c%s", format ? '\4' : '\3',
233 cp = line;
234 for (i = 0; i < requests && cp-line
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dmain.c216 unsigned int line, uintptr_t pReserved)
223 (void)line;
320 void skipping_setup(const char *filename, int line) argument
323 skipping_line = line;
328 assertion_count(const char *file, int line) argument
331 (void)line; /* UNUSED */
336 /* Uncomment to print file:line after every assertion.
338 /* printf("Checked %s:%d\n", file, line); */
346 static struct line { struct
354 failure_start(const char *filename, int line, cons argument
214 invalid_parameter_handler(const wchar_t * expression, const wchar_t * function, const wchar_t * file, unsigned int line, uintptr_t pReserved) argument
448 assertion_assert(const char *file, int line, int value, const char *condition, void *extra) argument
461 assertion_chdir(const char *file, int line, const char *pathname) argument
474 assertion_equal_int(const char *file, int line, long long v1, const char *e1, long long v2, const char *e2, void *extra) argument
636 assertion_equal_string(const char *file, int line, const char *v1, const char *e1, const char *v2, const char *e2, void *extra, int utf8) argument
698 assertion_equal_wstring(const char *file, int line, const wchar_t *v1, const char *e1, const wchar_t *v2, const char *e2, void *extra) argument
759 assertion_equal_mem(const char *file, int line, const void *_v1, const char *e1, const void *_v2, const char *e2, size_t l, const char *ld, void *extra) argument
797 assertion_memory_filled_with(const char *file, int line, const void *_v1, const char *vd, size_t l, const char *ld, char b, const char *bd, void *extra) argument
825 assertion_empty_file(const char *filename, int line, const char *f1) argument
861 assertion_non_empty_file(const char *filename, int line, const char *f1) argument
883 assertion_equal_file(const char *filename, int line, const char *fn1, const char *fn2) argument
923 assertion_file_exists(const char *filename, int line, const char *f) argument
941 assertion_file_not_exists(const char *filename, int line, const char *f) argument
959 assertion_file_contents(const char *filename, int line, const void *buff, int s, const char *fn) argument
996 assertion_text_file_contents(const char *filename, int line, const char *buff, const char *fn) argument
1058 assertion_file_contains_lines_any_order(const char *file, int line, const char *pathname, const char *lines[]) argument
1173 assertion_file_contains_no_invalid_strings(const char *file, int line, const char *pathname, const char *strings[]) argument
1203 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
1248 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
1260 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument
1274 assertion_file_time(const char *file, int line, const char *pathname, long t, long nsec, char type, int recent) argument
1380 assertion_file_atime(const char *file, int line, const char *pathname, long t, long nsec) argument
1388 assertion_file_atime_recent(const char *file, int line, const char *pathname) argument
1395 assertion_file_birthtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1403 assertion_file_birthtime_recent(const char *file, int line, const char *pathname) argument
1411 assertion_file_mode(const char *file, int line, const char *pathname, int expected_mode) argument
1440 assertion_file_mtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1448 assertion_file_mtime_recent(const char *file, int line, const char *pathname) argument
1455 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
1487 assertion_file_size(const char *file, int line, const char *pathname, long size) argument
1516 assertion_is_dir(const char *file, int line, const char *pathname, int mode) argument
1554 assertion_is_reg(const char *file, int line, const char *pathname, int mode) argument
1587 is_symlink(const char *file, int line, const char *pathname, const char *contents) argument
1631 assertion_is_symlink(const char *file, int line, const char *path, const char *contents) argument
1648 assertion_make_dir(const char *file, int line, const char *dirname, int mode) argument
1670 assertion_make_file(const char *file, int line, const char *path, int mode, int csize, const void *contents) argument
1740 assertion_make_hardlink(const char *file, int line, const char *newpath, const char *linkto) argument
1764 assertion_make_symlink(const char *file, int line, const char *newpath, const char *linkto) argument
1786 assertion_umask(const char *file, int line, int mask) argument
1797 assertion_utimes(const char *file, int line, const char *pathname, long at, long at_nsec, long mt, long mt_nsec) argument
1901 assertion_nodump(const char *file, int line, const char *pathname) argument
[all...]
/freebsd-11-stable/usr.bin/checknr/
H A Dchecknr.c83 int lno; /* line number */
206 static int lineno; /* current line number in input file */
317 char *line; local
321 line = NULL;
324 for (lineno = 1; getline(&line, &linecap, f) > 0; lineno++) {
325 if (line[0] == '.') {
329 strncpy(mac, line+1, 4);
351 addcmd(line);
353 chkcmd(line, mac);
357 * At this point we process the line lookin
558 addcmd(char *line) argument
[all...]
/freebsd-11-stable/contrib/mtree/
H A Dexcludes.c78 char *line; local
85 while ((line = fparseln(fp, NULL, NULL, NULL,
88 if (line[0] == '\0')
94 e->glob = line;
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_addstr.c86 struct ldat *line; local
106 line = &(win->_line[y]);
108 SetChar2(line->text[i + x], astr[i]);
110 CHANGED_RANGE(line, x, (NCURSES_SIZE_T) (x + n - 1));
137 struct ldat *line; local
158 line = &(win->_line[y]);
166 if (x > 0 && isWidecExt(line->text[x])) {
168 if (!isWidecExt(line->text[x - i])) {
172 line->text[x - i--] = _nc_render(win, blank);
189 line
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dassertions.c54 isc_assertion_failed(const char *file, int line, isc_assertiontype_t type, argument
57 isc_assertion_failed_cb(file, line, type, cond);
105 default_callback(const char *file, int line, isc_assertiontype_t type, argument
119 file, line, isc_assertion_typetotext(type), cond,
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Derrno2result.h37 isc___errno2result(int posixerrno, const char *file, unsigned int line);
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Derrno2result.h36 isc__errno2resultx(int posixerrno, const char *file, int line);
/freebsd-11-stable/contrib/libreadline/examples/
H A Dfileman.c123 char *line, *s; local
132 line = readline ("FileMan: ");
134 if (!line)
137 /* Remove leading and trailing whitespace from the line.
140 s = stripwhite (line);
148 free (line);
153 /* Execute a command line. */
155 execute_line (line)
156 char *line;
164 while (line[
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dcomplaints.h38 const char *file, int line, const char *fmt,
H A Dsource.c96 /* Default next line to list. */
108 /* Line number of last line printed. Default for various commands.
113 /* First line number listed by last listing command. */
124 /* Return the first line listed by print_source_lines.
136 calculate the end line and use it in the call to print_source_lines
145 /* Return the current source file for listing and next line to list.
154 cursal.line = current_source_line;
182 /* Return the current default file for listing and next line to list
193 cursal.line = current_source_line;
196 current_source_line = sal->line;
1079 identify_source_line(struct symtab *s, int line, int mid_statement, CORE_ADDR pc) argument
1106 print_source_lines_base(struct symtab *s, int line, int stopline, int noerror) argument
1228 print_source_lines(struct symtab *s, int line, int stopline, int noerror) argument
1338 int line; local
1433 int line; local
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/
H A Ddstyle.pl68 # The algorithm to calculate line length from cstyle.
70 $line = $_;
71 if ($line =~ tr/\t/\t/ * 7 + length($line) > 80) {
74 $eline = $line;
79 err "line > 80 characters";
108 # the line ending in a space or tab.)
114 err "space or tab at end of line";
136 err "left brace not on its own line";
140 err "left brace not on its own line";
[all...]
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c341 * array "line" contains the name of the slave side.
349 char *line = Xline; variable
372 if(openpty(&master, &slave, line, 0, 0) == 0){
385 strlcpy(line, p, sizeof(Xline));
406 strlcpy(line, ptsname(p), sizeof(Xline));
420 snprintf(line, sizeof(Xline), "/dev/ptyXX");
421 p1 = &line[8];
422 p2 = &line[9];
424 snprintf(line, sizeof(Xline), "/dev/ptym/ptyXX");
425 p1 = &line[1
953 cleanopen(char *line) argument
1545 rmut(char *line) argument
[all...]
/freebsd-11-stable/crypto/openssl/engines/
H A De_atalla_err.h69 static void ERR_ATALLA_error(int function, int reason, char *file, int line);
H A De_gmp_err.h69 static void ERR_GMP_error(int function, int reason, char *file, int line);
H A De_nuron_err.h69 static void ERR_NURON_error(int function, int reason, char *file, int line);

Completed in 190 milliseconds

1234567891011>>