/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.getline | 1 echo T.getline: test getline function 8 while (getline) 13 cmp -s foo1 foo || echo 'BAD: T.getline (bare getline)' 18 while (getline xxx) 23 cmp -s foo1 foo || echo 'BAD: T.getline (getline xxx)' 27 while (getline <"/etc/passwd") 32 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline <file)' 36 while (getline <"-") # stdin 41 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline <"-")' 45 while (getline <ARGV[1]) [all …]
|
H A D | T.errmsg | 9 while (getline x > 0 && x != "") 178 null file name in print or getline 202 $awk -safe 'BEGIN{"date" | getline}' >foo 2>foo2 203 grep 'cmd | getline is unsafe' foo2 >/dev/null || echo 'BAD: T.errmsg cmd|getline unsafe'
|
H A D | funstack.awk | 636 "hostname" | getline HOSTNAME 637 "date" | getline DATE 638 ("ypcat passwd | grep '^" USER ":' | awk -F: '{print $5}'") | getline PERSONAL_NAME 640 ("grep '^" USER ":' /etc/passwd | awk -F: '{print $5}'") | getline PERSONAL_NAME
|
H A D | t.beginexit | 2 while (getline && n++ < 10)
|
H A D | t.beginnext | 2 while (getline && n++ < 10)
|
/freebsd/contrib/kyua/utils/logging/ |
H A D | operations_test.cpp | 112 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 115 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 118 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 121 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 143 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 163 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 217 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 220 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 223 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 226 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() [all …]
|
H A D | macros_test.cpp | 56 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 72 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 88 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY() 104 ATF_REQUIRE(std::getline(input, line).good()); in ATF_TEST_CASE_BODY()
|
/freebsd/usr.sbin/autofs/autofs/ |
H A D | include_nis_nullfs | 64 "hostname -s" | getline; 67 "hostname -f" | getline; 72 "hostname -f" | getline; 76 while ("ifconfig" | getline) { 91 while ("ypcat -k " ARGV[1] | getline) { 97 while ("ypmatch " ARGV[2] " " ARGV[1] | getline) {
|
/freebsd/lib/libc/tests/stdio/ |
H A D | getdelim_test.c | 97 ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1); in ATF_TC_BODY() 101 ATF_REQUIRE(getline(&line, &linecap, fp) == 1); in ATF_TC_BODY() 105 ATF_REQUIRE(getline(&line, &linecap, fp) == -1); in ATF_TC_BODY() 126 ATF_REQUIRE(getline(&line, &linecap, stdout) == -1); in ATF_TC_BODY() 143 ATF_REQUIRE(getline(NULL, &linecap, fp) == -1); in ATF_TC_BODY() 145 ATF_REQUIRE(getline(&line, NULL, fp) == -1); in ATF_TC_BODY() 166 ATF_REQUIRE(getline(&line, &linecap, fp) == -1); in ATF_TC_BODY() 215 ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1); in ATF_TC_BODY() 221 ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1); in ATF_TC_BODY()
|
/freebsd/contrib/kyua/utils/process/ |
H A D | child_test.cpp | 333 ATF_REQUIRE(std::getline(output, line).good()); in child__fork_capture__ok() 339 ATF_REQUIRE(std::getline(output, line).good()); in child__fork_capture__ok() 373 ATF_REQUIRE(std::getline(output, message).good()); in ATF_TEST_CASE_BODY() 714 ATF_REQUIRE(std::getline(child->output(), line).good()); in ATF_TEST_CASE_BODY() 716 ATF_REQUIRE(!std::getline(child->output(), line)); in ATF_TEST_CASE_BODY() 732 ATF_REQUIRE(std::getline(child->output(), line).good()); in ATF_TEST_CASE_BODY() 734 ATF_REQUIRE(!std::getline(child->output(), line)); in ATF_TEST_CASE_BODY() 753 ATF_REQUIRE(std::getline(child->output(), line).good()); in ATF_TEST_CASE_BODY() 755 ATF_REQUIRE(std::getline(child->output(), line).good()); in ATF_TEST_CASE_BODY() 757 ATF_REQUIRE(std::getline(child->output(), line)); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/kyua/engine/ |
H A D | atf_list.cpp | 82 while (std::getline(input, line).good() && !line.empty()) { in parse_properties() 169 std::getline(input, line); in parse_atf_list() 176 std::getline(input, line); in parse_atf_list() 182 while (std::getline(input, line).good()) { in parse_atf_list()
|
/freebsd/contrib/one-true-awk/bugs-fixed/ |
H A D | getline-corruption.awk | 2 getline l 3 getline l
|
H A D | numeric-rs.awk | 3 while ("echo a1b1c1d" | getline > 0) {
|
H A D | getline-numeric.awk | 3 getline dd < ARGV[1]
|
H A D | numeric-fs.awk | 4 FS = 2; "echo 42424" | getline; print $1;
|
/freebsd/sys/tools/ |
H A D | makeobjops.awk | 161 getline < src; 176 getline < src; 182 getline < src; 235 while (line !~ /\}/ && (getline < src) > 0) { 452 while (!error && (getline < src) > 0) {
|
/freebsd/usr.bin/comm/ |
H A D | comm.c | 115 n1 = getline(&line1, &line1len, fp1); in main() 123 n2 = getline(&line2, &line2len, fp2); in main() 212 if ((n = getline(bufp, buflenp, fp)) < 0) in show()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-getline.c | 93 getline(char **buf, size_t *bufsiz, FILE *fp) in getline() function 108 while ((len = getline(&p, &n, stdin)) != -1) in main()
|
/freebsd/contrib/file/src/ |
H A D | getline.c | 84 getline(char **buf, size_t *bufsiz, FILE *fp) in getline() function 99 while ((len = getline(&p, &n, stdin)) != -1) in main()
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | bsd-getline.c | 95 getline(char **buf, size_t *bufsiz, FILE *fp) in getline() function 110 while ((len = getline(&p, &n, stdin)) != -1) in main()
|
/freebsd/contrib/kyua/cli/ |
H A D | cmd_about.cpp | 85 while (std::getline(input, line).good()) { in cat_file() 90 while (std::getline(input, line).good()) { in cat_file()
|
/freebsd/usr.sbin/pw/ |
H A D | pw_vpw.c | 84 while ((linelen = getline(&line, &linecap, pwd_fp)) > 0) { in vnextpwent() 163 while ((linelen = getline(&line, &linecap, grp_fp)) > 0) { in vnextgrent()
|
/freebsd/lib/libc/stdio/ |
H A D | Makefile.inc | 13 fwrite.c getc.c getchar.c getdelim.c getline.c \ 38 getline.3 getwc.3 mktemp.3 open_memstream.3 \ 79 MLINKS+=getline.3 getdelim.3
|
/freebsd/contrib/tzdata/ |
H A D | checktab.awk | 12 while (getline <iso_table) { 53 while (getline <zone_table) {
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDataFlowTrace.cpp | 44 while (std::getline(IN, L, '\n')) { in AppendCoverage() 178 while (std::getline(IF, L, '\n')) { in Init() 226 while (std::getline(IF, L, '\n')) { in Init()
|