Searched refs:b2hex (Results 1 – 2 of 2) sorted by relevance
26 def b2hex(x): function83 … lambda x: get_substs(settings={"MASK01": b2hex(x)}), empty_bitfile)85 … lambda x: get_substs(settings={"MCPAT": b2hex(x)}), empty_bitfile)87 … lambda x: get_substs(settings={"MASKPAT": b2hex(x)}), empty_bitfile)89 … lambda x: get_substs(settings={"RNDPAT": b2hex(x)}), empty_bitfile)
990 static const unsigned char b2hex[] = "0123456789abcdef"; in bytes2hex() local999 hex[j++] = b2hex[data[i] >> 4]; in bytes2hex()1000 hex[j++] = b2hex[data[i] & 0x0f]; in bytes2hex()