Searched refs:val (Results 26 - 50 of 1101) sorted by relevance

1234567891011>>

/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/optimize/
H A DSwitch02.java53 char val = staticCharVal != 0 ? staticCharVal : arg;
54 switch (val) {
56 result = 23212 / val;
59 result = 932991439 / val;
62 result = 47329561 / val;
65 result = 1950976984 / val;
68 result = 97105581 / val;
79 result = 99757362 / val;
82 result = 912573 / val;
87 result = 876765 / val;
[all...]
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DBadAttributeValueExpException.java50 private Object val; field in class:BadAttributeValueExpException
56 * @param val the inappropriate value.
58 public BadAttributeValueExpException (Object val) { argument
59 this.val = val == null ? null : val.toString();
67 return "BadAttributeValueException: " + val;
72 Object valObj = gf.get("val", null);
75 val = null;
77 val
[all...]
H A DNumericValueExp.java74 new ObjectStreamField("val", Number.class)
81 * @serialField val Number The numeric value
86 private Number val = 0.0; field in class:NumericValueExp
115 /** Creates a new NumericValue representing the numeric literal @{code val}.*/
116 NumericValueExp(Number val) argument
118 this.val = val;
125 if (val instanceof Long || val instanceof Integer)
127 return (double)(val
[all...]
/openjdk10/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/
H A DModifier.java46 public void modifyTest(TestEnvironment env, Object val); argument
48 public void restoreTest(TestEnvironment env, Object val); argument
52 public String getAbbreviatedModifierDescription(Object val); argument
54 public String getModifierValueName(Object val); argument
63 public boolean isCompatible(Object val); argument
/openjdk10/jdk/src/java.base/share/classes/java/io/
H A DBits.java84 static void putBoolean(byte[] b, int off, boolean val) { argument
85 b[off] = (byte) (val ? 1 : 0);
88 static void putChar(byte[] b, int off, char val) { argument
89 b[off + 1] = (byte) (val );
90 b[off ] = (byte) (val >>> 8);
93 static void putShort(byte[] b, int off, short val) { argument
94 b[off + 1] = (byte) (val );
95 b[off ] = (byte) (val >>> 8);
98 static void putInt(byte[] b, int off, int val) { argument
99 b[off + 3] = (byte) (val );
105 putFloat(byte[] b, int off, float val) argument
109 putLong(byte[] b, int off, long val) argument
120 putDouble(byte[] b, int off, double val) argument
[all...]
H A DExpiringCache.java46 private String val; field in class:ExpiringCache.Entry
48 Entry(long timestamp, String val) { argument
50 this.val = val;
56 String val() { return val; } method in class:ExpiringCache.Entry
57 void setVal(String val) { this.val = val; } argument
80 return entry.val();
85 put(String key, String val) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/util/xml/impl/
H A DReaderUTF8.java69 int val;
71 if ((val = is.read()) < 0) {
74 switch (val & 0xf0) {
77 cbuf[off++] = (char) (((val & 0x1f) << 6) | (is.read() & 0x3f));
81 cbuf[off++] = (char) (((val & 0x0f) << 12)
89 cbuf[off++] = (char) val;
106 int val;
107 if ((val = is.read()) < 0) {
110 switch (val & 0xf0) {
113 val
[all...]
H A DReaderUTF16.java73 int val;
76 if ((val = is.read()) < 0) {
79 cbuf[off++] = (char) ((val << 8) | (is.read() & 0xff));
84 if ((val = is.read()) < 0) {
87 cbuf[off++] = (char) ((is.read() << 8) | (val & 0xff));
102 int val;
103 if ((val = is.read()) < 0) {
107 val = (char) ((val << 8) | (is.read() & 0xff));
109 val
[all...]
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/naming/namingutil/
H A DUtility.java75 int val;
77 val = x - '0';
78 if (val >=0 && val <= 9)
79 return val;
81 val = (x - 'a') + 10;
82 if (val >= 10 && val <= 15)
83 return val;
85 val
[all...]
/openjdk10/nashorn/test/script/nosecurity/
H A DJDK-8185252.js50 var val = obj[i]
53 if (typeof(val) == 'boolean' && val == false) {
71 if (typeof(val) == 'object') {
72 if (val instanceof cls) {
75 if (val instanceof tree) {
76 result[i] = convert(val)
78 else if (val instanceof list) {
80 for (var j in val) {
81 lst.push(convert(val[
[all...]
/openjdk10/nashorn/test/script/nosecurity/treeapi/
H A Dutils.js48 var val = obj[i]
51 if (typeof(val) == 'boolean' && val == false) {
69 if (typeof(val) == 'object') {
70 if (val instanceof cls) {
73 if (val instanceof tree) {
74 result[i] = convert(val)
76 else if (val instanceof list) {
78 for (var j in val) {
79 lst.push(convert(val[
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/cdbg/
H A DDefaultObjectVisitor.java35 public void doBit(FieldIdentifier f, long val) {} argument
36 public void doInt(FieldIdentifier f, long val) {} argument
37 public void doEnum(FieldIdentifier f, long val, String enumName) {} argument
38 public void doFloat(FieldIdentifier f, float val) {} argument
39 public void doDouble(FieldIdentifier f, double val) {} argument
40 public void doPointer(FieldIdentifier f, Address val) {} argument
41 public void doArray(FieldIdentifier f, Address val) {} argument
42 public void doRef(FieldIdentifier f, Address val) {} argument
H A DObjectVisitor.java51 public void doBit(FieldIdentifier f, long val); argument
55 public void doInt(FieldIdentifier f, long val); argument
60 public void doEnum(FieldIdentifier f, long val, String enumName); argument
65 public void doFloat(FieldIdentifier f, float val); argument
70 public void doDouble(FieldIdentifier f, double val); argument
74 public void doPointer(FieldIdentifier f, Address val); argument
78 public void doArray(FieldIdentifier f, Address val); argument
83 public void doRef(FieldIdentifier f, Address val); argument
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/
H A DGCWhen.java36 GCWhen(String val) { argument
37 this.value = val;
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/objects/
H A DXObjectFactory.java40 * @param val The java object which this object will wrap.
44 static public XObject create(Object val) argument
49 if (val instanceof XObject)
51 result = (XObject) val;
53 else if (val instanceof String)
55 result = new XString((String) val);
57 else if (val instanceof Boolean)
59 result = new XBoolean((Boolean)val);
61 else if (val instanceof Double)
63 result = new XNumber(((Double) val));
83 create(Object val, XPathContext xctxt) argument
[all...]
/openjdk10/nashorn/test/script/basic/
H A DNASHORN-183.js39 var val = func(232, 334, 454);
40 if (val != (232 + 334 + 454)) {
46 val = Array.prototype.reduce.call(obj, callback);
53 if (val != val2) {
54 fail("val != val2, val2 is " + val2);
/openjdk10/hotspot/test/compiler/intrinsics/mathexact/
H A DSplitThruPhiTest.java43 public static int runTest(int val) { argument
44 int result = Math.addExact(val, 1);
46 for (int i = val; i < 200; i = Math.addExact(i, 1)) {
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/marlin/stats/
H A DStatLong.java50 public void add(final int val) { argument
52 sum += val;
53 if (val < min) {
54 min = val;
56 if (val > max) {
57 max = val;
61 public void add(final long val) { argument
63 sum += val;
64 if (val < min) {
65 min = val;
[all...]
/openjdk10/langtools/test/tools/javac/boxing/
H A DT6614974.java35 T6614974<Integer> val = new T6614974<Integer>();
36 val.n = 0;
37 Integer.toString(val.n++);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.word/src/org/graalvm/word/
H A DPointer.java280 * @param val the value to be written to memory
282 void writeByte(WordBase offset, byte val, LocationIdentity locationIdentity); argument
294 * @param val the value to be written to memory
296 void writeChar(WordBase offset, char val, LocationIdentity locationIdentity); argument
308 * @param val the value to be written to memory
310 void writeShort(WordBase offset, short val, LocationIdentity locationIdentity); argument
322 * @param val the value to be written to memory
324 void writeInt(WordBase offset, int val, LocationIdentity locationIdentity); argument
336 * @param val the value to be written to memory
338 void writeLong(WordBase offset, long val, LocationIdentit argument
352 writeFloat(WordBase offset, float val, LocationIdentity locationIdentity) argument
366 writeDouble(WordBase offset, double val, LocationIdentity locationIdentity) argument
380 writeWord(WordBase offset, WordBase val, LocationIdentity locationIdentity) argument
394 initializeLong(WordBase offset, long val, LocationIdentity locationIdentity) argument
408 writeObject(WordBase offset, Object val, LocationIdentity locationIdentity) argument
418 writeByte(int offset, byte val, LocationIdentity locationIdentity) argument
428 writeChar(int offset, char val, LocationIdentity locationIdentity) argument
438 writeShort(int offset, short val, LocationIdentity locationIdentity) argument
448 writeInt(int offset, int val, LocationIdentity locationIdentity) argument
458 writeLong(int offset, long val, LocationIdentity locationIdentity) argument
468 writeFloat(int offset, float val, LocationIdentity locationIdentity) argument
478 writeDouble(int offset, double val, LocationIdentity locationIdentity) argument
488 writeWord(int offset, WordBase val, LocationIdentity locationIdentity) argument
498 initializeLong(int offset, long val, LocationIdentity locationIdentity) argument
508 writeObject(int offset, Object val, LocationIdentity locationIdentity) argument
719 writeByte(WordBase offset, byte val) argument
732 writeChar(WordBase offset, char val) argument
745 writeShort(WordBase offset, short val) argument
758 writeInt(WordBase offset, int val) argument
771 writeLong(WordBase offset, long val) argument
784 writeFloat(WordBase offset, float val) argument
797 writeDouble(WordBase offset, double val) argument
810 writeWord(WordBase offset, WordBase val) argument
823 writeObject(WordBase offset, Object val) argument
848 writeByte(int offset, byte val) argument
857 writeChar(int offset, char val) argument
866 writeShort(int offset, short val) argument
875 writeInt(int offset, int val) argument
884 writeLong(int offset, long val) argument
893 writeFloat(int offset, float val) argument
902 writeDouble(int offset, double val) argument
911 writeWord(int offset, WordBase val) argument
920 writeObject(int offset, Object val) argument
943 add(UnsignedWord val) argument
946 add(int val) argument
949 subtract(UnsignedWord val) argument
952 subtract(int val) argument
955 and(UnsignedWord val) argument
958 and(int val) argument
961 or(UnsignedWord val) argument
964 or(int val) argument
[all...]
H A DWordFactory.java35 * Links a method to a canonical operation represented by an {@link FactoryOpcode} val.
53 <T extends WordBase> T box(long val); argument
91 * @param val a 64 bit unsigned value
95 public static <T extends UnsignedWord> T unsigned(long val) { argument
96 return boxFactory.box(val);
103 * @param val a 64 bit unsigned value
107 public static <T extends PointerBase> T pointer(long val) { argument
108 return boxFactory.box(val);
115 * @param val a 32 bit unsigned value
119 public static <T extends UnsignedWord> T unsigned(int val) { argument
131 signed(long val) argument
143 signed(int val) argument
[all...]
/openjdk10/hotspot/test/compiler/arraycopy/
H A DTestArrayCopyBadReexec.java37 static int val; field in class:TestArrayCopyBadReexec
44 val++;
61 int val_before = val;
65 if (val - val_before != 1) {
66 System.out.println("Bad increment: " + (val - val_before));
/openjdk10/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/
H A DDatatypeConverterInterface.java303 * @param val
308 public String printString( String val );
312 * @param val
316 * @throws IllegalArgumentException {@code val} is null.
318 public String printInteger( java.math.BigInteger val );
322 * @param val
327 public String printInt( int val );
332 * @param val
337 public String printLong( long val );
341 * @param val
405 printQName( javax.xml.namespace.QName val, javax.xml.namespace.NamespaceContext nsc ) argument
[all...]
H A DDatatypeConverter.java437 * @param val
445 public static String printString( String val ) {
447 return theConverter.printString( val );
453 * @param val
457 * @throws IllegalArgumentException {@code val} is null.
459 public static String printInteger( java.math.BigInteger val ) {
461 return theConverter.printInteger( val );
467 * @param val
472 public static String printInt( int val ) {
474 return theConverter.printInt( val );
581 printQName( javax.xml.namespace.QName val, NamespaceContext nsc ) argument
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/functions/
H A DFuncRound.java47 final double val= obj.num();
48 if (val >= -0.5 && val < 0) return new XNumber(-0.0);
49 if (val == 0.0) return new XNumber(val);
50 return new XNumber(java.lang.Math.floor(val

Completed in 300 milliseconds

1234567891011>>