Searched refs:op2 (Results 1 – 3 of 3) sorted by relevance
84 uint64_t MultiplyCheckOverflow(uint64_t op1, double op2) { in MultiplyCheckOverflow() argument85 if (op1 == 0 || op2 <= 0) { in MultiplyCheckOverflow()88 if (port::kMaxUint64 / op1 < op2) { in MultiplyCheckOverflow()91 return static_cast<uint64_t>(op1 * op2); in MultiplyCheckOverflow()
263 uint64_t MultiplyCheckOverflow(uint64_t op1, double op2);
184 uint64_t MultiplyCheckOverflow(uint64_t op1, uint64_t op2) { in MultiplyCheckOverflow() argument185 if (op1 == 0 || op2 == 0) { in MultiplyCheckOverflow()188 if (port::kMaxUint64 / op1 < op2) { in MultiplyCheckOverflow()191 return (op1 * op2); in MultiplyCheckOverflow()