/external/clang/test/Analysis/ |
H A D | redefined_system.c | 9 char stdin(); 16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
|
H A D | global-region-invalidation.c | 26 // 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 D | taint-tester.cpp | 6 extern FILE *stdin; 23 while ((read = T.getline(&line, &len, stdin)) != -1) {
|
H A D | taint-tester.c | 91 // 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 D | vdbe-compress.tcl | 48 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 D | mkopts.tcl | 9 while {![eof stdin]} { 10 set line [gets stdin]
|
/external/dropbear/libtomcrypt/notes/etc/ |
H A D | whirltest.c | 8 while (fgets(buf, sizeof(buf)-2, stdin) != NULL) {
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/ |
H A D | native-messaging-example-host | 17 text_length_bytes = sys.stdin.read(4) 26 text = sys.stdin.read(text_length).decode('utf-8')
|
/external/libmtp/examples/ |
H A D | format.c | 33 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 D | reset.c | 33 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 D | count.c | 32 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 D | update.py | 23 # 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 D | split.py | 6 """Splits a single json file (read from stdin) into separate files of 40k 17 for l in sys.stdin:
|
/external/libvorbis/examples/ |
H A D | encoder_example.c | 18 /* 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 D | chaining_example.c | 22 #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 D | AddPerson.java | 15 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 D | wrap-commit-msg.py | 59 if fileobj == sys.stdin: 70 main(sys.stdin)
|
/external/chromium_org/remoting/tools/ |
H A D | native_messaging_host_test.py | 109 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 D | path.py | 84 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 D | stdio.h | 25 extern struct _IO_FILE *stdin;
|
/external/expat/examples/ |
H A D | outline.c | 87 len = (int)fread(Buff, 1, BUFFSIZE, stdin); 88 if (ferror(stdin)) { 92 done = feof(stdin);
|
/external/openssh/ |
H A D | sshtty.c | 61 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 D | demo.c | 233 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 D | t054main.py | 95 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 D | server_process_unittest.py | 72 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])
|