Searched refs:cst (Results 1 - 25 of 31) sorted by relevance

12

/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/tree/
H A DLdcInsnNode.java78 public Object cst; field in class:LdcInsnNode
83 * @param cst
88 public LdcInsnNode(final Object cst) { argument
90 this.cst = cst;
100 mv.visitLdcInsn(cst);
106 return new LdcInsnNode(cst).cloneAnnotations(this);
/openjdk10/jdk/src/java.base/share/classes/java/lang/invoke/
H A DTypeConvertingMethodAdapter.java284 void iconst(final int cst) { argument
285 if (cst >= -1 && cst <= 5) {
286 mv.visitInsn(Opcodes.ICONST_0 + cst);
287 } else if (cst >= Byte.MIN_VALUE && cst <= Byte.MAX_VALUE) {
288 mv.visitIntInsn(Opcodes.BIPUSH, cst);
289 } else if (cst >= Short.MIN_VALUE && cst <= Short.MAX_VALUE) {
290 mv.visitIntInsn(Opcodes.SIPUSH, cst);
[all...]
H A DStringConcatFactory.java1167 private static void iconst(MethodVisitor mv, final int cst) { argument
1168 if (cst >= -1 && cst <= 5) {
1169 mv.visitInsn(Opcodes.ICONST_0 + cst);
1170 } else if (cst >= Byte.MIN_VALUE && cst <= Byte.MAX_VALUE) {
1171 mv.visitIntInsn(Opcodes.BIPUSH, cst);
1172 } else if (cst >= Short.MIN_VALUE && cst <= Short.MAX_VALUE) {
1173 mv.visitIntInsn(Opcodes.SIPUSH, cst);
[all...]
H A DInvokerBytecodeGenerator.java403 private void emitIconstInsn(final int cst) { argument
404 if (cst >= -1 && cst <= 5) {
405 mv.visitInsn(Opcodes.ICONST_0 + cst);
406 } else if (cst >= Byte.MIN_VALUE && cst <= Byte.MAX_VALUE) {
407 mv.visitIntInsn(Opcodes.BIPUSH, cst);
408 } else if (cst >= Short.MIN_VALUE && cst <= Short.MAX_VALUE) {
409 mv.visitIntInsn(Opcodes.SIPUSH, cst);
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/
H A DInstructionAdapter.java660 public void visitLdcInsn(final Object cst) { argument
661 if (cst instanceof Integer) {
662 int val = ((Integer) cst).intValue();
664 } else if (cst instanceof Byte) {
665 int val = ((Byte) cst).intValue();
667 } else if (cst instanceof Character) {
668 int val = ((Character) cst).charValue();
670 } else if (cst instanceof Short) {
671 int val = ((Short) cst).intValue();
673 } else if (cst instanceo
724 aconst(final Object cst) argument
732 iconst(final int cst) argument
744 lconst(final long cst) argument
752 fconst(final float cst) argument
761 dconst(final double cst) argument
[all...]
H A DCodeSizeEvaluator.java212 public void visitLdcInsn(final Object cst) { argument
213 if (cst instanceof Long || cst instanceof Double) {
221 mv.visitLdcInsn(cst);
H A DAnalyzerAdapter.java436 public void visitLdcInsn(final Object cst) { argument
438 mv.visitLdcInsn(cst);
444 if (cst instanceof Integer) {
446 } else if (cst instanceof Long) {
449 } else if (cst instanceof Float) {
451 } else if (cst instanceof Double) {
454 } else if (cst instanceof String) {
456 } else if (cst instanceof Type) {
457 int sort = ((Type) cst).getSort();
465 } else if (cst instanceo
[all...]
H A DAdviceAdapter.java415 public void visitLdcInsn(final Object cst) { argument
416 mv.visitLdcInsn(cst);
419 if (cst instanceof Double || cst instanceof Long) {
H A DRemappingMethodAdapter.java208 public void visitLdcInsn(Object cst) { argument
209 super.visitLdcInsn(remapper.mapValue(cst));
H A DMethodRemapper.java205 public void visitLdcInsn(Object cst) { argument
206 super.visitLdcInsn(remapper.mapValue(cst));
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DClassWriter.java884 * @param cst the value of the constant to be added to the constant pool.
890 Item newConstItem(final Object cst) { argument
891 if (cst instanceof Integer) {
892 int val = ((Integer) cst).intValue();
894 } else if (cst instanceof Byte) {
895 int val = ((Byte) cst).intValue();
897 } else if (cst instanceof Character) {
898 int val = ((Character) cst).charValue();
900 } else if (cst instanceof Short) {
901 int val = ((Short) cst)
939 newConst(final Object cst) argument
[all...]
H A DMethodVisitor.java309 * @param cst the constant to be loaded on the stack. This parameter must be
315 void visitLdcInsn(Object cst); argument
H A DMethodAdapter.java165 public void visitLdcInsn(final Object cst) { argument
166 mv.visitLdcInsn(cst);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/
H A DBasicInterpreter.java148 Object cst = ((LdcInsnNode) insn).cst;
149 if (cst instanceof Integer) {
151 } else if (cst instanceof Float) {
153 } else if (cst instanceof Long) {
155 } else if (cst instanceof Double) {
157 } else if (cst instanceof String) {
159 } else if (cst instanceof Type) {
160 int sort = ((Type) cst).getSort();
168 + cst);
[all...]
H A DSourceInterpreter.java108 Object cst = ((LdcInsnNode) insn).cst;
109 size = cst instanceof Long || cst instanceof Double ? 2 : 1;
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/util/
H A DASMifier.java729 public void visitLdcInsn(final Object cst) { argument
732 appendConstant(cst);
1132 * @param cst
1136 protected void appendConstant(final Object cst) { argument
1137 appendConstant(buf, cst);
1146 * @param cst
1150 static void appendConstant(final StringBuffer buf, final Object cst) { argument
1151 if (cst == null) {
1153 } else if (cst instanceof String) {
1154 appendString(buf, (String) cst);
[all...]
H A DCheckMethodAdapter.java813 public void visitLdcInsn(final Object cst) { argument
816 checkLDCConstant(cst);
817 super.visitLdcInsn(cst);
1183 * @param cst
1186 static void checkConstant(final Object cst) { argument
1187 if (!(cst instanceof Integer) && !(cst instanceof Float)
1188 && !(cst instanceof Long) && !(cst instanceof Double)
1189 && !(cst instanceo
1194 checkLDCConstant(final Object cst) argument
[all...]
H A DTextifier.java893 Object cst = bsmArgs[i];
894 if (cst instanceof String) {
895 Printer.appendString(buf, (String) cst);
896 } else if (cst instanceof Type) {
897 Type type = (Type) cst;
903 } else if (cst instanceof Handle) {
904 appendHandle((Handle) cst);
906 buf.append(cst);
936 public void visitLdcInsn(final Object cst) { argument
939 if (cst instanceo
[all...]
H A DTraceMethodVisitor.java226 public void visitLdcInsn(final Object cst) { argument
227 p.visitLdcInsn(cst);
228 super.visitLdcInsn(cst);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/
H A DClassWriter.java1048 * @param cst
1055 Item newConstItem(final Object cst) { argument
1056 if (cst instanceof Integer) {
1057 int val = ((Integer) cst).intValue();
1059 } else if (cst instanceof Byte) {
1060 int val = ((Byte) cst).intValue();
1062 } else if (cst instanceof Character) {
1063 int val = ((Character) cst).charValue();
1065 } else if (cst instanceof Short) {
1066 int val = ((Short) cst)
1113 newConst(final Object cst) argument
[all...]
H A DMethodVisitor.java585 * if (cst instanceof Integer) {
587 * } else if (cst instanceof Float) {
589 * } else if (cst instanceof Long) {
591 * } else if (cst instanceof Double) {
593 * } else if (cst instanceof String) {
595 * } else if (cst instanceof Type) {
596 * int sort = ((Type) cst).getSort();
606 * } else if (cst instanceof Handle) {
613 * @param cst
622 public void visitLdcInsn(Object cst) { argument
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/
H A DNashornTextifier.java522 for (final Object cst : bsmArgs) {
523 if (cst instanceof String) {
524 appendStr(sb, (String)cst);
525 } else if (cst instanceof Type) {
526 sb.append(((Type)cst).getDescriptor()).append(".class");
527 } else if (cst instanceof Handle) {
528 appendHandle(sb, (Handle)cst);
529 } else if (cst instanceof Integer && isNashornBootstrap) {
530 NashornCallSiteDescriptor.appendFlags((Integer) cst, sb);
531 } else if (cst instanceo
614 visitLdcInsn(final Object cst) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/calc/
H A DIntegerLessThanNode.java137 long cst = mirrored ? -primitive.asLong() : primitive.asLong();
139 if (cst == 0) {
145 } else if (cst == 1) {
155 } else if (cst <= -1) {
158 assert cst >= 2;
H A DIntegerEqualsNode.java111 long cst = primitive.asLong();
113 if (cst == 0) {
119 } else if (cst == 1) {
125 } else if (cst == -1) {
/openjdk10/hotspot/test/compiler/jsr292/
H A DRedefineMethodUsedByMultipleMethodHandles.java176 public void visitLdcInsn(Object cst) {
177 System.out.println("replacing \"" + cst + "\" with \"bar\"");

Completed in 217 milliseconds

12