Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 25 of 1472) sorted by relevance

12345678910>>...59

/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dtest.c87 get_line( buf, sizeof(buf), stdin, prompt ); in get_list()
185 get_line( buf, sizeof(buf), stdin, prompt1 ); in get_modlist()
192 get_line( buf, sizeof(buf), stdin, prompt2 ); in get_modlist()
262 get_line( dn, sizeof(dn), stdin, "re-bind dn? " ); in bind_prompt()
266 get_line( passwd, sizeof(passwd), stdin, in bind_prompt()
376 while ( get_line( line, sizeof(line), stdin, "\ncommand? " ) != NULL ) { in main()
385 get_line( dn, sizeof(dn), stdin, "dn? " ); in main()
398 get_line( line, sizeof(line), stdin, "msgid? " ); in main()
412 get_line( dn, sizeof(dn), stdin, "dn? " ); in main()
416 get_line( passwd, sizeof(passwd), stdin, in main()
[all …]
H A Dtestavl.c60 while ( fgets( command, sizeof( command ), stdin ) != NULL ) { in main()
83 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
94 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
103 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
H A Dtesttavl.c60 while ( fgets( command, sizeof( command ), stdin ) != NULL ) { in main()
79 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
90 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
99 if ( fgets( name, sizeof( name ), stdin ) == NULL ) in main()
/netbsd-src/usr.bin/mail/
H A Dtty.c127 clearerr(stdin); in readtty()
130 c = getc(stdin); in readtty()
133 if (feof(stdin)) in readtty()
143 if (c == EOF && ferror(stdin)) { in readtty()
145 clearerr(stdin); in readtty()
200 if (tcgetattr(fileno(stdin), t) == -1) { in save_erase_and_kill()
221 (void)tcsetattr(fileno(stdin), TCSADRAIN, t); in disable_erase_and_kill()
237 (void)tcsetattr(fileno(stdin), TCSADRAIN, t); in restore_erase_and_kill()
303 if (ioctl(fileno(stdin), TIOCEXT, &flag) == -1) in grabh()
365 if (ioctl(fileno(stdin), TIOCEXT, &flag) == -1) in grabh()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format/
H A Dgit-clang-format297 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
298 p.stdin.close()
378 git_metadata = subprocess.Popen(git_metadata_cmd, stdin=subprocess.PIPE,
405 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
407 p.stdin.write(to_bytes('%s\0' % line))
408 p.stdin.close()
432 git_show = subprocess.Popen(git_show_cmd, stdin=subprocess.PIPE,
434 git_show.stdin.close()
441 clang_format = subprocess.Popen(clang_format_cmd, stdin=clang_format_stdin,
444 clang_format_stdin = clang_format.stdin
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/
H A Dextract_symbols.py34 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
36 process.stdin.close()
47 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
51 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
53 process.stdin.close()
63 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
65 process.stdin.close()
93 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
95 process.stdin.close()
368 stdin=subprocess.PIPE,
[all …]
H A Dextract-section.py22 reading_source = sys.stdin.buffer
28 msvcrt.setformat(sys.stdin.fileno(), os.O_BINARY)
29 reading_source = sys.stdin
36 proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cpp/tests/
H A Dres162 # 1 "<stdin>"
53 # 49 "<stdin>"
91 # 84 "<stdin>"
100 # 90 "<stdin>"
/netbsd-src/usr.bin/uuencode/
H A Duuencode.c92 if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb)) in main()
142 while ((n = fread(buf, 1, sizeof(buf), stdin))) { in base64_encode()
163 while ((n = fread(buf, 1, 45, stdin)) > 0) { in encode()
194 if (ferror(stdin)) in encode()
/netbsd-src/games/battlestar/
H A Dcypher.c415 fgets(buffer, 10, stdin); in cypher()
419 fgets(buffer, 10, stdin); in cypher()
423 fgets(buffer, 10, stdin); in cypher()
427 fgets(buffer, 10, stdin); in cypher()
431 fgets(buffer, 10, stdin); in cypher()
435 fgets(buffer, 10, stdin); in cypher()
439 fgets(buffer, 10, stdin); in cypher()
443 fgets(buffer, 10, stdin); in cypher()
479 filename = fgetln(stdin, &filename_len); in cypher()
/netbsd-src/bin/cat/
H A Dcat.c147 fp = stdin; in cook_args()
152 fp = stdin; in cook_args()
163 if (fp != stdin) in cook_args()
239 fd = fileno(stdin); in raw_args()
244 fd = fileno(stdin); in raw_args()
276 if (fd != fileno(stdin)) in raw_args()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dgetpass.c91 fi = stdin; in lutil_getpass()
94 if (fi != stdin) { in lutil_getpass()
104 fi = stdin; in lutil_getpass()
114 if (fi != stdin) { in lutil_getpass()
/netbsd-src/games/trek/
H A Dgetpar.c232 ungetc(c, stdin); in testnl()
236 ungetc(c, stdin); in testnl()
254 ungetc('\n', stdin); in skiptonl()
275 ungetc(c, stdin); in testterm()
298 ungetc(c, stdin); in readdelim()
/netbsd-src/external/bsd/flex/dist/src/
H A Dfilter.c168 clearerr(stdin); in filter_apply_chain()
169 if (dup2 (pipes[0], fileno (stdin)) == -1) in filter_apply_chain()
172 fseek (stdin, 0, SEEK_CUR); in filter_apply_chain()
173 ungetc(' ', stdin); /* still an evil hack, but one that works better */ in filter_apply_chain()
174 (void)fgetc(stdin); /* on NetBSD than the fseek attempt does */ in filter_apply_chain()
292 while (fgets (buf, readsz, stdin)) { in filter_tee_header()
355 while (fgets (buf, (int) readsz, stdin)) { in filter_fix_linedirs()
/netbsd-src/crypto/external/bsd/openssl.old/dist/
H A De_os.h179 # if defined(_MSC_VER) && !defined(_WIN32_WCE) && !defined(_DLL) && defined(stdin)
181 # undef stdin
185 # define stdin (&__iob_func()[0]) macro
189 # undef stdin
200 # define stdin (&_imp___iob[0]) macro
/netbsd-src/usr.bin/lock/
H A Dlock.c197 if (!fgets(s, sizeof(s), stdin) || *s == '\n') in main()
204 (void)fgets(s1, sizeof(s1), stdin); in main()
264 if (!fgets(s, sizeof(s), stdin)) { in main()
265 clearerr(stdin); in main()
316 if (!fgets(s, sizeof(s), stdin) || *s == '\n') in skey_auth()
317 clearerr(stdin); in skey_auth()
/netbsd-src/crypto/external/bsd/libsaslc/dist/test/
H A Dexample_client.c114 if (nextline(input, sizeof(input), stdin) == NULL) in main()
128 if (nextline(input, sizeof(input), stdin) == NULL) in main()
133 if (nextline(input, sizeof(input), stdin) == NULL) in main()
148 if (nextline(input, sizeof(input), stdin) == NULL) in main()
/netbsd-src/lib/libc/stdio/
H A Dgets.c63 FLOCKFILE(stdin); in __gets()
67 FUNLOCKFILE(stdin); in __gets()
77 FUNLOCKFILE(stdin); in __gets()
/netbsd-src/usr.bin/uudecode/
H A Duudecode.c107 if (!freopen(inputname = *argv, "r", stdin)) { in main()
138 if (!fgets(buf, sizeof(buf), stdin)) { in decode()
233 if (!fgets(p = buf, sizeof(buf), stdin)) { in decode()
268 if (!fgets(buf, sizeof(buf), stdin) || strcmp(buf, "end\n")) { in decode()
298 if (!fgets(inbuf, sizeof(inbuf), stdin)) { in base64_decode()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dprocess.d285 File stdin = std.stdio.stdin,
295 return spawnProcessImpl(args2, stdin, stdout, stderr, env, config, workDir);
306 std.stdio.stdin,
316 File stdin = std.stdio.stdin,
325 stdin, stdout, stderr, env, config, workDir);
355 File stdin,
416 auto stdinFD = getFD(stdin);
662 && stdinFD != getFD(std.stdio.stdin ))
663 stdin.close();
685 File stdin,
[all …]
/netbsd-src/distrib/utils/edlabel/
H A Dedlabel.c134 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_head_field()
187 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_geo()
193 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_geo()
302 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_partition()
309 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_partition()
315 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in edit_partition()
439 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in label_modify()
522 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) in main()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dprocess.d804 File stdin = std.stdio.stdin,
816 return spawnProcessWin(commandLine, program, stdin, stdout, stderr, env, config, workDir);
820 return spawnProcessPosix(args, stdin, stdout, stderr, env, config, workDir);
834 std.stdio.stdin,
844 File stdin = std.stdio.stdin,
853 stdin, stdout, stderr, env, config, workDir);
885 File stdin,
941 auto stdinFD = getFD(stdin);
1208 && stdinFD != getFD(std.stdio.stdin ))
1209 stdin.close();
[all …]
/netbsd-src/usr.bin/pr/
H A Dpr.c301 if (inf != stdin) in onecol()
313 if (inf != NULL && inf != stdin) in onecol()
627 if (inf != stdin) in vertcol()
642 if (inf != NULL && inf != stdin) in vertcol()
781 if (inf != stdin) in horzcol()
793 if (inf != NULL && inf != stdin) in horzcol()
931 if (fbuf[j] != stdin) in mulfile()
1007 if (fbuf[j] && fbuf[j] != stdin) in mulfile()
1282 if (inf != stdin) in inskip()
1315 clearerr(stdin); in nxtfile()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/git/
H A Dpre-push.py84 def shell(cmd, strip=True, cwd=None, stdin=None, die_on_failure=True, argument
100 stdin=subprocess.PIPE,
102 stdout, stderr = p.communicate(input=stdin)
217 lines = sys.stdin.readlines()
218 sys.stdin = open('/dev/tty', 'r')
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsshtty.c62 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode()
74 if (tcgetattr(fileno(stdin), &tio) == -1) { in enter_raw_mode()
92 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) { in enter_raw_mode()

12345678910>>...59