| /freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/ |
| HD | 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() 47 return (dividend / divisor); in div64_u64_rem() 51 div64_s64(int64_t dividend, int64_t divisor) in div64_s64() argument 54 return (dividend / divisor); in div64_s64() 58 div64_u64(uint64_t dividend, uint64_t divisor) in div64_u64() argument 61 return (dividend / divisor); in div64_u64() 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() 69 return (dividend / divisor); in div_u64_rem() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
| HD | udivmodti4.c | 102 utwords dividend; in __udivmodti4() local 103 dividend.all = a; in __udivmodti4() 108 if (divisor.all > dividend.all) { in __udivmodti4() 110 *rem = dividend.all; in __udivmodti4() 116 if (dividend.s.high < divisor.s.low) { in __udivmodti4() 118 quotient.s.low = udiv128by64to64(dividend.s.high, dividend.s.low, in __udivmodti4() 124 quotient.s.high = dividend.s.high / divisor.s.low; in __udivmodti4() 125 dividend.s.high = dividend.s.high % divisor.s.low; in __udivmodti4() 126 quotient.s.low = udiv128by64to64(dividend.s.high, dividend.s.low, in __udivmodti4() 135 __builtin_clzll(divisor.s.high) - __builtin_clzll(dividend.s.high); in __udivmodti4() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/ |
| HD | divmod.m4 | 9 * dividend -- the thing being divided 21 * R -- the remainder so far -- initially == the dividend 27 * current estimate for non-large dividend is 29 * a large dividend is one greater than 2ˆ(31-TOPBITS) and takes a 35 define(dividend, `%o0') macro 92 orcc divisor,dividend,%g0 ! are either dividend or divisor negative 94 xor divisor,dividend,SIGN ! record sign of result in sign of SIGN 97 tst dividend 102 ! dividend < 0 103 neg dividend [all …]
|
| /freebsd-14-stable/sys/contrib/dev/rtw89/ |
| HD | util.h | 43 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) in s32_div_u32_round_down() argument 49 quotient = dividend / i_divisor; in s32_div_u32_round_down() 50 i_remainder = dividend % i_divisor; in s32_div_u32_round_down() 62 static inline s32 s32_div_u32_round_closest(s32 dividend, u32 divisor) in s32_div_u32_round_closest() argument 64 return s32_div_u32_round_down(dividend + divisor / 2, divisor, NULL); in s32_div_u32_round_closest()
|
| /freebsd-14-stable/usr.bin/dc/ |
| HD | mem.c | 56 div_number(struct number *dividend, struct number *divisor, u_int bscale) in div_number() argument 64 scale = max(divisor->scale, dividend->scale); in div_number() 70 normalize(dividend, scale + quotient->scale); in div_number() 74 bn_check(BN_div(quotient->number, NULL, dividend->number, in div_number()
|
| /freebsd-14-stable/sys/dev/axgbe/ |
| HD | xgbe-ptp.c | 226 u64 dividend; in xgbe_ptp_register() local 249 dividend = 50000000; in xgbe_ptp_register() 250 dividend <<= 32; in xgbe_ptp_register() 251 pdata->tstamp_addend = div_u64(dividend, pdata->ptpclk_rate); in xgbe_ptp_register()
|
| /freebsd-14-stable/sys/dev/qat/qat_api/qat_utils/include/ |
| HD | qat_utils.h | 55 #define QAT_UTILS_UDIV64_32(dividend, divisor) \ argument 56 QAT_UTILS_OS_UDIV64_32(dividend, divisor) 58 #define QAT_UTILS_UMOD64_32(dividend, divisor) \ argument 59 QAT_UTILS_OS_UMOD64_32(dividend, divisor)
|
| /freebsd-14-stable/sys/contrib/zstd/lib/common/ |
| HD | zstd_deps.h | 70 #define ZSTD_div64(dividend, divisor) ((dividend) / (divisor)) argument
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
| HD | EmulateInstructionRISCV.cpp | 1025 auto [dividend, divisor] = tup; in operator ()() 1030 if (dividend == INT64_MIN && divisor == -1) in operator ()() 1031 return inst.rd.Write(m_emu, dividend); in operator ()() 1033 return inst.rd.Write(m_emu, dividend / divisor); in operator ()() 1040 auto [dividend, divisor] = tup; in operator ()() 1045 return inst.rd.Write(m_emu, dividend / divisor); in operator ()() 1053 auto [dividend, divisor] = tup; in operator ()() 1056 return inst.rd.Write(m_emu, dividend); in operator ()() 1058 if (dividend == INT64_MIN && divisor == -1) in operator ()() 1061 return inst.rd.Write(m_emu, dividend % divisor); in operator ()() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/module/os/linux/spl/ |
| HD | spl-generic.c | 328 __umoddi3(uint64_t dividend, uint64_t divisor) in __umoddi3() argument 330 return (dividend - (divisor * __udivdi3(dividend, divisor))); in __umoddi3()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/ProfileData/ |
| HD | GCOV.cpp | 557 static uint32_t formatPercentage(uint64_t dividend, uint64_t divisor) { in formatPercentage() argument 558 if (!dividend || !divisor) in formatPercentage() 560 dividend *= 100; in formatPercentage() 561 return dividend < divisor ? 1 : dividend / divisor; in formatPercentage()
|
| /freebsd-14-stable/sys/dev/ice/ |
| HD | ice_type.h | 64 static inline s64 DIV_S64(s64 dividend, s64 divisor) in DIV_S64() argument 66 return dividend / divisor; in DIV_S64() 78 static inline u64 DIV_U64(u64 dividend, u64 divisor) in DIV_U64() argument 80 return dividend / divisor; in DIV_U64()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | APFloat.cpp | 1381 integerPart *lhsSignificand, *dividend, *divisor; in divideSignificand() local 1392 dividend = new integerPart[partsCount * 2]; in divideSignificand() 1394 dividend = scratch; in divideSignificand() 1396 divisor = dividend + partsCount; in divideSignificand() 1400 dividend[i] = lhsSignificand[i]; in divideSignificand() 1417 bit = precision - APInt::tcMSB(dividend, partsCount) - 1; in divideSignificand() 1420 APInt::tcShiftLeft(dividend, partsCount, bit); in divideSignificand() 1426 if (APInt::tcCompare(dividend, divisor, partsCount) < 0) { in divideSignificand() 1428 APInt::tcShiftLeft(dividend, partsCount, 1); in divideSignificand() 1429 assert(APInt::tcCompare(dividend, divisor, partsCount) >= 0); in divideSignificand() [all …]
|
| HD | APInt.cpp | 1328 uint64_t dividend = Make_64(u[j+n], u[j+n-1]); in KnuthDiv() local 1329 DEBUG_KNUTH(dbgs() << "KnuthDiv: dividend == " << dividend << '\n'); in KnuthDiv() 1330 uint64_t qp = dividend / v[n-1]; in KnuthDiv() 1331 uint64_t rp = dividend % v[n-1]; in KnuthDiv()
|
| /freebsd-14-stable/contrib/lutok/ |
| HD | state_test.cpp | 156 const int dividend = state.to_integer(-2); in cxx_divide() local 160 if (dividend < 0 || divisor < 0) in cxx_divide() 162 state.push_integer(dividend / divisor); in cxx_divide() 163 state.push_integer(dividend % divisor); in cxx_divide()
|
| /freebsd-14-stable/sys/dev/mrsas/ |
| HD | mrsas_fp.c | 73 u_int32_t mega_mod64(u_int64_t dividend, u_int32_t divisor); 77 u_int64_t mega_div64_32(u_int64_t dividend, u_int32_t divisor); 169 #define mega_mod64(dividend, divisor) ({ \ argument 171 remainder = ((u_int64_t) (dividend)) % (u_int32_t) (divisor); \ 174 #define mega_div64_32(dividend, divisor) ({ \ argument 176 quotient = ((u_int64_t) (dividend)) / (u_int32_t) (divisor); \
|
| /freebsd-14-stable/contrib/jemalloc/src/ |
| HD | stats.c | 71 get_rate_str(uint64_t dividend, uint64_t divisor, char str[6]) { in get_rate_str() argument 72 if (divisor == 0 || dividend > divisor) { in get_rate_str() 76 if (dividend > 0) { in get_rate_str() 77 assert(UINT64_MAX / dividend >= 1000); in get_rate_str() 80 unsigned n = (unsigned)((dividend * 1000) / divisor); in get_rate_str()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Expression/ |
| HD | DWARFExpression.cpp | 1340 Scalar divisor, dividend; in Evaluate() local 1342 dividend = stack.back().ResolveValue(exe_ctx); in Evaluate() 1344 dividend.MakeSigned(); in Evaluate() 1345 stack.back() = dividend / divisor; in Evaluate()
|
| /freebsd-14-stable/contrib/wpa/src/ap/ |
| HD | drv_callbacks.c | 2114 u64 divisor, dividend; in hostapd_single_channel_get_survey() local 2133 dividend = survey->channel_time_busy - in hostapd_single_channel_get_survey() 2137 iface->channel_utilization = dividend * 255 / divisor; in hostapd_single_channel_get_survey()
|
| /freebsd-14-stable/contrib/bc/src/ |
| HD | num.c | 1821 BcBigDig n1, dividend, quotient; in bc_num_d_long() local 1826 dividend = n1 * BC_BASE_POW + (BcBigDig) n[len - 1]; in bc_num_d_long() 1827 quotient = (dividend / divisor); in bc_num_d_long()
|
| /freebsd-14-stable/usr.sbin/bsdconfig/share/media/ |
| HD | tcpip.subr | 1036 # Calculate wait time as dividend of total time and host(1) invocations
|
| /freebsd-14-stable/share/dict/ |
| HD | web2a | 10259 cash dividend 17048 dividend warrant 19575 ex dividend 30342 interim dividend 50496 scrip dividend 59710 stock dividend
|
| HD | web2 | 56303 dividend
|