Searched refs:parseInt (Results 1 - 25 of 542) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-955.js31 assertEquals(-0, parseInt("-0"));
32 assertEquals(0, parseInt("+0"));
34 // Don't allow whitespace after signs in parseInt.
35 assertEquals(NaN, parseInt("- 0"));
36 assertEquals(NaN, parseInt("+ 0"));
37 assertEquals(NaN, parseInt("-\t0"));
38 assertEquals(NaN, parseInt("+\t0"));
41 assertEquals(-0, parseInt(" -0"));
42 assertEquals(0, parseInt(" +0"));
43 assertEquals(-0, parseInt("\
[all...]
H A Dregress-1177518.js36 assertEquals(4, parseInt(4.5));
H A Dregress-3025.js31 var v = parseInt(s, 5);
/external/v8/test/mjsunit/
H A Dparse-int-float.js28 assertEquals(0, parseInt('0'));
29 assertEquals(0, parseInt(' 0'));
30 assertEquals(0, parseInt(' 0 '));
32 assertEquals(77, parseInt('077'));
33 assertEquals(77, parseInt(' 077'));
34 assertEquals(77, parseInt(' 077 '));
35 assertEquals(-77, parseInt(' -077'));
37 assertEquals(3, parseInt('11', 2));
38 assertEquals(4, parseInt('11', 3));
39 assertEquals(4, parseInt('1
[all...]
H A Dserialize-embedded-error.js9 parseInt() = 0;
H A Dinteger-to-string.js30 assertEquals(i, parseInt(""+i));
32 assertEquals(i, parseInt(""+i));
/external/smali/smali/src/test/java/
H A DIntLiteralTest.java38 Assert.assertTrue(LiteralTools.parseInt("0x0") == 0x0);
39 Assert.assertTrue(LiteralTools.parseInt("0x00") == 0x0);
40 Assert.assertTrue(LiteralTools.parseInt("0x1") == 0x1);
41 Assert.assertTrue(LiteralTools.parseInt("0x12345678") == 0x12345678);
42 Assert.assertTrue(LiteralTools.parseInt("0x7fffffff") == 0x7fffffff);
43 Assert.assertTrue(LiteralTools.parseInt("0x80000000") == Integer.MIN_VALUE);
44 Assert.assertTrue(LiteralTools.parseInt("0xFFFFFFFF") == -1);
46 Assert.assertTrue(LiteralTools.parseInt("-0x00") == 0);
47 Assert.assertTrue(LiteralTools.parseInt("-0x01") == -1);
48 Assert.assertTrue(LiteralTools.parseInt("
[all...]
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/test/
H A DPortTestUtil.java40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);

Completed in 3978 milliseconds

1234567891011>>