/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/ |
AttributeValue.java | 41 private String hexString; 61 public AttributeValue(String hexString, byte[] encoded) { 65 this.hexString = hexString; 78 this.rawString = hexString; 79 this.escapedString = hexString; 99 this.escapedString = hexString; 118 if (hexString == null) { 147 hexString = buf.toString(); 149 return hexString; [all...] |
/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);
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 73 StringBuilder hexString = new StringBuilder(); 75 hexString.append(Integer.toHexString(0xFF & b)).append(separator); 77 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/telephony/java/com/android/internal/telephony/ |
IccIoResult.java | 35 public IccIoResult(int sw1, int sw2, String hexString) { 36 this(sw1, sw2, IccUtils.hexStringToBytes(hexString));
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
Double.java | 421 StringBuilder hexString = new StringBuilder(10); 423 hexString.append("-0x"); //$NON-NLS-1$ 425 hexString.append("0x"); //$NON-NLS-1$ 429 hexString.append("0."); //$NON-NLS-1$ 445 hexString.append('0'); 448 hexString.append(hexSignificand); 449 hexString.append("p-1022"); //$NON-NLS-1$ 451 hexString.append("1."); //$NON-NLS-1$ 467 hexString.append('0'); 471 hexString.append(hexSignificand) [all...] |
Float.java | 428 StringBuilder hexString = new StringBuilder(10); 430 hexString.append("-0x"); //$NON-NLS-1$ 432 hexString.append("0x"); //$NON-NLS-1$ 436 hexString.append("0."); //$NON-NLS-1$ 452 hexString.append('0'); 455 hexString.append(hexSignificand); 456 hexString.append("p-126"); //$NON-NLS-1$ 458 hexString.append("1."); //$NON-NLS-1$ 474 hexString.append('0'); 477 hexString.append(hexSignificand) [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
HexStringParser.java | 84 public static double parseDouble(String hexString) { 87 long result = parser.parse(hexString); 94 public static float parseFloat(String hexString) { 97 int result = (int) parser.parse(hexString); 101 private long parse(String hexString) { 102 String[] hexSegments = getSegmentsFromHexString(hexString); 119 private static String[] getSegmentsFromHexString(String hexString) { 120 Matcher matcher = PATTERN.matcher(hexString);
|
/external/icu4c/test/intltest/ |
tscoll.cpp | 467 UnicodeString hexString("0x"); 469 appendHex(o, 8, hexString); 470 hexString += " "; 471 err(hexString); 478 UnicodeString hexString("0x"); 480 appendHex(o, 8, hexString); 481 hexString += " "; 482 err(hexString);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
StkService.java | 354 String hexString = IccUtils.bytesToHexString(rawData); 356 StkLog.d(this, "TERMINAL RESPONSE: " + hexString); 359 mCmdIf.sendTerminalResponse(hexString, null); 400 String hexString = IccUtils.bytesToHexString(rawData); 402 mCmdIf.sendEnvelope(hexString, null); 443 String hexString = IccUtils.bytesToHexString(rawData); 445 mCmdIf.sendEnvelope(hexString, null);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsMessageTest.java | 460 private static byte[] hexStringToByteArray(String hexString) { 461 int length = hexString.length(); 466 (byte)((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i+1)));
|
/cts/tests/tests/telephony/src/android/telephony/gsm/cts/ |
SmsMessageTest.java | 457 private static byte[] hexStringToByteArray(String hexString) { 458 int length = hexString.length(); 463 (byte)((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i+1)));
|
/external/ipsec-tools/src/racoon/ |
cfparse.h | 189 HEXSTRING = 405, 354 #define HEXSTRING 405
|
cftoken.l | 133 hexstring 0x{hexdigit}+ 580 {hexstring} { 599 return(HEXSTRING);
|
cfparse.y | 239 %token HEXSTRING QUOTEDSTRING ADDRSTRING ADDRRANGE 253 %type <val> QUOTEDSTRING HEXSTRING ADDRSTRING ADDRRANGE sainfo_id 398 : HEXSTRING [all...] |
/external/tcpdump/ |
print-esp.c | 117 static u_int hex2byte(netdissect_options *ndo, char *hexstring) 121 byte = (hexdigit(ndo, hexstring[0]) << 4) + hexdigit(ndo, hexstring[1]);
|
/external/ipsec-tools/src/libipsec/ |
policy_token.l | 93 hexstring 0[xX]{hexdigit}+
|
/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);
|
/dalvik/libcore/math/src/main/java/java/math/ |
BigInt.java | 211 public String hexString() {
|
/hardware/qcom/gps/loc_api/libloc_api/ |
loc_eng_ni.cpp | 200 static int hexcode(char *hexstring, int string_size, const char *data, int data_size) 208 snprintf(&hexstring[i*2], 3, "%02X", ch);
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
DNParser.java | 175 // gets hex string attribute value: "#" hexstring
|
/external/wpa_supplicant_6/wpa_supplicant/ |
.config | 237 # PSK can only be configured as the 64-octet hexstring (e.g., from
|
defconfig | 240 # PSK can only be configured as the 64-octet hexstring (e.g., from
|
eapol_test.c | 119 printf("Invalid extra attribute hexstring\n"); 124 printf("Invalid extra attribute hexstring\n");
|
/frameworks/base/core/java/com/android/internal/net/ |
DNParser.java | 168 // gets hex string attribute value: "#" hexstring
|