HomeSort by relevance Sort by last modified time
    Searched refs:valueOf (Results 176 - 200 of 1536) sorted by null

1 2 3 4 5 6 78 91011>>

  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockSuggestionProviderCursor.java 115 return Double.valueOf(o.toString());
122 return Float.valueOf(o.toString());
128 return Integer.valueOf(o.toString());
134 return Long.valueOf(o.toString());
140 return Short.valueOf(o.toString());
  /libcore/luni/src/main/java/java/lang/
Long.java 156 return valueOf(0L);
176 return valueOf(result);
245 return valueOf(defaultValue);
249 return valueOf(defaultValue);
254 return valueOf(defaultValue);
475 public static Long valueOf(String string) throws NumberFormatException {
476 return valueOf(parseLong(string));
495 public static Long valueOf(String string, int radix) throws NumberFormatException {
496 return valueOf(parseLong(string, radix));
726 public static Long valueOf(long v)
    [all...]
  /libcore/luni/src/main/java/java/util/logging/
FileHandler.java 386 init(pattern, null, Integer.valueOf(DEFAULT_LIMIT), Integer.valueOf(DEFAULT_COUNT));
412 init(pattern, Boolean.valueOf(append), Integer.valueOf(DEFAULT_LIMIT),
413 Integer.valueOf(DEFAULT_COUNT));
446 init(pattern, null, Integer.valueOf(limit), Integer.valueOf(count));
482 init(pattern, Boolean.valueOf(append), Integer.valueOf(limit), Integer.valueOf(count))
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
NoiseGenerator.java 134 noiseFunctions.put(Integer.valueOf(0), new NoiseFunction() {
146 noiseFunctions.put(Integer.valueOf(1), new NoiseFunction() {
158 noiseFunctions.put(Integer.valueOf(2), new NoiseFunction() {
170 noiseFunctions.put(Integer.valueOf(3), new NoiseFunction() {
186 noiseFunctions.put(Integer.valueOf(4), new NoiseFunction() {
202 noiseFunctions.put(Integer.valueOf(5), new NoiseFunction() {
218 noiseFunctions.put(Integer.valueOf(6), new NoiseFunction() {
234 noiseFunctions.put(Integer.valueOf(7), new NoiseFunction() {
250 noiseFunctions.put(Integer.valueOf(8), new NoiseFunction() {
254 float t = 10 * noiseFunctions.get(Integer.valueOf(7)).execute(x, y, z);// voronoi_F1F2
    [all...]
TextureGeneratorDistnoise.java 121 NoiseFunction abstractNoiseFunc1 = NoiseGenerator.noiseFunctions.get(Integer.valueOf(nbas1));
123 abstractNoiseFunc1 = NoiseGenerator.noiseFunctions.get(Integer.valueOf(0));
125 NoiseFunction abstractNoiseFunc2 = NoiseGenerator.noiseFunctions.get(Integer.valueOf(nbas2));
127 abstractNoiseFunc2 = NoiseGenerator.noiseFunctions.get(Integer.valueOf(0));
  /external/chromium_org/v8/test/webkit/
date-constructor.js 27 'and creating a Date from an object that has both valueOf and toString functions.'
31 object.valueOf = function() { return 1111; }
77 var year = { valueOf: function() { testStr += 1; return 2007; } };
78 var month = { valueOf: function() { testStr += 2; return 2; } };
79 var date = { valueOf: function() { testStr += 3; return 4; } };
80 var hours = { valueOf: function() { testStr += 4; return 13; } };
81 var minutes = { valueOf: function() { testStr += 5; return 50; } };
82 var seconds = { valueOf: function() { testStr += 6; return 0; } };
83 var ms = { valueOf: function() { testStr += 7; return 999; } };
  /libcore/luni/src/test/java/tests/java/sql/
SelectFunctionalityTest.java 146 // .valueOf(id + 0.1), result.getBigDecimal("fdecimal"));
148 // .valueOf(id + 0.1), result.getBigDecimal("fnumeric"));
152 .valueOf(id + 0.1).floatValue(), result.getFloat("ffloat"));
154 .valueOf(id + 0.1).doubleValue(), result.getDouble("freal"));
156 .valueOf(id + 0.1).doubleValue(), result
188 // prepStatement.setBigDecimal(4, BigDecimal.valueOf(1.1));
189 // prepStatement.setBigDecimal(5, BigDecimal.valueOf(1.1));
208 // .valueOf(1.1), result.getBigDecimal("fdecimal"));
210 // .valueOf(1.1), result.getBigDecimal("fnumeric"));
427 values.add(Integer.valueOf(3001))
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
UnsignedLongTest.java 60 ? BigInteger.valueOf(value)
61 : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64));
221 (a >= 0) ? BigInteger.valueOf(a) : BigInteger.valueOf(a).add(BigInteger.ZERO.setBit(64));
222 equalsTester.addEqualityGroup(UnsignedLong.asUnsigned(a), UnsignedLong.valueOf(big),
223 UnsignedLong.valueOf(big.toString()), UnsignedLong.valueOf(big.toString(16), 16));
  /frameworks/base/core/java/android/net/
SamplingDataTracker.java 93 Slog.d(TAG, "ByteCount = " + String.valueOf(ss.mTxByteCount));
94 Slog.d(TAG, "TxPacketCount = " + String.valueOf(ss.mTxPacketCount));
96 + String.valueOf(ss.mTxPacketErrorCount));
97 Slog.d(TAG, "RxByteCount = " + String.valueOf(ss.mRxByteCount));
98 Slog.d(TAG, "RxPacketCount = " + String.valueOf(ss.mRxPacketCount));
100 + String.valueOf(ss.mRxPacketErrorCount));
101 Slog.d(TAG, "Timestamp = " + String.valueOf(ss.mTimestamp));
LocalSocket.java 220 impl.setOption(SocketOptions.SO_RCVBUF, Integer.valueOf(size));
228 impl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(n));
236 impl.setOption(SocketOptions.SO_SNDBUF, Integer.valueOf(n));
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TypeTest.java 169 assertEquals(Type.CubemapFace.NEGATIVE_X, Type.CubemapFace.valueOf("NEGATIVE_X"));
170 assertEquals(Type.CubemapFace.NEGATIVE_Y, Type.CubemapFace.valueOf("NEGATIVE_Y"));
171 assertEquals(Type.CubemapFace.NEGATIVE_Z, Type.CubemapFace.valueOf("NEGATIVE_Z"));
172 assertEquals(Type.CubemapFace.POSITIVE_X, Type.CubemapFace.valueOf("POSITIVE_X"));
173 assertEquals(Type.CubemapFace.POSITIVE_Y, Type.CubemapFace.valueOf("POSITIVE_Y"));
174 assertEquals(Type.CubemapFace.POSITIVE_Z, Type.CubemapFace.valueOf("POSITIVE_Z"));
176 assertEquals(Type.CubemapFace.POSITVE_X, Type.CubemapFace.valueOf("POSITVE_X"));
177 assertEquals(Type.CubemapFace.POSITVE_Y, Type.CubemapFace.valueOf("POSITVE_Y"));
178 assertEquals(Type.CubemapFace.POSITVE_Z, Type.CubemapFace.valueOf("POSITVE_Z"));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyPairGeneratorSpi.java 62 ecParameters.put(Integers.valueOf(192), new ECGenParameterSpec("prime192v1")); // a.k.a P-192
63 ecParameters.put(Integers.valueOf(239), new ECGenParameterSpec("prime239v1"));
64 ecParameters.put(Integers.valueOf(256), new ECGenParameterSpec("prime256v1")); // a.k.a P-256
66 ecParameters.put(Integers.valueOf(224), new ECGenParameterSpec("P-224"));
67 ecParameters.put(Integers.valueOf(384), new ECGenParameterSpec("P-384"));
68 ecParameters.put(Integers.valueOf(521), new ECGenParameterSpec("P-521"));
99 ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength));
146 param = new ECKeyGenerationParameters(new ECDomainParameters(curve, g, p.getOrder(), BigInteger.valueOf(p.getCofactor())), random);
224 param = new ECKeyGenerationParameters(new ECDomainParameters(curve, g, p.getOrder(), BigInteger.valueOf(p.getCofactor())), random);
  /cts/tests/tests/text/src/android/text/cts/
SpannableStringTest.java 36 String text = "test valueOf";
37 SpannableString spannable = SpannableString.valueOf(text);
42 assertSame(spannable, SpannableString.valueOf(spannable));
45 SpannableString.valueOf(null);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
BundleTest.java 63 assertEquals(Double.valueOf(5), Double.valueOf(bundle.getDouble("foo")));
64 assertEquals(Double.valueOf(0),Double.valueOf(bundle.getDouble("bar")));
65 assertEquals(Double.valueOf(7), Double.valueOf(bundle.getDouble("bar", 7)));
95 assertEquals(Float.valueOf(5), Float.valueOf(bundle.getFloat("foo")));
96 assertEquals(Float.valueOf(0),Float.valueOf(bundle.getFloat("bar")))
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
FloatTest.java 26 assertEquals(2358.166016f, Float.valueOf("2358.166016"));
32 assertEquals(-2.14748365E9f, Float.valueOf(String.valueOf(Integer.MIN_VALUE)));
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
StockSource.java 87 int idx = Integer.valueOf(data.id);
99 int idx = Integer.valueOf(current.id);
106 int idx = Integer.valueOf(current.id);
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
UserTest.java 46 User user = User.valueOf(jsonObj);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
AuthenticatorTest.java 38 * @tests java.net.Authenticator.RequestorType#valueOf(String)
42 .valueOf("PROXY"));
44 .valueOf("SERVER"));
46 RequestorType rt = Authenticator.RequestorType.valueOf("BADNAME");
54 Authenticator.RequestorType.valueOf(null);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DHParametersGenerator.java 14 private static final BigInteger TWO = BigInteger.valueOf(2);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyAgreementSpi.java 39 Integer i64 = Integers.valueOf(64);
40 Integer i192 = Integers.valueOf(192);
41 Integer i128 = Integers.valueOf(128);
42 Integer i256 = Integers.valueOf(256);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
FpNafMultiplier.java 19 BigInteger h = e.multiply(BigInteger.valueOf(3));
  /external/guava/guava/src/com/google/common/base/
Preconditions.java 82 * be converted to a string using {@link String#valueOf(Object)}
88 throw new IllegalArgumentException(String.valueOf(errorMessage));
105 * {@link String#valueOf(Object)}.
139 * be converted to a string using {@link String#valueOf(Object)}
145 throw new IllegalStateException(String.valueOf(errorMessage));
162 * {@link String#valueOf(Object)}.
198 * be converted to a string using {@link String#valueOf(Object)}
204 throw new NullPointerException(String.valueOf(errorMessage));
222 * {@link String#valueOf(Object)}.
410 * {@link String#valueOf(Object)}. Arguments can be null
    [all...]
  /external/mockito/src/org/mockito/internal/invocation/finder/
AllInvocationsFinder.java 35 return Integer.valueOf(o1.getSequenceNumber()).compareTo(o2.getSequenceNumber());
  /external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/provider/
OpenIQProvider.java 39 stanza = StanzaType.valueOf(stanzaValue.toUpperCase());
  /external/smack/src/org/jivesoftware/smackx/packet/
ChatStateExtension.java 65 state = ChatState.valueOf(parser.getName());

Completed in 942 milliseconds

1 2 3 4 5 6 78 91011>>