OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hexString
(Results
1 - 18
of
18
) sorted by null
/libcore/luni/src/main/java/java/lang/
Double.java
427
StringBuilder
hexString
= new StringBuilder(10);
429
hexString
.append("-0x");
431
hexString
.append("0x");
435
hexString
.append("0.");
451
hexString
.append('0');
454
hexString
.append(hexSignificand);
455
hexString
.append("p-1022");
457
hexString
.append("1.");
473
hexString
.append('0');
477
hexString
.append(hexSignificand)
[
all
...]
Float.java
435
StringBuilder
hexString
= new StringBuilder(10);
437
hexString
.append("-0x");
439
hexString
.append("0x");
443
hexString
.append("0.");
459
hexString
.append('0');
462
hexString
.append(hexSignificand);
463
hexString
.append("p-126");
465
hexString
.append("1.");
481
hexString
.append('0');
484
hexString
.append(hexSignificand)
[
all
...]
HexStringParser.java
88
public static double parseDouble(String
hexString
) {
90
long result = parser.parse(
hexString
, true);
97
public static float parseFloat(String
hexString
) {
99
int result = (int) parser.parse(
hexString
, false);
103
private long parse(String
hexString
, boolean isDouble) {
104
Matcher matcher = PATTERN.matcher(
hexString
);
107
hexString
);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
Hex.java
78
public static byte[] decodeHex(String
hexString
) {
79
int length =
hexString
.length();
88
int c1 =
hexString
.charAt(j++);
100
int c2 =
hexString
.charAt(j++);
116
throw new IllegalArgumentException("Invalid hexadecimal digit: " +
hexString
);
/frameworks/base/telephony/java/com/android/internal/telephony/
IccIoResult.java
35
public IccIoResult(int sw1, int sw2, String
hexString
) {
36
this(sw1, sw2, IccUtils.hexStringToBytes(
hexString
));
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
AttributeValue.java
38
private String
hexString
;
59
public AttributeValue(String
hexString
, byte[] encoded) {
62
this.
hexString
=
hexString
;
75
this.rawString =
hexString
;
76
this.escapedString =
hexString
;
93
this.escapedString =
hexString
;
129
if (
hexString
== null) {
155
hexString
= buf.toString();
157
return
hexString
;
[
all
...]
/packages/apps/CertInstaller/src/com/android/certinstaller/
Util.java
71
StringBuilder
hexString
= new StringBuilder();
73
hexString
.append(Integer.toHexString(0xFF & b)).append(separator);
75
return
hexString
.toString();
/frameworks/base/core/java/com/android/internal/util/
HexDump.java
152
public static byte[] hexStringToByteArray(String
hexString
)
154
int length =
hexString
.length();
159
buffer[i / 2] = (byte)((toByte(
hexString
.charAt(i)) << 4) | toByte(
hexString
.charAt(i+1)));
/frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pDevice.java
316
private int parseHex(String
hexString
) {
318
if (
hexString
.startsWith("0x") ||
hexString
.startsWith("0X")) {
319
hexString
=
hexString
.substring(2);
323
num = Integer.parseInt(
hexString
, 16);
325
Log.e(TAG, "Failed to parse hex string " +
hexString
);
/external/icu4c/test/intltest/
tscoll.cpp
471
UnicodeString
hexString
("0x");
473
appendHex(o, 8,
hexString
);
474
hexString
+= " ";
475
err(
hexString
);
482
UnicodeString
hexString
("0x");
484
appendHex(o, 8,
hexString
);
485
hexString
+= " ";
486
err(
hexString
);
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
IntArray.java
507
String
hexString
= Integer.toBinaryString(m_ints[iarrJ]);
510
for (int i =
hexString
.length(); i < 8; i++)
512
hexString
= "0" +
hexString
;
514
sb.append(
hexString
);
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
CatService.java
383
String
hexString
= IccUtils.bytesToHexString(rawData);
385
CatLog.d(this, "TERMINAL RESPONSE: " +
hexString
);
388
mCmdIf.sendTerminalResponse(
hexString
, null);
480
String
hexString
= IccUtils.bytesToHexString(rawData);
482
mCmdIf.sendEnvelope(
hexString
, null);
523
String
hexString
= IccUtils.bytesToHexString(rawData);
525
mCmdIf.sendEnvelope(
hexString
, null);
/external/chromium/chrome/browser/resources/net_internals/
logviewpainter.js
140
* |
hexString
| must be a string of hexadecimal characters with no whitespace,
142
* with the hexadecimal characters from |
hexString
| on the left, in groups of
148
function formatHexString(
hexString
, asciiCharsPerLine) {
153
for (var i = 0; i <
hexString
.length; i += hexCharsPerLine) {
156
for (var j = i; j < i + hexCharsPerLine && j <
hexString
.length; j += 2) {
157
var hex =
hexString
.substr(j, 2);
/cts/tests/tests/telephony/src/android/telephony/cts/
SmsMessageTest.java
472
private static byte[] hexStringToByteArray(String
hexString
) {
473
int length =
hexString
.length();
478
(byte)((toByte(
hexString
.charAt(i)) << 4) | toByte(
hexString
.charAt(i+1)));
/external/icu4c/tools/toolutil/
xmlparser.cpp
606
UnicodeString
hexString
= mAmps.group(6, status);
608
for (i=0; i<
hexString
.length(); i++) {
609
val = (val << 4) + u_digit(
hexString
.charAt(i), 16);
/frameworks/base/core/java/android/net/dhcp/
DhcpPacket.java
497
String
hexString
= "0" + Integer.toHexString(mac[i]);
501
macAddr +=
hexString
.substring(
hexString
.length() - 2);
/external/webkit/Source/WebCore/inspector/front-end/
StylesSidebarPane.js
[
all
...]
/libcore/luni/src/main/java/java/math/
BigInt.java
230
String
hexString
() {
Completed in 525 milliseconds