Lines Matching defs:plow
5411 static void add128(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b)
5413 *plow += a;
5415 if (*plow < a)
5420 static void neg128(uint64_t *plow, uint64_t *phigh)
5422 *plow = ~ *plow;
5424 add128(plow, phigh, 1, 0);
5428 static int div64(uint64_t *plow, uint64_t *phigh, uint64_t b)
5433 a0 = *plow;
5438 *plow = q;
5457 *phigh, *plow, b, a0, a1);
5459 *plow = a0;
5466 static int idiv64(uint64_t *plow, uint64_t *phigh, int64_t b)
5471 neg128(plow, phigh);
5475 if (div64(plow, phigh, b) != 0)
5478 if (*plow > (1ULL << 63))
5480 *plow = - *plow;
5482 if (*plow >= (1ULL << 63))