/bionic/libc/stdio/ |
getchar.c | 44 return (getc_unlocked(stdin)); 57 return (getc(stdin));
|
/build/tools/fs_config/ |
fs_config.c | 26 // trailing slash) on the stdin, and prints to stdout each input 46 while (fgets(buffer, 1023, stdin) != NULL) {
|
/external/openssh/ |
fixprogs | 46 close STDIN; close STDOUT; close STDERR; 47 open (STDIN, "</dev/null");
|
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/webkit/Tools/iExploder/iexploder-1.3.2/tools/ |
lasthit.rb | 5 # It takes all or part of an apache logfile via stdin, and outputs a list 17 file = $stdin
|
/external/checkpolicy/ |
checkpolicy.c | 654 FGETS(ans, sizeof(ans), stdin); 658 FGETS(ans, sizeof(ans), stdin); 662 FGETS(ans, sizeof(ans), stdin); 666 FGETS(ans, sizeof(ans), stdin); 730 FGETS(ans, sizeof(ans), stdin); 751 FGETS(ans, sizeof(ans), stdin); 775 FGETS(ans, sizeof(ans), stdin); 778 FGETS(ans, sizeof(ans), stdin); 782 FGETS(ans, sizeof(ans), stdin); 833 FGETS(ans, sizeof(ans), stdin); [all...] |
/external/zlib/src/examples/ |
zpipe.c | 156 if (ferror(stdin)) 157 fputs("error reading stdin\n", stderr); 175 /* compress or decompress from stdin to stdout */ 181 SET_BINARY_MODE(stdin); 186 ret = def(stdin, stdout, Z_DEFAULT_COMPRESSION); 194 ret = inf(stdin, stdout);
|
/external/libvorbis/examples/ |
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); /* stereo hardwired here * [all...] |
decoder_example.c | 18 /* Takes a vorbis bitstream from stdin and writes raw stereo PCM to 29 #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */ 59 #ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ 62 _setmode( _fileno( stdin ), _O_BINARY ); 71 /* this also lets the user set stdin and stdout */ 90 bytes=fread(buffer,1,4096,stdin); 177 bytes=fread(buffer,1,4096,stdin); 286 bytes=fread(buffer,1,4096,stdin);
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
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/compiler-rt/lib/asan/scripts/ |
symbolize.py | 39 readelf_pipe = subprocess.Popen([readelf, "-l", path], stdin=subprocess.PIPE, stdout=subprocess.PIPE) 80 stdin=subprocess.PIPE, stdout=subprocess.PIPE) 84 print >>p.stdin, addr 86 print >>p.stdin 116 for line in sys.stdin:
|
/external/jpeg/ |
cdjpeg.c | 144 * Routines to establish binary I/O mode for stdin and stdout. 151 FILE * input_file = stdin; 154 setmode(fileno(stdin), O_BINARY); 157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { 158 fprintf(stderr, "Cannot reopen stdin\n");
|
/external/libvorbis/doc/vorbisfile/ |
seekingexample.html | 21 This program takes a vorbis bitstream from stdin and writes raw pcm to stdout. 41 We also have to make a concession to Windows users here. If we are using windows for decoding, we must declare these libraries so that we can set stdin/stdout to binary. 70 Also, we make our final concession to Windows users by setting the stdin and stdout to binary mode. 82 _setmode( _fileno( stdin ), _O_BINARY ); 98 if(ov_open_callbacks(stdin, &vf, NULL, 0, OV_CALLBACKS_NOCLOSE) < 0) {
|
example.html | 21 This program takes a vorbis bitstream from stdin and writes raw pcm to stdout. 41 We also have to make a concession to Windows users here. If we are using windows for decoding, we must declare these libraries so that we can set stdin/stdout to binary. 70 Also, we make our final concession to Windows users by setting the stdin and stdout to binary mode. 82 _setmode( _fileno( stdin ), _O_BINARY ); 95 stdin later during cleanup. 102 if(ov_open_callbacks(stdin, &vf, NULL, 0, OV_CALLBACKS_NOCLOSE) < 0) {
|
/external/qemu/distrib/jpeg-6b/ |
cdjpeg.c | 144 * Routines to establish binary I/O mode for stdin and stdout. 151 FILE * input_file = stdin; 154 setmode(fileno(stdin), O_BINARY); 157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { 158 fprintf(stderr, "Cannot reopen stdin\n");
|
/external/bzip2/ |
dlltest.c | 132 if((fn_r == NULL && (BZ2fp_r = BZ2_bzdopen(fileno(stdin),"rb"))==NULL)
153 fp_r = stdin;
168 if(fp_r!=stdin)fclose(fp_r);
|
/external/dropbear/ |
netbsd_getpass.c | 77 * stdin and write to stderr. 81 fp = stdin; 111 if (fp != stdin)
|
/external/srec/portable/src/UNIX/ |
PFileSystemUNIXImpl.c | 37 * Initializes STDIN, STDOUT, STDERR. 59 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdin"), isLittleEndian, &PSTDIN)); 61 impl->value = stdin;
|
/system/core/libsync/ |
sync_test.c | 124 fgets(str, sizeof(str), stdin); 133 fgets(str, sizeof(str), stdin); 138 fgets(str, sizeof(str), stdin);
|
/development/scripts/ |
symbol.py | 172 child = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) 177 child.stdin.write("0x%s\n" % addr) 178 child.stdin.flush() 186 child.stdin.close() 277 process = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) 278 process.stdin.write(mangled_symbol) 279 process.stdin.write("\n") 280 process.stdin.close()
|
/external/libvpx/libvpx/tools/ |
wrap-commit-msg.py | 59 if fileobj == sys.stdin: 70 main(sys.stdin)
|
/external/webkit/Tools/Scripts/ |
show-pretty-diff | 36 # Create a temporary file for STDIN. 47 while (<STDIN>) {
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
mock_drt_unittest.py | 124 def make_drt(self, options, args, filesystem, stdin, stdout, stderr): 125 return mock_drt.MockDRT(options, args, filesystem, stdin, stdout, stderr) 166 stdin = newstringio.StringIO(drt_input) 171 drt = self.make_drt(options, args, filesystem, stdin, stdout, stderr) 183 stdin = newstringio.StringIO() 187 filesystem, stdin, stdout, stderr) 224 def make_drt(self, options, args, filesystem, stdin, stdout, stderr): 232 return mock_drt.MockChromiumDRT(options, args, filesystem, stdin, stdout, stderr)
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/tools/ |
update_html_tags_from_sources.sh | 35 ruby -e '$stdin.readlines.join("").scan(/\"([\w-]+)"/) { |tag| puts tag }' > ${tmp_prefix}.html-values 36 grep -r "protocolIs" $src_dir/Source/WebCore/* | ruby -e '$stdin.readlines.join("").scan(/\"([\w-]+)"/) { |tag| puts "#{tag}:" }' > ${tmp_prefix}.protocols 40 egrep -r '"[-\+a-z]+/[-\+a-z]+"' $src_dir/Source/WebCore | ruby -e '$stdin.readlines.join("").scan(/\"([afimtvwx][\w\+-]+\/[\w\+-]+)"/) { puts $1 }' > ${tmp_prefix}.mime-types 75 | ruby -e '$stdin.readlines.join("").scan(/\"([afimtvwx][\w\+-]+\/[\w\+-]+)"/) { puts $1 }' > ${tmp_prefix}.mime-types 85 ruby -e '$stdin.readlines.join("").scan(/\"(.*?)\"/) { |tag| puts tag }' > ${tmp_prefix}.css-values 90 ruby -e '$stdin.readlines.join("").scan(/\"([-a-z]+)\"/) { |tag| puts tag }' > ${tmp_prefix}.html-values 94 ruby -e '$stdin.readlines.join("").scan(/\"([\w\+-]+\/[\w\+-]+)"/) { puts $1 }' > ${tmp_prefix}.mime-types 103 grep g_ascii_strcasecmp $src_dir/gtkhtml/htmlengine.c | ruby -e '$stdin.readlines.join("").scan(/\"([\/\w-]+)"/) { |tag| puts tag }' > ${tmp_prefix}.html-values
|
/ndk/sources/host-tools/ndk-stack/ |
ndk-stack.c | 31 " read input data from stdin\n" 72 FILE* handle = use_stdin ? stdin : fopen(dump_file, "r");
|