/libcore/luni/src/main/java/java/math/ |
H A D | RoundingMode.java | 100 public static RoundingMode valueOf(int mode) { method in class:RoundingMode
|
H A D | BigInteger.java | 364 public static BigInteger valueOf(long value) { method in class:BigInteger
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
H A D | CipherSuite.java | 421 public static CipherSuite valueOf(String name) { method in class:CipherSuite 429 public static CipherSuite valueOf(int code) { method in class:CipherSuite
|
H A D | CompressionMethod.java | 35 public static CompressionMethod valueOf(int type) { method in class:CompressionMethod 42 return new CompressionMethod(type, String.valueOf(type));
|
/libcore/luni/src/main/native/ |
H A D | valueOf.cpp | 17 #define LOG_TAG "valueOf" 19 #include "valueOf.h" 24 static jobject valueOf(JNIEnv* env, jclass c, const char* signature, const T& value) { function 25 static jmethodID valueOfMethod = env->GetStaticMethodID(c, "valueOf", signature); 37 return valueOf(env, JniConstants::booleanClass, "(Z)Ljava/lang/Boolean;", value); 41 return valueOf(env, JniConstants::doubleClass, "(D)Ljava/lang/Double;", value); 45 return valueOf(env, JniConstants::integerClass, "(I)Ljava/lang/Integer;", value); 49 return valueOf(env, JniConstants::longClass, "(J)Ljava/lang/Long;", value);
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Date.java | 108 public static Date valueOf(String s) { method in class:Date
|
H A D | Time.java | 90 public static Time valueOf(String s) { method in class:Time
|
H A D | Timestamp.java | 166 public static Timestamp valueOf(String s) { method in class:Timestamp
|
/libcore/support/src/test/java/libcore/tlswire/util/ |
H A D | TlsProtocolVersion.java | 41 public static TlsProtocolVersion valueOf(int major, int minor) { method in class:TlsProtocolVersion 60 return TlsProtocolVersion.valueOf(major, minor);
|
/libcore/luni/src/main/java/javax/xml/namespace/ |
H A D | QName.java | 423 public static QName valueOf(String qNameAsString) { method in class:QName
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Boolean.java | 82 * {@link #valueOf(boolean)} is generally a better choice. It is 149 public static Boolean valueOf(boolean b) { method in class:Boolean 162 public static Boolean valueOf(String s) { method in class:Boolean 278 * Boolean.valueOf(x).compareTo(Boolean.valueOf(y))
|
H A D | Enum.java | 214 * implicitly declared {@code public static T valueOf(String)} 234 public static <T extends Enum<T>> T valueOf(Class<T> enumType, method in class:Enum
|
H A D | Byte.java | 101 public static Byte valueOf(byte b) { method in class:Byte 203 public static Byte valueOf(String s, int radix) method in class:Byte 205 return valueOf(parseByte(s, radix)); 230 public static Byte valueOf(String s) throws NumberFormatException { method in class:Byte 231 return valueOf(s, 10); 281 return valueOf((byte)i); 441 * Byte.valueOf(x).compareTo(Byte.valueOf(y))
|
H A D | Short.java | 172 public static Short valueOf(String s, int radix) method in class:Short 174 return valueOf(parseShort(s, radix)); 199 public static Short valueOf(String s) throws NumberFormatException { method in class:Short 200 return valueOf(s, 10); 230 public static Short valueOf(short s) { method in class:Short 286 return valueOf((short)i); 446 * Short.valueOf(x).compareTo(Short.valueOf(y))
|
H A D | Double.java | 497 * Double.valueOf(myString); // Will not throw NumberFormatException 510 public static Double valueOf(String s) throws NumberFormatException { method in class:Double 527 public static Double valueOf(double d) { method in class:Double 534 * by the {@code valueOf} method of class 543 * @see java.lang.Double#valueOf(String) 609 * {@code double} value as if by the {@code valueOf} method. 614 * @see java.lang.Double#valueOf(java.lang.String) 618 this(valueOf(s).doubleValue());
|
H A D | Float.java | 414 * for {@link Double#valueOf Double.valueOf} lists a regular 423 public static Float valueOf(String s) throws NumberFormatException { method in class:Float 440 public static Float valueOf(float f) { method in class:Float 447 * by the {@code valueOf} method of class {@code Float}. 455 * @see java.lang.Float#valueOf(String) 531 * {@code float} value as if by the {@code valueOf} method. 536 * @see java.lang.Float#valueOf(java.lang.String) 540 this(valueOf(s).floatValue());
|
H A D | Long.java | 514 public static Long valueOf(String s, int radix) throws NumberFormatException { method in class:Long 515 return Long.valueOf(parseLong(s, radix)); 540 public static Long valueOf(String s) throws NumberFormatException method in class:Long 542 return Long.valueOf(parseLong(s, 10)); 565 * Note that unlike the {@linkplain Integer#valueOf(int) 574 public static Long valueOf(long l) { method in class:Long 659 result = Long.valueOf(nm.substring(index), radix); 660 result = negative ? Long.valueOf(-result.longValue()) : result; 667 result = Long.valueOf(constant, radix); 891 return (result == null) ? Long.valueOf(va [all...] |
H A D | Integer.java | 479 * the valueOf method. 584 public static Integer valueOf(String s, int radix) throws NumberFormatException { method in class:Integer 585 return Integer.valueOf(parseInt(s,radix)); 610 public static Integer valueOf(String s) throws NumberFormatException { method in class:Integer 611 return Integer.valueOf(parseInt(s, 10)); 667 public static Integer valueOf(int i) { method in class:Integer 887 return (result == null) ? Integer.valueOf(val) : result; 904 * {@link #valueOf(java.lang.String, int)} with radix 16. 908 * {@link #valueOf(java.lang.String, int)} with radix 8. 910 * exactly as by the method {@link #valueOf(jav [all...] |
H A D | ProcessEnvironment.java | 75 theEnvironment.put(Variable.valueOf(environ[i-1]), 76 Value.valueOf(environ[i])); 168 public static Variable valueOf(String str) { method in class:ProcessEnvironment.Variable 173 public static Variable valueOf(byte[] bytes) { method in class:ProcessEnvironment.Variable 201 public static Value valueOf(String str) { method in class:ProcessEnvironment.Value 206 public static Value valueOf(byte[] bytes) { method in class:ProcessEnvironment.Value 241 return toString(m.put(Variable.valueOf(key), 242 Value.valueOf(value))); 309 return e.setValue(Value.valueOf(newValue)).toString();
|
H A D | String.java | 2682 public static String valueOf(Object obj) { method in class:String 2696 public static String valueOf(char data[]) { method in class:String 2721 public static String valueOf(char data[], int offset, int count) { method in class:String 2760 public static String valueOf(boolean b) { method in class:String 2772 public static String valueOf(char c) { method in class:String 2786 public static String valueOf(int i) { method in class:String 2800 public static String valueOf(long l) { method in class:String 2814 public static String valueOf(float f) { method in class:String 2828 public static String valueOf(double d) { method in class:String
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
H A D | ProtocolVersion.java | 108 private static ProtocolVersion valueOf(int v) { method in class:ProtocolVersion 130 public static ProtocolVersion valueOf(int major, int minor) { method in class:ProtocolVersion 134 return valueOf(v); 143 static ProtocolVersion valueOf(String name) { method in class:ProtocolVersion
|
H A D | SignatureAndHashAlgorithm.java | 107 this.hash = HashAlgorithm.valueOf((id >> 8) & 0xFF); 108 this.signature = SignatureAlgorithm.valueOf(id & 0xFF); 119 static SignatureAndHashAlgorithm valueOf(int hash, method in class:SignatureAndHashAlgorithm 339 static HashAlgorithm valueOf(int value) { method in class:SignatureAndHashAlgorithm.HashAlgorithm 386 static SignatureAlgorithm valueOf(int value) { method in class:SignatureAndHashAlgorithm.SignatureAlgorithm
|
H A D | CipherSuite.java | 59 * . instances are obtained using the static valueOf() factory methods. 224 static CipherSuite valueOf(String s) { method in class:CipherSuite 242 static CipherSuite valueOf(int id1, int id2) { method in class:CipherSuite 1288 final static CipherSuite C_NULL = CipherSuite.valueOf(0, 0); 1291 final static CipherSuite C_SCSV = CipherSuite.valueOf(0x00, 0xff);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | BitSet.java | 183 * <br>{@code BitSet.valueOf(longs).get(n) == ((longs[n/64] & (1L<<(n%64))) != 0)} 187 * {@code BitSet.valueOf(LongBuffer.wrap(longs))}. 194 public static BitSet valueOf(long[] longs) { method in class:BitSet 206 * <br>{@code BitSet.valueOf(lb).get(n) == ((lb.get(lb.position()+n/64) & (1L<<(n%64))) != 0)} 217 public static BitSet valueOf(LongBuffer lb) { method in class:BitSet 231 * <br>{@code BitSet.valueOf(bytes).get(n) == ((bytes[n/8] & (1<<(n%8))) != 0)} 235 * {@code BitSet.valueOf(ByteBuffer.wrap(bytes))}. 242 public static BitSet valueOf(byte[] bytes) { method in class:BitSet 243 return BitSet.valueOf(ByteBuffer.wrap(bytes)); 251 * <br>{@code BitSet.valueOf(b 262 public static BitSet valueOf(ByteBuffer bb) { method in class:BitSet [all...] |
/libcore/ojluni/src/main/java/sun/util/logging/ |
H A D | PlatformLogger.java | 139 static Level valueOf(int level) { method in class:PlatformLogger.Level 275 return isLoggable(Level.valueOf(levelValue)); 297 loggerProxy.setLevel(newLevel == 0 ? null : Level.valueOf(newLevel)); 660 sparams [i] = String.valueOf(params[i]); 679 return Level.valueOf(LoggingSupport.getLevelName(javaLevel)); 681 return Level.valueOf(LoggingSupport.getLevelValue(javaLevel));
|