Searched refs:hex2num (Results 1 – 3 of 3) sorted by relevance
15 static int hex2num(char c) in hex2num() function30 a = hex2num(*hex++); in hex2byte()33 b = hex2num(*hex++); in hex2byte()120 a = hex2num(*txt++); in hwaddr_compact_aton()123 b = hex2num(*txt++); in hwaddr_compact_aton()149 a = hex2num(*pos++); in hwaddr_aton2()152 b = hex2num(*pos++); in hwaddr_aton2()566 val = hex2num(*pos); in printf_decode()
16 static int hex2num(char c) in hex2num() function31 a = hex2num(*hex++); in hex2byte()34 b = hex2num(*hex++); in hex2byte()121 a = hex2num(*txt++); in hwaddr_compact_aton()124 b = hex2num(*txt++); in hwaddr_compact_aton()150 a = hex2num(*pos++); in hwaddr_aton2()153 b = hex2num(*pos++); in hwaddr_aton2()567 val = hex2num(*pos); in printf_decode()
97 static int32_t hex2num(char hex) { in hex2num() function117 if((nibble1 = hex2num(s[0])) < 0 || (nibble2 = hex2num(s[1])) < 0) { in parseWeight()665 uint16_t leadByte = (hex2num(*pointer++) * 16); in readAnOption()666 leadByte += hex2num(*pointer++); in readAnOption()