Searched refs:newval (Results 1 – 3 of 3) sorted by relevance
20 long newval; in switch_endianness() local21 ((char *)&newval)[3] = ((char *)&val)[0]; in switch_endianness()22 ((char *)&newval)[2] = ((char *)&val)[1]; in switch_endianness()23 ((char *)&newval)[1] = ((char *)&val)[2]; in switch_endianness()24 ((char *)&newval)[0] = ((char *)&val)[3]; in switch_endianness()25 return newval; in switch_endianness()
41 long newval; in switch_endianness() local42 ((char *)&newval)[3] = ((char *)&val)[0]; in switch_endianness()43 ((char *)&newval)[2] = ((char *)&val)[1]; in switch_endianness()44 ((char *)&newval)[1] = ((char *)&val)[2]; in switch_endianness()45 ((char *)&newval)[0] = ((char *)&val)[3]; in switch_endianness()46 return newval; in switch_endianness()