| /OK3568_Linux_fs/kernel/tools/pci/ |
| H A D | pcitest.c | 55 fprintf(stdout, "BAR%d:\t\t", test->barnum); in run_test() 57 fprintf(stdout, "TEST FAILED\n"); in run_test() 59 fprintf(stdout, "%s\n", result[ret]); in run_test() 64 fprintf(stdout, "SET IRQ TYPE TO %s:\t\t", irq[test->irqtype]); in run_test() 66 fprintf(stdout, "FAILED\n"); in run_test() 68 fprintf(stdout, "%s\n", result[ret]); in run_test() 73 fprintf(stdout, "GET IRQ TYPE:\t\t"); in run_test() 75 fprintf(stdout, "FAILED\n"); in run_test() 77 fprintf(stdout, "%s\n", irq[ret]); in run_test() 82 fprintf(stdout, "CLEAR IRQ:\t\t"); in run_test() [all …]
|
| /OK3568_Linux_fs/u-boot/tools/patman/ |
| H A D | cros_subprocess.py | 56 def __init__(self, args, stdin=None, stdout=PIPE_PTY, stderr=PIPE_PTY, argument 76 if stdout == PIPE_PTY: 78 stdout = os.fdopen(stdout_pty[1]) 84 stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, env=env, 95 self.stdout = os.fdopen(stdout_pty[0]) 146 stdout = None # Return 157 if self.stdout: 158 read_set.append(self.stdout) 159 stdout = [] 160 if self.stderr and self.stderr != self.stdout: [all …]
|
| H A D | command.py | 21 self.stdout = None 27 def __init__(self, stdout='', stderr='', combined='', return_code=0, argument 29 self.stdout = stdout 76 kwargs['stdin'] = last_pipe.stdout 96 result.stdout, result.stderr, result.combined = ( 98 if result.stdout and oneline: 99 result.output = result.stdout.rstrip('\r\n') 109 return RunPipe([cmd], capture=True, raise_on_error=raise_on_error).stdout 115 **kwargs).stdout.strip()) 118 return RunPipe([cmd], **kwargs).stdout [all …]
|
| H A D | gitutil.py | 65 stdout = command.RunPipe(pipe, capture=True, oneline=True).stdout 66 patch_count = int(stdout) 79 stdout = command.RunPipe([pipe], capture=True, oneline=True).stdout 82 name = stdout.split(' ')[1].strip() 106 for line in result.stdout.splitlines()[1:]: 177 patch_count = len(result.stdout.splitlines()) 205 stdout = command.RunPipe(pipe, capture=True, oneline=True).stdout 206 patch_count = int(stdout) 280 stdout = command.RunList(cmd) 281 files = stdout.splitlines()
|
| H A D | tout.py | 146 def Init(_verbose=WARNING, stdout=sys.stdout): argument 158 _stdout = stdout 161 stdout_is_tty = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | devlink_port_split.py | 30 p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True) 31 stdout, stderr = p.communicate() 32 stdout, stderr = stdout.decode(), stderr.decode() 36 print(stdout) 38 return stdout, stderr 56 stdout, stderr = run_command(cmd) 58 ports = json.loads(stdout)['port'] 78 stdout, stderr = run_command(cmd) 80 values = list(json.loads(stdout)['port'].values())[0] 96 stdout, stderr = run_command(cmd) [all …]
|
| /OK3568_Linux_fs/kernel/tools/gpio/ |
| H A D | gpio-hammer.c | 55 fprintf(stdout, "Hammer lines ["); in hammer_device() 57 fprintf(stdout, "%d", lines[i]); in hammer_device() 59 fprintf(stdout, ", "); in hammer_device() 61 fprintf(stdout, "] on %s, initial states: [", device_name); in hammer_device() 63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); in hammer_device() 65 fprintf(stdout, ", "); in hammer_device() 67 fprintf(stdout, "]\n"); in hammer_device() 85 fprintf(stdout, "[%c] ", swirr[j]); in hammer_device() 90 fprintf(stdout, "["); in hammer_device() 92 fprintf(stdout, "%d: %d", lines[i], in hammer_device() [all …]
|
| H A D | lsgpio.c | 77 fprintf(stdout, field_format, flagnames[i].name); in print_attributes() 84 fprintf(stdout, field_format, "both-edges"); in print_attributes() 86 fprintf(stdout, field_format, "rising-edge"); in print_attributes() 88 fprintf(stdout, field_format, "falling-edge"); in print_attributes() 92 fprintf(stdout, ", debounce_period=%dusec", in print_attributes() 123 fprintf(stdout, "GPIO chip: %s, \"%s\", %u GPIO lines\n", in list_device() 139 fprintf(stdout, "\tline %2d:", linfo.offset); in list_device() 141 fprintf(stdout, " \"%s\"", linfo.name); in list_device() 143 fprintf(stdout, " unnamed"); in list_device() 145 fprintf(stdout, " \"%s\"", linfo.consumer); in list_device() [all …]
|
| H A D | gpio-event-mon.c | 72 fprintf(stdout, "Monitoring line %d on %s\n", lines[0], device_name); in monitor_device() 73 fprintf(stdout, "Initial line value: %d\n", in monitor_device() 76 fprintf(stdout, "Monitoring lines %d", lines[0]); in monitor_device() 78 fprintf(stdout, ", %d", lines[i]); in monitor_device() 79 fprintf(stdout, " and %d on %s\n", lines[i], device_name); in monitor_device() 80 fprintf(stdout, "Initial line values: %d", in monitor_device() 83 fprintf(stdout, ", %d", in monitor_device() 85 fprintf(stdout, " and %d\n", in monitor_device() 110 fprintf(stdout, "GPIO EVENT at %" PRIu64 " on line %d (%d|%d) ", in monitor_device() 115 fprintf(stdout, "rising edge"); in monitor_device() [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ddr_tool/memtester/ |
| H A D | tests.c | 77 fflush(stdout); in test_stuck_address() 82 fflush(stdout); in test_stuck_address() 89 fflush(stdout); in test_stuck_address() 107 fflush(stdout); in test_stuck_address() 113 fflush(stdout); in test_stuck_address() 126 fflush(stdout); in test_random_value() 132 fflush(stdout); in test_random_value() 136 fflush(stdout); in test_random_value() 257 fflush(stdout); in test_solidbits_comparison() 269 fflush(stdout); in test_solidbits_comparison() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | process.py | 42 def __init__(self, command, exitcode, stdout = None, stderr = None): argument 45 self.stdout = stdout 53 if self.stdout: 54 message += self.stdout 84 if pipe.stdout is not None: 85 bb.utils.nonblockingfd(pipe.stdout.fileno()) 86 rin.append(pipe.stdout) 118 if pipe.stdout in r: 119 data = stdoutbuf + pipe.stdout.read() 152 if pipe.stdout is not None: [all …]
|
| H A D | daemonize.py | 28 sys.stdout.flush() 81 os.dup2(so.fileno(), sys.stdout.fileno()) 84 sys.stdout = so 88 sys.stderr = sys.stdout 99 sys.stdout.flush()
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | netlink_dumper.h | 19 fprintf(stdout, "%s {", name); \ 28 fprintf(stdout, "{"); \ 36 fprintf(stdout, "}"); \ 50 fprintf(stdout, "\n"); \ 59 fprintf(stdout, fmt_str, name); \ 68 fprintf(stdout, "%s", endstr); \ 76 fprintf(stdout, fmt_str, val); \ 84 fprintf(stdout, fmt_str, str); \ 92 fprintf(stdout, "%s ", str); \
|
| /OK3568_Linux_fs/external/rockit/mpi/example/common/ |
| H A D | test_comm_argparse.cpp | 278 fprintf(stdout, "Usage: %s\n", *usages++); in argparse_usage() 280 fprintf(stdout, " or: %s\n", *usages++); in argparse_usage() 282 fprintf(stdout, "Usage:\n"); in argparse_usage() 287 fprintf(stdout, "%s\n", self->description); in argparse_usage() 289 fputc('\n', stdout); in argparse_usage() 328 fputc('\n', stdout); in argparse_usage() 329 fprintf(stdout, "%s", options->help); in argparse_usage() 330 fputc('\n', stdout); in argparse_usage() 333 pos = fprintf(stdout, " "); in argparse_usage() 335 pos += fprintf(stdout, "-%c", options->short_name); in argparse_usage() [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | debug.h | 48 do { fprintf(stdout, "(warn): "); fprintf(stdout, fmt, ##__VA_ARGS__); } while (0) 55 do { fprintf(stdout, "(msg): "); fprintf(stdout, fmt, ##__VA_ARGS__); } while (0) 62 do { fprintf(stdout, "(debug): "); fprintf(stdout, fmt, ##__VA_ARGS__); } while (0) 69 do { fprintf(stdout, "(dump): "); fprintf(stdout, fmt, ##__VA_ARGS__); } while (0)
|
| H A D | common.h | 75 #define LOGE(...) fprintf(stdout, "E:" __VA_ARGS__) 76 #define LOGW(...) fprintf(stdout, "W:" __VA_ARGS__) 77 #define LOGI(...) fprintf(stdout, "I:" __VA_ARGS__) 80 #define LOGV(...) fprintf(stdout, "V:" __VA_ARGS__) 81 #define LOGD(...) fprintf(stdout, "D:" __VA_ARGS__)
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/prctl/ |
| H A D | disable-tsc-test.c | 47 fflush(stdout); in sigsegv_cb() 54 fflush(stdout); in sigsegv_cb() 69 fflush(stdout); in main() 77 fflush(stdout); in main() 84 fflush(stdout); in main() 90 fflush(stdout); in main() 92 fflush(stdout); in main()
|
| /OK3568_Linux_fs/buildroot/package/bc/ |
| H A D | 0002-notice-read-and-write-errors-on-input-and-output.patch | 10 `FILE', `stdin', `stdout' and `stderr' and added calls to new 54 + checkferror_output(stdout); 61 fflush (stdout); 62 + checkferror_output(stdout); 69 fflush (stdout); 70 + checkferror_output(stdout); 77 fflush (stdout); 78 + checkferror_output(stdout); 89 + checkferror_output(stdout); 124 + checkferror_output(stdout); [all …]
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | checkkconfigsymbols.py | 121 COLOR = args.color and sys.stdout.isatty() 227 stdout = subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=False) 228 stdout = stdout.decode(errors='replace') 231 return stdout 245 stdout = execute(["git", "status", "--porcelain"]) 246 for line in stdout: 254 stdout = execute(["git", "rev-parse", "HEAD"]) 255 return stdout.strip('\n') 293 stdout = execute(["git", "ls-files"]) 294 if len(stdout) > 0 and stdout[-1] == "\n": [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/db/ |
| H A D | test_db.py | 40 out, sys.stdout = sys.stdout, StringIO() 42 sys.stdout.seek(0) 43 yield sys.stdout.read() 44 sys.stdout = out
|
| /OK3568_Linux_fs/kernel/tools/perf/scripts/python/ |
| H A D | compaction-times.py | 192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem)) 202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val)) 206 sys.stdout.write("total: %s\n" % chead.str()) 249 sys.stdout.write(usage) 250 sys.stdout.write("\n") 251 sys.stdout.write("-h display this help\n") 252 sys.stdout.write("-p display by process\n") 253 sys.stdout.write("-pv display by process (verbose)\n") 254 sys.stdout.write("-t display stall times only\n") 255 sys.stdout.write("-m display stats for migration\n") [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_progs.h | 73 FILE *stdout; member 98 fprintf(stdout, "%s:FAIL:%d ", __func__, __LINE__); \ 99 fprintf(stdout, ##format); \ 107 fprintf(stdout, "%s:FAIL:%s ", __func__, tag); \ 108 fprintf(stdout, ##format); \ 110 fprintf(stdout, "%s:PASS:%s %d nsec\n", \ 122 fprintf(stdout, "%s:FAIL:%d\n", __func__, __LINE__); \
|
| /OK3568_Linux_fs/yocto/meta-browser/meta-firefox/recipes-browser/firefox/firefox/debian-hacks/ |
| H A D | Add-a-2-minutes-timeout-on-xpcshell-tests.patch | 26 - # Communicate returns a tuple of (stdout, stderr), however we always 27 - # redirect stderr to stdout, so the second element is ignored. 32 + (r, w, e) = select.select([proc.stdout], [], [], 120) 37 + line = proc.stdout.read(1) 43 + # Communicate returns a tuple of (stdout, stderr), however we always 44 + # redirect stderr to stdout, so the second element is ignored.
|
| /OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/atm/ |
| H A D | cxacru-cf.py | 39 sys.stdout.write("\n") 44 sys.stdout.write(" ") 45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0])) 48 sys.stdout.write("\n")
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/ |
| H A D | __init__.py | 44 if sys.stdout.isatty(): 58 cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **options 61 reader = codecs.getreader('utf-8')(process.stdout) 66 sys.stdout.write(out) 67 sys.stdout.flush() 203 stdout, _ = bb.process.run('git status --porcelain', cwd=repodir) 204 if not stdout: 366 stdout, _ = bb.process.run('git status --porcelain', cwd=repodir) 367 return stdout 371 stdout, _ = bb.process.run('git rev-parse --show-toplevel', cwd=srctree) [all …]
|