Searched refs:convert (Results 1 - 25 of 156) sorted by relevance

1234567

/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dcolor.h36 ImgConvertFcn *convert[NUM_IMGCV]; member in struct:__anon968
/openjdk7/jdk/test/java/util/concurrent/TimeUnit/
H A DBasic.java41 equal(42L, u.convert(42, u));
43 if (u.convert(42, v) >= 42)
44 equal(42L, v.convert(u.convert(42, v), u));
48 equal( 24L, HOURS.convert (1, DAYS));
49 equal( 60L, MINUTES.convert (1, HOURS));
50 equal( 60L, SECONDS.convert (1, MINUTES));
51 equal(1000L, MILLISECONDS.convert(1, SECONDS));
52 equal(1000L, MICROSECONDS.convert(1, MILLISECONDS));
53 equal(1000L, NANOSECONDS.convert (
[all...]
/openjdk7/jdk/test/java/io/Serializable/badSerialVersionUID/
H A DBadSerialVersionUID.java70 Class[] convert = { B.class, C.class, S.class, I.class };
75 for (int i = 0; i < convert.length; i++) {
76 ObjectStreamClass desc = ObjectStreamClass.lookup(convert[i]);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DBooleanTypeImpl.java38 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:BooleanTypeImpl
H A DByteTypeImpl.java39 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:ByteTypeImpl
H A DCharTypeImpl.java39 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:CharTypeImpl
H A DDoubleTypeImpl.java39 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:DoubleTypeImpl
H A DFloatTypeImpl.java39 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:FloatTypeImpl
H A DIntegerTypeImpl.java38 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:IntegerTypeImpl
H A DLongTypeImpl.java39 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:LongTypeImpl
H A DPrimitiveTypeImpl.java38 abstract PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException; method in class:PrimitiveTypeImpl
H A DShortTypeImpl.java39 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:ShortTypeImpl
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DBooleanTypeImpl.java39 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:BooleanTypeImpl
H A DByteTypeImpl.java40 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:ByteTypeImpl
H A DCharTypeImpl.java40 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:CharTypeImpl
H A DDoubleTypeImpl.java40 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:DoubleTypeImpl
H A DFloatTypeImpl.java40 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:FloatTypeImpl
H A DIntegerTypeImpl.java40 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:IntegerTypeImpl
H A DLongTypeImpl.java40 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:LongTypeImpl
H A DPrimitiveTypeImpl.java39 abstract PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException; method in class:PrimitiveTypeImpl
H A DShortTypeImpl.java40 PrimitiveValue convert(PrimitiveValue value) throws InvalidTypeException { method in class:ShortTypeImpl
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DBinaryArithmeticExpression.java57 left = convert(env, ctx, type, left);
58 right = convert(env, ctx, type, right);
H A DBinaryBitExpression.java57 left = convert(env, ctx, type, left);
58 right = convert(env, ctx, type, right);
H A DBinaryCompareExpression.java56 left = convert(env, ctx, t, left);
57 right = convert(env, ctx, t, right);
/openjdk7/jdk/test/java/nio/file/attribute/FileTime/
H A DBasic.java40 long tomorrowInDays = TimeUnit.DAYS.convert(now, MILLISECONDS) + 1;
41 long yesterdayInDays = TimeUnit.DAYS.convert(now, MILLISECONDS) - 1;
65 to(MILLISECONDS.convert(1, DAYS) - 1, MILLISECONDS);
66 to(MILLISECONDS.convert(1, DAYS) + 0, MILLISECONDS);
67 to(MILLISECONDS.convert(1, DAYS) + 1, MILLISECONDS);
71 to(MILLISECONDS.convert(-1, DAYS) - 1, MILLISECONDS);
72 to(MILLISECONDS.convert(-1, DAYS) + 0, MILLISECONDS);
73 to(MILLISECONDS.convert(-1, DAYS) + 1, MILLISECONDS);
151 long expected = u.convert(v, unit);

Completed in 480 milliseconds

1234567