Searched refs:remainder (Results 1 - 25 of 111) sorted by relevance

12345

/freebsd-current/lib/msun/src/
H A Dw_drem.c2 * drem() wrapper for remainder().
13 return remainder(x, y);
H A De_remainder.c13 /* remainder(x,p)
31 remainder(double x, double p) function
74 __weak_reference(remainder, remainderl);
/freebsd-current/lib/msun/i387/
H A De_remainder.S37 ENTRY(remainder)
46 END(remainder)
/freebsd-current/lib/msun/amd64/
H A De_remainder.S39 ENTRY(remainder)
52 END(remainder)
/freebsd-current/lib/libutil/
H A Dhumanize_number.c52 int i, r, remainder, s1, s2, sign; local
73 remainder = 0;
145 (remainder >= divisordeccut || remainder >=
147 remainder = quotient % divisor;
155 remainder = quotient % divisor;
165 if (((quotient == 9 && remainder < divisordeccut) || quotient < 9) &&
167 s1 = (int)quotient + ((remainder * 10 + divisor / 2) /
169 s2 = ((remainder * 10 + divisor / 2) / divisor) % 10;
175 sign * (quotient + (remainder
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
H A Dmodsi3.S20 * R -- the remainder so far -- initially == the dividend
41 * %o3 -- current remainder
166 ! remainder is nonnegative
171 ! remainder is nonnegative
176 ! remainder is nonnegative
181 ! remainder is nonnegative
186 ! remainder is negative
191 ! remainder is negative
196 ! remainder is nonnegative
201 ! remainder i
[all...]
H A Ddivsi3.S20 * R -- the remainder so far -- initially == the dividend
41 * %o3 -- current remainder
166 ! remainder is nonnegative
171 ! remainder is nonnegative
176 ! remainder is nonnegative
181 ! remainder is nonnegative
186 ! remainder is negative
191 ! remainder is negative
196 ! remainder is nonnegative
201 ! remainder i
[all...]
/freebsd-current/sys/contrib/openzfs/module/icp/algs/modes/
H A Decb.c39 size_t remainder = length; local
68 if (need > remainder)
100 remainder = (size_t)&data[length] - (size_t)datap;
103 if (remainder > 0 && remainder < block_size) {
104 memcpy(ctx->ecb_remainder, datap, remainder);
105 ctx->ecb_remainder_len = remainder;
111 } while (remainder > 0);
H A Dcbc.c41 size_t remainder = length; local
70 if (need > remainder)
112 remainder = (size_t)&data[length] - (size_t)datap;
115 if (remainder > 0 && remainder < block_size) {
116 memcpy(ctx->cbc_remainder, datap, remainder);
117 ctx->cbc_remainder_len = remainder;
123 } while (remainder > 0);
147 size_t remainder = length; local
176 if (need > remainder)
[all...]
H A Dctr.c41 size_t remainder = length; local
70 if (need > remainder)
132 remainder = (size_t)&data[length] - (size_t)datap;
135 if (remainder > 0 && remainder < block_size) {
136 memcpy(ctx->ctr_remainder, datap, remainder);
137 ctx->ctr_remainder_len = remainder;
143 } while (remainder > 0);
H A Dgcm.c102 size_t remainder = length; local
135 if (need > remainder)
191 remainder = (size_t)&data[length] - (size_t)datap;
194 if (remainder > 0 && remainder < block_size) {
195 memcpy(ctx->gcm_remainder, datap, remainder);
196 ctx->gcm_remainder_len = remainder;
202 } while (remainder > 0);
387 size_t remainder; local
401 remainder
494 ulong_t remainder = iv_len; local
544 size_t remainder, processed; local
1295 uint8_t *remainder = (uint8_t *)ctx->gcm_remainder; local
[all...]
H A Dccm.c47 size_t remainder = length; local
79 if (need > remainder)
152 remainder = (size_t)&data[length] - (size_t)datap;
155 if (remainder > 0 && remainder < block_size) {
156 memcpy(ctx->ccm_remainder, datap, remainder);
157 ctx->ccm_remainder_len = remainder;
163 } while (remainder > 0);
228 /* copy remainder to temporary buffer */
350 size_t remainder local
764 size_t remainder, processed; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/avr/
H A Ddivmodhi4.S12 // The sint16 quotient is returned via R23:R22, and the sint16 remainder is
49 ret ; Return quotient via R23:R22 and remainder via R25:R24.
57 ret ; Return quotient via R23:R22 and remainder via R25:r24.
H A Dudivmodqi4.S12 // The uint8 quotient is returned via R24, and the uint8 remainder is returned
24 sub r25, r25 ; Initialize the remainder to zero.
39 ret ; The uint8 remainder is returned via R25.
H A Ddivmodqi4.S12 // The sint8 quotient is returned via R24, and the sint8 remainder is returned
44 ret ; Return quotient via R24 and remainder via R25.
H A Dudivmodhi4.S12 // The uint16 quotient is returned via R23:R22, and the uint16 remainder is
25 sub r27, r27 ; Initialize the remainder to zero.
48 mov r25, r27 ; The remainder is returned in in R25:R24.
/freebsd-current/sys/contrib/dev/rtw89/
H A Dutil.h23 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) argument
37 if (remainder)
38 *remainder = i_remainder;
/freebsd-current/usr.sbin/bhyve/
H A Diov.c43 size_t remainder = 0; local
55 remainder = toseek;
61 iov2[j - i].iov_base = (char *)iov1[j].iov_base + remainder;
62 iov2[j - i].iov_len = iov1[j].iov_len - remainder;
63 remainder = 0;
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dremainder.h27 // remainder
29 inline _LIBCPP_HIDE_FROM_ABI float remainder(float __x, float __y) _NOEXCEPT { return __builtin_remainderf(__x, __y); }
32 _LIBCPP_HIDE_FROM_ABI double remainder(double __x, double __y) _NOEXCEPT {
36 inline _LIBCPP_HIDE_FROM_ABI long double remainder(long double __x, long double __y) _NOEXCEPT {
41 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type remainder(_A1 __x, _A2 __y) _NOEXCEPT {
44 return __math::remainder((__result_type)__x, (__result_type)__y);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Ddivmodsi4.S27 @ int __divmodsi4(int divident, int divisor, int *remainder)
28 @ Calculate the quotient and remainder of the (signed) division. The return
29 @ value is the quotient, the remainder is placed in the variable.
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dmath64.h43 div64_u64_rem(uint64_t dividend, uint64_t divisor, uint64_t *remainder) argument
46 *remainder = dividend % divisor;
65 div_u64_rem(uint64_t dividend, uint32_t divisor, uint32_t *remainder) argument
68 *remainder = dividend % divisor;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dudivmodti4.c31 du_int rhat; // A remainder
107 utwords remainder; local
115 remainder.s.high = 0;
119 divisor.s.low, &remainder.s.low);
122 // First, divide with the high part to get the remainder in dividend.s.high.
127 divisor.s.low, &remainder.s.low);
130 *rem = remainder.all;
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c297 int remainder; local
307 remainder = ticks + timeout;
324 remainder -= ticks;
327 if (ret == -ERESTARTSYS && remainder < 1)
328 remainder = 1;
329 else if (remainder < 0)
330 remainder = 0;
331 else if (remainder > timeout)
332 remainder = timeout;
333 return (remainder);
[all...]
/freebsd-current/stand/efi/boot1/
H A Dzfs_module.c57 size_t size, remainder, rb_size, blksz; local
63 remainder = off % devinfo->dev->Media->BlockSize;
69 * If we have remainder from off, we need to add remainder part.
72 size = roundup2(bytes + remainder, devinfo->dev->Media->BlockSize);
74 if (remainder != 0 || size != bytes) {
82 blksz = rb_size - remainder;
93 memcpy(buf, rb_buf + remainder, blksz);
97 remainder = 0;
/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum_subr.c278 off_t psizeorig, remainder, smallest; local
289 remainder = s->size % p->stripesize;
291 if (remainder) {
295 (intmax_t)remainder);
296 gv_adjust_freespace(s, remainder);
301 remainder = s->size - smallest;
304 * Don't allow a remainder below zero for running plexes, it's too
308 if (remainder < 0) {
318 (intmax_t)remainder);
319 gv_adjust_freespace(s2, (remainder *
481 off_t remainder; local
815 gv_adjust_freespace(struct gv_sd *s, off_t remainder) argument
[all...]

Completed in 1006 milliseconds

12345