/external/v8/test/mjsunit/regress/ |
H A D | regress-955.js | 31 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 D | regress-1177518.js | 36 assertEquals(4, parseInt(4.5));
|
H A D | regress-3025.js | 31 var v = parseInt(s, 5);
|
/external/v8/test/mjsunit/ |
H A D | parse-int-float.js | 28 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 D | serialize-embedded-error.js | 9 parseInt() = 0;
|
H A D | integer-to-string.js | 30 assertEquals(i, parseInt(""+i)); 32 assertEquals(i, parseInt(""+i));
|
/external/smali/smali/src/test/java/ |
H A D | IntLiteralTest.java | 38 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 D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 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 D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 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 D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/test/ |
H A D | PortTestUtil.java | 40 return (systemProperty == null) ? DEFAULT_SERVER_CONTROL_PORT : Integer.parseInt(systemProperty);
|