/freebsd-11-stable/sys/kern/ |
H A D | kern_lock.c | 71 #define _lockmgr_assert(lk, what, file, line) 177 uint64_t waittime, const char *file, int line, int flags) 181 file, line); 182 LOCK_LOG_LOCK("SLOCK", &lk->lock_object, 0, 0, file, line); 183 WITNESS_LOCK(&lk->lock_object, LK_TRYWIT(flags), file, line); 190 lockmgr_note_shared_release(struct lock *lk, const char *file, int line) argument 194 WITNESS_UNLOCK(&lk->lock_object, 0, file, line); 195 LOCK_LOG_LOCK("SUNLOCK", &lk->lock_object, 0, 0, file, line); 202 uint64_t waittime, const char *file, int line, int flags) 206 file, line); 176 lockmgr_note_shared_acquire(struct lock *lk, int contested, uint64_t waittime, const char *file, int line, int flags) argument 201 lockmgr_note_exclusive_acquire(struct lock *lk, int contested, uint64_t waittime, const char *file, int line, int flags) argument 215 lockmgr_note_exclusive_release(struct lock *lk, const char *file, int line) argument 226 lockmgr_note_exclusive_upgrade(struct lock *lk, const char *file, int line, int flags) argument 297 wakeupshlk(struct lock *lk, const char *file, int line) argument 546 lockmgr_lock_fast_path(struct lock *lk, u_int flags, struct lock_object *ilk, const char *file, int line) argument 617 int line; local 651 __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, const char *file, int line) argument 1492 _lockmgr_disown(struct lock *lk, const char *file, int line) argument 1600 _lockmgr_assert(const struct lock *lk, int what, const char *file, int line) argument [all...] |
/freebsd-11-stable/usr.sbin/services_mkdb/ |
H A D | uniq.c | 66 char *line; local 74 while ((line = fgetln(fp, &len)) != NULL) { 77 if (!comp(line, &compline, &complen)) { 79 line); 87 line); 103 * normalize whitespace in the original line and place a new string 104 * with whitespace converted to a single space in compline. If the line 106 * comments, we kill the comments. Return 1 if the line had actual
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | MinidumpTypes.cpp | 47 for (auto line : lines) { 48 if (line.consume_front("Pid:")) { 49 line = line.trim(); 50 if (!line.getAsInteger(10, result.pid))
|
/freebsd-11-stable/crypto/openssh/regress/unittests/test_helper/ |
H A D | test_helper.c | 151 fprintf(stderr, "Unrecognised command line option\n"); 252 ssl_err_check(const char *file, int line) argument 260 file, line, ERR_error_string(openssl_error, NULL)); 294 test_header(const char *file, int line, const char *a1, const char *a2, argument 298 file, line, test_number, active_test_name, 306 assert_bignum(const char *file, int line, const char *a1, const char *a2, argument 312 test_header(file, line, a1, a2, "BIGNUM", pred); 319 assert_string(const char *file, int line, const char *a1, const char *a2, argument 325 assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE); 326 assert_ptr(file, line, a 354 assert_mem(const char *file, int line, const char *a1, const char *a2, const void *aa1, const void *aa2, size_t l, enum test_predicate pred) argument 388 assert_mem_filled(const char *file, int line, const char *a1, const void *aa1, u_char v, size_t l, enum test_predicate pred) argument 412 assert_int(const char *file, int line, const char *a1, const char *a2, int aa1, int aa2, enum test_predicate pred) argument 423 assert_size_t(const char *file, int line, const char *a1, const char *a2, size_t aa1, size_t aa2, enum test_predicate pred) argument 434 assert_u_int(const char *file, int line, const char *a1, const char *a2, u_int aa1, u_int aa2, enum test_predicate pred) argument 445 assert_long(const char *file, int line, const char *a1, const char *a2, long aa1, long aa2, enum test_predicate pred) argument 456 assert_long_long(const char *file, int line, const char *a1, const char *a2, long long aa1, long long aa2, enum test_predicate pred) argument 467 assert_char(const char *file, int line, const char *a1, const char *a2, char aa1, char aa2, enum test_predicate pred) argument 482 assert_u8(const char *file, int line, const char *a1, const char *a2, u_int8_t aa1, u_int8_t aa2, enum test_predicate pred) argument 493 assert_u16(const char *file, int line, const char *a1, const char *a2, u_int16_t aa1, u_int16_t aa2, enum test_predicate pred) argument 504 assert_u32(const char *file, int line, const char *a1, const char *a2, u_int32_t aa1, u_int32_t aa2, enum test_predicate pred) argument 515 assert_u64(const char *file, int line, const char *a1, const char *a2, u_int64_t aa1, u_int64_t aa2, enum test_predicate pred) argument 528 assert_ptr(const char *file, int line, const char *a1, const char *a2, const void *aa1, const void *aa2, enum test_predicate pred) argument [all...] |
/freebsd-11-stable/usr.bin/fmt/ |
H A D | fmt.c | 20 * 2. Each line is split into leading whitespace and 23 * to form paragraphs, except that a blank line is always 25 * If the `-p' option is given then the first line of a 28 * If the `-m' option is given then a line that looks 30 * preceded by a non-blank non-message-header line, is 37 * end of a line is deemed to be followed by a single 42 * had occurred at end of line. 45 * to make the line length as near as possible to the goal 51 * Note that for a blank line this translates as "We emit 58 * line, an 444 wchar_t *line; local 540 indent_length(const wchar_t *line, size_t length) argument 556 might_be_header(const wchar_t *line) argument 690 wchar_t *line, *p; local [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | man_macro.c | 99 man->parse, n->line, n->pos, 116 man->parse, n->line, n->pos, 201 if ( ! man_args(man, line, pos, buf, &p)) 209 line, p - buf, "RE ... %s", p); 215 line, ppos, "RE %d", target); 235 line, ppos, roff_name[tok]); 238 line = man->last->line; 251 blk_imp(man, ntok, line, ppos, pos, buf); 264 roff_block_alloc(man, line, ppo 409 man_args(struct roff_man *man, int line, int *pos, char *buf, char **v) argument [all...] |
H A D | tbl.c | 89 tbl_alloc(int pos, int line, struct mparse *parse) argument 94 tbl->line = line; 137 tbl_restart(int line, int pos, struct tbl_node *tbl) argument 141 line, pos, "T&"); 144 tbl->line = line; 168 tbl->line, tbl->pos, "TE"); 175 tbl->line, tbl->pos, NULL);
|
/freebsd-11-stable/contrib/wpa/hostapd/ |
H A D | config_file.c | 33 int line = 0, vlan_id; local 43 line++; 66 "line %d in '%s'", line, fname); 82 wpa_printf(MSG_ERROR, "Invalid VLAN ifname at line %d " 83 "in '%s'", line, fname); 170 int line = 0; local 183 line++; 205 "line %d in '%s'", pos, line, fnam 240 hostapd_config_eap_user_salted(struct hostapd_eap_user *user, const char *hash, size_t len, char **pos, int line, const char *fname) argument 300 int line = 0, ret = 0, num_methods; local 680 hostapd_config_parse_key_mgmt(int line, const char *value) argument 781 hostapd_config_parse_cipher(int line, const char *value) argument 1330 parse_roaming_consortium(struct hostapd_bss_config *bss, char *pos, int line) argument 1410 parse_venue_name(struct hostapd_bss_config *bss, char *pos, int line) argument 1422 parse_venue_url(struct hostapd_bss_config *bss, char *pos, int line) argument 1460 parse_3gpp_cell_net(struct hostapd_bss_config *bss, char *buf, int line) argument 1535 parse_nai_realm(struct hostapd_bss_config *bss, char *buf, int line) argument 1676 parse_anqp_elem(struct hostapd_bss_config *bss, char *buf, int line) argument 1724 parse_qos_map_set(struct hostapd_bss_config *bss, char *buf, int line) argument 1768 hs20_parse_conn_capab(struct hostapd_bss_config *bss, char *buf, int line) argument 1802 hs20_parse_wan_metrics(struct hostapd_bss_config *bss, char *buf, int line) argument 1867 hs20_parse_oper_friendly_name(struct hostapd_bss_config *bss, char *pos, int line) argument 1933 hs20_parse_osu_ssid(struct hostapd_bss_config *bss, char *pos, int line) argument 1954 hs20_parse_osu_server_uri(struct hostapd_bss_config *bss, char *pos, int line) argument 1974 hs20_parse_osu_friendly_name(struct hostapd_bss_config *bss, char *pos, int line) argument 1993 hs20_parse_osu_nai(struct hostapd_bss_config *bss, char *pos, int line) argument 2010 hs20_parse_osu_nai2(struct hostapd_bss_config *bss, char *pos, int line) argument 2028 hs20_parse_osu_method_list(struct hostapd_bss_config *bss, char *pos, int line) argument 2045 hs20_parse_osu_icon(struct hostapd_bss_config *bss, char *pos, int line) argument 2069 hs20_parse_osu_service_desc(struct hostapd_bss_config *bss, char *pos, int line) argument 2088 hs20_parse_operator_icon(struct hostapd_bss_config *bss, char *pos, int line) argument 2151 parse_wpabuf_hex(int line, const char *name, struct wpabuf **buf, const char *val) argument 2368 hostapd_config_fill(struct hostapd_config *conf, struct hostapd_bss_config *bss, const char *buf, char *pos, int line) argument 4530 int line = 0; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | jv-exp.c | 123 #line 38 "jv-exp.y" 222 #line 127 "jv-exp.y" 252 #line 148 "jv-exp.y" 473 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 928 YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", 1380 Otherwise, the following line sets YYVAL to garbage. 1392 #line 209 "jv-exp.y" 1401 #line 223 "jv-exp.y" 1410 #line 232 "jv-exp.y" 1418 #line 23 [all...] |
H A D | f-exp.c | 135 #line 44 "f-exp.y" 231 #line 130 "f-exp.y" 261 #line 151 "f-exp.y" 464 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 869 YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", 1321 Otherwise, the following line sets YYVAL to garbage. 1333 #line 233 "f-exp.y" 1340 #line 239 "f-exp.y" 1345 #line 244 "f-exp.y" 1350 #line 24 [all...] |
/freebsd-11-stable/usr.sbin/setfmac/ |
H A D | setfmac.c | 195 chomp_line(char **line, size_t *linesize) argument 200 for (s = *line; (unsigned)(s - *line) < *linesize; s++) { 205 **line = '\0'; 209 memmove(*line, s, *linesize - (s - *line)); 210 *linesize -= s - *line; 211 for (s = &(*line)[*linesize - 1]; s >= *line; s--) { 215 if (s != &(*line)[*linesiz 234 char *line; local 302 add_spec_line(const char *file, int is_sebsd, struct label_spec_entry *entry, char *line) argument [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | pattern.c | 317 match_pattern(pattern, tpattern, line, line_len, sp, ep, notbol, search_type) 320 char *line; 334 matched = match(tpattern, strlen(tpattern), line, line_len, sp, ep); 342 matched = re_search(pattern, line, line_len, 0, line_len, &search_regs) >= 0; 345 *sp = line + search_regs.start[0]; 346 *ep = line + search_regs.end[0]; 359 matched = !regexec(pattern, line, 1, &rm, flags); 363 *sp = line + rm.rm_so; 364 *ep = line + rm.rm_eo; 376 matched = pcre_exec(pattern, NULL, line, line_le [all...] |
/freebsd-11-stable/usr.sbin/config/ |
H A D | mkmakefile.c | 65 static bool preprocess(char *line, char *result); 66 static void process_into_file(char *line, FILE *ofp); 67 static void process_into_nvlist(char *line, nvlist_t *nvl); 117 char line[BUFSIZ]; local 119 snprintf(line, sizeof(line), "../../conf/Makefile.%s", machinename); 120 ifp = fopen(line, "r"); 122 snprintf(line, sizeof(line), "Makefile.%s", machinename); 123 ifp = fopen(line, " 137 char line[BUFSIZ]; local 248 preprocess(char *line, char *result) argument 261 process_into_file(char *line, FILE *ofp) argument 270 process_into_nvlist(char *line, nvlist_t *nvl) argument 310 char line[BUFSIZ]; local 351 char line[BUFSIZ]; local [all...] |
/freebsd-11-stable/crypto/heimdal/lib/asn1/ |
H A D | asn1_gen.c | 51 unsigned long line = 0; local 78 line++; 89 if (class == NULL) errx(1, "class missing on line %lu", line); 91 if (type == NULL) errx(1, "type missing on line %lu", line); 93 if (tag == NULL) errx(1, "tag missing on line %lu", line); 95 if (length == NULL) errx(1, "length missing on line %lu", line); [all...] |
/freebsd-11-stable/tools/tools/locale/tools/ |
H A D | utf8-rollup.pl | 271 foreach my $line (@lines) { 272 if ($line =~ m/^([a-z]{3,})\t/) { 284 if ($line =~ m/<([-_A-Za-z0-9]+)>,/) { 292 $line =~ s/^[a-z]{3,}\t/\t/; 293 print FOUT $line; 297 if ($line =~ m/<([-_A-Za-z0-9]+)>(;.|)$/) { 349 print FOUT $line; 370 foreach my $line (@lines) { 371 print FOUT $line;
|
/freebsd-11-stable/usr.bin/tip/libacu/ |
H A D | ventel.c | 76 char *msg, line[80]; local 102 gobble('\n', line); 103 if (gobble('\n', line)) 104 connected = gobble('!', line); 108 (void)snprintf(line, sizeof line, "%ld second dial timeout", 110 logent(value(HOST), num, "ventel", line); local 118 cp = strchr(line, '\r'); 121 for (cp = line; (cp = strchr(cp, ' ')) != NULL; cp++)
|
/freebsd-11-stable/stand/common/ |
H A D | misc.c | 177 caddr_t line; local 183 for (line = region; line < (region + len); line += 16) { 184 emit("%08lx ", (long) line); 187 if ((line + x) < (region + len)) { 188 emit("%02x ", *(uint8_t *)(line + x)); 197 if ((line + x) < (region + len)) { 198 c = *(uint8_t *)(line + x);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt_long.c | 54 char *line, *eptr, *longopt, *ptr, *optstring = NULL, *result = NULL; local 65 while ((line = fparseln(stdin, &len, &lineno, NULL, 0)) != NULL) { 66 if (strncmp(line, "optstring:", 10) == 0) { 69 optstring = strtok(&line[11], WS); 71 errx(1, "missing optstring at line %ld", 74 } else if (strncmp(line, "longopts:", 9) == 0) { 85 ptr = strtok(&line[10], WS); 87 errx(1, "missing longopts at line %ld", 91 warnx("garbage in longopts at line %ld", 102 } else if (strncmp(line, "longop [all...] |
/freebsd-11-stable/usr.sbin/bluetooth/btpand/ |
H A D | event.h | 94 _event_set(char const *file, int line, struct event *ev, int fd, short flags, argument 98 file, line, ev, fd, flags, cb, cbarg); 101 ev->lines[0] = line; 107 _event_add(char const *file, int line, struct event *ev, argument 110 "timeout=%p", file, line, ev, ev->fd, ev->flags, ev->cb, 114 ev->lines[1] = line; 120 _event_del(char const *file, int line, struct event *ev) argument 123 file, line, ev, ev->fd, ev->flags, ev->cb, ev->cbarg); 126 ev->lines[2] = line;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/ |
H A D | SBSourceManager.cpp | 40 uint32_t line, uint32_t column, 51 file, line, column, context_before, context_after, current_line_cstr, 57 .DisplaySourceLinesWithLineNumbers(file, line, column, 110 const SBFileSpec &file, uint32_t line, uint32_t context_before, 115 file, line, context_before, context_after, 120 file.ref(), line, column, context_before, context_after, 125 const SBFileSpec &file, uint32_t line, uint32_t column, 132 file, line, column, context_before, context_after, current_line_cstr, s); 138 file.ref(), line, column, context_before, context_after, 39 DisplaySourceLinesWithLineNumbers(const lldb_private::FileSpec &file, uint32_t line, uint32_t column, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, lldb_private::Stream *s) argument 109 DisplaySourceLinesWithLineNumbers( const SBFileSpec &file, uint32_t line, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, SBStream &s) argument 124 DisplaySourceLinesWithLineNumbersAndColumn( const SBFileSpec &file, uint32_t line, uint32_t column, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, SBStream &s) argument
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | SourceManager.h | 44 size_t DisplaySourceLines(uint32_t line, llvm::Optional<size_t> column, 53 uint32_t GetLineOffset(uint32_t line); 55 bool LineIsValid(uint32_t line); 61 const char *PeekLineData(uint32_t line); 63 uint32_t GetLineLength(uint32_t line, bool include_newline_chars); 68 bool CalculateLineOffsets(uint32_t line = UINT32_MAX); 122 DisplaySourceLinesWithLineNumbers(const FileSpec &file, uint32_t line, 137 bool SetDefaultFileAndLine(const FileSpec &file_spec, uint32_t line); 139 bool GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | rtl.c | 483 rtl_check_failed_bounds (rtx r, int n, const char *file, int line, 489 func, trim_filename (file), line); 493 rtl_check_failed_type1 (rtx r, int n, int c1, const char *file, int line, 499 func, trim_filename (file), line); 504 int line, const char *func) 509 func, trim_filename (file), line); 514 int line, const char *func) 518 trim_filename (file), line); 523 const char *file, int line, const char *func) 528 func, trim_filename (file), line); 477 rtl_check_failed_bounds(rtx r, int n, const char *file, int line, const char *func) argument 487 rtl_check_failed_type1(rtx r, int n, int c1, const char *file, int line, const char *func) argument 497 rtl_check_failed_type2(rtx r, int n, int c1, int c2, const char *file, int line, const char *func) argument 507 rtl_check_failed_code1(rtx r, enum rtx_code code, const char *file, int line, const char *func) argument 516 rtl_check_failed_code2(rtx r, enum rtx_code code1, enum rtx_code code2, const char *file, int line, const char *func) argument 526 rtl_check_failed_code_mode(rtx r, enum rtx_code code, enum machine_mode mode, bool not_mode, const char *file, int line, const char *func) argument 544 rtl_check_failed_block_symbol(const char *file, int line, const char *func) argument 553 rtvec_check_failed_bounds(rtvec r, int n, const char *file, int line, const char *func) argument 564 rtl_check_failed_flag(const char *name, rtx r, const char *file, int line, const char *func) argument [all...] |
/freebsd-11-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-11-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-11-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...] |