Lines Matching refs:big8
254 unsigned char *inv_int32_to_big8(long x, unsigned char *big8) in inv_int32_to_big8() argument
256 big8[0] = (unsigned char)((x >> 24) & 0xff); in inv_int32_to_big8()
257 big8[1] = (unsigned char)((x >> 16) & 0xff); in inv_int32_to_big8()
258 big8[2] = (unsigned char)((x >> 8) & 0xff); in inv_int32_to_big8()
259 big8[3] = (unsigned char)(x & 0xff); in inv_int32_to_big8()
260 return big8; in inv_int32_to_big8()
264 long inv_big8_to_int32(const unsigned char *big8) in inv_big8_to_int32() argument
267 x = ((long)big8[0] << 24) | ((long)big8[1] << 16) | ((long)big8[2] << 8) | in inv_big8_to_int32()
268 ((long)big8[3]); in inv_big8_to_int32()
273 unsigned char *inv_int16_to_big8(short x, unsigned char *big8) in inv_int16_to_big8() argument
275 big8[0] = (unsigned char)((x >> 8) & 0xff); in inv_int16_to_big8()
276 big8[1] = (unsigned char)(x & 0xff); in inv_int16_to_big8()
277 return big8; in inv_int16_to_big8()