Home
last modified time | relevance | path

Searched refs:hexString (Results 1 – 25 of 27) sorted by relevance

12

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DHex.java50 public static byte[] decodeHex(String hexString) { in decodeHex() argument
52 for (int i = 0; i < hexString.length(); i += 2) { in decodeHex()
53 int b = Integer.parseInt(hexString.substring(i, i + 2), 16); in decodeHex()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DHexDump.java152 public static byte[] hexStringToByteArray(String hexString) in hexStringToByteArray() argument
154 int length = hexString.length(); in hexStringToByteArray()
159 … buffer[i / 2] = (byte)((toByte(hexString.charAt(i)) << 4) | toByte(hexString.charAt(i+1))); in hexStringToByteArray()
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp459 UnicodeString hexString("0x"); in backAndForth() local
461 appendHex(o, 8, hexString); in backAndForth()
462 hexString += " "; in backAndForth()
463 err(hexString); in backAndForth()
470 UnicodeString hexString("0x"); in backAndForth() local
472 appendHex(o, 8, hexString); in backAndForth()
473 hexString += " "; in backAndForth()
474 err(hexString); in backAndForth()
/external/r8/src/main/java/com/android/tools/r8/code/
DFillArrayDataPayload.java85 builder.append(StringUtils.hexString(element_width, 1)); in toSmaliString()
97 builder.append(StringUtils.hexString(value, 2)); in toSmaliString()
113 builder.append(StringUtils.hexString(value, element_width * 2)); in toSmaliString()
DConstWideHigh16.java43 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString()
48 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toSmaliString()
DConstWide32.java44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString()
50 "v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + " # " + decodedValue()); in toSmaliString()
DConst4.java44 return formatString("v" + A + ", 0x" + StringUtils.hexString(decodedValue(), 1) + in toString()
49 return formatSmaliString("v" + A + ", 0x" + StringUtils.hexString(decodedValue(), 2) + in toSmaliString()
DConst.java44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toString()
49 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toSmaliString()
DConstWide16.java44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString()
50 "v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + "L # " + decodedValue()); in toSmaliString()
DConstWide.java44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString()
49 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toSmaliString()
DConstHigh16.java44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toString()
49 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toSmaliString()
DConst16.java45 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 4) + in toString()
DFormat21s.java54 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(BBBB, 4) + " # " + BBBB); in toSmaliString()
DFormat22s.java59 "v" + A + ", v" + B + ", 0x" + StringUtils.hexString(CCCC, 4) + " # " + CCCC); in toSmaliString()
DFormat22b.java59 "v" + AA + ", v" + BB + ", 0x" + StringUtils.hexString(CC, 2) + " # " + CC); in toSmaliString()
DPackedSwitchPayload.java98 builder.append(StringUtils.hexString(first_key, 8)); in toSmaliString()
DSparseSwitchPayload.java107 builder.append(StringUtils.hexString(keys[i], 8)); in toSmaliString()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTypedValueTest.java48 String hexString = TypedValue.coerceToString(TypedValue.TYPE_INT_HEX, 0xcafebabe); in testCoerceIntegerToHexString() local
50 assertThat(hexString, equalTo("0xcafebabe")); in testCoerceIntegerToHexString()
/external/r8/src/main/java/com/android/tools/r8/utils/
DStringUtils.java143 public static String hexString(int value, int width) { in hexString() method in StringUtils
155 public static String hexString(long value, int width) { in hexString() method in StringUtils
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DDefaultDeflateCompatibilityWindow.java269 private final static String hexString(byte[] bytes) { in hexString() method in DefaultDeflateCompatibilityWindow
352 String sha256String = hexString(sha256OfCompressedData); in getSystemValues()
/external/fonttools/Lib/fontTools/misc/
Deexec.py38 def hexString(s): function
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexDebugEntry.java37 builder.append("pc 0x").append(StringUtils.hexString(address, 2)); in toString()
/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp608 UnicodeString hexString = mAmps.group(6, status); in replaceCharRefs() local
610 for (i=0; i<hexString.length(); i++) { in replaceCharRefs()
611 val = (val << 4) + u_digit(hexString.charAt(i), 16); in replaceCharRefs()
/external/mdnsresponder/mDNSShared/
DDebugServices.c2090 char hexString[ 64 ]; in DebugHexDump() local
2192 s = hexString; in DebugHexDump()
2220 check( ( (size_t)( s - hexString ) ) < sizeof( hexString ) ); in DebugHexDump()
2286 hexString, in DebugHexDump()
2308 hexString, in DebugHexDump()
2333 hexString, in DebugHexDump()
2355 hexString, in DebugHexDump()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java157 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() local
158 TestFmwk.err(hexString); in backAndForth()
163 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() local
164 TestFmwk.err(hexString); in backAndForth()

12