Home
last modified time | relevance | path

Searched refs:parseInt (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/external/smali/smali/src/test/java/org/jf/smali/
DIntLiteralTest.java41 Assert.assertTrue(LiteralTools.parseInt("0x0") == 0x0); in SuccessHexTests()
42 Assert.assertTrue(LiteralTools.parseInt("0x00") == 0x0); in SuccessHexTests()
43 Assert.assertTrue(LiteralTools.parseInt("0x1") == 0x1); in SuccessHexTests()
44 Assert.assertTrue(LiteralTools.parseInt("0x12345678") == 0x12345678); in SuccessHexTests()
45 Assert.assertTrue(LiteralTools.parseInt("0x7fffffff") == 0x7fffffff); in SuccessHexTests()
46 Assert.assertTrue(LiteralTools.parseInt("0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
47 Assert.assertTrue(LiteralTools.parseInt("0xFFFFFFFF") == -1); in SuccessHexTests()
49 Assert.assertTrue(LiteralTools.parseInt("-0x00") == 0); in SuccessHexTests()
50 Assert.assertTrue(LiteralTools.parseInt("-0x01") == -1); in SuccessHexTests()
51 Assert.assertTrue(LiteralTools.parseInt("-0x12345678") == -0x12345678); in SuccessHexTests()
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DRemoteDebugEventSocketListener.java296 listener.enterAlt(Integer.parseInt(elements[1])); in dispatch()
299 listener.enterSubRule(Integer.parseInt(elements[1])); in dispatch()
302 listener.exitSubRule(Integer.parseInt(elements[1])); in dispatch()
305 listener.enterDecision(Integer.parseInt(elements[1]), elements[2].equals("true")); in dispatch()
308 listener.exitDecision(Integer.parseInt(elements[1])); in dispatch()
311 listener.location(Integer.parseInt(elements[1]), in dispatch()
312 Integer.parseInt(elements[2])); in dispatch()
332 listener.LT(Integer.parseInt(elements[1]), t); in dispatch()
335 listener.mark(Integer.parseInt(elements[1])); in dispatch()
339 listener.rewind(Integer.parseInt(elements[1])); in dispatch()
[all …]
/external/v8/tools/
Dic-processor.js35 var propertyICParser = [parseInt, parseInt, parseInt, parseString,
36 parseString, parseInt, parseString, parseString, parseString];
39 parsers: [parseString, parseInt, parseInt, parseInt, parseInt,
42 'code-move': { parsers: [parseInt, parseInt],
44 'code-delete': { parsers: [parseInt],
46 'sfi-move': { parsers: [parseInt, parseInt],
121 var funcAddr = parseInt(maybe_func[0]);
Dtickprocessor.js105 'shared-library': { parsers: [parseString, parseInt, parseInt, parseInt],
108 parsers: [parseString, parseInt, parseInt, parseInt, parseInt,
112 parsers: [parseInt, parseInt, parseInt, parseInt, parseInt,
115 'code-move': { parsers: [parseInt, parseInt, ],
117 'code-delete': { parsers: [parseInt],
120 parsers: [parseInt, parseInt, parseInt, parseInt, parseString,
124 parsers: [parseInt, parseString, parseString],
126 'sfi-move': { parsers: [parseInt, parseInt],
132 parsers: [parseInt, parseInt, parseInt,
133 parseInt, parseInt, parseVarArgs],
[all …]
Dmap-processor.js11 parsers: [parseString, parseInt, parseInt, parseInt, parseInt,
16 parsers: [parseInt, parseInt],
18 parsers: [parseInt, parseInt],
22 parsers: [parseInt],
28 parsers: [parseInt, parseInt, parseString],
32 parsers: [parseString, parseInt, parseInt, parseInt, parseInt, parseInt,
38 parsers: [parseInt, parseInt, parseString],
111 let funcAddr = parseInt(maybe_func[0]);
149 time = parseInt(time);
424 this.time = parseInt(time);
Ddumpcpp.js7 'shared-library': { parsers: [parseString, parseInt, parseInt, parseInt],
Dparse-processor.js759 parseString, parseInt, parseInt, parseInt, parseFloat, parseInt,
768 [parseString, parseString, parseInt, parseInt, parseInt, parseInt],
772 parsers: [parseString, parseInt, parseInt],
777 parsers: [parseInt, parseString, parseInt, parseInt, parseInt],
781 parsers: [parseInt, parseString, parseString],
/external/testng/src/main/java/org/testng/remote/strprotocol/
DMessageHelper.java45 return idx == -1 ? Integer.parseInt(message) : Integer.parseInt(message.substring(0, idx)); in getMessageType()
51 return new GenericMessage(Integer.parseInt(messageParts[0])); in unmarshallGenericMessage()
54 GenericMessage result = new GenericMessage(Integer.parseInt(messageParts[0])); in unmarshallGenericMessage()
58 result.setTestCount(Integer.parseInt(messageParts[i + 1])); in unmarshallGenericMessage()
60 result.setSuiteCount(Integer.parseInt(messageParts[i + 1])); in unmarshallGenericMessage()
74 Integer.parseInt(messageParts[2])); in createSuiteMessage()
77 int count = Integer.parseInt(messageParts[3]); in createSuiteMessage()
98 Integer.parseInt(messageParts[3]), in createTestMessage()
99 Integer.parseInt(messageParts[4]), in createTestMessage()
100 Integer.parseInt(messageParts[5]), in createTestMessage()
[all …]
/external/syzkaller/dashboard/app/static/
Dcommon.js45 function numSort(v) { return -parseInt(v); }
47 function patchedSort(v) { return v == "" ? -1 : parseInt(v); }
56 return parseInt(v);
58 return parseInt(v) * 60 + parseInt(v.substring(h + 1));
60 return parseInt(v) * 60 * 24 + parseInt(v.substring(d + 1)) * 60;
62 return parseInt(v) * 60 * 24;
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcolor.js49 a = parseInt(colorStr.slice(7, 9), 16);
51 r = parseInt(colorStr.slice(1, 3), 16);
52 g = parseInt(colorStr.slice(3, 5), 16);
53 b = parseInt(colorStr.slice(5, 7), 16);
59 a = parseInt(colorStr.slice(4, 5), 16) * 17;
61 r = parseInt(colorStr.slice(1, 2), 16) * 17;
62 g = parseInt(colorStr.slice(2, 3), 16) * 17;
63 b = parseInt(colorStr.slice(3, 4), 16) * 17;
/external/skia/modules/canvaskit/htmlcanvas/
Dcolor.js49 a = parseInt(colorStr.slice(7, 9), 16);
51 r = parseInt(colorStr.slice(1, 3), 16);
52 g = parseInt(colorStr.slice(3, 5), 16);
53 b = parseInt(colorStr.slice(5, 7), 16);
59 a = parseInt(colorStr.slice(4, 5), 16) * 17;
61 r = parseInt(colorStr.slice(1, 2), 16) * 17;
62 g = parseInt(colorStr.slice(2, 3), 16) * 17;
63 b = parseInt(colorStr.slice(3, 4), 16) * 17;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DVersionTuple.cpp39 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() function
65 if (parseInt(input, major)) in tryParse()
77 if (parseInt(input, minor)) in tryParse()
89 if (parseInt(input, micro)) in tryParse()
101 if (parseInt(input, build)) in tryParse()
/external/clang/lib/Basic/
DVersionTuple.cpp40 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/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DClientConfiguration.java20 import static java.lang.Integer.parseInt;
145 config.channels = parseInt(value); in setClientValue()
152 config.outstandingRpcsPerChannel = parseInt(value); in setClientValue()
158 config.clientPayload = parseInt(value); in setClientValue()
164 config.serverPayload = parseInt(value); in setClientValue()
188 config.duration = parseInt(value); in setClientValue()
194 config.warmupDuration = parseInt(value); in setClientValue()
221 config.flowControlWindow = parseInt(value); in setClientValue()
227 config.targetQps = parseInt(value); in setClientValue()
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-docs.js78 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/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
DIsoDate.java82 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/
DLzmaAlone.java36 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DGeneralName.java334 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DGeneralName.java343 int maskVal = Integer.parseInt(mask); in parseIPv4Mask()
358 addr[offset + index++] = (byte)Integer.parseInt(sTok.nextToken()); in parseIPv4()
365 int maskVal = Integer.parseInt(mask); in parseMask()
409 val[index++] = Integer.parseInt(e, 16); in parseIPv6()
419 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
420 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
/external/v8/tools/profviz/
Dcomposer.js222 int_timestamp = parseInt(timestamp);
315 'shared-library': { parsers: [parseString, parseInt, parseInt],
317 'code-creation': { parsers: [parseString, parseInt, parseInt,
318 parseInt, parseString],
320 'code-move': { parsers: [parseInt, parseInt],
322 'code-delete': { parsers: [parseInt],
324 'code-deopt': { parsers: [parseTimeStamp, parseInt],
328 'tick': { parsers: [parseInt, parseTimeStamp, parseString,
329 parseString, parseInt, parseVarArgs],
Dstdio.js35 var distortion = parseInt(result.distortion);
40 var range_start = parseInt(rangelimits[0]);
41 var range_end = parseInt(rangelimits[1]);
/external/cldr/tools/java/org/unicode/cldr/util/
DSemiFileReader.java29 start = Integer.parseInt(source.substring(0, range), 16); in handleLine()
30 end = Integer.parseInt(source.substring(range + 2), 16); in handleLine()
32 start = end = Integer.parseInt(source, 16); in handleLine()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DHeaderParser.java85 int day = Integer.parseInt(s1); in date()
118 int yr = Integer.parseInt(s2); in date()
134 int hour = Integer.parseInt(s); in time()
138 int min = Integer.parseInt(s); in time()
142 int sec = Integer.parseInt(s); in time()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/programmer/
DFirmwareImage.java75 int addr = parseInt(line, cur); in parseLine()
100 return (byte) Integer.parseInt(line.substring(pos, pos + 2), 16); in parseByte()
106 private static int parseInt(String line, int pos) throws ParseException { in parseInt() method in FirmwareImage
109 return Integer.parseInt(line.substring(pos, pos + 4), 16); in parseInt()
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
DSecurityAgree.java309 return (Integer.parseInt(getParameter(ParameterNamesIms.SPI_C))); in getSPIClient()
317 return (Integer.parseInt(getParameter(ParameterNamesIms.SPI_S))); in getSPIServer()
325 return (Integer.parseInt(getParameter(ParameterNamesIms.PORT_C))); in getPortClient()
333 return (Integer.parseInt(getParameter(ParameterNamesIms.PORT_S))); in getPortServer()

12345678910>>...23