/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/ |
H A D | modsi3.S | 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 is negative 206 ! remainder is negative 211 ! remainder is nonnegative [all …]
|
H A D | divsi3.S | 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 is negative 206 ! remainder is negative 211 ! remainder is nonnegative [all …]
|
/freebsd/lib/libutil/ |
H A D | humanize_number.c | 52 int i, r, remainder, s1, s2, sign; in humanize_number() local 73 remainder = 0; in humanize_number() 145 (remainder >= divisordeccut || remainder >= in humanize_number() 147 remainder = quotient % divisor; in humanize_number() 155 remainder = quotient % divisor; in humanize_number() 165 if (((quotient == 9 && remainder < divisordeccut) || quotient < 9) && in humanize_number() 167 s1 = (int)quotient + ((remainder * 10 + divisor / 2) / in humanize_number() 169 s2 = ((remainder * 10 + divisor / 2) / divisor) % 10; in humanize_number() 175 sign * (quotient + (remainder + divisor / 2) / divisor), in humanize_number()
|
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/ |
H A D | ccm.c | 47 size_t remainder = length; in ccm_mode_encrypt_contiguous_blocks() local 79 if (need > remainder) in ccm_mode_encrypt_contiguous_blocks() 152 remainder = (size_t)&data[length] - (size_t)datap; in ccm_mode_encrypt_contiguous_blocks() 155 if (remainder > 0 && remainder < block_size) { in ccm_mode_encrypt_contiguous_blocks() 156 memcpy(ctx->ccm_remainder, datap, remainder); in ccm_mode_encrypt_contiguous_blocks() 157 ctx->ccm_remainder_len = remainder; in ccm_mode_encrypt_contiguous_blocks() 163 } while (remainder > 0); in ccm_mode_encrypt_contiguous_blocks() 350 size_t remainder = length; in ccm_mode_decrypt_contiguous_blocks() local 439 if (need > remainder) in ccm_mode_decrypt_contiguous_blocks() 489 remainder = (size_t)&data[length] - (size_t)datap; in ccm_mode_decrypt_contiguous_blocks() [all …]
|
H A D | gcm.c | 97 size_t remainder = length; in gcm_mode_encrypt_contiguous_blocks() local 130 if (need > remainder) in gcm_mode_encrypt_contiguous_blocks() 186 remainder = (size_t)&data[length] - (size_t)datap; in gcm_mode_encrypt_contiguous_blocks() 189 if (remainder > 0 && remainder < block_size) { in gcm_mode_encrypt_contiguous_blocks() 190 memcpy(ctx->gcm_remainder, datap, remainder); in gcm_mode_encrypt_contiguous_blocks() 191 ctx->gcm_remainder_len = remainder; in gcm_mode_encrypt_contiguous_blocks() 197 } while (remainder > 0); in gcm_mode_encrypt_contiguous_blocks() 382 size_t remainder; in gcm_decrypt_final() local 396 remainder = pt_len; in gcm_decrypt_final() 397 while (remainder > 0) { in gcm_decrypt_final() [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_schedule.c | 289 int remainder; in linux_wait_event_common() 299 remainder = ticks + timeout; in linux_schedule_timeout() 316 remainder -= ticks; in linux_schedule_timeout() 319 if (ret == -ERESTARTSYS && remainder < 1) in linux_schedule_timeout() 320 remainder = 1; in linux_schedule_timeout() 321 else if (remainder < 0) in linux_schedule_timeout() 322 remainder = 0; in linux_schedule_timeout() 323 else if (remainder > timeout) in linux_schedule_timeout() 324 remainder = timeout; in linux_schedule_timeout() 325 return (remainder); in linux_schedule_timeout() 297 int remainder; linux_schedule_timeout() local [all...] |
/freebsd/contrib/llvm-project/libcxx/include/__math/ |
H A D | remainder.h | 29 inline _LIBCPP_HIDE_FROM_ABI float remainder(float __x, float __y) _NOEXCEPT { return __builtin_rem… in remainder() function 32 _LIBCPP_HIDE_FROM_ABI double remainder(double __x, double __y) _NOEXCEPT { in remainder() function 36 inline _LIBCPP_HIDE_FROM_ABI long double remainder(long double __x, long double __y) _NOEXCEPT { in remainder() function 41 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type remainder(_A1 __x, _A2 __y) _NOEXCE… in remainder() function 44 return __math::remainder((__result_type)__x, (__result_type)__y); in remainder()
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_subr.c | 278 off_t psizeorig, remainder, smallest; in gv_sd_to_plex() local 289 remainder = s->size % p->stripesize; in gv_sd_to_plex() 291 if (remainder) { in gv_sd_to_plex() 295 (intmax_t)remainder); in gv_sd_to_plex() 296 gv_adjust_freespace(s, remainder); in gv_sd_to_plex() 301 remainder = s->size - smallest; in gv_sd_to_plex() 308 if (remainder < 0) { in gv_sd_to_plex() 318 (intmax_t)remainder); in gv_sd_to_plex() 319 gv_adjust_freespace(s2, (remainder * -1)); in gv_sd_to_plex() 321 } else if (remainder > 0) { in gv_sd_to_plex() [all …]
|
/freebsd/stand/efi/boot1/ |
H A D | zfs_module.c | 57 size_t size, remainder, rb_size, blksz; in vdev_read() local 63 remainder = off % devinfo->dev->Media->BlockSize; in vdev_read() 72 size = roundup2(bytes + remainder, devinfo->dev->Media->BlockSize); in vdev_read() 74 if (remainder != 0 || size != bytes) { in vdev_read() 82 blksz = rb_size - remainder; in vdev_read() 93 memcpy(buf, rb_buf + remainder, blksz); in vdev_read() 97 remainder = 0; in vdev_read()
|
/freebsd/usr.sbin/bhyve/ |
H A D | iov.c | 43 size_t remainder = 0; in seek_iov() local 55 remainder = toseek; in seek_iov() 61 iov2[j - i].iov_base = (char *)iov1[j].iov_base + remainder; in seek_iov() 62 iov2[j - i].iov_len = iov1[j].iov_len - remainder; in seek_iov() 63 remainder = 0; in seek_iov()
|
/freebsd/sys/dev/usb/controller/ |
H A D | musb_otg.c | 465 if (count != td->remainder) { in musbotg_dev_ctrl_setup_rx() 494 td->remainder = 0; in musbotg_dev_ctrl_setup_rx() 596 if (td->remainder == 0) { in musbotg_host_ctrl_setup_tx() 611 td->remainder -= sizeof(req); in musbotg_host_ctrl_setup_tx() 661 if (td->remainder == 0) { in musbotg_dev_ctrl_data_rx() 694 if (count > td->remainder) { in musbotg_dev_ctrl_data_rx() 730 td->remainder -= count; in musbotg_dev_ctrl_data_rx() 745 td->remainder -= temp; in musbotg_dev_ctrl_data_rx() 755 td->remainder -= buf_res.length; in musbotg_dev_ctrl_data_rx() 759 if ((td->remainder == 0) || got_short) { in musbotg_dev_ctrl_data_rx() [all …]
|
H A D | uss820dci.c | 261 DPRINTFN(5, "rx_stat=0x%02x rem=%u\n", rx_stat, td->remainder); in uss820dci_setup_rx() 286 if (count != td->remainder) { in uss820dci_setup_rx() 323 td->remainder = 0; in uss820dci_setup_rx() 397 rx_stat, rx_flag, td->remainder); in uss820dci_data_rx() 402 if (td->remainder == 0 && td->ep_index == 0) { in uss820dci_data_rx() 456 if (count > td->remainder) { in uss820dci_data_rx() 475 td->remainder -= buf_res.length; in uss820dci_data_rx() 484 if ((td->remainder == 0) || got_short) { in uss820dci_data_rx() 516 DPRINTFN(5, "tx_flag=0x%02x rem=%u\n", tx_flag, td->remainder); in uss820dci_data_tx() 551 if (td->remainder < count) { in uss820dci_data_tx() [all …]
|
H A D | atmegadci.c | 274 if (count != td->remainder) { in atmegadci_setup_rx() 292 td->remainder = 0; in atmegadci_setup_rx() 350 DPRINTFN(5, "temp=0x%02x rem=%u\n", temp, td->remainder); in atmegadci_data_rx() 353 if (td->remainder == 0) { in atmegadci_data_rx() 394 if (count > td->remainder) { in atmegadci_data_rx() 413 td->remainder -= buf_res.length; in atmegadci_data_rx() 423 if ((td->remainder == 0) || got_short) { in atmegadci_data_rx() 462 DPRINTFN(5, "temp=0x%02x rem=%u\n", temp, td->remainder); in atmegadci_data_tx() 480 if (td->remainder < count) { in atmegadci_data_tx() 483 count = td->remainder; in atmegadci_data_tx() [all …]
|
/freebsd/stand/kboot/kboot/ |
H A D | main.c | 508 ssize_t segsize, remainder; in kboot_copyin() local 519 remainder = len; in kboot_copyin() 521 segsize = get_phys_buffer(dest + pa_start + padding - offset, remainder, &destbuf); in kboot_copyin() 523 remainder -= segsize; in kboot_copyin() 526 } while (remainder > 0); in kboot_copyin() 534 ssize_t segsize, remainder; in kboot_copyout() local 537 remainder = len; in kboot_copyout() 539 segsize = get_phys_buffer(src + pa_start + padding - offset, remainder, &srcbuf); in kboot_copyout() 541 remainder -= segsize; in kboot_copyout() 544 } while (remainder > 0); in kboot_copyout()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | udivmodti4.c | 107 utwords remainder; in __udivmodti4() local 115 remainder.s.high = 0; in __udivmodti4() 119 divisor.s.low, &remainder.s.low); in __udivmodti4() 127 divisor.s.low, &remainder.s.low); in __udivmodti4() 130 *rem = remainder.all; in __udivmodti4()
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | util.h | 25 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) in s32_div_u32_round_down() 39 if (remainder) in s32_div_u32_round_down() 40 *remainder = i_remainder; in s32_div_u32_round_down() 23 s32_div_u32_round_down(s32 dividend,u32 divisor,s32 * remainder) s32_div_u32_round_down() argument
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | math64.h | 43 div64_u64_rem(uint64_t dividend, uint64_t divisor, uint64_t *remainder) in div64_u64_rem() argument 46 *remainder = dividend % divisor; in div64_u64_rem() 65 div_u64_rem(uint64_t dividend, uint32_t divisor, uint32_t *remainder) in div_u64_rem() argument 68 *remainder = dividend % divisor; in div_u64_rem()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | divmodsi4.S | 27 @ 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/lib/msun/i387/ |
H A D | e_remainder.S | 37 ENTRY(remainder) 46 END(remainder)
|
/freebsd/crypto/openssl/providers/implementations/kdfs/ |
H A D | krb5kdf.c | 268 unsigned int tmp, gcd, remainder, lcm, carry; in n_fold() local 278 remainder = constant_len; in n_fold() 280 while (remainder != 0) { in n_fold() 281 tmp = gcd % remainder; in n_fold() 282 gcd = remainder; in n_fold() 283 remainder = tmp; in n_fold()
|
/freebsd/lib/msun/amd64/ |
H A D | e_remainder.S | 39 ENTRY(remainder) 52 END(remainder)
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/avr/ |
H A D | udivmodqi4.S | 24 sub r25, r25 ; Initialize the remainder to zero. 39 ret ; The uint8 remainder is returned via R25.
|
H A D | divmodhi4.S | 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 D | udivmodhi4.S | 25 sub r27, r27 ; Initialize the remainder to zero. 48 mov r25, r27 ; The remainder is returned in in R25:R24.
|
/freebsd/lib/msun/src/ |
H A D | e_remainder.c | 31 remainder(double x, double p) in remainder() function 74 __weak_reference(remainder, remainderl);
|