• Home
  • Raw
  • Download

Lines Matching refs:q

185 	unsigned q;  in put_dec_trunc8()  local
192 q = (r * (u64)0x28f5c29) >> 32; in put_dec_trunc8()
193 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_trunc8()
197 if (q < 100) in put_dec_trunc8()
201 r = (q * (u64)0x28f5c29) >> 32; in put_dec_trunc8()
202 *((u16 *)buf) = decpair[q - 100*r]; in put_dec_trunc8()
210 q = (r * 0x147b) >> 19; in put_dec_trunc8()
211 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_trunc8()
215 r = q; in put_dec_trunc8()
227 unsigned q; in put_dec_full8() local
230 q = (r * (u64)0x28f5c29) >> 32; in put_dec_full8()
231 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_full8()
235 r = (q * (u64)0x28f5c29) >> 32; in put_dec_full8()
236 *((u16 *)buf) = decpair[q - 100*r]; in put_dec_full8()
240 q = (r * 0x147b) >> 19; in put_dec_full8()
241 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_full8()
245 *((u16 *)buf) = decpair[q]; in put_dec_full8()
267 unsigned q; in put_dec_full4() local
270 q = (r * 0x147b) >> 19; in put_dec_full4()
271 *((u16 *)buf) = decpair[r - 100*q]; in put_dec_full4()
274 *((u16 *)buf) = decpair[q]; in put_dec_full4()
287 uint32_t q = (x * (uint64_t)0x346DC5D7) >> 43; in put_dec_helper4() local
289 put_dec_full4(buf, x - q * 10000); in put_dec_helper4()
290 return q; in put_dec_helper4()
301 uint32_t d3, d2, d1, q, h; in put_dec() local
313 q = 656 * d3 + 7296 * d2 + 5536 * d1 + ((uint32_t)n & 0xffff); in put_dec()
314 q = put_dec_helper4(buf, q); in put_dec()
316 q += 7671 * d3 + 9496 * d2 + 6 * d1; in put_dec()
317 q = put_dec_helper4(buf+4, q); in put_dec()
319 q += 4749 * d3 + 42 * d2; in put_dec()
320 q = put_dec_helper4(buf+8, q); in put_dec()
322 q += 281 * d3; in put_dec()
324 if (q) in put_dec()
325 buf = put_dec_trunc8(buf, q); in put_dec()