Home
last modified time | relevance | path

Searched refs:hexstr (Results 1 – 4 of 4) sorted by relevance

/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPoloUtil.java95 public static byte[] hexStringToBytes(String hexstr) { in hexStringToBytes() argument
96 if (hexstr == null || hexstr.length() == 0 || (hexstr.length() % 2) != 0) { in hexStringToBytes()
100 byte[] result = new byte[hexstr.length() / 2]; in hexStringToBytes()
102 result[i] = (byte) Integer.parseInt(hexstr.substring(2 * i, 2 * (i + 1)), in hexStringToBytes()
/external/curl/lib/
Descape.c163 char hexstr[3]; in Curl_urldecode() local
165 hexstr[0] = string[1]; in Curl_urldecode()
166 hexstr[1] = string[2]; in Curl_urldecode()
167 hexstr[2] = 0; in Curl_urldecode()
169 hex = strtoul(hexstr, &ptr, 16); in Curl_urldecode()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc126 char hexstr[sizeof(T) * 2 + 1]; in LogAppend() local
128 hexstr[i] = HEX[static_cast<uint8_t>(value) & 0x0F]; in LogAppend()
129 hexstr[sizeof(T) * 2] = '\0'; in LogAppend()
130 LogAppend(hexstr); in LogAppend()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1697 std::string hexstr(utohexstr(API.getZExtValue())); in printFPConstant() local
1699 if (hexstr.length() < numHex) in printFPConstant()
1700 O << std::string(numHex - hexstr.length(), '0'); in printFPConstant()