Searched refs:hexstr (Results 1 – 4 of 4) sorted by relevance
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
D | PoloUtil.java | 95 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/bluetooth/bluedroid/test/bluedroidtest/ |
D | bluedroidtest.c | 191 char hexstr[ 16*3 + 5] = {0}; in hex_dump() local 214 strncat(hexstr, bytestr, sizeof(hexstr)-strlen(hexstr)-1); in hex_dump() 222 bdt_log("[%4.4s] %-50.50s %s\n", addrstr, hexstr, charstr); in hex_dump() 223 hexstr[0] = 0; in hex_dump() 227 strncat(hexstr, " ", sizeof(hexstr)-strlen(hexstr)-1); in hex_dump() 233 if (strlen(hexstr) > 0) { in hex_dump() 235 bdt_log("[%4.4s] %-50.50s %s\n", addrstr, hexstr, charstr); in hex_dump()
|
/external/chromium_org/components/component_updater/ |
D | component_updater_utils.cc | 173 std::string HexStringToID(const std::string& hexstr) { in HexStringToID() argument 175 for (size_t i = 0; i < hexstr.size(); ++i) { in HexStringToID() 178 base::StringPiece(hexstr.begin() + i, hexstr.begin() + i + 1), in HexStringToID()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 2054 std::string hexstr(utohexstr(API.getZExtValue())); in printFPConstant() local 2056 if (hexstr.length() < numHex) in printFPConstant() 2057 O << std::string(numHex - hexstr.length(), '0'); in printFPConstant()
|