Home
last modified time | relevance | path

Searched refs:redirects (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DProcessImpl.java64 ProcessBuilder.Redirect[] redirects, in start() argument
96 if (redirects == null) { in start()
101 if (redirects[0] == Redirect.PIPE) in start()
103 else if (redirects[0] == Redirect.INHERIT) in start()
106 f0 = new FileInputStream(redirects[0].file()); in start()
112 if (redirects[1] == Redirect.PIPE) in start()
114 else if (redirects[1] == Redirect.INHERIT) in start()
117 f1 = new FileOutputStream(redirects[1].file(), in start()
118 redirects[1].append()); in start()
124 if (redirects[2] == Redirect.PIPE) in start()
[all …]
DProcessBuilder.java184 private Redirect[] redirects; field in ProcessBuilder
669 private Redirect[] redirects() {
670 if (redirects == null)
671 redirects = new Redirect[] {
674 return redirects;
705 redirects()[0] = source;
735 redirects()[1] = destination;
769 redirects()[2] = destination;
835 return (redirects == null) ? Redirect.PIPE : redirects[0];
849 return (redirects == null) ? Redirect.PIPE : redirects[1];
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java373 Redirect[] redirects = new Redirect[] { in testRedirect_equals() local
383 for (Redirect a : redirects) { in testRedirect_equals()
384 for (Redirect b : redirects) { in testRedirect_equals()