Lines Matching defs:plow
4539 static void add128(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b)
4541 *plow += a;
4543 if (*plow < a)
4548 static void neg128(uint64_t *plow, uint64_t *phigh)
4550 *plow = ~ *plow;
4552 add128(plow, phigh, 1, 0);
4556 static int div64(uint64_t *plow, uint64_t *phigh, uint64_t b)
4561 a0 = *plow;
4566 *plow = q;
4585 *phigh, *plow, b, a0, a1);
4587 *plow = a0;
4594 static int idiv64(uint64_t *plow, uint64_t *phigh, int64_t b)
4599 neg128(plow, phigh);
4603 if (div64(plow, phigh, b) != 0)
4606 if (*plow > (1ULL << 63))
4608 *plow = - *plow;
4610 if (*plow >= (1ULL << 63))