• Home
  • Raw
  • Download

Lines Matching refs:q

182 	unsigned q;  in put_dec_trunc8()  local
189 q = (r * (u64)0x28f5c29) >> 32; in put_dec_trunc8()
190 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_trunc8()
194 if (q < 100) 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()
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()
224 unsigned q; in put_dec_full8() local
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()
242 *((u16 *)buf) = decpair[q]; in put_dec_full8()
264 unsigned q; in put_dec_full4() local
267 q = (r * 0x147b) >> 19; in put_dec_full4()
268 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_full4()
271 *((u16 *)buf) = decpair[q]; in put_dec_full4()
284 uint32_t q = (x * (uint64_t)0x346DC5D7) >> 43; in put_dec_helper4() local
286 put_dec_full4(buf, x - q * 10000); in put_dec_helper4()
287 return q; in put_dec_helper4()
298 uint32_t d3, d2, d1, q, h; in put_dec() local
310 q = 656 * d3 + 7296 * d2 + 5536 * d1 + ((uint32_t)n & 0xffff); in put_dec()
311 q = put_dec_helper4(buf, q); in put_dec()
313 q += 7671 * d3 + 9496 * d2 + 6 * d1; in put_dec()
314 q = put_dec_helper4(buf+4, q); in put_dec()
316 q += 4749 * d3 + 42 * d2; in put_dec()
317 q = put_dec_helper4(buf+8, q); in put_dec()
319 q += 281 * d3; in put_dec()
321 if (q) in put_dec()
322 buf = put_dec_trunc8(buf, q); in put_dec()