/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | FieldWriter.java | 77 private final ClassWriter cw; field in class:FieldWriter 130 * @param cw the class writer to which this field must be added. 138 final ClassWriter cw, 145 if (cw.firstField == null) { 146 cw.firstField = this; 148 cw.lastField.next = this; 150 cw.lastField = this; 151 this.cw = cw; 153 this.name = cw 137 FieldWriter( final ClassWriter cw, final int access, final String name, final String desc, final String signature, final Object value) argument [all...] |
H A D | AnnotationWriter.java | 73 private final ClassWriter cw; field in class:AnnotationWriter 123 * @param cw the class writer to which this annotation must be added. 131 final ClassWriter cw, 137 this.cw = cw; 151 bv.putShort(cw.newUTF8(name)); 154 bv.put12('s', cw.newUTF8((String) value)); 156 bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index); 159 bv.put12('Z', cw.newInteger(v).index); 161 bv.put12('C', cw 130 AnnotationWriter( final ClassWriter cw, final boolean named, final ByteVector bv, final ByteVector parent, final int offset) argument [all...] |
H A D | Attribute.java | 166 * @param cw the class to which this attribute must be added. This parameter 184 final ClassWriter cw, 214 * @param cw the class writer to be used to convert the attributes into byte 232 final ClassWriter cw, 241 cw.newUTF8(attr.type); 242 size += attr.write(cw, code, len, maxStack, maxLocals).length + 6; 252 * @param cw the class writer to be used to convert the attributes into byte 269 final ClassWriter cw, 278 ByteVector b = attr.write(cw, code, len, maxStack, maxLocals); 279 out.putShort(cw 183 write( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals) argument 231 getSize( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals) argument 268 put( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals, final ByteVector out) argument [all...] |
H A D | Frame.java | 615 * @param cw the ClassWriter to which this label belongs. 620 private void push(final ClassWriter cw, final String desc) { argument 621 int type = type(cw, desc); 633 * @param cw the ClassWriter to which this label belongs. 637 private static int type(final ClassWriter cw, final String desc) { argument 658 return OBJECT | cw.addType(t); 696 data = OBJECT | cw.addType(t); 776 * @param cw the ClassWriter to which this label belongs. 781 private int init(final ClassWriter cw, final int t) { argument 784 s = OBJECT | cw 816 initInputFrame( final ClassWriter cw, final int access, final Type[] args, final int maxLocals) argument 852 execute( final int opcode, final int arg, final ClassWriter cw, final Item item) argument 1277 merge(final ClassWriter cw, final Frame frame, final int edge) argument 1370 merge( final ClassWriter cw, int t, final int[] types, final int index) argument [all...] |
H A D | MethodWriter.java | 157 final ClassWriter cw; field in class:MethodWriter 188 * the ClassReader associated to this writer in <code>cw.cr</code>. More 190 * <code>cw.cr.b</code>. 196 * the ClassReader associated to this writer in <code>cw.cr</code>. More 198 * <code>cw.cr.b</code>. 429 * @param cw the class writer in which the method must be added. 442 final ClassWriter cw, 451 if (cw.firstMethod == null) { 452 cw.firstMethod = this; 454 cw 441 MethodWriter( final ClassWriter cw, final int access, final String name, final String desc, final String signature, final String[] exceptions, final boolean computeMaxs, final boolean computeFrames) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ |
H A D | ProcImageClassLoader.java | 49 ClassWriter cw = new ClassWriter(klass, bos); 50 cw.write();
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicSliderUI.java | 974 int cw = trackBounds.width; 979 g.drawLine(0, 0, cw - 1, 0); 982 g.drawLine(0, 3, cw, 3); 983 g.drawLine(cw, 0, cw, 3); 985 g.drawLine(1, 1, cw-2, 1); 1230 int cw = w / 2; 1231 g.fillRect(1, 1, w-3, h-1-cw); 1233 p.addPoint(1, h-cw); 1234 p.addPoint(cw [all...] |
H A D | BasicInternalFrameUI.java | 1330 int cx, cy, cw, ch; 1334 cw = frame.getWidth() - i.left - i.right; 1347 getNorthPane().setBounds(cx, cy, cw, size.height); 1357 cw, size.height); 1364 cw -= size.width; 1370 getEastPane().setBounds(cw - size.width, cy, size.width, ch); 1371 cw -= size.width; 1375 frame.getRootPane().setBounds(cx, cy, cw, ch);
|
/openjdk7/jdk/test/sun/misc/IoTrace/ |
H A D | IoTraceAgent.java | 125 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS); 126 cw.visit(V1_6, ACC_PUBLIC | ACC_SUPER | ACC_FINAL, "sun/misc/IoTrace", 147 MethodVisitor mv = cw.visitMethod(ACC_PUBLIC | ACC_STATIC, 172 MethodVisitor mv = cw.visitMethod(ACC_PRIVATE, "<init>", "()V", null, 179 cw.visitEnd(); 180 return cw.toByteArray();
|
/openjdk7/jdk/src/share/demo/applets/GraphicsTest/ |
H A D | GraphicsTest.java | 439 int cx, cy, cw, ch; 444 cw = bounds.width / 2, ch = bounds.height; 445 cw > 0 && ch > 0; 446 cx += step, cy += step, cw -= (step * 2), ch -= (step * 2), 449 shape.draw(g, cx, cy, cw, ch); 453 cw = bounds.width / 2, ch = bounds.height; 454 cw > 0 && ch > 0; 455 cx += step, cy += step, cw -= (step * 2), ch -= (step * 2)) { 462 shape.fill(g, cx, cy, cw, ch);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XContentWindow.java | 60 final XContentWindow cw = new XContentWindow(parentFrame, rec); 61 cw.xSetVisible(true); 62 return cw;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/ |
H A D | WrapperBeanGenerator.java | 105 ClassWriter cw = new ClassWriter(0); 106 //org.objectweb.asm.util.TraceClassVisitor cw = new org.objectweb.asm.util.TraceClassVisitor(actual, new java.io.PrintWriter(System.out)); 108 cw.visit(V1_5, ACC_PUBLIC + ACC_SUPER, replaceDotWithSlash(className), null, "java/lang/Object", null); 110 AnnotationVisitor root = cw.visitAnnotation("Ljavax/xml/bind/annotation/XmlRootElement;", true); 115 AnnotationVisitor type = cw.visitAnnotation("Ljavax/xml/bind/annotation/XmlType;", true); 128 FieldVisitor fv = cw.visitField(ACC_PUBLIC, field.fieldName, field.asmType.getDescriptor(), field.getSignature(), null); 167 MethodVisitor mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); 175 cw.visitEnd(); 251 return cw.toByteArray();
|
/openjdk7/jdk/test/java/lang/Appendable/ |
H A D | Basic.java | 130 private CharArrayWriter cw; 131 public void init(Appendable cw, String csn, String exp) { 132 this.cw = (CharArrayWriter)cw; 137 ck("CharArrayWriter.append(" + csn + ")", exp, cw.toString()); 139 public Appendable reset(Appendable cw) { 140 ((CharArrayWriter)cw).reset(); 141 return cw;
|
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gif.c | 84 int cx, cy, cw, ch; /* clamped coordinates */ local 148 cw = FIX_LENGTH(desc->Left, desc->Width, gif->SWidth); 246 initRect(&dstRect, cx, cy + ofs, cw, 287 cx, cy, cw, ch, 295 int lineSize = cw * splash->imageFormat.depthBytes;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/ |
H A D | Driver.java | 357 CodeWriter cw; 365 cw = opt.createCodeWriter(new ZipCodeWriter(os)); 367 cw = opt.createCodeWriter(); 370 cw = new ProgressCodeWriter(cw,listener, model.codeModel.countArtifacts()); 372 model.codeModel.build(cw);
|
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | BoundMethodHandle.java | 582 final ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS + ClassWriter.COMPUTE_FRAMES); 586 cw.visit(V1_6, ACC_PUBLIC + ACC_FINAL + ACC_SUPER, className, null, BMH, null); 587 cw.visitSource(sourceFile, null); 590 cw.visitField(ACC_PUBLIC + ACC_STATIC, "SPECIES_DATA", SPECIES_DATA_SIG, null, null).visitEnd(); 597 cw.visitField(ACC_FINAL, fieldName, fieldDesc, null, null).visitEnd(); 603 mv = cw.visitMethod(ACC_PUBLIC, "<init>", makeSignature(types, true), null, null); 627 mv = cw.visitMethod(ACC_PUBLIC + ACC_FINAL, "reinvokerTarget", "()" + MH_SIG, null, null); 637 mv = cw.visitMethod(ACC_PUBLIC + ACC_FINAL, "speciesData", MYSPECIES_DATA_SIG, null, null); 645 mv = cw.visitMethod(ACC_PUBLIC + ACC_FINAL, "clone", makeSignature("", false), null, E_THROWABLE); 668 mv = cw [all...] |
H A D | InvokerBytecodeGenerator.java | 80 private ClassWriter cw; field in class:InvokerBytecodeGenerator 212 int index = cw.newConst((Object) cpPlaceholder); // TODO check if aready in the constant pool 292 cw = new ClassWriter(ClassWriter.COMPUTE_MAXS + ClassWriter.COMPUTE_FRAMES); 293 cw.visit(Opcodes.V1_6, Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL + Opcodes.ACC_SUPER, className, null, superName, null); 294 cw.visitSource(sourceFile, null); 297 mv = cw.visitMethod(Opcodes.ACC_STATIC, invokerName, invokerDesc, null, null); 561 final byte[] classFile = cw.toByteArray(); 983 final byte[] classFile = cw.toByteArray(); 1057 final byte[] classFile = cw.toByteArray(); 1068 mv = cw [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ |
H A D | ClassDump.java | 129 ClassWriter cw = new ClassWriter(kls, os); 130 cw.write();
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/ |
H A D | ControlFlowScene.java | 284 ConnectionWidget cw = (ConnectionWidget) w; 285 cw.setSourceAnchor(AnchorFactory.createRectangularAnchor(findWidget(sourceNode))); 292 ConnectionWidget cw = (ConnectionWidget) w; 293 cw.setTargetAnchor(AnchorFactory.createRectangularAnchor(findWidget(targetNode)));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JPackage.java | 95 * @param cw The code writer being used to create this package 100 JPackage(String name, JCodeModel cw) { argument 101 this.owner = cw; 446 CodeWriter cw = rsrc.isResource() ? res : src; 447 OutputStream os = new BufferedOutputStream(cw.openBinary(this, rsrc.name()));
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GradientPaintContext.java | 66 int cw = cras.getWidth(); 70 if (cw >= iw && ch >= ih) { 73 if (cw * ch >= iw * ih) {
|
H A D | MultipleGradientPaintContext.java | 692 int cw = cras.getWidth(); 696 if (cw >= iw && ch >= ih) { 699 if (cw * ch >= iw * ih) {
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | VDrawingArea.c | 175 SetValues(cw, rw, nw, args, num_args) 176 Widget cw; 182 VDrawingAreaWidget current = (VDrawingAreaWidget)cw;
|
H A D | awt_MToolkit.c | 528 struct WidgetInfo *cw; local 530 for (cw = awt_winfo; cw != NULL; cw = cw->next) { 531 if (cw->widget == widget || cw->origin == widget) { 532 return cw; 597 struct WidgetInfo *cw; local 602 cw 626 struct WidgetInfo *cw; local [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ |
H A D | WsimportTool.java | 201 CodeWriter cw = new WSCodeWriter(options.sourceDir, options); 203 cw = new ProgressCodeWriter(cw, out); 204 options.getCodeModel().build(cw);
|