/external/smali/smali/src/test/java/ |
D | IntLiteralTest.java | 38 Assert.assertTrue(LiteralTools.parseInt("0x0") == 0x0); in SuccessHexTests() 39 Assert.assertTrue(LiteralTools.parseInt("0x00") == 0x0); in SuccessHexTests() 40 Assert.assertTrue(LiteralTools.parseInt("0x1") == 0x1); in SuccessHexTests() 41 Assert.assertTrue(LiteralTools.parseInt("0x12345678") == 0x12345678); in SuccessHexTests() 42 Assert.assertTrue(LiteralTools.parseInt("0x7fffffff") == 0x7fffffff); in SuccessHexTests() 43 Assert.assertTrue(LiteralTools.parseInt("0x80000000") == Integer.MIN_VALUE); in SuccessHexTests() 44 Assert.assertTrue(LiteralTools.parseInt("0xFFFFFFFF") == -1); in SuccessHexTests() 46 Assert.assertTrue(LiteralTools.parseInt("-0x00") == 0); in SuccessHexTests() 47 Assert.assertTrue(LiteralTools.parseInt("-0x01") == -1); in SuccessHexTests() 48 Assert.assertTrue(LiteralTools.parseInt("-0x12345678") == -0x12345678); in SuccessHexTests() [all …]
|
/external/v8/test/mjsunit/ |
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('11', 3.8)); [all …]
|
/external/v8/test/webkit/ |
D | parseInt-expected.txt | 24 Tests for the parseInt function. 29 PASS parseInt('123') is 123 30 PASS parseInt('123x4') is 123 31 PASS parseInt('-123') is -123 32 PASS parseInt('0x123') is 0x123 33 PASS parseInt('0x123x4') is 0x123 34 PASS parseInt('-0x123x4') is -0x123 35 PASS parseInt('-') is Number.NaN 36 PASS parseInt('0x') is Number.NaN 37 PASS parseInt('-0x') is Number.NaN [all …]
|
D | numeric-conversion-expected.txt | 30 PASS parseInt('1152921504606847105').toString() is '1152921504606847200' 33 PASS parseInt('0x1000000000000081', 16).toString(16) is '1000000000000100' 36 PASS parseInt('100000000000000000201', 8).toString(8) is '100000000000000000400' 38 PASS parseInt('100000000000000000000000000000000000000000000000000000000000000000000000000000000000… 39 PASS parseInt('0x1000000000000000000000000000000000000000000000000000000000000000000000000000000000… 40 PASS parseInt('100000000000000000000000000000000000000000000000000000000000000000000000000000000000… 41 PASS parseInt('9007199254740992e2000').toString() is '9007199254740992' 42 PASS parseInt('9007199254740992.0e2000').toString() is '9007199254740992' 43 PASS parseInt(NaN) is NaN 44 PASS parseInt(-Infinity) is NaN [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-1246.js | 54 assertEquals(NaN, parseInt("", radix)); 55 assertEquals(23, parseInt("23", radix)); 56 assertEquals(0xaf, parseInt("0xaf", radix)); 57 assertEquals(NaN, parseInt("af", radix)); 62 assertEquals(NaN, parseInt("", radix)); 63 assertEquals(NaN, parseInt("23", radix)); 64 assertEquals(NaN, parseInt("0xaf", radix)); 65 assertEquals(NaN, parseInt("af", radix)); 70 assertEquals(NaN, parseInt("", radix)); 71 assertEquals(23, parseInt("23", radix)); [all …]
|
D | regress-955.js | 31 assertEquals(-0, parseInt("-0")); 32 assertEquals(0, parseInt("+0")); 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("\t-0")); 44 assertEquals(0, parseInt("\t+0"));
|
/external/v8/test/webkit/fast/js/kde/ |
D | GlobalObject-expected.txt | 43 PASS isNaN(parseInt("Hello", 8)) is true 44 PASS isNaN(parseInt("FFF", 10)) is true 45 PASS isNaN(parseInt(".5", 10)) is true 48 PASS isNaN(parseInt()) is true 49 PASS isNaN(parseInt('')) is true 50 PASS isNaN(parseInt(' ')) is true 51 PASS isNaN(parseInt('a')) is true 52 PASS parseInt(1) is 1 53 PASS parseInt(1234567890123456) is 1234567890123456 54 PASS parseInt(1.2) is 1 [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | RemoteDebugEventSocketListener.java | 266 listener.enterAlt(Integer.parseInt(elements[1])); in dispatch() 269 listener.enterSubRule(Integer.parseInt(elements[1])); in dispatch() 272 listener.exitSubRule(Integer.parseInt(elements[1])); in dispatch() 275 listener.enterDecision(Integer.parseInt(elements[1]), elements[2].equals("true")); in dispatch() 278 listener.exitDecision(Integer.parseInt(elements[1])); in dispatch() 281 listener.location(Integer.parseInt(elements[1]), in dispatch() 282 Integer.parseInt(elements[2])); in dispatch() 302 listener.LT(Integer.parseInt(elements[1]), t); in dispatch() 305 listener.mark(Integer.parseInt(elements[1])); in dispatch() 309 listener.rewind(Integer.parseInt(elements[1])); in dispatch() [all …]
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/font/plugins/ |
D | BitmapFontLoader.java | 69 charSet.setRenderedSize(Integer.parseInt(tokens[i + 1])); in load() 77 charSet.setLineHeight(Integer.parseInt(tokens[i + 1])); in load() 79 charSet.setBase(Integer.parseInt(tokens[i + 1])); in load() 81 charSet.setWidth(Integer.parseInt(tokens[i + 1])); in load() 83 charSet.setHeight(Integer.parseInt(tokens[i + 1])); in load() 86 matPages = new Material[Integer.parseInt(tokens[i + 1])]; in load() 97 index = Integer.parseInt(tokens[i + 1]); in load() 124 int index = Integer.parseInt(tokens[i + 1]); in load() 128 ch.setX(Integer.parseInt(tokens[i + 1])); in load() 130 ch.setY(Integer.parseInt(tokens[i + 1])); in load() [all …]
|
/external/v8/tools/ |
D | tickprocessor.js | 76 parsers: [null, parseInt, parseInt, parseInt, null, 'var-args'], 78 'code-move': { parsers: [parseInt, parseInt], 80 'code-delete': { parsers: [parseInt], 86 'snapshot-pos': { parsers: [parseInt, parseInt], 112 var funcAddr = parseInt(maybe_func[0]); 159 'shared-library': { parsers: [null, parseInt, parseInt], 162 parsers: [null, parseInt, parseInt, parseInt, null, 'var-args'], 164 'code-move': { parsers: [parseInt, parseInt], 166 'code-delete': { parsers: [parseInt], 168 'sfi-move': { parsers: [parseInt, parseInt], [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
D | ColorTags.java | 72 color.set(Integer.parseInt(colorStr.subSequence(0,2).toString(), 16) / 255f, in Range() 73 Integer.parseInt(colorStr.subSequence(2,4).toString(), 16) / 255f, in Range() 74 Integer.parseInt(colorStr.subSequence(4,6).toString(), 16) / 255f, in Range() 77 color.a = Integer.parseInt(colorStr.subSequence(6,8).toString(), 16) / 255f; in Range() 80 color.set(Integer.parseInt(Character.toString(colorStr.charAt(0)), 16) / 15f, in Range() 81 Integer.parseInt(Character.toString(colorStr.charAt(1)), 16) / 15f, in Range() 82 Integer.parseInt(Character.toString(colorStr.charAt(2)), 16) / 15f, in Range() 85 color.a = Integer.parseInt(Character.toString(colorStr.charAt(3)), 16) / 15f; in Range()
|
/external/v8/test/cctest/ |
D | log-eq-of-logging-and-traversal.js | 42 parsers: [null, parseInt, parseInt, parseInt, null, 'var-args'], 44 'code-move': { parsers: [parseInt, parseInt], 47 'sfi-move': { parsers: [parseInt, parseInt], 67 var funcAddr = parseInt(maybe_func[0]);
|
/external/v8/test/mjsunit/harmony/ |
D | numeric-literals.js | 75 assertEquals(0, parseInt('0o77')); 76 assertEquals(0, parseInt('0o77', 8)); 77 assertEquals(0, parseInt('0b11')); 78 assertEquals(0, parseInt('0b11', 2));
|
/external/clang/lib/Basic/ |
D | VersionTuple.cpp | 40 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() function 63 if (parseInt(input, major)) return true; in tryParse() 73 if (parseInt(input, minor)) return true; in tryParse() 83 if (parseInt(input, micro)) return true; in tryParse() 93 if (parseInt(input, build)) return true; in tryParse()
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
D | WebSocketServlet.java | 68 … _webSocketFactory = new WebSocketFactory(this, bs == null ? 8192 : Integer.parseInt(bs)); in init() 73 _webSocketFactory.setMaxIdleTime(Integer.parseInt(max)); in init() 77 _webSocketFactory.setMaxTextMessageSize(Integer.parseInt(max)); in init() 81 _webSocketFactory.setMaxBinaryMessageSize(Integer.parseInt(max)); in init() 85 _webSocketFactory.setMinVersion(Integer.parseInt(min)); in init()
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/ |
D | IsoDate.java | 82 Integer.parseInt(text.substring(0, 4))); in stringToDate() 85 Integer.parseInt(text.substring(5, 7)) in stringToDate() 90 Integer.parseInt(text.substring(8, 10))); in stringToDate() 106 Integer.parseInt(text.substring(0, 2))); in stringToDate() 110 Integer.parseInt(text.substring(3, 5))); in stringToDate() 113 Integer.parseInt(text.substring(6, 8))); in stringToDate()
|
/external/lzma/Java/SevenZip/ |
D | LzmaAlone.java | 36 DictionarySize = 1 << Integer.parseInt(s.substring(1)); in ParseSwitch() 41 Fb = Integer.parseInt(s.substring(2)); in ParseSwitch() 45 Algorithm = Integer.parseInt(s.substring(1)); in ParseSwitch() 47 Lc = Integer.parseInt(s.substring(2)); in ParseSwitch() 49 Lp = Integer.parseInt(s.substring(2)); in ParseSwitch() 51 Pb = Integer.parseInt(s.substring(2)); in ParseSwitch() 121 NumBenchmarkPasses = Integer.parseInt(s); in Parse()
|
/external/doclava/res/assets/templates/assets/ |
D | doclava-developer-docs.js | 78 content.css({marginLeft:parseInt(navWidth) + 6 + "px"}); //account for 6px-wide handle-bar 81 …content.css({width:parseInt(windowWidth) - parseInt(navWidth) - 6 + "px"}); // necessary in order … 97 classesNav.css({height:swapperHeight - parseInt(packageHeight) + "px"}); 98 …$("#packages-nav").css({height:parseInt(packageHeight) - 6 + "px"}); //move 6px to give space for … 237 classesNav.css({height:swapperHeight - parseInt(resizePackagesNav.css("height")) + "px"}); 240 …$("#packages-nav").css({height:parseInt(resizePackagesNav.css("height")) - 6 + "px"}); //move 6px … 261 … $("#classes-nav").css({height:swapperHeight - parseInt(resizePackagesNav.css("height")) + "px"}); 272 if ( parseInt($("#jd-content").css("height")) <= parseInt(docContent.css("height")) ) { 288 content.css({marginLeft:parseInt(sidenavWidth) + 6 + "px"}); //account for 6px-wide handle-bar 291 …content.css({width:parseInt(windowWidth) - parseInt(sidenavWidth) - 6 + "px"}); // necessary in or…
|
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
D | DOMInputCapsule.java | 75 importer.formatVersion = version.equals("") ? 0 : Integer.parseInt(version); in DOMInputCapsule() 155 int requiredSize = Integer.parseInt(sizeString); in readByteArray() 204 int requiredSize = Integer.parseInt(sizeString); in readByteArray2D() 230 return Integer.parseInt(tmpString); in readInt() 256 int requiredSize = Integer.parseInt(sizeString); in readIntArray() 264 tmp[i] = Integer.parseInt(strings[i]); in readIntArray() 307 int requiredSize = Integer.parseInt(sizeString); in readIntArray2D() 359 int requiredSize = Integer.parseInt(sizeString); in readFloatArray() 391 int size_outer = Integer.parseInt(tmpEl.getAttribute("size_outer")); in readFloatArray2D() 392 int size_inner = Integer.parseInt(tmpEl.getAttribute("size_outer")); in readFloatArray2D() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | GeneralName.java | 334 int maskVal = Integer.parseInt(mask); in parseIPv4Mask() 349 addr[offset + index++] = (byte)Integer.parseInt(sTok.nextToken()); in parseIPv4() 356 int maskVal = Integer.parseInt(mask); in parseMask() 400 val[index++] = Integer.parseInt(e, 16); in parseIPv6() 410 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6() 411 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | Utils.java | 263 int year = Integer.parseInt(buildIdParts[buildIdSegment].substring(0, 4)); in getDateFromBuildID() 264 int month = Integer.parseInt(buildIdParts[buildIdSegment].substring(4, 6)) - 1; in getDateFromBuildID() 265 int date = Integer.parseInt(buildIdParts[buildIdSegment].substring(6, 8)); in getDateFromBuildID() 266 int hours = Integer.parseInt(buildIdParts[buildIdSegment].substring(8, 10)); in getDateFromBuildID() 267 int min = Integer.parseInt(buildIdParts[buildIdSegment].substring(10, 12)); in getDateFromBuildID() 275 int year = Integer.parseInt(buildIdParts[0].substring(1, 5)); in getDateFromBuildID() 276 int month = Integer.parseInt(buildIdParts[0].substring(5, 7)) - 1; in getDateFromBuildID() 277 int date = Integer.parseInt(buildIdParts[0].substring(7, 9)); in getDateFromBuildID() 278 int hours = Integer.parseInt(buildIdParts[1].substring(0, 2)); in getDateFromBuildID() 279 int min = Integer.parseInt(buildIdParts[1].substring(2, 4)); in getDateFromBuildID()
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/xml/ |
D | SAXUtil.java | 54 public static int parseInt(String i, int def) throws SAXException{ in parseInt() method in SAXUtil 59 return Integer.parseInt(i); in parseInt() 66 public static int parseInt(String i) throws SAXException{ in parseInt() method in SAXUtil 71 return Integer.parseInt(i); in parseInt()
|
/external/v8/tools/profviz/ |
D | composer.js | 222 int_timestamp = parseInt(timestamp); 315 'shared-library': { parsers: [null, parseInt, parseInt], 317 'code-creation': { parsers: [null, parseInt, parseInt, parseInt, null], 319 'code-move': { parsers: [parseInt, parseInt], 321 'code-delete': { parsers: [parseInt], 323 'code-deopt': { parsers: [parseTimeStamp, parseInt], 327 'tick': { parsers: [parseInt, parseTimeStamp, 328 null, null, parseInt, 'var-args'],
|
D | stdio.js | 35 var distortion = parseInt(result.distortion); 40 var range_start = parseInt(rangelimits[0]); 41 var range_end = parseInt(rangelimits[1]);
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
D | MeshLoader.java | 161 pushIndex(parseInt(v1)); in pushFace() 162 pushIndex(parseInt(v2)); in pushFace() 163 pushIndex(parseInt(v3)); in pushFace() 166 pushIndex(parseInt(v1)); in pushFace() 167 pushIndex(parseInt(v2)); in pushFace() 170 pushIndex(parseInt(v1)); in pushFace() 181 int numFaces = parseInt(count); in startFaces() 290 vertCount = parseInt(vertexcount); in startSharedGeom() 298 vertCount = parseInt(vertexcount); in startGeometry() 412 int dimensions = parseInt(attribs.getValue("tangent_dimensions"), 3); in startVertexBuffer() [all …]
|