Home
last modified time | relevance | path

Searched refs:fgets (Results 1 – 25 of 507) sorted by relevance

12345678910>>...21

/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/
H A Dpasstest.c40 while ((key_line = fgets(key_line, 100, keys)) != NULL) { in main()
44 fgets(val_line, 300, vals); in main()
73 while ((get_key = fgets(get_key, 100, keys)) != NULL) { in main()
81 fgets(get_val, 300, vals); in main()
128 while ((get_key = fgets(get_key, 100, keys)) != NULL) { in main()
132 key2 = fgets(get_key, 100, keys); in main()
156 while ((get_key = fgets(get_key, 100, keys)) != NULL) { in main()
160 key2 = fgets(key2, 100, keys); in main()
167 fgets(get_val, 300, vals); in main()
173 fgets(get_val, 300, vals); in main()
/freebsd/lib/libc/tests/stdio/
H A Dperror_test.c79 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
83 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
87 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
92 s = fgets(lbuf, sizeof(lbuf), stderr); in ATF_TC_BODY()
/freebsd/lib/libc/db/test/hash.tests/
H A Dtdel.c74 while ( fgets(wp1, 8192, stdin) &&
75 fgets(wp2, 8192, stdin) &&
96 while ( fgets(wp1, 8192, fp) &&
97 fgets(wp2, 8192, fp) &&
H A Dthash4.c77 while ( fgets(wp1, 8192, stdin) &&
78 fgets(wp2, 8192, stdin) &&
100 while ( fgets(wp1, 256, fp) &&
101 fgets(wp2, 8192, fp) &&
H A Dtcreat3.c72 while ( fgets(wp1, 8192, stdin) &&
73 fgets(wp2, 8192, stdin) &&
H A Dtread2.c73 while ( fgets(wp1, 8192, stdin) &&
74 fgets(wp2, 8192, stdin) &&
H A Dtverify.c73 while ( fgets(wp1, 8192, stdin) &&
74 fgets(wp2, 8192, stdin) &&
/freebsd/lib/libc/secure/
H A Dfgets_chk.c42 #undef fgets
48 return (fgets(buf, len, fp)); in __fgets_chk()
53 return (fgets(buf, len, fp)); in __fgets_chk()
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/
H A Dtdel.c86 while ( fgets(wp1, 8192, stdin) &&
87 fgets(wp2, 8192, stdin) &&
108 while ( fgets(wp1, 8192, fp) &&
109 fgets(wp2, 8192, fp) &&
H A Dthash4.c88 while ( fgets(wp1, 8192, stdin) &&
89 fgets(wp2, 8192, stdin) &&
111 while ( fgets(wp1, 256, fp) &&
112 fgets(wp2, 8192, fp) &&
H A Dtcreat3.c84 while ( fgets(wp1, 8192, stdin) &&
85 fgets(wp2, 8192, stdin) &&
H A Dtread2.c85 while ( fgets(wp1, 8192, stdin) &&
86 fgets(wp2, 8192, stdin) &&
H A Dtverify.c85 while ( fgets(wp1, 8192, stdin) &&
86 fgets(wp2, 8192, stdin) &&
/freebsd/usr.sbin/vidcontrol/
H A Ddecode.c45 if (!fgets(temp, sizeof(temp), fd)) in decode()
51 if (!fgets(p = temp, sizeof(temp), fd)) in decode()
93 if (!fgets(temp, sizeof(temp), fd) || strcmp(temp, "end\n")) in decode()
/freebsd/contrib/netbsd-tests/lib/libc/hash/
H A Dh_hash.c86 while (fgets((char *)buf, sizeof(buf), stdin) != NULL) { in regress()
97 fgets((char *)buf, sizeof(buf), stdin) != NULL) { in regress()
110 fgets((char *)buf, sizeof(buf), stdin) != NULL) { in regress()
/freebsd/usr.sbin/pmcannotate/
H A Dpmcannotate.c201 while (fgets(buffer, LNBUFF, fp) != NULL) { in asmparse()
240 while (fgets(buffer, LNBUFF, fp) != NULL) { in cparse()
547 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printasm()
579 while (fgets(buffer, LNBUFF, fp) != NULL) { in general_printc()
614 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock()
641 } while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) != 0); in printblock()
649 while (fgets(buffer, LNBUFF, fp) != NULL && isasminline(buffer) == 0) { in printblock()
664 if (fgets(buffer, LNBUFF, fp) == NULL) in printblock()
794 while (fgets(buffer, LNBUFF, gfp) != NULL) { in main()
/freebsd/contrib/diff/lib/
H A Dunlocked-io.h68 # undef fgets
69 # define fgets(x,y,z) fgets_unlocked (x,y,z) macro
71 # define fgets_unlocked(x,y,z) fgets (x,y,z)
/freebsd/usr.bin/msgs/
H A Dmsgs.c350 fgets(inbuf, sizeof inbuf, stdin); in main()
360 fgets(inbuf, sizeof inbuf, stdin); in main()
496 && fgets(inbuf, sizeof inbuf, newmsg) in main()
643 while (fgets(inbuf, sizeof inbuf, newmsg)) { in prmesg()
707 while (fgets(lbuf, sizeof lbuf, f)) in linecnt()
734 (void) fgets(inbuf, sizeof inbuf, stdin); in ask()
823 if (fgets(inbuf, sizeof inbuf, infile)) { in gfrsub()
866 while (fgets(inbuf, sizeof inbuf, infile) in gfrsub()
/freebsd/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c73 while ( ( (fgets(actualLine, lenAct, actual)) != NULL) in CompareFileContent()
74 && ( (fgets(expectedLine, lenExp, expected)) != NULL ) in CompareFileContent()
/freebsd/contrib/blocklist/port/
H A Dfgetln.c60 if (fgets(buf, bufsiz, fp) == NULL) in fgetln()
77 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { in fgetln()
/freebsd/usr.sbin/efidp/
H A Defidp.c144 while (fgets(buffer, sizeof(buffer), stdin)) { in unix_to_efi()
174 while (fgets(buffer, sizeof(buffer), stdin)) { in efi_to_unix()
225 while (fgets(buffer, sizeof(buffer), stdin)) { in parse()
/freebsd/contrib/telnet/libtelnet/
H A Dread_password.c104 while (!fgets(s, max, stdin));
111 if (!fgets(key_string, sizeof(key_string), stdin)) {
/freebsd/lib/libc/stdio/
H A Dfgets.c43 #undef fgets /* _FORTIFY_SOURCE */
51 fgets(char * __restrict buf, int n, FILE * __restrict fp) in fgets() function
/freebsd/contrib/wpa/src/utils/
H A Dconfig.c30 while (fgets(buf, sizeof(buf), stream)) { in skip_line_end()
43 while (fgets(s, size, stream)) { in wpa_config_get_line()
/freebsd/libexec/mknetid/
H A Dmknetid.c180 while(fgets(readbuf, LINSIZ, pfp)) { in main()
242 while ((ptr = fgets(readbuf, LINSIZ, hfp))) { in main()
278 while(fgets(readbuf, LINSIZ, nfp)) { in main()

12345678910>>...21