/freebsd-10-stable/usr.bin/csup/ |
H A D | detailer.c | 134 char *cmd, *collname, *line, *release; local 143 line = stream_getln(rd, NULL); 144 cmd = proto_get_ascii(&line); 145 collname = proto_get_ascii(&line); 146 release = proto_get_ascii(&line); 147 error = proto_get_time(&line, &coll->co_scantime); 148 if (error || line != NULL || strcmp(cmd, "COLL") != 0 || 174 line = stream_getln(rd, NULL); 175 if (line == NULL) 177 if (strcmp(line, " 234 char *attr, *cmd, *file, *line, *msg, *path, *target; local [all...] |
H A D | proto.c | 190 char *line, *cmd, *msg, *swver; local 194 line = stream_getln(s, NULL); 195 cmd = proto_get_ascii(&line); 199 (void)proto_get_ascii(&line); /* major number */ 200 (void)proto_get_ascii(&line); /* minor number */ 201 swver = proto_get_ascii(&line); 203 msg = proto_get_rest(&line); 223 char *cmd, *line, *msg; local 229 line = stream_getln(s, NULL); 230 cmd = proto_get_ascii(&line); 263 char *line, *cmd; local 311 char *line, *cmd, *collname, *pat; local [all...] |
/freebsd-10-stable/contrib/libyaml/tests/ |
H A D | example-reformatter.c | 26 /* Analyze command line options. */ 134 fprintf(stderr, "Scanner error: %s at line %d, column %d\n" 135 "%s at line %d, column %d\n", parser.context, 136 parser.context_mark.line+1, parser.context_mark.column+1, 137 parser.problem, parser.problem_mark.line+1, 141 fprintf(stderr, "Scanner error: %s at line %d, column %d\n", 142 parser.problem, parser.problem_mark.line+1, 149 fprintf(stderr, "Parser error: %s at line %d, column %d\n" 150 "%s at line %d, column %d\n", parser.context, 151 parser.context_mark.line [all...] |
/freebsd-10-stable/contrib/mtree/ |
H A D | only.c | 126 char *line; local 132 while ((line = fparseln(fp, &len, &lineno, NULL, FPARSELN_UNESCALL))) { 134 if (hash_find(line, &h)) 135 err(1, "Duplicate entry %s", line); 136 hash_insert(line, h); 137 fill(line);
|
/freebsd-10-stable/tools/LibraryReport/ |
H A D | LibraryReport.tcl | 76 foreach line $liblist { 78 if {[scan $line "%s => %s" junk libname] == 2} { 86 puts stderr "Unparseable ldconfig output line :"; 87 puts stderr $line; 195 # For a non-shared executable, we get a single-line error message. 196 # For a shared executable, we get a heading line, so in either case 197 # we can discard the first line and any subsequent lines are libraries 202 foreach line $llist { 203 if {[scan $line "%s => %s %s" junk1 lib junk2] == 3} { 212 puts stderr "Unparseable ldd output line [all...] |
/freebsd-10-stable/tools/tools/drm/ |
H A D | gen-drm_pciids | 24 while (my $line = <$fh>) { 25 if ($line =~ /^#define +([^ ]+) +/) { 28 } elsif ($line =~ /^\t\{0x([0-9a-fA-F]{4}), *0x([0-9a-fA-F]{4}),[^,]+,[^,]+,[^,]+,[^,]+, *([^}]+)\}/) { 56 while (my $line = <$fh>) { 57 if ($line =~ /^#define +([^ ]+) +/) { 60 } elsif ($line =~ /^\t\{0x([0-9a-fA-F]{4}), *0x([0-9a-fA-F]{4}), *([^,]+), *"([^"]+)"\}/) { 88 while (my $line = <$fh>) { 89 if (!$line || $line =~ /^#/) { 92 if ($line [all...] |
/freebsd-10-stable/usr.bin/mail/ |
H A D | send.c | 52 * prefix is a string to prepend to each output line. 60 char *cp, *cp2, line[LINESIZE]; local 84 if (fgets(line, sizeof(line), ibuf) == NULL) 86 count -= length = strlen(line); 89 * First line is the From line, so no headers 94 } else if (line[0] == '\n') { 96 * If line is blank, we've reached end of 107 } else if (infld && (line[ [all...] |
/freebsd-10-stable/contrib/tzdata/ |
H A D | ziguard.awk | 20 # The command line should set DATAFORM. 31 # If the line should differ due to Czechoslovakia using negative SAVE values, 41 # If this line should differ due to Ireland using negative SAVE values, 57 # If this line should differ due to Namibia using negative SAVE values, 84 # In rearguard format, change the Japan rule line with "Sat>=8 25:00" 109 # If a Link line is followed by a Zone line for the same data, comment 110 # out the Link line. This can happen if backzone overrides a Link 116 sub(/^Link/, "#Link", line[linkline[$2]]) 119 { line[N [all...] |
/freebsd-10-stable/contrib/mdocml/ |
H A D | mdoc.c | 264 mdoc_pmsg(m, sp->line, 0, MANDOCERR_NOTEXT); 268 n = node_alloc(m, sp->line, 0, MDOC_MAX, MDOC_TBL); 280 * Main parse routine. Parses a single line -- really just hands off to 318 mdoc_pmsg(m, line, ppos, MANDOCERR_BADBODY); 326 mdoc_pmsg(m, line, ppos, MANDOCERR_BADPROLOG); 337 (m->parse, NULL, line, ppos); 341 return((*mdoc_macros[tok].fp)(m, tok, line, ppos, pos, buf)); 427 node_alloc(struct mdoc *m, int line, int pos, argument 434 p->line = line; 454 mdoc_tail_alloc(struct mdoc *m, int line, int pos, enum mdoct tok) argument 467 mdoc_head_alloc(struct mdoc *m, int line, int pos, enum mdoct tok) argument 483 mdoc_body_alloc(struct mdoc *m, int line, int pos, enum mdoct tok) argument 496 mdoc_endbody_alloc(struct mdoc *m, int line, int pos, enum mdoct tok, struct mdoc_node *body, enum mdoc_endbody end) argument 512 mdoc_block_alloc(struct mdoc *m, int line, int pos, enum mdoct tok, struct mdoc_arg *args) argument 544 mdoc_elem_alloc(struct mdoc *m, int line, int pos, enum mdoct tok, struct mdoc_arg *args) argument 569 mdoc_word_alloc(struct mdoc *m, int line, int pos, const char *p) argument 709 mdoc_ptext(struct mdoc *m, int line, char *buf, int offs) argument [all...] |
/freebsd-10-stable/tools/tools/net80211/wlanwatch/ |
H A D | wlanwatch.c | 143 static char line[MAXHOSTNAMELEN + 1]; local 159 strcpy(line, "default"); 180 strncpy(line, cp, sizeof(line) - 1); 181 line[sizeof(line) - 1] = '\0'; 183 (void) sprintf(line, "%s", inet_ntoa(in)); 214 line, sizeof(line), NULL, 0, niflags) != 0) 215 strncpy(line, "invali [all...] |
/freebsd-10-stable/contrib/less/ |
H A D | linenum.c | 12 * Code to handle displaying line numbers. 14 * Finding the line number of a given file position is rather tricky. 20 * So we use the function add_lnum to cache line numbers. 22 * line numbers when we run out of space in our table. A line 24 * other line numbers. For example, we'd rather keep lines 29 * The function currline() returns the line number of a given 31 * to cache the line number. Therefore currline is occasionally 32 * called to make sure we cache line numbers often enough. 38 * Structure to keep track of a line numbe 47 LINENUM line; /* Line number */ member in struct:linenum_info [all...] |
/freebsd-10-stable/contrib/wpa/hostapd/ |
H A D | config_file.c | 34 int line = 0, vlan_id; local 44 line++; 67 "line %d in '%s'", line, fname); 80 wpa_printf(MSG_ERROR, "Invalid VLAN ifname at line %d " 81 "in '%s'", line, fname); 124 int line = 0; local 139 line++; 156 "line %d in '%s'", buf, line, fnam 197 int line = 0, ret = 0, num_methods; local 597 hostapd_config_parse_key_mgmt(int line, const char *value) argument 662 hostapd_config_parse_cipher(int line, const char *value) argument 1274 parse_roaming_consortium(struct hostapd_bss_config *bss, char *pos, int line) argument 1343 parse_venue_name(struct hostapd_bss_config *bss, char *pos, int line) argument 1355 parse_3gpp_cell_net(struct hostapd_bss_config *bss, char *buf, int line) argument 1430 parse_nai_realm(struct hostapd_bss_config *bss, char *buf, int line) argument 1574 hs20_parse_conn_capab(struct hostapd_bss_config *bss, char *buf, int line) argument 1608 hs20_parse_wan_metrics(struct hostapd_bss_config *bss, char *buf, int line) argument 1673 hs20_parse_oper_friendly_name(struct hostapd_bss_config *bss, char *pos, int line) argument 1712 hostapd_config_fill(struct hostapd_config *conf, struct hostapd_bss_config *bss, char *buf, char *pos, int line) argument 3022 int line = 0; local [all...] |
/freebsd-10-stable/contrib/gcc/ |
H A D | genmodes.c | 73 const char *file; /* file and line of definition, */ 74 unsigned int line; /* for error reporting */ member in struct:mode_data 101 unsigned int line; member in struct:mode_adjust 147 const char *file, unsigned int line) 156 trim_filename (file), line, name); 157 error ("%s:%d: previous definition here", m->file, m->line); 167 m->line = line; 204 const char *file, unsigned int line) 213 error ("%s:%d: no mode \"%s\"", file, line, nam 146 new_mode(enum mode_class cl, const char *name, const char *file, unsigned int line) argument 200 new_adjust(const char *name, struct mode_adjust **category, const char *catname, const char *adjustment, enum mode_class required_class, const char *file, unsigned int line) argument 407 make_complex_modes(enum mode_class cl, const char *file, unsigned int line) argument 465 make_vector_modes(enum mode_class cl, unsigned int width, const char *file, unsigned int line) argument 516 make_special_mode(enum mode_class cl, const char *name, const char *file, unsigned int line) argument 527 make_int_mode(const char *name, unsigned int precision, unsigned int bytesize, const char *file, unsigned int line) argument 541 make_float_mode(const char *name, unsigned int precision, unsigned int bytesize, const char *format, const char *file, unsigned int line) argument 558 make_decimal_float_mode(const char *name, unsigned int precision, unsigned int bytesize, const char *format, const char *file, unsigned int line) argument 572 reset_float_format(const char *name, const char *format, const char *file, unsigned int line) argument 594 make_partial_integer_mode(const char *base, const char *name, unsigned int precision, const char *file, unsigned int line) argument 621 make_vector_mode(enum mode_class bclass, const char *base, unsigned int ncomponents, const char *file, unsigned int line) argument [all...] |
/freebsd-10-stable/usr.bin/tftp/ |
H A D | main.c | 120 static void makeargv(char *line); 223 char line[MAXLINE]; local 261 sprintf(line, "get %s", path); 262 makeargv(line); 336 char line[MAXLINE]; local 339 strcpy(line, "Connect "); 341 fgets(&line[strlen(line)], sizeof line - strlen(line), stdi 423 char line[MAXLINE]; local 525 char line[MAXLINE]; local 604 char line[MAXLINE]; local 631 char line[MAXLINE]; local 720 char line[MAXLINE]; local 803 makeargv(char *line) argument [all...] |
/freebsd-10-stable/contrib/libarchive/test_utils/ |
H A D | test_main.c | 344 unsigned int line, uintptr_t pReserved) 351 (void)line; 448 void skipping_setup(const char *filename, int line) argument 451 skipping_line = line; 456 assertion_count(const char *file, int line) argument 459 (void)line; /* UNUSED */ 464 /* Uncomment to print file:line after every assertion. 466 /* printf("Checked %s:%d\n", file, line); */ 474 static struct line { struct 482 failure_start(const char *filename, int line, cons argument 342 invalid_parameter_handler(const wchar_t * expression, const wchar_t * function, const wchar_t * file, unsigned int line, uintptr_t pReserved) argument 576 assertion_assert(const char *file, int line, int value, const char *condition, void *extra) argument 589 assertion_chdir(const char *file, int line, const char *pathname) argument 602 assertion_chmod(const char *file, int line, const char *pathname, int mode) argument 615 assertion_equal_int(const char *file, int line, long long v1, const char *e1, long long v2, const char *e2, void *extra) argument 777 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 839 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 900 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 938 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 966 assertion_empty_file(const char *filename, int line, const char *f1) argument 1002 assertion_non_empty_file(const char *filename, int line, const char *f1) argument 1024 assertion_equal_file(const char *filename, int line, const char *fn1, const char *fn2) argument 1064 assertion_file_exists(const char *filename, int line, const char *f) argument 1082 assertion_file_not_exists(const char *filename, int line, const char *f) argument 1100 assertion_file_contents(const char *filename, int line, const void *buff, int s, const char *fn) argument 1137 assertion_text_file_contents(const char *filename, int line, const char *buff, const char *fn) argument 1199 assertion_file_contains_lines_any_order(const char *file, int line, const char *pathname, const char *lines[]) argument 1316 assertion_file_contains_no_invalid_strings(const char *file, int line, const char *pathname, const char *strings[]) argument 1346 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument 1391 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument 1403 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument 1417 assertion_file_time(const char *file, int line, const char *pathname, long t, long nsec, char type, int recent) argument 1523 assertion_file_atime(const char *file, int line, const char *pathname, long t, long nsec) argument 1531 assertion_file_atime_recent(const char *file, int line, const char *pathname) argument 1538 assertion_file_birthtime(const char *file, int line, const char *pathname, long t, long nsec) argument 1546 assertion_file_birthtime_recent(const char *file, int line, const char *pathname) argument 1554 assertion_file_mode(const char *file, int line, const char *pathname, int expected_mode) argument 1583 assertion_file_mtime(const char *file, int line, const char *pathname, long t, long nsec) argument 1591 assertion_file_mtime_recent(const char *file, int line, const char *pathname) argument 1598 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument 1630 assertion_file_size(const char *file, int line, const char *pathname, long size) argument 1659 assertion_is_dir(const char *file, int line, const char *pathname, int mode) argument 1697 assertion_is_reg(const char *file, int line, const char *pathname, int mode) argument 1736 is_symlink(const char *file, int line, const char *pathname, const char *contents, int isdir) argument 1894 assertion_is_symlink(const char *file, int line, const char *path, const char *contents, int isdir) argument 1911 assertion_make_dir(const char *file, int line, const char *dirname, int mode) argument 1933 assertion_make_file(const char *file, int line, const char *path, int mode, int csize, const void *contents) argument 2003 assertion_make_hardlink(const char *file, int line, const char *newpath, const char *linkto) argument 2031 assertion_make_symlink(const char *file, int line, const char *newpath, const char *linkto, int targetIsDir) argument 2055 assertion_umask(const char *file, int line, int mask) argument 2066 assertion_utimes(const char *file, int line, const char *pathname, long at, long at_nsec, long mt, long mt_nsec) argument 2170 assertion_compare_fflags(const char *file, int line, const char *patha, const char *pathb, int nomatch) argument 2264 assertion_set_nodump(const char *file, int line, const char *pathname) argument 3272 assertion_entry_set_acls(const char *file, int line, struct archive_entry *ae, struct archive_test_acl_t *acls, int n) argument 3333 assertion_entry_compare_acls(const char *file, int line, struct archive_entry *ae, struct archive_test_acl_t *acls, int cnt, int want_type, int mode) argument [all...] |
/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | macrocmd.c | 125 int line) 127 fprintf_filtered (stream, "%s:%d\n", file->filename, line); 155 d = macro_lookup_definition (ms->file, ms->line, name); 158 int line; 160 = macro_definition_location (ms->file, ms->line, name, &line); 163 show_pp_source_pos (gdb_stdout, file, line); 186 show_pp_source_pos (gdb_stdout, ms->file, ms->line); 121 show_pp_source_pos(struct ui_file *stream, struct macro_source_file *file, int line) argument 156 int line; local
|
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | check_lft_balance.pl | 84 my $line; 95 foreach $line (@lines) { 96 if ($line =~ /$decport\[..\] ==/) { 97 if ($line =~ /Down/) { 114 my $line; 131 foreach $line (@lines) { 132 if ($line =~ /$decport\[..\] ==/) { 133 $str = $line;
|
H A D | ibqueryerrors.pl | 74 foreach my $line (@lines) { 75 if ($line =~ /^# Port info: Lid (\w+) port.*/) { $lid = $1; } 76 if ($line =~ /^LinkSpeedActive:\.+(.*)/) { $speed = $1; } 77 if ($line =~ /^LinkWidthActive:\.+(.*)/) { $width = $1; } 111 foreach my $line (@lines) { 113 if ($line =~ /^$count:\.+(\d+)/) { 129 foreach my $line (@lines) { 130 if ($line =~ /^Switch\s+:\s+(\w+)\s+ports\s+(\d+)\s+.*/) {
|
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftpd/ |
H A D | logwtmp.c | 84 ftpd_logwtmp_asl(char *line, char *name, char *host) argument 99 host, line, name, name[0] ? " " : "dis", (int)getpid()); 107 ftpd_logwtmp_wtmp(char *line, char *name, char *host) argument 132 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); 144 strncpy(utx.ut_line, line, sizeof(utx.ut_line)); 192 ftpd_logwtmp(char *line, char *name, char *host) argument 195 ftpd_logwtmp_asl(line, name, host); 197 ftpd_logwtmp_wtmp(line, name, host);
|
/freebsd-10-stable/crypto/heimdal/lib/sl/ |
H A D | test_sl.c | 37 const char *line; member in struct:__anon5171 73 char *buf = strdup(lines[i].line);
|
/freebsd-10-stable/sbin/devd/ |
H A D | token.l | 111 syslog(LOG_ERR, "line %d: %s%s %s.\n", lineno, yytext, yytext?":":"", s);
|
/freebsd-10-stable/sbin/fsdb/ |
H A D | fsdb.h | 57 char **crack(char *line, int *argc); 58 char **recrack(char *line, int *argc, int argc_max);
|
/freebsd-10-stable/sys/sys/ |
H A D | lock_profile.h | 49 uint64_t waittime, const char *file, int line); 68 #define lock_profile_obtain_lock_success(lo, contested, waittime, file, line) (void)0
|
/freebsd-10-stable/usr.sbin/ndiscvt/ |
H A D | inf-token.l | 130 errx(1, "line %d: %s%s %s.", lineno, yytext, yytext?":":"", s);
|
/freebsd-10-stable/contrib/subversion/subversion/svnfsfs/ |
H A D | load-index-cmd.c | 97 svn_stringbuf_t *line, 101 apr_array_header_t *tokens = svn_cstring_split(line->data, " ", TRUE, 127 /* Parse the space separated P2L index table from INPUT, one entry per line. 144 svn_stringbuf_t *line; local 148 /* Get the next line from the input and stop if there is none. */ 150 svn_stream_readline(input, &line, "\n", &eol, iterpool); 154 /* Skip header line(s). They contain the sub-string [Ss]tart. */ 155 if (strstr(line->data, "tart")) 160 svn_stringbuf_strip_whitespace(line); 161 if (line 96 parse_index_line(svn_fs_fs__p2l_entry_t **entry, svn_stringbuf_t *line, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument [all...] |