Searched refs:line (Results 51 - 75 of 1629) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/libreadline/examples/
H A Dhistexamp.c35 char line[1024], *t; local
38 line[0] = 0;
46 t = fgets (line, sizeof (line) - 1, stdin);
55 strcpy (line, "quit");
57 if (line[0])
64 result = history_expand (line, &expansion);
75 strncpy (line, expansion, sizeof (line) - 1);
79 if (strcmp (line, "qui
[all...]
/freebsd-10-stable/sys/tools/
H A Dpccarddevs2h.awk62 function collectline(f, line) {
64 line = ""
67 line = line "("
73 line = line $f
75 line = line " "
79 line = line
[all...]
/freebsd-10-stable/contrib/tzdata/
H A Dzishrink.awk151 # Process an input line and save it for later output.
153 function process_input_line(line, field, end, i, n, startdef)
155 # Remove comments, normalize spaces, and append a space to each line.
156 sub(/#.*/, "", line)
157 line = line " "
158 gsub(/[\t ]+/, " ", line)
162 sub(/^Link /, "Li ", line)
163 sub(/^Rule /, "R ", line)
164 sub(/^Zone /, "Z ", line)
[all...]
/freebsd-10-stable/contrib/compiler-rt/lib/
H A Deprintf.c27 const char* line, const char* file)
29 fprintf(stderr, format, assertion_expression, line, file);
26 __eprintf(const char* format, const char* assertion_expression, const char* line, const char* file) argument
H A Dint_util.h26 void compilerrt_abort_impl(const char *file, int line,
/freebsd-10-stable/contrib/openpam/lib/libpam/
H A Dopenpam_readline.c54 * Read a line from a file.
60 char *line; local
64 line = NULL;
65 if (openpam_straddch(&line, &size, &len, 0) != 0)
88 if (line[len - 1] == '\\') {
89 line[--len] = '\0';
96 if (openpam_straddch(&line, &size, &len, ch) != 0)
103 return (line);
105 FREE(line);
112 * The =openpam_readline function reads a line fro
[all...]
/freebsd-10-stable/tools/tools/bootparttest/
H A Dmalloc.c33 Malloc(size_t size, const char *file, int line) argument
40 Free(void *ptr, const char *file, int line) argument
/freebsd-10-stable/contrib/gdb/gdb/
H A Dgdb_assert.h49 #define gdb_assert_fail(assertion, file, line, function) \
50 internal_error (file, line, "%s: Assertion `%s' failed.", \
53 #define gdb_assert_fail(assertion, file, line, function) \
54 internal_error (file, line, "Assertion `%s' failed.", \
/freebsd-10-stable/lib/libc/gen/
H A Dassert.c41 __assert(func, file, line, failedexpr)
43 int line;
48 "Assertion failed: (%s), file %s, line %d.\n", failedexpr,
49 file, line);
52 "Assertion failed: (%s), function %s, file %s, line %d.\n",
53 failedexpr, func, file, line);
/freebsd-10-stable/contrib/amd/scripts/
H A Damd2sun.in17 $line = $_;
18 while ($line =~ /\\$/) {
19 chop $line;
22 $line .= $line2;
23 chop $line;
26 next unless $line =~ /^([^\s]+)\s+(.*)$/;
/freebsd-10-stable/lib/libstand/
H A Dassert.c35 __assert(const char *func, const char *file, int line, const char *expression) argument
38 panic("Assertion failed: (%s), file %s, line %d.\n",
39 expression, file, line);
42 "Assertion failed: (%s), function %s, file %s, line %d.\n",
43 expression, func, file, line);
/freebsd-10-stable/lib/libc/iconv/
H A Dcitrus_lookup_factory.c50 convert_line(struct _citrus_db_factory *df, const char *line, size_t len) argument
56 p = memchr(line, T_COMM, len);
58 len = p - line;
61 line = _bcs_skip_ws_len(line, &len);
64 p = _bcs_skip_nonws_len(line, &len);
65 if (p == line)
67 snprintf(key, sizeof(key), "%.*s", (int)(p-line), line);
71 line
98 char *line; local
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dmdoc2man.awk39 line=""
54 line=line "\n"
55 line=line str
82 if(length(line)&&!(match(line," $")||prenl))
104 sub(" $","",line)
107 sub(" $","",line)
135 if(!nospace&&length(line)
[all...]
/freebsd-10-stable/usr.sbin/pw/
H A Dpw_vpw.c66 char *line; local
71 line = NULL;
75 while ((linelen = getline(&line, &linecap, pwd_fp)) > 0) {
77 if (*line == '\n' || *line == '#')
80 if (line[linelen - 1 ] == '\n')
81 line[linelen - 1] = '\0';
82 pw = pw_scan(line, PWSCAN_MASTER);
85 " '%s'", getpwpath(_MASTERPASSWD), line);
100 free(line);
148 char *line; local
[all...]
/freebsd-10-stable/contrib/gcc/
H A Ddebug.h23 toplev.c according to command line options. */
33 /* Macro defined on line LINE with name and expansion TEXT. */
34 void (* define) (unsigned int line, const char *text);
36 /* MACRO undefined on line LINE. */
37 void (* undef) (unsigned int line, const char *macro);
41 void (* start_source_file) (unsigned int line, const char *file);
43 /* Record the resumption of a source file. LINE is the line number
45 void (* end_source_file) (unsigned int line);
49 void (* begin_block) (unsigned int line, unsigned int n);
52 void (* end_block) (unsigned int line, unsigne
[all...]
/freebsd-10-stable/sys/sys/
H A Dsx.h97 int sx_try_slock_(struct sx *sx, const char *file, int line);
98 int sx_try_xlock_(struct sx *sx, const char *file, int line);
99 int sx_try_upgrade_(struct sx *sx, const char *file, int line);
100 void sx_downgrade_(struct sx *sx, const char *file, int line);
101 int _sx_slock(struct sx *sx, int opts, const char *file, int line);
102 int _sx_xlock(struct sx *sx, int opts, const char *file, int line);
103 void _sx_sunlock(struct sx *sx, const char *file, int line);
104 void _sx_xunlock(struct sx *sx, const char *file, int line);
106 const char *file, int line);
107 int _sx_slock_hard(struct sx *sx, int opts, const char *file, int line);
145 __sx_xlock(struct sx *sx, struct thread *td, int opts, const char *file, int line) argument
163 __sx_xunlock(struct sx *sx, struct thread *td, const char *file, int line) argument
174 __sx_slock(struct sx *sx, int opts, const char *file, int line) argument
197 __sx_sunlock(struct sx *sx, const char *file, int line) argument
[all...]
/freebsd-10-stable/crypto/openssl/crypto/perlasm/
H A Dppc-xlate.pl74 my $line = join(",",@_);
75 if ($line =~ /^"(.*)"$/)
126 while($line=<>) {
128 $line =~ s|[#!;].*$||; # get rid of asm-style comments...
129 $line =~ s|/\*.*\*/||; # ... and C-style comments...
130 $line =~ s|^\s+||; # ... and skip white spaces in beginning...
131 $line =~ s|\s+$||; # ... and at the end
134 $line =~ s|\b\.L(\w+)|L$1|g; # common denominator for Locallabel
135 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels);
139 $line
[all...]
/freebsd-10-stable/contrib/ntp/libntp/
H A Dntp_lineedit.c2 * ntp_lineedit.c - generic interface to various line editing libs
154 * ntp_readline - read a line with the line editor available
164 char * line; local
178 line = readline(lineedit_prompt ? lineedit_prompt : "");
179 if (NULL != line) {
180 if (*line) {
181 add_history(line);
183 *pcount = strlen(line);
192 line
[all...]
/freebsd-10-stable/contrib/ntp/lib/isc/
H A Derror.c61 isc_error_unexpected(const char *file, int line, const char *format, ...) { argument
65 (unexpected_callback)(file, line, format, args);
70 isc_error_fatal(const char *file, int line, const char *format, ...) { argument
74 (fatal_callback)(file, line, format, args);
80 isc_error_runtimecheck(const char *file, int line, const char *expression) { argument
81 isc_error_fatal(file, line, "RUNTIME_CHECK(%s) %s", expression,
87 default_unexpected_callback(const char *file, int line, const char *format, argument
90 fprintf(stderr, "%s:%d: ", file, line);
97 default_fatal_callback(const char *file, int line, const char *format, argument
100 fprintf(stderr, "%s:%d: %s: ", file, line,
[all...]
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftp/
H A Ddomacro.c59 strlcpy(line2, line, sizeof(line2));
66 cp2 = line;
71 if (line + sizeof(line) - 2 < cp2)
83 len = sizeof(line) - (cp2 - line) - 1;
94 len = sizeof(line) - (cp2 - line) - 1;
103 if (line + sizeof(line)
[all...]
/freebsd-10-stable/lib/libc/tests/stdio/
H A Dgetdelim_test.c78 char *line; local
92 line = malloc(i);
93 /* First line: the full apothegm */
94 ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1);
95 ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
97 /* Second line: the NUL terminator following the newline */
98 ATF_REQUIRE(getline(&line, &linecap, fp) == 1);
99 ATF_REQUIRE(line[0] == '\0' && line[1] == '\0');
100 /* Third line
116 char *line; local
135 char *line; local
152 char *line; local
178 char *line; local
206 char *line; local
[all...]
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpackbanner.ksh20 banner $3 | /bin/nawk -v line=$1 -v pos=$2 -v width=$width '{ \
25 line, NR, i + (pos * width));
33 let line=0
46 let line=line+1
51 outputchar $line $pos $c
57 while [[ $i -le $line ]]; do
/freebsd-10-stable/usr.bin/lex/
H A Dinitscan.c3 #line 3 "<stdout>"
231 /* Whether we're considered to be at the beginning of a line.
237 int yy_bs_lineno; /**< The line count. */
1888 #line 1 "scan.l"
1890 #line 4 "scan.l"
1962 synerr(_("Input line too long\n")); \
1990 #line 1990 "<stdout>"
2208 #line 131 "scan.l"
2219 #line 2219 "<stdout>"
2322 #line 14
[all...]
/freebsd-10-stable/games/fortune/strfile/
H A Dstrfile.h38 #define STR_ENDSTRING(line,tbl) \
39 (((unsigned char)(line)[0]) == (tbl).str_delim && (line)[1] == '\n')
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DValgrind.cpp60 void AnnotateHappensBefore(const char *file, int line, argument
62 void AnnotateHappensAfter(const char *file, int line, argument
64 void AnnotateIgnoreWritesBegin(const char *file, int line) {} argument
65 void AnnotateIgnoreWritesEnd(const char *file, int line) {} argument

Completed in 187 milliseconds

1234567891011>>