Searched refs:hexstr (Results 1 – 4 of 4) sorted by relevance
95 public static byte[] hexStringToBytes(String hexstr) { in hexStringToBytes() argument96 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()
163 char hexstr[3]; in Curl_urldecode() local165 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()
126 char hexstr[sizeof(T) * 2 + 1]; in LogAppend() local128 hexstr[i] = HEX[static_cast<uint8_t>(value) & 0x0F]; in LogAppend()129 hexstr[sizeof(T) * 2] = '\0'; in LogAppend()130 LogAppend(hexstr); in LogAppend()
1697 std::string hexstr(utohexstr(API.getZExtValue())); in printFPConstant() local1699 if (hexstr.length() < numHex) in printFPConstant()1700 O << std::string(numHex - hexstr.length(), '0'); in printFPConstant()