Lines Matching defs:cptr
255 float32_be_read (const unsigned char *cptr)
259 negative = cptr [0] & 0x80 ;
260 exponent = ((cptr [0] & 0x7F) << 1) | ((cptr [1] & 0x80) ? 1 : 0) ;
261 mantissa = ((cptr [1] & 0x7F) << 16) | (cptr [2] << 8) | (cptr [3]) ;
283 float32_le_read (const unsigned char *cptr)
287 negative = cptr [3] & 0x80 ;
288 exponent = ((cptr [3] & 0x7F) << 1) | ((cptr [2] & 0x80) ? 1 : 0) ;
289 mantissa = ((cptr [2] & 0x7F) << 16) | (cptr [1] << 8) | (cptr [0]) ;