Searched refs:stdin (Results 1 - 25 of 483) sorted by relevance

1234567891011>>

/external/clang/test/Analysis/
H A Dredefined_system.c9 char stdin();
16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
H A Dglobal-region-invalidation.c26 // Test stdin does not get invalidated by a system call nor by an internal call.
30 fscanf(stdin, "%d", &i);
33 fscanf(stdin, "%d", &i);
42 fscanf(stdin, "%d", &i);
44 fscanf(stdin, "%d", &i); // errno gets invalidated here.
49 fscanf(stdin, "%d", &i); // errno gets invalidated here.
57 fscanf(stdin, "%d", &i);
H A Dtaint-tester.cpp6 extern FILE *stdin;
23 while ((read = T.getline(&line, &len, stdin)) != -1) {
H A Dtaint-tester.c91 // Check if stdin is treated as tainted.
92 fscanf(stdin, "%s %d", s, &t);
110 // Check if we propagate taint from stdin when it's used in an assignment.
113 fscanf(stdin, "%d", &i);
117 FILE *p = stdin;
136 FILE **ppp = &stdin;
142 // Test that stdin does not get invalidated by calls.
146 fscanf(stdin, "%d", &i);
153 int i = getw(stdin); // expected-warning + {{tainted}}
165 while ((read = getline(&line, &len, stdin)) !
[all...]
/external/chromium_org/third_party/sqlite/src/tool/
H A Dvdbe-compress.tcl48 while {![eof stdin]} {
49 set line [gets stdin]
60 while {![eof stdin]} {
61 set line [gets stdin]
65 while {![eof stdin]} {
66 set line [gets stdin]
102 } elseif {$line=="" && [eof stdin]} {
H A Dmkopts.tcl9 while {![eof stdin]} {
10 set line [gets stdin]
/external/dropbear/libtomcrypt/notes/etc/
H A Dwhirltest.c8 while (fgets(buf, sizeof(buf)-2, stdin) != NULL) {
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/
H A Dnative-messaging-example-host17 text_length_bytes = sys.stdin.read(4)
26 text = sys.stdin.read(text_length).decode('utf-8')
/external/libmtp/examples/
H A Dformat.c33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) {
34 if (ferror(stdin)) {
35 fprintf(stderr, "File error on stdin\n");
37 fprintf(stderr, "EOF on stdin\n");
H A Dreset.c33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) {
34 if (ferror(stdin)) {
35 fprintf(stderr, "File error on stdin\n");
37 fprintf(stderr, "EOF on stdin\n");
/external/llvm/utils/count/
H A Dcount.c32 NumRead = fread(Buffer, 1, sizeof(Buffer), stdin);
39 if (!feof(stdin)) {
40 fprintf(stderr, "%s: error reading stdin\n", argv[0]);
/external/chromium_org/tools/clang/scripts/
H A Dupdate.py23 # Work around this by setting stderr of the update.sh process to stdin (!):
24 # gclient doesn't redirect stdin, and while stdin itself is read-only, a
25 # dup()ed sys.stdin is writable, try
26 # fd2 = os.dup(sys.stdin.fileno()); os.write(fd2, 'hi')
30 stderr=os.fdopen(os.dup(sys.stdin.fileno())))
/external/chromium_org/tools/traceline/traceline/scripts/
H A Dsplit.py6 """Splits a single json file (read from stdin) into separate files of 40k
17 for l in sys.stdin:
/external/libvorbis/examples/
H A Dencoder_example.c18 /* takes a stereo 16bit 44.1kHz WAV file from stdin and encodes it into
30 #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */
62 /* this also lets the user set stdin and stdout */
69 #ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */
74 _setmode( _fileno( stdin ), _O_BINARY );
84 for (i=0, founddata=0; i<30 && ! feof(stdin) && ! ferror(stdin); i++)
86 fread(readbuffer,1,2,stdin);
90 fread(readbuffer,1,6,stdin);
182 long bytes=fread(readbuffer,1,READ*4,stdin); /* stere
[all...]
H A Dchaining_example.c22 #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */
31 #ifdef _WIN32 /* We need to set stdin to binary mode. Damn windows. */
34 _setmode( _fileno( stdin ), _O_BINARY );
37 /* open the file/pipe on stdin */
38 if(ov_open_callbacks(stdin,&ov,NULL,-1,OV_CALLBACKS_NOCLOSE)<0){
/external/protobuf/examples/
H A DAddPerson.java15 static Person PromptForAddress(BufferedReader stdin, argument
20 person.setId(Integer.valueOf(stdin.readLine()));
23 person.setName(stdin.readLine());
26 String email = stdin.readLine();
33 String number = stdin.readLine();
42 String type = stdin.readLine();
/external/libvpx/libvpx/tools/
H A Dwrap-commit-msg.py59 if fileobj == sys.stdin:
70 main(sys.stdin)
/external/chromium_org/remoting/tools/
H A Dnative_messaging_host_test.py109 child = subprocess.Popen(native_messaging_host, stdin=subprocess.PIPE,
137 child.stdin.write(struct.pack('I', len(message)))
138 child.stdin.write(message)
139 child.stdin.flush()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dpath.py84 stdin=subprocess.PIPE,
94 self._child_process.stdin.close()
101 self._child_process.stdin.write("%s\r\n" % path)
102 self._child_process.stdin.flush()
/external/compiler-rt/SDKs/linux/usr/include/
H A Dstdio.h25 extern struct _IO_FILE *stdin;
/external/expat/examples/
H A Doutline.c87 len = (int)fread(Buff, 1, BUFFSIZE, stdin);
88 if (ferror(stdin)) {
92 done = feof(stdin);
/external/openssh/
H A Dsshtty.c61 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) {
73 if (tcgetattr(fileno(stdin), &tio) == -1) {
91 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) {
/external/dropbear/libtommath/demo/
H A Ddemo.c233 fgets(buf, sizeof(buf), stdin);
431 fgets(cmd, 4095, stdin);
437 fgets(buf, 4095, stdin);
439 fgets(buf, 4095, stdin);
441 fgets(buf, 4095, stdin);
454 fgets(buf, 4095, stdin);
456 fgets(buf, 4095, stdin);
458 fgets(buf, 4095, stdin);
474 fgets(buf, 4095, stdin);
476 fgets(buf, 4095, stdin);
[all...]
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt054main.py95 stdin=StringIO(input),
121 stdin=StringIO(input),
149 stdin=StringIO(input),
180 stdin=StringIO(input),
221 stdin=StringIO("a+b"),
264 stdin=StringIO("a+b"),
309 stdin=StringIO("b"),
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dserver_process_unittest.py72 self.stdin = MockFile(server_process)
87 self.stdin = self._proc.stdin
129 self.assertTrue(server_process.stdin.closed)
142 self.assertEqual(server_process.broken_pipes, [server_process.stdin])
149 self.assertEqual(server_process.broken_pipes, [server_process.stdin])

Completed in 515 milliseconds

1234567891011>>