/external/chromium-trace/catapult/third_party/Paste/paste/ |
cgiapp.py | 93 stdout=subprocess.PIPE, 103 stdout=writer, 106 stdout, stderr = proc.communicate(StdinReader.from_environ(environ).read()) 109 writer.write(stdout) 187 def proc_communicate(proc, stdin=None, stdout=None, stderr=None): 212 if proc.stdout: 213 read_set.append(proc.stdout) 215 assert stdout is None 240 if proc.stdout in rlist: 241 data = os.read(proc.stdout.fileno(), 1024 [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestPlayFdPath.cpp | 43 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line); 63 fprintf(stdout, "PrefetchEventCallback: Error while prefetching data, exiting\n"); 157 fprintf(stdout, "URI example: after Realize\n"); 172 fprintf(stdout, "Player configured\n"); 208 fprintf(stdout, "Stopping playback\n"); 227 fprintf(stdout, "OpenSL ES test %s: exercises SLPlayItf ", argv[0]); 228 fprintf(stdout, "and AudioPlayer with SLDataLocator_AndroidFD source / OutputMix sink\n"); 229 fprintf(stdout, "Plays the sound file designated by the given path, "); 230 fprintf(stdout, "starting at the specified offset, and using the specified length.\n"); 231 fprintf(stdout, "Omit the length of the file for it to be computed by the system.\n") [all...] |
/development/python-packages/adb/ |
device.py | 41 def __init__(self, cmd, stdout, stderr, exit_code): 45 self.stdout = stdout 52 subprocess.check_call([adb_path, 'start-server'], stdout=devnull, 117 subprocess.check_call([adb_path, 'start-server'], stdout=devnull, 292 self.adb_cmd + cmd, stderr=subprocess.STDOUT) 301 A (stdout, stderr) tuple. Stderr may be combined into stdout 307 exit_code, stdout, stderr = self.shell_nocheck(cmd) 309 raise ShellError(cmd, stdout, stderr, exit_code [all...] |
/external/jsoncpp/ |
makerelease.py | 52 stdout=subprocess.PIPE, 53 stderr=subprocess.STDOUT ) 54 stdout = process.communicate()[0] 56 error = SVNError( 'SVN command failed:\n' + stdout ) 59 return stdout 63 stdout = svn_command( 'status', '--xml' ) 64 etree = ElementTree.fromstring( stdout ) 157 stdout=flog, 158 stderr=subprocess.STDOUT, 160 stdout = process.communicate()[0 [all...] |
/external/chromium-trace/catapult/perf_insights/perf_insights/endpoints/cloud_mapper/ |
worker.py | 128 stdout=subprocess.PIPE, 144 stdout = '' 146 if map_job.stdout: 147 stdout = map_job.stdout.read() 151 logging.info('stdout:\n' + stdout)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
posix_platform_backend.py | 41 return subprocess.Popen(args, stdout=subprocess.PIPE).communicate()[0] 116 stdout=subprocess.PIPE, stderr=subprocess.STDOUT) 117 stdout = p.communicate()[0] 121 return not p.returncode and not stdout 130 if not sys.stdout.isatty(): 153 args, stdout=subprocess.PIPE, stderr=stderror_destination)
|
/external/compiler-rt/lib/asan/scripts/ |
symbolize.py | 41 readelf_pipe = subprocess.Popen([readelf, "-l", path], stdin=subprocess.PIPE, stdout=subprocess.PIPE) 42 for line in readelf_pipe.stdout: 86 stdin=subprocess.PIPE, stdout=subprocess.PIPE) 94 function_name = p.stdout.readline().rstrip() 95 file_name = p.stdout.readline().rstrip() 106 p.stdout.readline() 107 p.stdout.readline()
|
/external/vulkan-validation-layers/layers/ |
vk_layer_config.cpp | 99 // If option is NULL or stdout, return stdout, otherwise try to open option 100 // as a filename. If successful, return file handle, otherwise stdout 103 if (!_option || !strcmp("stdout", _option)) 104 log_output = stdout; 110 << layerName << " ERROR: Bad output filename specified: " << _option << ". Writing to STDOUT instead" 113 log_output = stdout;
|
/build/tools/releasetools/ |
target_files_diff.py | 147 proc = subprocess.Popen(['diff', f1, f2], stdout=subprocess.PIPE, 148 stderr=subprocess.STDOUT) 149 (stdout, _) = proc.communicate() 152 stdout = stdout.strip() 153 if stdout == 'Binary files %s and %s differ' % (f1, f2): 156 for line in stdout.strip().split('\n'): 224 help='The output file, otherwise it prints to stdout') 230 out_file = sys.stdout
|
/hardware/bsp/intel/peripheral/libupm/src/am2315/ |
am2315.cpp | 68 fprintf(stdout,"%s: Model: 0x%04x Version: 0x%02x ID: 0x%08x\n", 128 fprintf(stdout, "%s: Executing Sensor Test\n", m_name ); 148 fprintf(stdout, "%s: Humidity/Temp reading was unchanged - warning\n", 153 fprintf(stdout, "%s: Device appears functional\n", m_name ); 156 fprintf(stdout, "%s: Test complete\n", m_name ); 212 fprintf(stdout, "%s: Error, timeout writing sensor.\n", m_name); 222 fprintf(stdout, "%s: CRC error during write verification\n", m_name); 246 fprintf(stdout, "%s: Error, timeout reading sensor.\n", m_name); 259 fprintf(stdout, "%s: Read crc failed.\n", m_name);
|
/system/update_engine/common/ |
subprocess_unittest.cc | 141 {kBinPath "/sh", "-c", "echo this is stdout; echo this is stderr >&2"}, 142 base::Bind(&ExpectedResults, 0, "this is stdout\nthis is stderr\n"))); 148 {kBinPath "/sh", "-c", "echo on stdout; echo on stderr >&2"}, 151 base::Bind(&ExpectedResults, 0, "on stdout\n"))); 201 "echo -n stdout-here; echo -n stderr-there >&2"}; 203 string stdout; local 204 ASSERT_TRUE(Subprocess::SynchronousExec(cmd, &rc, &stdout)); 206 EXPECT_EQ("stdout-herestderr-there", stdout);
|
/cts/libs/deviceutil/src/android/cts/util/ |
SystemUtil.java | 64 StringBuffer stdout = new StringBuffer(); local 66 stdout.append(new String(buf, 0, bytesRead)); 69 return stdout.toString();
|
/external/autotest/client/common_lib/ |
smogcheck_util.py | 12 """Run a command in subprocess and return stdout. 19 out: a string, stdout of the command executed. 32 stdout=subprocess.PIPE,
|
/external/autotest/client/site_tests/graphics_SanAngeles/ |
graphics_SanAngeles.py | 69 report = re.findall(r'frame_rate = ([0-9.]+)', result.stdout) 71 raise error.TestFail('Could not find frame_rate in stdout (' + 72 result.stdout + ') ' + result.stderr)
|
/external/autotest/server/hosts/ |
ssh_host.py | 72 stdout, stderr, connect_timeout, env, options, stdin, args, 95 result = utils.run(full_cmd, timeout, True, stdout, stderr, 178 The command may redirect its stdin, stdout, or stderr as 189 # requirement. sshd won't terminate until stdin, stdout, 195 return self.run(cmd_fmt % command, verbose=verbose).stdout 219 in stdout or stderr to determine if the command was 230 @param stdout_ok_regexp: regexp that should be in stdout 232 @param stdout_err_regexp: regexp that should be in stdout 248 - If stdout_err_regexp is found in stdout, 250 - If stdout_ok_regexp is not found in stdout, [all...] |
/external/autotest/server/samples/ |
kvm_from_git.srv | 42 modversion = remote_host.run("modinfo -F version %s" %(module)).stdout.strip() 51 print g.run('uname -a').stdout.strip() 64 print g.run('uname -a').stdout.strip()
|
/external/blktrace/btt/ |
bt_timeline.c | 73 if (msgs_ofp != stdout) 75 if (rngs_ofp != stdout) 77 if (avgs_ofp != stdout)
|
/external/boringssl/src/tool/ |
rand.cc | 79 if (fwrite(hex_buf, todo*2, 1, stdout) != 1) { 83 if (fwrite(buf, todo, 1, stdout) != 1) { 90 if (hex && fwrite("\n", 1, 1, stdout) != 1) {
|
/external/compiler-rt/test/dfsan/ |
dump_labels.c | 2 // RUN: DFSAN_OPTIONS=dump_labels_at_exit=/dev/stdout %run %t 2>&1 | FileCheck %s 3 // RUN: DFSAN_OPTIONS=dump_labels_at_exit=/dev/stdout not %run %t c 2>&1 | FileCheck %s --check-prefix=CHECK-OOL 4 // RUN: DFSAN_OPTIONS=dump_labels_at_exit=/dev/stdout not %run %t u 2>&1 | FileCheck %s --check-prefix=CHECK-OOL
|
/external/deqp/framework/platform/ |
tcuMain.cpp | 40 // Set stdout to line-buffered mode (will be fully buffered by default if stdout is pipe). 41 setvbuf(stdout, DE_NULL, _IOLBF, 4*1024);
|
/external/google-benchmark/src/ |
colorprint.cc | 100 fflush(stdout); 105 fflush(stdout); 110 if (color_code) fprintf(stdout, "\033[0;3%sm", color_code);
|
/external/libmicrohttpd/src/testcurl/ |
test_options.c | 54 fprintf (stdout, "running test: %s ", test_name); 58 fprintf (stdout, "[pass]\n"); 62 fprintf (stdout, "[fail]\n");
|
/external/skia/tools/ |
merge_static_libs.py | 32 proc = subprocess.Popen([ar, '-t', in_lib], stdout=subprocess.PIPE) 36 proc = subprocess.Popen([ar, '-x', in_lib], stdout=subprocess.PIPE, 37 stderr=subprocess.STDOUT)
|
/external/valgrind/none/tests/s390x/ |
ex.c | 8 setbuf(stdout, NULL); 30 "lghi 2, 1\n\t" // stdout 47 "lghi 2, 1\n\t" // stdout
|
exrl.c | 8 setbuf(stdout, NULL); 28 "lghi 2, 1\n\t" // stdout 44 "lghi 2, 1\n\t" // stdout
|