Lines Matching refs:r
180 char *put_dec_trunc8(char *buf, unsigned r) in put_dec_trunc8() argument
185 if (r < 100) in put_dec_trunc8()
189 q = (r * (u64)0x28f5c29) >> 32; in put_dec_trunc8()
190 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_trunc8()
198 r = (q * (u64)0x28f5c29) >> 32; in put_dec_trunc8()
199 *((u16 *)buf) = decpair[q - 100*r]; in put_dec_trunc8()
203 if (r < 100) in put_dec_trunc8()
207 q = (r * 0x147b) >> 19; in put_dec_trunc8()
208 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_trunc8()
212 r = q; in put_dec_trunc8()
215 *((u16 *)buf) = decpair[r]; in put_dec_trunc8()
216 buf += r < 10 ? 1 : 2; in put_dec_trunc8()
222 char *put_dec_full8(char *buf, unsigned r) in put_dec_full8() argument
227 q = (r * (u64)0x28f5c29) >> 32; in put_dec_full8()
228 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_full8()
232 r = (q * (u64)0x28f5c29) >> 32; in put_dec_full8()
233 *((u16 *)buf) = decpair[q - 100*r]; in put_dec_full8()
237 q = (r * 0x147b) >> 19; in put_dec_full8()
238 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_full8()
262 put_dec_full4(char *buf, unsigned r) in put_dec_full4() argument
267 q = (r * 0x147b) >> 19; in put_dec_full4()
268 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_full4()