Searched refs:tohex (Results 1 – 3 of 3) sorted by relevance
358 tohex (int nib) in tohex() function562 *p++ = tohex ((myaddr[i] >> 4) & 0xf);563 *p++ = tohex (myaddr[i] & 0xf);659 *p++ = tohex ((csum >> 4) & 0xf);660 *p++ = tohex (csum & 0xf);
664 static char *tohex(unsigned int x) in tohex() function693 add_string(&p, tohex((u32)(unsigned long) value)); in prom_setprop()694 add_string(&p, tohex(valuelen)); in prom_setprop()695 add_string(&p, tohex(ADDR(pname))); in prom_setprop()696 add_string(&p, tohex(prom_strlen(pname))); in prom_setprop()
149 def tohex(ip): function2968 byte_str = tohex(ip).rjust(16)3039 data.append(tohex(query.value(8)).rjust(16) + " " + query.value(9) + offstr(query.value(10)) +3041 tohex(query.value(12)) + " " + query.value(13) + offstr(query.value(14)) +