/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(63, parseInt('077')); 33 assertEquals(63, parseInt(' 077')); 34 assertEquals(63, parseInt(' 077 ')); 35 assertEquals(-63, parseInt(' -077')); 37 assertEquals(3, parseInt('11', 2)); 38 assertEquals(4, parseInt('11', 3)); 39 assertEquals(4, parseInt('11', 3.8)); [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
D | 15.1.2.2-1.js | 110 array[item++] = new TestCase( SECTION, "parseInt.length", 2, parseInt.length ); 113 …array[item++] = new TestCase( SECTION, "delete parseInt.length", false, delete parseInt.length… 117 array[item++] = new TestCase( SECTION, "parseInt()", NaN, parseInt() ); 118 array[item++] = new TestCase( SECTION, "parseInt('')", NaN, parseInt("") ); 119 array[item++] = new TestCase( SECTION, "parseInt('','')", NaN, parseInt("","") ); 123 parseInt( " 0xabcdef " )); 128 parseInt( " 0XABCDEF " ) ); 133 parseInt( "0xabcdef") ); 138 parseInt( "0XABCDEF") ); 141 …array[item++] = new TestCase( SECTION, "parseInt("+HEX_STRING+")", HEX_VALUE, parseInt(HEX_STR… [all …]
|
D | 15.1.2.2-2.js | 47 parseInt("000000100000000100100011010001010110011110001001101010111100",2) ); 52 parseInt("000000100000000100100011010001010110011110001001101010111101",2)); 57 parseInt("000000100000000100100011010001010110011110001001101010111111",2) ); 62 parseInt("0000001000000001001000110100010101100111100010011010101111010",2) ); 67 parseInt("0000001000000001001000110100010101100111100010011010101111011",2)); 72 parseInt("0000001000000001001000110100010101100111100010011010101111100",2) ); 77 parseInt("0000001000000001001000110100010101100111100010011010101111110",2) ); 82 parseInt("yz",35) ); 87 parseInt("yz",36) ); 92 parseInt("yz",37) ); [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/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
D | 9.3.1-3.js | 228 parseInt(s1,10) == 1.7976931348623157e+308 || parseInt(s1,10) == Infinity ); 234 parseInt(s2,10) == Infinity || parseInt(s2,10) == 1.7976931348623157e+308 ); 241 parseInt(s1) == 1.7976931348623157e+308 || parseInt(s1) == Infinity); 247 parseInt(s2) == Infinity || parseInt(s2) == 1.7976931348623157e+308 ); 383 parseInt("000000100000000100100011010001010110011110001001101010111100",2) ); 388 parseInt("000000100000000100100011010001010110011110001001101010111101",2) ); 393 parseInt("000000100000000100100011010001010110011110001001101010111111",2) ); 398 parseInt("0000001000000001001000110100010101100111100010011010101111010",2)); 403 parseInt("0000001000000001001000110100010101100111100010011010101111011",2) ); 408 parseInt("0000001000000001001000110100010101100111100010011010101111100",2)); [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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | IntegerTest.java | 315 int i = Integer.parseInt("-8900"); in test_parseIntLjava_lang_String2() 317 assertEquals("Returned incorrect value for 0", 0, Integer.parseInt("0")); in test_parseIntLjava_lang_String2() 319 .parseInt("-2147483648") == 0x80000000); in test_parseIntLjava_lang_String2() 321 .parseInt("2147483647") == 0x7fffffff); in test_parseIntLjava_lang_String2() 325 Integer.parseInt("999999999999"); in test_parseIntLjava_lang_String2() 334 Integer.parseInt("2147483648"); in test_parseIntLjava_lang_String2() 343 Integer.parseInt("-2147483649"); in test_parseIntLjava_lang_String2() 357 -8000, Integer.parseInt("-8000", 10)); in test_parseIntLjava_lang_StringI2() 359 255, Integer.parseInt("FF", 16)); in test_parseIntLjava_lang_StringI2() 361 16, Integer.parseInt("20", 8)); in test_parseIntLjava_lang_StringI2() [all …]
|
/external/v8/tools/ |
D | tickprocessor.js | 76 parsers: [null, 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]); 156 'shared-library': { parsers: [null, parseInt, parseInt], 159 parsers: [null, parseInt, parseInt, null, 'var-args'], 161 'code-move': { parsers: [parseInt, parseInt], 163 'code-delete': { parsers: [parseInt], 165 '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/chromium-trace/src/tracing/ |
D | linux_perf_importer.js | 158 pid = parseInt(pid); 652 event.cpuState = this.getOrCreateCpuState(parseInt(cpuNum)); 691 var nextPid = parseInt(event[6]); 692 var nextPrio = parseInt(event[7]); 702 var pid = parseInt(event[2]); 703 var prio = parseInt(event[3]); 711 var targetCpuNumber = parseInt(event[3]); 726 var powerState = parseInt(event[2]); 735 var targetCpuNumber = parseInt(event[3]); 743 var powerState = parseInt(event[2]); [all …]
|
/external/chromium-trace/src/shared/js/cr/ |
D | ui.js | 127 var inner = parseInt(computedStyle.borderLeftWidth, 10) + 128 parseInt(computedStyle.paddingLeft, 10) + 129 parseInt(computedStyle.paddingRight, 10) + 130 parseInt(computedStyle.borderRightWidth, 10); 133 var parentPadding = rtl ? parseInt(parentComputedStyle.paddingLeft, 10) : 134 parseInt(parentComputedStyle.paddingRight, 10);
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
D | ui.js | 127 var inner = parseInt(computedStyle.borderLeftWidth, 10) + 128 parseInt(computedStyle.paddingLeft, 10) + 129 parseInt(computedStyle.paddingRight, 10) + 130 parseInt(computedStyle.borderRightWidth, 10); 133 var parentPadding = rtl ? parseInt(parentComputedStyle.paddingLeft, 10) : 134 parseInt(parentComputedStyle.paddingRight, 10);
|
/external/v8/test/cctest/ |
D | log-eq-of-logging-and-traversal.js | 42 parsers: [null, parseInt, parseInt, null, 'var-args'], 44 'code-move': { parsers: [parseInt, parseInt], 47 'sfi-move': { parsers: [parseInt, parseInt], 63 var funcAddr = parseInt(maybe_func[0]);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | Color.js | 171 var r = parseInt(rgb[0]).toString(16); 172 var g = parseInt(rgb[1]).toString(16); 173 var b = parseInt(rgb[2]).toString(16); 186 var r = parseInt(hex.substring(0,2), 16); 187 var g = parseInt(hex.substring(2,4), 16); 188 var b = parseInt(hex.substring(4,6), 16); 195 var r = parseInt(rgb[0]) / 255; 196 var g = parseInt(rgb[1]) / 255; 197 var b = parseInt(rgb[2]) / 255;
|
/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/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
D | GeneralName.java | 341 int maskVal = Integer.parseInt(mask); in parseIPv4Mask() 356 addr[offset + index++] = (byte)Integer.parseInt(sTok.nextToken()); in parseIPv4() 363 int maskVal = Integer.parseInt(mask); in parseMask() 407 val[index++] = Integer.parseInt(e, 16); in parseIPv6() 417 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6() 418 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
|
/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/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/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/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
D | string-unpack-code.js | 16 var decompressedMochiKit = function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=… 30 var decompressedJQuery = function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%… 51 var decompressedDojo = function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)… 66 var decompressedPrototype = function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c…
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
D | string-unpack-code.js | 16 var decompressedMochiKit = function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=… 30 var decompressedJQuery = function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%… 51 var decompressedDojo = function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)… 66 var decompressedPrototype = function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c…
|
/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 …]
|