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

1234567891011>>

/freebsd-10-stable/contrib/texinfo/info/
H A Dvariables.c102 char *line; local
125 line = info_read_in_echo_area (active_window, prompt);
132 if (!line)
136 canonicalize_whitespace (line);
137 if (*line)
138 *(var->value) = atoi (line);
142 free (line);
168 line = info_read_completing_in_echo_area (window, prompt, array);
176 if (!line)
183 if (!*line)
207 char *line; local
[all...]
/freebsd-10-stable/gnu/usr.bin/rcs/ident/
H A Dident.c87 * removed printing of new line after last file.
227 char line[BUFSIZ]; local
231 tp = line;
238 if (tp < line+sizeof(line)-4)
245 if (tp == line)
257 if (tp < line+sizeof(line)-2)
268 VOID printf(" %c%s\n", KDELIM, line);
/freebsd-10-stable/sys/tools/
H A Dmakeobjops.awk49 print " -l set line width for output files [80]";
81 # If a line exceeds maxlength, split it into multiple
89 function format_line (line, maxlength, indent)
93 while (length(line) > maxlength) {
99 if (!match(substr(line, 1, maxlength + 1), /^.*, /))
101 rline = rline substr(line, 1, RLENGTH - 1) "\n";
102 line = sprintf("%*s", indent, "") substr(line, RLENGTH + 1);
104 return rline line;
133 # Handle "INTERFACE" line
[all...]
/freebsd-10-stable/tools/tools/vt/keymaps/
H A Dconvert-keymap.pl9 # command line parsing
94 my ($line) = @_;
96 $line =~ s/'\('/ _lpar_ /g; # prevent splitting of '('
97 $line =~ s/'\)'/ _rpar_ /g; # prevent splitting of ')'
98 $line =~ s/'''/'_squote_'/g; # remove quoted single quotes from matches below
99 $line =~ s/([()])/ $1 /g; # insert blanks around remaining parentheses
102 $matches = ($line =~ s/^([^']*)'([^']+)'/$1_squoteL_$2_squoteR_/g);
104 $line =~ s/_squoteL_ _squoteR_/ _spc_ /g; # prevent splitting of ' '
105 my @KEYTOKEN = split (" ", $line);
128 if ($C =~ m/^\s*\d/) { # line begin
[all...]
/freebsd-10-stable/usr.bin/grep/regex/
H A Dxmalloc.c33 int line;
93 const char *file, int line, const char *func)
110 new->line = line;
215 item->file, item->line, item->func, item->bytes, item->ptr);
241 xmalloc_impl(size_t size, const char *file, int line, const char *func)
252 printf("xmalloc: forced failure %s:%d: %s\n", file, line, func);
259 file, line, func);
267 hash_table_add(xmalloc_table, ptr, (int)size, file, line, func);
272 xcalloc_impl(size_t nmemb, size_t size, const char *file, int line,
32 int line; member in struct:hashTableItemRec
91 hash_table_add(hashTable *tbl, void *ptr, int bytes, const char *file, int line, const char *func) argument
239 xmalloc_impl(size_t size, const char *file, int line, const char *func) argument
270 xcalloc_impl(size_t nmemb, size_t size, const char *file, int line, const char *func) argument
302 xfree_impl(void *ptr, const char *file, int line, const char *func) argument
315 xrealloc_impl(void *ptr, size_t new_size, const char *file, int line, const char *func) argument
[all...]
/freebsd-10-stable/tools/regression/p1003_1b/
H A Dprutil.c37 int sched_is(int line, struct sched_param *p, int shouldbe) argument
55 "At line %d the scheduler should be %s yet it is %s.\n",
56 line, sched_text(shouldbe), sched_text(scheduler));
/freebsd-10-stable/sys/sys/
H A Dlock.h121 * facilities such as tracking the file and line number of lock operations
134 * In the LOCK_DEBUG case, use the filename and line numbers for debugging
154 * line - line number
159 #define LOCK_LOG_LOCK(opname, lo, flags, recurse, file, line) do { \
163 (lo), (u_int)(recurse), (file), (line)); \
166 #define LOCK_LOG_TRY(opname, lo, flags, result, file, line) do { \
170 (lo), (u_int)(result), (file), (line)); \
189 #define MPASS3(ex, file, line) MPASS4(ex, #ex, file, line)
[all...]
/freebsd-10-stable/sys/kern/
H A Dkern_sx.c143 #define _sx_assert(sx, what, file, line)
279 _sx_slock(struct sx *sx, int opts, const char *file, int line) argument
287 curthread, sx->lock_object.lo_name, file, line));
289 ("sx_slock() of destroyed sx @ %s:%d", file, line));
290 WITNESS_CHECKORDER(&sx->lock_object, LOP_NEWORDER, file, line, NULL);
291 error = __sx_slock(sx, opts, file, line);
293 LOCK_LOG_LOCK("SLOCK", &sx->lock_object, 0, 0, file, line);
294 WITNESS_LOCK(&sx->lock_object, 0, file, line);
302 sx_try_slock_(struct sx *sx, const char *file, int line) argument
311 curthread, sx->lock_object.lo_name, file, line));
334 _sx_xlock(struct sx *sx, int opts, const char *file, int line) argument
359 sx_try_xlock_(struct sx *sx, const char *file, int line) argument
394 _sx_sunlock(struct sx *sx, const char *file, int line) argument
410 _sx_xunlock(struct sx *sx, const char *file, int line) argument
433 sx_try_upgrade_(struct sx *sx, const char *file, int line) argument
466 sx_downgrade_(struct sx *sx, const char *file, int line) argument
536 _sx_xlock_hard(struct sx *sx, uintptr_t tid, int opts, const char *file, int line) argument
785 _sx_xunlock_hard(struct sx *sx, uintptr_t tid, const char *file, int line) argument
847 _sx_slock_hard(struct sx *sx, int opts, const char *file, int line) argument
1052 _sx_sunlock_hard(struct sx *sx, const char *file, int line) argument
1146 _sx_assert(const struct sx *sx, int what, const char *file, int line) argument
[all...]
H A Dkern_rwlock.c159 #define __rw_assert(c, what, file, line)
281 _rw_wlock_cookie(volatile uintptr_t *c, const char *file, int line) argument
292 curthread, rw->lock_object.lo_name, file, line));
294 ("rw_wlock() of destroyed rwlock @ %s:%d", file, line));
296 line, NULL);
297 __rw_wlock(rw, curthread, file, line);
298 LOCK_LOG_LOCK("WLOCK", &rw->lock_object, 0, rw->rw_recurse, file, line);
299 WITNESS_LOCK(&rw->lock_object, LOP_EXCLUSIVE, file, line);
304 __rw_try_wlock(volatile uintptr_t *c, const char *file, int line) argument
316 curthread, rw->lock_object.lo_name, file, line));
341 _rw_wunlock_cookie(volatile uintptr_t *c, const char *file, int line) argument
374 __rw_rlock(volatile uintptr_t *c, const char *file, int line) argument
415 rw->lock_object.lo_name, file, line)); local
607 __rw_try_rlock(volatile uintptr_t *c, const char *file, int line) argument
644 _rw_runlock_cookie(volatile uintptr_t *c, const char *file, int line) argument
761 __rw_wlock_hard(volatile uintptr_t *c, uintptr_t tid, const char *file, int line) argument
972 __rw_wunlock_hard(volatile uintptr_t *c, uintptr_t tid, const char *file, int line) argument
1041 __rw_try_upgrade(volatile uintptr_t *c, const char *file, int line) argument
1117 __rw_downgrade(volatile uintptr_t *c, const char *file, int line) argument
1194 __rw_assert(const volatile uintptr_t *c, int what, const char *file, int line) argument
[all...]
H A Dkern_rmlock.c73 #define _rm_assert(c, what, file, line)
595 _rm_wlock_debug(struct rmlock *rm, const char *file, int line) argument
603 curthread, rm->lock_object.lo_name, file, line));
605 ("rm_wlock() of destroyed rmlock @ %s:%d", file, line));
606 _rm_assert(rm, RA_UNLOCKED, file, line);
609 file, line, NULL);
613 LOCK_LOG_LOCK("RMWLOCK", &rm->lock_object, 0, 0, file, line);
615 WITNESS_LOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line);
622 _rm_wunlock_debug(struct rmlock *rm, const char *file, int line) argument
629 ("rm_wunlock() of destroyed rmlock @ %s:%d", file, line));
638 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument
651 rm->lock_object.lo_name, file, line)); local
687 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument
710 _rm_wlock_debug(struct rmlock *rm, const char *file, int line) argument
717 _rm_wunlock_debug(struct rmlock *rm, const char *file, int line) argument
724 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument
732 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument
752 _rm_assert(const struct rmlock *rm, int what, const char *file, int line) argument
[all...]
H A Dkern_mutex.c236 __mtx_lock_flags(volatile uintptr_t *c, int opts, const char *file, int line) argument
247 curthread, m->lock_object.lo_name, file, line));
249 ("mtx_lock() of destroyed mutex @ %s:%d", file, line));
252 file, line)); local
254 LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL);
256 __mtx_lock(m, curthread, opts, file, line);
258 line);
260 file, line);
265 __mtx_unlock_flags(volatile uintptr_t *c, int opts, const char *file, int line) argument
275 ("mtx_unlock() of destroyed mutex @ %s:%d", file, line));
278 file, line)); local
291 __mtx_lock_spin_flags(volatile uintptr_t *c, int opts, const char *file, int line) argument
305 m->lock_object.lo_name, file, line)); local
321 __mtx_trylock_spin_flags(volatile uintptr_t *c, int opts, const char *file, int line) argument
335 m->lock_object.lo_name, file, line)); local
349 __mtx_unlock_spin_flags(volatile uintptr_t *c, int opts, const char *file, int line) argument
363 m->lock_object.lo_name, file, line)); local
378 _mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file, int line) argument
399 file, line)); local
431 __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t tid, int opts, const char *file, int line) argument
644 _mtx_lock_spin_cookie(volatile uintptr_t *c, uintptr_t tid, int opts, const char *file, int line) argument
711 thread_lock_flags_(struct thread *td, int opts, const char *file, int line) argument
748 m->lock_object.lo_name, file, line)); local
839 __mtx_unlock_sleep(volatile uintptr_t *c, int opts, const char *file, int line) argument
887 __mtx_assert(const volatile uintptr_t *c, int what, const char *file, int line) argument
[all...]
/freebsd-10-stable/tools/tools/kdrv/
H A DKernelDriver58 # linttext Lines between this and a subsequent 'end' line are added
162 while {[gets $fh line] >= 0} {
165 if {([llength $line] == 0) ||
166 ([string index $line 0] == "\#")} {
171 switch -- [lindex $line 0] {
173 set Drv(description) [lindex $line 1];
176 set Drv(driver) [lindex $line 1];
179 set path [lindex $line 1];
184 set name [lindex $line 2];
189 set path [lindex $line
[all...]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_diff/
H A Dparse-diff.c188 * so we can comfortably parse the line
201 /* Try to parse the line number the hunk starts at. */
277 /* Read a line of original or modified hunk text from the specified
279 * Leading unidiff symbols ('+', '-', and ' ') are removed from the line,
338 /* Return the line as-is. */
391 svn_stringbuf_t *line; local
410 SVN_ERR(svn_io_file_readline(hunk->apr_file, &line, eol, eof, max_len,
420 if (line->data[0] == '+')
421 line->data[0] = '-';
422 else if (line
486 parse_mergeinfo(svn_boolean_t *found_mergeinfo, svn_stringbuf_t *line, svn_diff_hunk_t *hunk, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
616 svn_stringbuf_t *line; local
946 grab_filename(const char **file_name, const char *line, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
971 diff_minus(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
990 diff_plus(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1009 git_start(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1114 git_minus(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1136 git_plus(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1158 git_move_from(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1171 git_move_to(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1186 git_copy_from(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1199 git_copy_to(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1213 git_new_file(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1226 git_deleted_file(enum parse_state *new_state, char *line, svn_patch_t *patch, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
1399 svn_stringbuf_t *line; local
[all...]
/freebsd-10-stable/contrib/gdb/gdb/
H A Dcomplaints.c57 int line; member in struct:complain
127 int line, const char *fmt)
141 && complaint->line == line)
149 complaint->line = line;
170 vcomplaint (struct complaints **c, const char *file, int line, const char *fmt, argument
174 struct complain *complaint = find_complaint (complaints, file, line, fmt);
188 internal_vwarning (complaint->file, complaint->line, complaint->fmt, args);
208 /* Force a line
126 find_complaint(struct complaints *complaints, const char *file, int line, const char *fmt) argument
253 internal_complaint(struct complaints **complaints, const char *file, int line, const char *fmt, ...) argument
[all...]
/freebsd-10-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-10-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-10-stable/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c4 * addresses (or network numbers), or on terminal line names in case of
57 char line[BUFSIZ]; local
66 * Process the table one line at a time and stop at the first match.
74 while (!match && fgets(line, sizeof(line), fp)) {
76 if (line[end = strlen(line) - 1] != '\n') {
77 syslog(LOG_ERR, "%s: line %d: missing newline or line too long",
81 if (line[
[all...]
/freebsd-10-stable/libexec/fingerd/
H A Dfingerd.c73 char **ap, *av[ENTRIES + 1], **comp, line[1024], *prog; local
114 if (!fgets(line, sizeof(line), stdin))
132 end = memchr(line, 0, sizeof(line));
134 if ((t = malloc(sizeof(line) + 1)) == NULL)
136 memcpy(t, line, sizeof(line));
137 t[sizeof(line)] = 0;
139 if ((t = strdup(line))
[all...]
/freebsd-10-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-10-stable/contrib/ntp/lib/isc/pthreads/
H A Dmutex.c72 int line; member in struct:__anon103
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-10-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"
1294 #line 37
[all...]
/freebsd-10-stable/usr.bin/csup/
H A Dauth.c95 char *line, *cmd, *challenge, *realm, *client, *srvresponse, *msg; local
103 line = stream_getln(s, NULL);
104 cmd = proto_get_ascii(&line);
105 realm = proto_get_ascii(&line);
106 challenge = proto_get_ascii(&line);
108 line != NULL ||
136 line = stream_getln(s, NULL);
137 cmd = proto_get_ascii(&line);
138 if (cmd == NULL || line == NULL)
141 srvresponse = proto_get_ascii(&line);
167 char *home, *line, authfile[FILENAME_MAX]; local
221 auth_parsetoken(char **line, char *buf, int len) argument
[all...]
/freebsd-10-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-10-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-10-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...]

Completed in 164 milliseconds

1234567891011>>