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

<<11121314151617181920>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerConvertTest.java 28 * Methods: intValue, longValue, toByteArray(), valueOf(long val),
658 * valueOf (long val): convert Integer.MAX_VALUE to a BigInteger.
662 BigInteger aNumber = BigInteger.valueOf(longVal);
673 * valueOf (long val): convert Integer.MIN_VALUE to a BigInteger.
677 BigInteger aNumber = BigInteger.valueOf(longVal);
688 * valueOf (long val): convert Long.MAX_VALUE to a BigInteger.
692 BigInteger aNumber = BigInteger.valueOf(longVal);
703 * valueOf (long val): convert Long.MIN_VALUE to a BigInteger.
707 BigInteger aNumber = BigInteger.valueOf(longVal);
718 * valueOf (long val): convert a positive long value to a BigInteger
    [all...]
  /libcore/luni/src/main/java/java/net/
Socket.java 453 impl.setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(keepAlive));
482 impl.setOption(SocketOptions.SO_SNDBUF, Integer.valueOf(size));
493 impl.setOption(SocketOptions.SO_RCVBUF, Integer.valueOf(size));
507 impl.setOption(SocketOptions.SO_LINGER, Integer.valueOf(timeout));
523 impl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(timeout));
531 impl.setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on));
880 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse));
896 impl.setOption(SocketOptions.SO_OOBINLINE, Boolean.valueOf(oobinline));
    [all...]
ServerSocket.java 242 impl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(timeout));
377 impl.setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(reuse));
400 impl.setOption(SocketOptions.SO_RCVBUF, Integer.valueOf(size));
  /cts/tests/tests/text/src/android/text/cts/
EmojiTest.java 120 editText.setText(origStr + String.valueOf(Character.toChars(testedCodePoints[i])));
151 mTestStr = String.valueOf(c);
173 setText(String.valueOf(c));
196 setText(String.valueOf(c));
223 webViewOnUiThread.loadDataAndWaitForCompletion("<html><body>" + String.valueOf(c) + "</body></html>",
  /cts/tools/signature-tools/test/signature/converter/
ConvertEnumTest.java 147 IMethod valueOf = map.get("valueOf");
148 assertNotNull(valueOf);
149 assertEquals(1, valueOf.getParameters().size());
150 IParameter param = valueOf.getParameters().iterator().next();
152 assertSame(c, ((IClassReference)valueOf.getReturnType()).getClassDefinition());
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2.java 129 mOriginalPoints[i].x = Float.valueOf(coord[0]);
130 mOriginalPoints[i].y = Float.valueOf(coord[1]);
131 mOriginalPoints[i].z = Float.valueOf(coord[2]);
141 mLines[i].startPoint = Integer.valueOf(idx[0]);
142 mLines[i].endPoint = Integer.valueOf(idx[1]);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
CodeGenerator.java 352 outputFileST.add("rewriteMode", Boolean.valueOf(grammar.rewriteMode()));
353 headerFileST.add("rewriteMode", Boolean.valueOf(grammar.rewriteMode()));
355 outputFileST.add("backtracking", Boolean.valueOf(canBacktrack));
356 headerFileST.add("backtracking", Boolean.valueOf(canBacktrack));
363 Boolean.valueOf(memoize != null && memoize.equals("true")) &&
367 Boolean.valueOf(memoize != null && memoize.equals("true")) &&
371 outputFileST.add("trace", Boolean.valueOf(trace));
372 headerFileST.add("trace", Boolean.valueOf(trace));
374 outputFileST.add("profile", Boolean.valueOf(profile));
375 headerFileST.add("profile", Boolean.valueOf(profile))
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
ProxyTest.java 186 * @tests java.net.Proxy.Type#valueOf(String)
189 assertEquals(Proxy.Type.DIRECT, Proxy.Type.valueOf("DIRECT"));
190 assertEquals(Proxy.Type.HTTP, Proxy.Type.valueOf("HTTP"));
191 assertEquals(Proxy.Type.SOCKS, Proxy.Type.valueOf("SOCKS"));
195 * @tests java.net.Proxy.Type#valueOf(String)
202 Proxy.Type.valueOf(illegalName[i]);
212 * @tests java.net.Proxy.Type#valueOf(String)
218 Proxy.Type.valueOf(null);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
CertificateListTest.java 111 new TBSCertList.RevokedCertificate(BigInteger.valueOf(555),
113 new TBSCertList.RevokedCertificate(BigInteger.valueOf(666),
115 new TBSCertList.RevokedCertificate(BigInteger.valueOf(777),
122 BigInteger.valueOf(4444).toByteArray())),
219 BigInteger.valueOf(555)).getCertificateIssuer());
  /frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
RequestSync.java 127 mExtras.putInt(key, Integer.valueOf(value));
131 mExtras.putLong(key, Long.valueOf(value));
135 mExtras.putFloat(key, Long.valueOf(value));
139 mExtras.putFloat(key, Long.valueOf(value));
143 mExtras.putBoolean(key, Boolean.valueOf(value));
  /libcore/luni/src/test/java/tests/api/java/math/
OldBigIntegerTest.java 105 // final BigInteger TWO = BigInteger.valueOf(2);
133 bi = BigInteger.valueOf(17L * 13L);
140 .valueOf(a).isProbablePrime(5));
141 } else if (BigInteger.valueOf(a).isProbablePrime(17)) {
147 bi = BigInteger.valueOf(rand.nextInt(1000000)).multiply(
148 BigInteger.valueOf(rand.nextInt(1000000)));
  /packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java 74 builder.appendEncodedPath(String.valueOf(mTargetContactId));
82 builder.appendQueryParameter("limit", String.valueOf(MAX_SUGGESTIONS));
93 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(Directory.DEFAULT))
98 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(Directory.DEFAULT))
103 loader.setSelectionArgs(new String[]{ String.valueOf(mTargetContactId) });
  /libcore/luni/src/main/java/java/math/
BigDecimal.java 334 scaleString = String.valueOf(in, begin, last + 1 - begin);
508 setUnscaledValue(Multiplication.multiplyByFivePow(BigInteger.valueOf(mantissa), scale));
669 public static BigDecimal valueOf(long unscaledVal, int scale) {
671 return valueOf(unscaledVal);
689 public static BigDecimal valueOf(long unscaledVal) {
700 * Double.toString(val)}. For example, {@code valueOf("0.1")} is converted to
714 public static BigDecimal valueOf(double val) {
751 return valueOf(this.smallValue + augend.smallValue, this.scale);
765 return valueOf(thisValue.smallValue+augend.smallValue*MathUtils.LONG_POWERS_OF_TEN[diffScale],thisValue.scale);
814 .add(BigInteger.valueOf(largerSignum))
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ProviderBookmarksUriTest.java 121 String[] selectionArgs = { url[0], String.valueOf(lastUpdateTime[0]),
122 String.valueOf(visits[0]), String.valueOf(isBookmark[0]) };
149 String[] selectionArgs2 = { url[1], String.valueOf(lastUpdateTime[1]),
150 String.valueOf(visits[1]), String.valueOf(isBookmark[1]) };
204 String[] selectionArgs = { String.valueOf(lastUpdateTime[0]),
205 String.valueOf(isBookmark[0]) };
254 String[] selectionArgs = { String.valueOf(lastUpdateTime[0]),
255 String.valueOf(isBookmark[0]) }
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
Constraint.java 62 Space targetSpace = Space.valueOf(((Number) constraintStructure.getFieldValue("tarspace")).byteValue());
72 Space ownerSpace = Space.valueOf(((Number) constraintStructure.getFieldValue("ownspace")).byteValue());
132 public static Space valueOf(byte c) {
  /external/smack/src/org/jivesoftware/smackx/provider/
AdHocCommandDataProvider.java 69 Action realAction = AdHocCommand.Action.valueOf(action);
85 adHocCommandData.setExecuteAction(AdHocCommand.Action.valueOf(execute));
101 AdHocCommandNote.Type type = AdHocCommandNote.Type.valueOf(
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPUtils.java 344 return String.valueOf(value);
391 return String.valueOf(value);
434 return String.valueOf(value);
  /frameworks/base/core/java/android/text/method/
CharacterPickerDialog.java 89 String result = String.valueOf(mOptions.charAt(position));
125 b.setText(String.valueOf(mOptions.charAt(position)));
135 return String.valueOf(mOptions.charAt(position));
  /frameworks/base/telephony/java/android/telephony/
NeighboringCellInfo.java 138 mCid = Integer.valueOf(location.substring(4), 16);
139 mLac = Integer.valueOf(location.substring(0, 4), 16);
147 mPsc = Integer.valueOf(location, 16);
  /libcore/luni/src/main/java/java/util/logging/
LogRecord.java 167 currentThreadId.set(Integer.valueOf(initThreadId++));
486 throw new IOException("Different version " + Byte.valueOf(major) + "." + Byte.valueOf(minor));
  /packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
Preconditions.java 76 * be converted to a string using {@link String#valueOf(Object)}
81 throw new IllegalArgumentException(String.valueOf(errorMessage));
98 * {@link String#valueOf(Object)}.
131 * be converted to a string using {@link String#valueOf(Object)}
136 throw new IllegalStateException(String.valueOf(errorMessage));
153 * {@link String#valueOf(Object)}.
188 * be converted to a string using {@link String#valueOf(Object)}
194 throw new NullPointerException(String.valueOf(errorMessage));
212 * {@link String#valueOf(Object)}.
397 * {@link String#valueOf(Object)}. Arguments can be null
    [all...]
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Preconditions.java 76 * be converted to a string using {@link String#valueOf(Object)}
81 throw new IllegalArgumentException(String.valueOf(errorMessage));
98 * {@link String#valueOf(Object)}.
131 * be converted to a string using {@link String#valueOf(Object)}
136 throw new IllegalStateException(String.valueOf(errorMessage));
153 * {@link String#valueOf(Object)}.
188 * be converted to a string using {@link String#valueOf(Object)}
194 throw new NullPointerException(String.valueOf(errorMessage));
212 * {@link String#valueOf(Object)}.
397 * {@link String#valueOf(Object)}. Arguments can be null
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DirectoryTest.java 83 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(Directory.DEFAULT)).build();
108 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(Directory.LOCAL_INVISIBLE))
119 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) });
  /external/chromium_org/v8/test/mjsunit/regress/
regress-1233.js 29 // call toString or valueOf on members of the object.
36 delicate.valueOf = function(){ throw Error("valueOf"); };
regress-2855.js 37 String.prototype.valueOf = function() { return 42; }
43 // Make sure we look up "valueOf" only once.
46 Object.defineProperty(x, "valueOf",

Completed in 752 milliseconds

<<11121314151617181920>>