/AliOS-Things-master/components/py_engine/engine/py/ |
A D | smallint.c | 55 mp_int_t mp_small_int_modulo(mp_int_t dividend, mp_int_t divisor) { in mp_small_int_modulo() argument 57 dividend %= divisor; in mp_small_int_modulo() 58 if ((dividend < 0 && divisor > 0) || (dividend > 0 && divisor < 0)) { in mp_small_int_modulo() 59 dividend += divisor; in mp_small_int_modulo() 61 return dividend; in mp_small_int_modulo()
|
A D | smallint.h | 65 mp_int_t mp_small_int_modulo(mp_int_t dividend, mp_int_t divisor);
|
A D | nativeglue.h | 136 mp_int_t (*small_int_modulo)(mp_int_t dividend, mp_int_t divisor);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/swlib/string/ |
A D | sscanf.c | 33 _LONG_CALL_ static u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument 35 *remainder = (u32)dividend % divisor; in div_u64_rem() 36 return (u32)dividend / divisor; in div_u64_rem() 44 _LONG_CALL_ static s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument 46 *remainder = (s32)dividend % divisor; in div_s64_rem() 47 return (s32)dividend / divisor; in div_s64_rem() 60 _LONG_CALL_ static u64 div_u64(u64 dividend, u32 divisor) in div_u64() argument 63 return div_u64_rem(dividend, divisor, &remainder); in div_u64() 73 _LONG_CALL_ static s64 div_s64(s64 dividend, s32 divisor) in div_s64() argument 76 return div_s64_rem(dividend, divisor, &remainder); in div_s64()
|
A D | strtod.c | 28 _LONG_CALL_ static u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument 30 *remainder = (u32)dividend % divisor; in div_u64_rem() 31 return (u32)dividend / divisor; in div_u64_rem() 55 _LONG_CALL_ static u64 div_u64(u64 dividend, u32 divisor) in div_u64() argument 58 return div_u64_rem(dividend, divisor, &remainder); in div_u64()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Include/ |
A D | arm_nnsupportfunctions.h | 763 __STATIC_FORCEINLINE q31_t arm_nn_divide_by_power_of_two(const q31_t dividend, const q31_t exponent) in arm_nn_divide_by_power_of_two() argument 767 int32_t remainder = remainder_mask & dividend; in arm_nn_divide_by_power_of_two() 770 result = dividend >> exponent; in arm_nn_divide_by_power_of_two() 846 __STATIC_FORCEINLINE int32x4_t arm_divide_by_power_of_two_mve(const int32x4_t dividend, const q31_t… in arm_divide_by_power_of_two_mve() argument 849 const int32x4_t fixup = vshrq_n_s32(vandq_s32(dividend, shift), 31); in arm_divide_by_power_of_two_mve() 850 const int32x4_t fixed_up_dividend = vqaddq_s32(dividend, fixup); in arm_divide_by_power_of_two_mve() 874 __STATIC_FORCEINLINE int32x4_t arm_divide_by_power_of_two_mve_32x4(const int32x4_t dividend, const … in arm_divide_by_power_of_two_mve_32x4() argument 877 const int32x4_t fixup = vshrq_n_s32(vandq_s32(dividend, shift), 31); in arm_divide_by_power_of_two_mve_32x4() 878 const int32x4_t fixed_up_dividend = vqaddq_s32(dividend, fixup); in arm_divide_by_power_of_two_mve_32x4()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Include/ |
A D | arm_nnsupportfunctions.h | 763 __STATIC_FORCEINLINE q31_t arm_nn_divide_by_power_of_two(const q31_t dividend, const q31_t exponent) in arm_nn_divide_by_power_of_two() argument 767 int32_t remainder = remainder_mask & dividend; in arm_nn_divide_by_power_of_two() 770 result = dividend >> exponent; in arm_nn_divide_by_power_of_two() 846 __STATIC_FORCEINLINE int32x4_t arm_divide_by_power_of_two_mve(const int32x4_t dividend, const q31_t… in arm_divide_by_power_of_two_mve() argument 849 const int32x4_t fixup = vshrq_n_s32(vandq_s32(dividend, shift), 31); in arm_divide_by_power_of_two_mve() 850 const int32x4_t fixed_up_dividend = vqaddq_s32(dividend, fixup); in arm_divide_by_power_of_two_mve() 874 __STATIC_FORCEINLINE int32x4_t arm_divide_by_power_of_two_mve_32x4(const int32x4_t dividend, const … in arm_divide_by_power_of_two_mve_32x4() argument 877 const int32x4_t fixup = vshrq_n_s32(vandq_s32(dividend, shift), 31); in arm_divide_by_power_of_two_mve_32x4() 878 const int32x4_t fixed_up_dividend = vqaddq_s32(dividend, fixup); in arm_divide_by_power_of_two_mve_32x4()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/platform/ |
A D | stdlib_patch.c | 64 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder); 65 extern s64 div_s64(s64 dividend, s32 divisor); 67 extern u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder); 68 extern u64 div_u64(u64 dividend, u32 divisor);
|
/AliOS-Things-master/components/freetype/src/smooth/ |
A D | ftgrays.c | 316 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \ argument 318 (quotient) = (type)( (dividend) / (divisor) ); \ 319 (remainder) = (type)( (dividend) % (divisor) ); \ 334 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \ argument 336 (quotient) = (type)( (dividend) / (divisor) ); \ 337 (remainder) = (type)( (dividend) - (quotient) * (divisor) ); \
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | bignum.c | 1343 mbedtls_t_udbl dividend, quotient; in mbedtls_int_div_int() local 1363 dividend = (mbedtls_t_udbl) u1 << biL; in mbedtls_int_div_int() 1364 dividend |= (mbedtls_t_udbl) u0; in mbedtls_int_div_int() 1365 quotient = dividend / d; in mbedtls_int_div_int() 1370 *r = (mbedtls_mpi_uint)( dividend - (quotient * d ) ); in mbedtls_int_div_int()
|