Home
last modified time | relevance | path

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

12345678910>>...27

/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/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/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/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DNumberInput.java28 public static int parseInt(char[] ch, int off, int len) in parseInt() method in NumberInput
57 public static int parseInt(String s) in parseInt() method in NumberInput
71 return Integer.parseInt(s); in parseInt()
76 return Integer.parseInt(s); in parseInt()
80 return Integer.parseInt(s); in parseInt()
86 return Integer.parseInt(s); in parseInt()
92 return Integer.parseInt(s); in parseInt()
100 return Integer.parseInt(s); in parseInt()
114 long val = parseInt(ch, off, len1) * L_BILLION; in parseLong()
115 return val + (long) parseInt(ch, off+len1, 9); in parseLong()
[all …]
/external/skia/modules/canvaskit/
Dcolor.js96 a = parseInt(colorStr.slice(7, 9), 16);
98 r = parseInt(colorStr.slice(1, 3), 16);
99 g = parseInt(colorStr.slice(3, 5), 16);
100 b = parseInt(colorStr.slice(5, 7), 16);
106 a = parseInt(colorStr.slice(4, 5), 16) * 17;
108 r = parseInt(colorStr.slice(1, 2), 16) * 17;
109 g = parseInt(colorStr.slice(2, 3), 16) * 17;
110 b = parseInt(colorStr.slice(3, 4), 16) * 17;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DVersionTuple.cpp38 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() function
64 if (parseInt(input, major)) in tryParse()
76 if (parseInt(input, minor)) in tryParse()
88 if (parseInt(input, micro)) in tryParse()
100 if (parseInt(input, build)) in tryParse()
/external/llvm-project/llvm/lib/Support/
DVersionTuple.cpp41 static bool parseInt(StringRef &input, unsigned &value) { in parseInt() function
67 if (parseInt(input, major)) in tryParse()
79 if (parseInt(input, minor)) in tryParse()
91 if (parseInt(input, micro)) in tryParse()
103 if (parseInt(input, build)) in tryParse()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DJavaVersion.java31 this.feature = Integer.parseInt(s[1]); in JavaVersion()
32 this.update = s.length > 3 ? Integer.parseInt(s[3]) : 0; in JavaVersion()
34 this.feature = Integer.parseInt(s[0]); in JavaVersion()
35 this.update = s.length > 2 ? Integer.parseInt(s[2]) : 0; in JavaVersion()
/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/libwebsockets/plugins/
Dserver-status.js18 var i = parseInt(s, 10);
78 u = parseInt(san(jso.i.uptime), 10);
80 if (parseInt(jso.i.contexts[0].deprecated, 10) === 0)
104 humanize(parseInt(sm[5], 10) * 4096) + "B</span>";
117 if (parseInt(jso.i.contexts[ci].deprecated, 10) === 0)
124 u = parseInt(san(jso.i.contexts[ci].context_uptime), 10);
133 …"<span class=n>Current wsi alive:</span> <span class=v>" + (parseInt(san(jso.i.contexts[ci].wsi_al…
134 parseInt(san(jso.i.contexts[ci].listen_wsi), 10)) + "</span><br>" +
154 if (parseInt(jso.i.contexts[ci].deprecated, 10) === 0)
169 if (parseInt(jso.i.contexts[ci].deprecated, 10) === 0)
[all …]
/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/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/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/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DNumberParsingTest.java159 assertEquals(3, NumberInput.parseInt(testChars, 2, 1)); in testIntParsing()
160 assertEquals(123, NumberInput.parseInt(testChars, 0, 3)); in testIntParsing()
161 assertEquals(2345, NumberInput.parseInt(testChars, 1, 4)); in testIntParsing()
162 assertEquals(9, NumberInput.parseInt(testChars, 8, 1)); in testIntParsing()
163 assertEquals(456789, NumberInput.parseInt(testChars, 3, 6)); in testIntParsing()
164 assertEquals(23456, NumberInput.parseInt(testChars, 1, 5)); in testIntParsing()
165 assertEquals(123456789, NumberInput.parseInt(testChars, 0, 9)); in testIntParsing()
168 assertEquals(32, NumberInput.parseInt(testChars, 0, 2)); in testIntParsing()
170 assertEquals(189, NumberInput.parseInt(testChars, 0, 3)); in testIntParsing()
173 assertEquals(10, NumberInput.parseInt(testChars, 0, 2)); in testIntParsing()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DISO8601Utils.java121 int year = parseInt(date, offset, offset += 4); in parse()
127 int month = parseInt(date, offset, offset += 2); in parse()
133 int day = parseInt(date, offset, offset += 2); in parse()
153 hour = parseInt(date, offset += 1, offset += 2); in parse()
158 minutes = parseInt(date, offset, offset += 2); in parse()
166 seconds = parseInt(date, offset, offset += 2); in parse()
173 int fraction = parseInt(date, offset, parseEndOffset); in parse()
284 …private static int parseInt(String value, int beginIndex, int endIndex) throws NumberFormatExcepti… in parseInt() method in ISO8601Utils
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DGeneralName.java335 int maskVal = Integer.parseInt(mask); in parseIPv4Mask()
350 addr[offset + index++] = (byte)Integer.parseInt(sTok.nextToken()); in parseIPv4()
357 int maskVal = Integer.parseInt(mask); in parseMask()
401 val[index++] = Integer.parseInt(e, 16); in parseIPv6()
411 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
412 … 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.java337 int maskVal = Integer.parseInt(mask); in parseIPv4Mask()
352 addr[offset + index++] = (byte)Integer.parseInt(sTok.nextToken()); in parseIPv4()
359 int maskVal = Integer.parseInt(mask); in parseMask()
403 val[index++] = Integer.parseInt(e, 16); in parseIPv6()
413 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
414 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DGeneralName.java337 int maskVal = Integer.parseInt(mask); in parseIPv4Mask()
352 addr[offset + index++] = (byte)Integer.parseInt(sTok.nextToken()); in parseIPv4()
359 int maskVal = Integer.parseInt(mask); in parseMask()
403 val[index++] = Integer.parseInt(e, 16); in parseIPv6()
413 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
414 … val[index++] = (Integer.parseInt(eTok.nextToken()) << 8) | Integer.parseInt(eTok.nextToken()); in parseIPv6()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DIcuFunctions.java6 import static java.lang.Integer.parseInt;
96 exponent += Integer.parseInt(args.get(1));
136 parseInt(m.group(1)), parseInt(m.group(2)), parseInt(m.group(3)));
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DColorParser.java94 : Integer.parseInt(Assertions.checkNotNull(matcher.group(4)), 10), in parseColorInternal()
95 Integer.parseInt(Assertions.checkNotNull(matcher.group(1)), 10), in parseColorInternal()
96 Integer.parseInt(Assertions.checkNotNull(matcher.group(2)), 10), in parseColorInternal()
97 Integer.parseInt(Assertions.checkNotNull(matcher.group(3)), 10)); in parseColorInternal()
103 Integer.parseInt(Assertions.checkNotNull(matcher.group(1)), 10), in parseColorInternal()
104 Integer.parseInt(Assertions.checkNotNull(matcher.group(2)), 10), in parseColorInternal()
105 Integer.parseInt(Assertions.checkNotNull(matcher.group(3)), 10)); in parseColorInternal()
/external/cldr/tools/java/org/unicode/cldr/util/
DSemiFileReader.java30 start = Integer.parseInt(source.substring(0, range), 16); in handleLine()
31 end = Integer.parseInt(source.substring(range + 2), 16); in handleLine()
33 start = end = Integer.parseInt(source, 16); in handleLine()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-fulltext-search/mount-origin/
Dlws-fts.js52 sr.style.width = (parseInt(sr.parentNode.offsetWidth, 10) - 88) + "px";
112 ac.style.width = (parseInt(sb.offsetWidth, 10) - 2) + "px";
134 switch(parseInt(jj.indexed, 10)) {
145 if (jj.ac[n] && parseInt(jj.ac[n].matches, 10))
150 parseInt(jj.ac[n].matches, 10) +
/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()

12345678910>>...27