Home
last modified time | relevance | path

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

/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.cpp457 UnicodeString hexString("0x"); in backAndForth() local
459 appendHex(o, 8, hexString); in backAndForth()
460 hexString += " "; in backAndForth()
461 err(hexString); in backAndForth()
468 UnicodeString hexString("0x"); in backAndForth() local
470 appendHex(o, 8, hexString); in backAndForth()
471 hexString += " "; in backAndForth()
472 err(hexString); in backAndForth()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Dandroid_logmsg.cpp34 static void ToHex (const UINT8* data, UINT16 len, char* hexString, UINT16 hexStringSize);
78 void ToHex (const UINT8* data, UINT16 len, char* hexString, UINT16 hexStringSize) in ToHex() argument
83 hexString [j++] = sTable [(*data >> 4) & 0xf]; in ToHex()
84 hexString [j++] = sTable [*data & 0xf]; in ToHex()
87 hexString [j] = '\0'; in ToHex()
/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/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/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp606 UnicodeString hexString = mAmps.group(6, status); in replaceCharRefs() local
608 for (i=0; i<hexString.length(); i++) { in replaceCharRefs()
609 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/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java156 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() local
157 test.err(hexString); in backAndForth()
162 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() local
163 test.err(hexString); in backAndForth()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java160 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() local
161 test.err(hexString); in backAndForth()
166 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() local
167 test.err(hexString); in backAndForth()
/external/fonttools/Lib/fontTools/
Dt1Lib.py268 f.write(eexec.hexString(chunk[:hexlinelen]))