/openjdk7/hotspot/test/compiler/6855164/ |
H A D | Test.java | 43 private static final int previousSpaceIndex(CharSequence sb, int seek) { argument 46 if (sb.charAt(seek) == ' ') { 47 while (seek > 0 && sb.charAt(seek - 1) == ' ')
|
/openjdk7/jdk/test/java/beans/Performance/ |
H A D | TestIntrospector.java | 106 StringBuilder sb = null; 109 sb = new StringBuilder(65536); 113 int count = (sb != null) ? 10 : 100; 116 test(sb); 117 test(sb); 124 private static void test(StringBuilder sb) throws IntrospectionException { argument 126 if (sb != null) { 127 sb.append("Time\t#Props\t#Events\t#Methods\tClass\n"); 128 sb.append("----------------------------------------"); 132 test(sb, typ 142 test(StringBuilder sb, Class type) argument [all...] |
/openjdk7/jdk/test/javax/swing/JScrollBar/6542335/ |
H A D | bug6542335.java | 39 private static JScrollBar sb; field in class:bug6542335 55 sb = new JScrollBar(0, 0, 1, 0, 1); 58 sb.setUI(ui); 60 sb.setPreferredSize(new Dimension(200, 17)); 67 sb.setModel(rangeModel); 68 frame.add(sb, BorderLayout.NORTH); 81 Point l = sb.getLocationOnScreen(); 83 robot.mouseMove(l.x + (int) (0.75 * sb.getWidth()), l.y + sb.getHeight() / 2);
|
/openjdk7/langtools/test/tools/javac/ |
H A D | QualifiedOuterThis.java | 36 static StringBuffer sb = new StringBuffer(); field in class:QualifiedOuterThis 37 public String toString() { sb.append('X'); return "X"; } 40 public String toString() { sb.append('Y'); return "Y"; } 42 public String toString() { sb.append('Z'); return "Z"; } 58 System.out.println(sb.toString()); 59 if (!sb.toString().equals("ZYX")) {
|
/openjdk7/jdk/src/solaris/native/sun/management/ |
H A D | FileSystemImpl.c | 49 struct stat64 sb; local 50 if (stat64(path, &sb) == 0) { 51 res = ((sb.st_mode & (S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) == 0) ? JNI_TRUE : JNI_FALSE;
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | StringBufferPool.java | 52 * @param sb Must be a non-null reference to a string buffer. 54 public synchronized static void free(FastStringBuffer sb) argument 59 sb.setLength(0); 60 m_stringBufPool.freeInstance(sb);
|
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | BeanDescriptor.java | 105 void appendTo(StringBuilder sb) { argument 106 appendTo(sb, "beanClass", this.beanClassRef); 107 appendTo(sb, "customizerClass", this.customizerClassRef);
|
H A D | IndexedPropertyChangeEvent.java | 75 void appendTo(StringBuilder sb) { argument 76 sb.append("; index=").append(getIndex());
|
H A D | PropertyChangeEvent.java | 152 StringBuilder sb = new StringBuilder(getClass().getName()); 153 sb.append("[propertyName=").append(getPropertyName()); 154 appendTo(sb); 155 sb.append("; oldValue=").append(getOldValue()); 156 sb.append("; newValue=").append(getNewValue()); 157 sb.append("; propagationId=").append(getPropagationId()); 158 sb.append("; source=").append(getSource()); 159 return sb.append("]").toString(); 162 void appendTo(StringBuilder sb) { argument
|
H A D | MethodDescriptor.java | 217 void appendTo(StringBuilder sb) { argument 218 appendTo(sb, "method", this.methodRef); 220 sb.append("; parameterDescriptors={"); 222 sb.append(pd).append(", "); 224 sb.setLength(sb.length() - 2); 225 sb.append("}");
|
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/ |
H A D | StringElementHandler.java | 54 private StringBuilder sb = new StringBuilder(); field in class:StringElementHandler 64 if (this.sb == null) { 67 this.sb.append(ch); 77 if (this.sb == null) { 80 this.sb.append(argument); 90 if (this.sb != null) { 92 this.value = ValueObjectImpl.create(getValue(this.sb.toString())); 98 this.sb = null;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/ast/util/ |
H A D | CheckingSchemaBuilder.java | 67 * YourParsedPattern r = (YourParsedPattern)parseable.parse(sb); 71 * YourParsedPattern r = (YourParsedPattern)parseable.parse(new CheckingSchemaBuilder(sb,eh)); 84 * @param sb 89 public CheckingSchemaBuilder( SchemaBuilder sb, ErrorHandler eh ) { argument 90 super(new SchemaBuilderImpl(eh),sb); 92 public CheckingSchemaBuilder( SchemaBuilder sb, ErrorHandler eh, DatatypeLibraryFactory dlf ) { argument 93 super(new SchemaBuilderImpl(eh,dlf,new SchemaPatternBuilder()),sb);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/ |
H A D | Parseable.java | 62 * @param sb 69 <P extends ParsedPattern> P parse(SchemaBuilder<?,P,?,?,?,?> sb) throws BuildException, IllegalSchemaException; argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/soap/ |
H A D | SOAPBindingImpl.java | 44 public SOAPBindingImpl(SOAPBinding sb) { argument 45 this.use = sb.getUse(); 46 this.style = sb.getStyle(); 47 this.soapVersion = sb.getSOAPVersion(); 48 this.soapAction = sb.getSOAPAction();
|
/openjdk7/jdk/test/java/io/InputStreamReader/ |
H A D | One.java | 38 StringBuffer sb; field in class:One.Test 43 sb = new StringBuffer(expect.length()); 50 if (!expect.equals(sb.toString())) 52 + ", got " + sb.toString()); 69 sb.append((char)c); 79 sb.append(cb[0]); 90 sb.append(cb[0]); 92 sb.append(cb[1]);
|
/openjdk7/langtools/test/tools/javac/6400383/ |
H A D | T6400383.java | 68 sb.append((char) i); 72 sb.setLength(0); 76 return sb.toString(); 79 private StringBuilder sb = new StringBuilder(); field in class:T6400383.StringStream
|
/openjdk7/langtools/test/tools/javac/AccessMethods/ |
H A D | ChainedAssignment.java | 41 static private int sb = 0; field in class:ChainedAssignment 65 sa = sb = 1; 66 if (sa != 1 || sb != 1) { 69 System.out.println(sa + " " + sb + " " + sc); 70 sa = sb = sc; 71 if (sa != 0 || sb != 0) { 74 System.out.println(sa + " " + sb + " " + sc); 75 sa = sb += 5; 76 if (sa != 5 || sb != 5) { 79 System.out.println(sa + " " + sb [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XHorizontalScrollbar.java | 36 public XHorizontalScrollbar(XScrollbarClient sb) { argument 37 super(ALIGNMENT_HORIZONTAL, sb);
|
H A D | XVerticalScrollbar.java | 34 public XVerticalScrollbar(XScrollbarClient sb) { argument 35 super(ALIGNMENT_VERTICAL, sb);
|
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | PosixFilePermissions.java | 41 // Write string representation of permission bits to {@code sb}. 42 private static void writeBits(StringBuilder sb, boolean r, boolean w, boolean x) { argument 44 sb.append('r'); 46 sb.append('-'); 49 sb.append('w'); 51 sb.append('-'); 54 sb.append('x'); 56 sb.append('-'); 74 StringBuilder sb = new StringBuilder(9); 75 writeBits(sb, perm [all...] |
/openjdk7/jdk/src/share/classes/java/util/logging/ |
H A D | XMLFormatter.java | 50 private void a2(StringBuffer sb, int x) { argument 52 sb.append('0'); 54 sb.append(x); 58 private void appendISO8601(StringBuffer sb, long millis) { argument 60 sb.append(date.getYear() + 1900); 61 sb.append('-'); 62 a2(sb, date.getMonth() + 1); 63 sb.append('-'); 64 a2(sb, date.getDate()); 65 sb 76 escape(StringBuffer sb, String text) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/transforms/implementations/ |
H A D | TransformBase64Decode.java | 115 StringBuffer sb=new StringBuffer(); 116 traverseElement((Element)el,sb); 118 byte[] decodedBytes = Base64.decode(sb.toString()); 121 Base64.decode(sb.toString(),os); 158 StringBuffer sb = new StringBuffer(); 159 traverseElement(rootNode,sb); 160 byte[] decodedBytes = Base64.decode(sb.toString()); 173 void traverseElement(org.w3c.dom.Element node,StringBuffer sb) { argument 178 traverseElement((Element)sibling,sb); 181 sb [all...] |
/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | CalendarUtils.java | 156 public static final StringBuilder sprintf0d(StringBuilder sb, int value, int width) { argument 159 sb.append('-'); 168 sb.append('0'); 171 sb.append(d); 172 return sb; 175 public static final StringBuffer sprintf0d(StringBuffer sb, int value, int width) { argument 178 sb.append('-'); 187 sb.append('0'); 190 sb.append(d); 191 return sb; [all...] |
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/ |
H A D | SBCS.java | 63 private static void toString(char[] sb, int off, int end, argument 71 char c = sb[off++]; 124 char[] sb = new char[0x100]; 127 Arrays.fill(sb, UNMAPPABLE_DECODING); 137 sb[e.bs] = (char)e.cp; 149 toString(sb, 0x80, 0x100, fm, "+", true); 150 toString(sb, 0x00, 0x80, fm, ";", true);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/digested/ |
H A D | GrammarBuilderImpl.java | 73 protected final DSchemaBuilderImpl sb; field in class:GrammarBuilderImpl 81 public GrammarBuilderImpl(DGrammarPattern p, Scope parent, DSchemaBuilderImpl sb) { argument 84 this.sb = sb; 127 return new IncludeImpl(grammar,parent,sb);
|