/openjdk7/jdk/src/macosx/native/jobjc/ |
H A D | run-and-write-if-okay | 31 `EXEC 2>&1`. If it returns successfully, it writes the output to OUTPATH. 32 This script will return successfully unless writing the output fails. 40 output = `#{EXECPATH}` 41 puts output 44 puts "Writing output of #{EXECPATH} to #{OUTPATH}" 45 File.open(OUTPATH, 'w') {|f| f.write(output) }
|
/openjdk7/hotspot/test/runtime/NMT/ |
H A D | ThreadedVirtualAllocTestType.java | 43 OutputAnalyzer output; 59 output = new OutputAnalyzer(pb.start()); 60 output.shouldContain("Test (reserved=512KB, committed=0KB)"); 61 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + reserveSize) + "\\] reserved 512KB for Test"); 73 output = new OutputAnalyzer(pb.start()); 74 output.shouldContain("Test (reserved=512KB, committed=128KB)"); 75 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + commitSize) + "\\] committed 128KB"); 87 output = new OutputAnalyzer(pb.start()); 88 output.shouldContain("Test (reserved=512KB, committed=0KB)"); 89 output [all...] |
H A D | BaselineWithParameter.java | 40 OutputAnalyzer output; 50 output = new OutputAnalyzer(pb.start()); 51 output.shouldContain("No command to execute");
|
H A D | MallocTestType.java | 40 OutputAnalyzer output; 61 output = new OutputAnalyzer(pb.start()); 62 output.shouldContain("Test (reserved=512KB, committed=512KB)"); 71 output = new OutputAnalyzer(pb.start()); 72 output.shouldNotContain("Test (reserved=");
|
H A D | JcmdDiffCallsite.java | 41 OutputAnalyzer output; 68 output = new OutputAnalyzer(pb.start()); 77 output = new OutputAnalyzer(pb.start()); 78 output.shouldContain("(malloc=0");
|
/openjdk7/jdk/test/java/lang/instrument/PremainClass/ |
H A D | NoPremainAgent.sh | 56 -classpath "${TESTCLASSES}" DummyMain > output.log 2>&1 57 cat output.log 60 grep "$MESG" output.log 63 echo "PASS: found '$MESG' in the test output" 65 echo "FAIL: did NOT find '$MESG' in the test output"
|
H A D | ZeroArgPremainAgent.sh | 56 -classpath "${TESTCLASSES}" DummyMain > output.log 2>&1 57 cat output.log 60 grep "$MESG" output.log 63 echo "PASS: found '$MESG' in the test output" 65 echo "FAIL: did NOT find '$MESG' in the test output"
|
/openjdk7/jdk/test/java/lang/instrument/ |
H A D | StressGetObjectSizeTest.sh | 56 > output.log 2>&1 57 cat output.log 60 grep "$MESG" output.log 63 echo "FAIL: found '$MESG' in the test output" 66 echo "PASS: did NOT find '$MESG' in the test output"
|
/openjdk7/langtools/test/tools/javac/ |
H A D | T6534287.java | 38 String output = sw.toString(); 39 System.err.println("output from javac: "); 40 System.err.println(output); 41 if (output.indexOf("Exception") != -1) 42 throw new Exception("exception in output from javac");
|
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | ByteToCharASCII.java | 41 public int flush(char[] output, int outStart, int outEnd) { argument 51 char[] output, int outOff, int outEnd) 62 // If we don't have room for the output, throw an exception 70 output[charOff++] = (char)inputByte; 73 output[charOff++] = '\uFFFD'; // Replace Char 81 // Return the length written to the output buffer 50 convert(byte[] input, int inOff, int inEnd, char[] output, int outOff, int outEnd) argument
|
H A D | ByteToCharConverter.java | 55 * Offset of next character to be output 105 * @return the number of bytes written to output. 109 * @param output character array to receive conversion result. 110 * @param outStart start writing to output array at this offset. 111 * @param outEnd stop writing to output array at this offset (exclusive). 117 * @exception ConversionBufferFullException if output array is filled prior 121 char[] output, int outStart, int outEnd) 162 char[] output = new char[ getMaxCharsPerByte() * input.length ]; 166 output, 0, output 120 convert(byte[] input, int inStart, int inEnd, char[] output, int outStart, int outEnd) argument 203 flush( char[] output, int outStart, int outEnd ) argument [all...] |
H A D | ByteToCharISO8859_1.java | 41 public int flush(char[] output, int outStart, int outEnd) { argument 51 char[] output, int outOff, int outEnd) 65 output[outOff++] = (char) (0xff & input[inOff++]); 72 // If we don't have room for the output, throw an exception 76 // Return the length written to the output buffer 50 convert(byte[] input, int inOff, int inEnd, char[] output, int outOff, int outEnd) argument
|
H A D | CharToByteConverter.java | 60 * Offset of next byte to be output. 104 * @return the number of bytes written to output. 108 * @param output byte array to receive conversion result. 109 * @param outStart start writing to output array at this offset. 110 * @param outEnd stop writing to output array at this offset (exclusive). 120 * @exception ConversionBufferFullException if output array is filled prior 124 byte[] output, int outStart, int outEnd) 137 * @return the number of bytes written to output. 141 * @param output byte array to receive conversion result. 142 * @param outStart start writing to output arra 123 convert(char[] input, int inStart, int inEnd, byte[] output, int outStart, int outEnd) argument 147 convertAny(char[] input, int inStart, int inEnd, byte[] output, int outStart, int outEnd) argument 271 flush( byte[] output, int outStart, int outEnd ) argument 289 flushAny( byte[] output, int outStart, int outEnd ) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | BitFile.java | 33 * Modified - to allow for output compressed data without the block counts 37 ImageOutputStream output; field in class:BitFile 46 * @param output destination for output data 47 * @param blocks GIF LZW requires block counts for output data 49 public BitFile(ImageOutputStream output, boolean blocks) { argument 50 this.output = output; 61 output.write(numBytes); 63 output [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/ |
H A D | Pcdata.java | 26 package com.sun.xml.internal.bind.v2.runtime.output; 57 public abstract void writeTo(UTF8XmlOutput output) throws IOException; argument
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | diagnosticCommand.hpp | 44 HelpDCmd(outputStream* output, bool heap); 58 VersionDCmd(outputStream* output, bool heap) : DCmd(output,heap) { } argument 70 CommandLineDCmd(outputStream* output, bool heap) : DCmd(output, heap) { } argument 85 PrintSystemPropertiesDCmd(outputStream* output, bool heap) : DCmd(output, heap) { } argument 102 PrintVMFlagsDCmd(outputStream* output, bool heap); 118 VMUptimeDCmd(outputStream* output, bool heap); 132 SystemGCDCmd(outputStream* output, boo argument 146 RunFinalizationDCmd(outputStream* output, bool heap) argument 289 JMXStopRemoteDCmd(outputStream *output, bool heap_allocated) argument [all...] |
H A D | diagnosticCommand.cpp | 64 HelpDCmd::HelpDCmd(outputStream* output, bool heap) : DCmdWithParser(output, heap), argument 79 output()->print_cr("%s%s", factory->name(), 81 output()->print_cr("\t%s", factory->description()); 82 output()->cr(); 91 output()->print_cr("%s%s", factory->name(), 93 output()->print_cr(factory->description()); 94 output()->print_cr("\nImpact: %s", factory->impact()); 95 output()->cr(); 96 cmd = factory->create_resource_instance(output()); 144 PrintVMFlagsDCmd(outputStream* output, bool heap) argument 213 VMUptimeDCmd(outputStream* output, bool heap) argument 253 HeapDumpDCmd(outputStream* output, bool heap) argument 293 ClassHistogramDCmd(outputStream* output, bool heap) argument 318 ThreadDumpDCmd(outputStream* output, bool heap) argument 351 JMXStartRemoteDCmd(outputStream *output, bool heap_allocated) argument 527 JMXStartLocalDCmd(outputStream *output, bool heap_allocated) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | DocFinder.java | 135 * The class that encapsulates the output. 181 Output output = new Output(); 187 output.inlineTags = input.isFirstSentence ? 190 output.holder = input.method; 192 input.taglet.inherit(input, output); 195 if (output.inlineTags != null && output.inlineTags.length > 0) { 196 return output; 198 output.isValidInheritDocTag = false; 203 output [all...] |
/openjdk7/jdk/src/solaris/npt/ |
H A D | utf_md.c | 95 * Returns length or -1 if output overflows. 98 iconvConvert(iconv_t ic, char *bytes, int len, char *output, int outputMaxLen) argument 104 UTF_ASSERT(output); 107 output[0] = 0; 118 outbuf = output; 124 output[outputLen] = 0; 134 (void)memcpy(output, bytes, len); 135 output[len] = 0; 141 * Returns length or -1 if output overflows. 144 utf8ToPlatform(struct UtfInst*ui, jbyte *utf8, int len, char *output, in argument 165 utf8FromPlatform(struct UtfInst*ui, char *str, int len, jbyte *output, int outputMaxLen) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CipherOutputStream.java | 68 // the underlying output stream 69 private OutputStream output; field in class:CipherOutputStream 81 * <br>Note: if the specified output stream or cipher is 90 output = os; 98 * <br>Note: if the specified output stream is null, a 105 output = os; 110 * Writes the specified byte to this output stream. 120 output.write(obuffer); 127 * to this output stream. 146 * starting at offset <code>off</code> to this output strea [all...] |
/openjdk7/jdk/test/java/lang/management/OperatingSystemMXBean/ |
H A D | GetSystemLoadAverage.java | 91 String output = commandOutput(p); 97 output = output.substring(output.lastIndexOf(LOAD_AVERAGE_TEXT) + 99 System.out.println("Load average returned from uptime = " + output); 103 ? output.split(" ") 104 : output.split(","); 130 String output = commandOutput(r); 133 return output;
|
/openjdk7/jdk/src/share/classes/javax/imageio/spi/ |
H A D | ImageOutputStreamSpi.java | 42 * might output to a <code>File</code> or to a device such as a serial 46 * a pluggable service, it becomes possible to handle future output 97 * interface type that must be implemented by an output 125 * output streams created by this service provider. 139 * output streams created by this service provider. 152 * @param output an object of the class type returned by 162 * @exception IllegalArgumentException if <code>output</code> is 173 ImageOutputStream createOutputStreamInstance(Object output, argument 184 * @param output an object of the class type returned by 189 * @exception IllegalArgumentException if <code>output</cod 196 createOutputStreamInstance(Object output) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jps/ |
H A D | Jps.java | 65 StringBuilder output = new StringBuilder(); 70 output.append(String.valueOf(lvmid)); 73 System.out.println(output); 85 // already added the VM id to the output stream above. 95 output.append(" " + MonitoredVmUtil.mainClass(vm, 102 output.append(" " + mainArgs); 109 output.append(" " + jvmArgs); 116 output.append(" " + jvmFlags); 123 System.out.println(output); 141 output [all...] |
/openjdk7/jdk/test/java/beans/XMLEncoder/4741757/ |
H A D | AbstractTest.java | 38 ByteArrayOutputStream output = new ByteArrayOutputStream(); 40 XMLEncoder encoder = new XMLEncoder(output); 48 System.out.print(output); 50 ByteArrayInputStream input = new ByteArrayInputStream(output.toByteArray());
|
/openjdk7/langtools/test/tools/javap/ |
H A D | T4501660.java | 41 String output = javap("-classpath", testClasses, "-help", "T4501660"); 42 verify(output, 43 "-public", "-protected", "-private", // check -help output is present 44 "class T4501660" // check class output is present 63 void verify(String output, String... expects) { argument 65 if (output.indexOf(expect)< 0)
|