Lines Matching refs:result

53 	ficl2UnsignedQR result;  in ficl2UnsignedDivide()  local
55 result.quotient = q / y; in ficl2UnsignedDivide()
60 result.remainder = (ficlInteger)(q - (result.quotient * y)); in ficl2UnsignedDivide()
62 return (result); in ficl2UnsignedDivide()
130 ficl2Integer result; in ficl2IntegerMultiply() local
145 FICL_2UNSIGNED_GET_LOW(prod), result); in ficl2IntegerMultiply()
147 return (result); in ficl2IntegerMultiply()
149 return (ficl2IntegerNegate(result)); in ficl2IntegerMultiply()
165 ficl2Unsigned result; in ficl2UnsignedAdd() local
167 result.high = x.high + y.high; in ficl2UnsignedAdd()
168 result.low = x.low + y.low; in ficl2UnsignedAdd()
170 if (result.low < y.low) in ficl2UnsignedAdd()
171 result.high++; in ficl2UnsignedAdd()
173 return (result); in ficl2UnsignedAdd()
184 ficl2Unsigned result = { 0, 0 }; in ficl2UnsignedMultiply() local
192 result = ficl2UnsignedAdd(result, addend); in ficl2UnsignedMultiply()
197 return (result); in ficl2UnsignedMultiply()
206 ficl2Unsigned result; in ficl2UnsignedSubtract() local
208 result.high = x.high - y.high; in ficl2UnsignedSubtract()
209 result.low = x.low - y.low; in ficl2UnsignedSubtract()
212 result.high--; in ficl2UnsignedSubtract()
215 return (result); in ficl2UnsignedSubtract()
225 ficl2Unsigned result; in ficl2UnsignedArithmeticShiftLeft() local
227 result.high = x.high << 1; in ficl2UnsignedArithmeticShiftLeft()
229 result.high++; in ficl2UnsignedArithmeticShiftLeft()
232 result.low = x.low << 1; in ficl2UnsignedArithmeticShiftLeft()
234 return (result); in ficl2UnsignedArithmeticShiftLeft()
244 ficl2Unsigned result; in ficl2UnsignedArithmeticShiftRight() local
246 result.low = x.low >> 1; in ficl2UnsignedArithmeticShiftRight()
248 result.low |= FICL_CELL_HIGH_BIT; in ficl2UnsignedArithmeticShiftRight()
251 result.high = x.high >> 1; in ficl2UnsignedArithmeticShiftRight()
252 return (result); in ficl2UnsignedArithmeticShiftRight()
262 ficl2Unsigned result; in ficl2UnsignedOr() local
264 result.high = x.high | y.high; in ficl2UnsignedOr()
265 result.low = x.low | y.low; in ficl2UnsignedOr()
267 return (result); in ficl2UnsignedOr()
301 ficl2UnsignedQR result; in ficl2UnsignedDivide() local
330 result.quotient = quotient; in ficl2UnsignedDivide()
331 result.remainder = q.low; in ficl2UnsignedDivide()
332 return (result); in ficl2UnsignedDivide()