| /OK3568_Linux_fs/kernel/net/netfilter/ipvs/ |
| H A D | ip_vs_mh.c | 66 int gcd; member 134 if (s->gcd < 1) in ip_vs_mh_permutate() 152 ds->turns = ((lw / s->gcd) >> s->rshift) ? : (lw != 0); in ip_vs_mh_permutate() 172 if (s->gcd < 1) { in ip_vs_mh_populate() 333 g = gcd(weight, g); in ip_vs_mh_gcd_weight() 344 static int ip_vs_mh_shift_weight(struct ip_vs_service *svc, int gcd) in ip_vs_mh_shift_weight() argument 354 if (gcd < 1) in ip_vs_mh_shift_weight() 366 mw = weight / gcd; in ip_vs_mh_shift_weight() 400 s->gcd = ip_vs_mh_gcd_weight(svc); in ip_vs_mh_init_svc() 401 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_init_svc() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/ |
| H A D | rational.hpp | 100 IntType gcd(IntType n, IntType m) in gcd() function 103 return integer::gcd( n, m ); in gcd() 282 IntType gcd = integer::gcd(static_cast<IntType>(i), den); in operator *=() local 283 num *= i / gcd; in operator *=() 284 den /= gcd; in operator *=() 297 IntType const gcd = integer::gcd(num, static_cast<IntType>(i)); in operator /=() local 298 num /= gcd; in operator /=() 299 den *= i / gcd; in operator /=() 514 IntType g = integer::gcd(den, r_den); in operator +=() 517 g = integer::gcd(num, g); in operator +=() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/ |
| H A D | rga_policy.c | 18 int gcd = 0; \ 21 gcd = i; \ 23 gcd; \ 25 #define GET_LCM(n1, n2, gcd) (((n1) * (n2)) / gcd) argument 94 int bit_stride, pixel_stride, align, gcd; in rga_check_align() local 106 gcd = GET_GCD(pixel_stride, byte_stride_align * 8); in rga_check_align() 107 align = GET_LCM(pixel_stride, byte_stride_align * 8, gcd) / pixel_stride; in rga_check_align()
|
| /OK3568_Linux_fs/kernel/lib/math/ |
| H A D | gcd.c | 23 unsigned long gcd(unsigned long a, unsigned long b) in gcd() function 50 unsigned long gcd(unsigned long a, unsigned long b) in gcd() function 85 EXPORT_SYMBOL_GPL(gcd);
|
| H A D | Makefile | 2 obj-y += div64.o gcd.o lcm.o int_pow.o int_sqrt.o reciprocal_div.o
|
| H A D | lcm.c | 11 return (a / gcd(a, b)) * b; in lcm()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/integer/ |
| H A D | common_factor_rt.hpp | 445 inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Int… in gcd() function 448 …st<Integer>(0) ? gcd_detail::gcd_traits<Integer>::abs(b) : boost::integer::gcd(static_cast<Integer… in gcd() 450 …st<Integer>(0) ? gcd_detail::gcd_traits<Integer>::abs(a) : boost::integer::gcd(a, static_cast<Inte… in gcd() 465 inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b, const Integer& c, Args… in gcd() function 467 Integer t = gcd(b, c, args...); in gcd() 468 return t == 1 ? 1 : gcd(a, t); in gcd() 481 …:numeric_limits<Integer>::is_specialized, boost::rational<Integer> >::type gcd(boost::rational<Int… in gcd() function 483 …return boost::rational<Integer>(static_cast<Integer>(gcd(a.numerator(), b.numerator())), static_ca… in gcd() 489 …tic_cast<Integer>(lcm(a.numerator(), b.numerator())), static_cast<Integer>(gcd(a.denominator(), b.… in lcm() 514 d = gcd(d, *first); in gcd_range() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/experimental/ |
| H A D | numeric | 57 gcd(_Mn __m, _Nn __n) noexcept 60 "std::experimental::gcd arguments must be integers"); 62 "std::experimental::gcd arguments must be integers"); 64 "std::experimental::gcd arguments must not be bool"); 66 "std::experimental::gcd arguments must not be bool");
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/experimental/ |
| H A D | numeric | 57 gcd(_Mn __m, _Nn __n) noexcept 60 "std::experimental::gcd arguments must be integers"); 62 "std::experimental::gcd arguments must be integers"); 64 "std::experimental::gcd arguments must not be bool"); 66 "std::experimental::gcd arguments must not be bool");
|
| /OK3568_Linux_fs/buildroot/package/gnuradio/ |
| H A D | 0005-boost-remove-deprecated-math-common_factor.hpp.patch | 6 Remove deprecation warning and prefer using std::{lcm,gcd} to Boost. 55 +#define GR_GCD std::gcd 62 +#define GR_GCD boost::integer::gcd 69 +#define GR_GCD boost::math::gcd 110 - return page_size / boost::math::gcd(type_size, page_size); 112 - return page_size / boost::integer::gcd(type_size, page_size);
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | timeconst.bc | 5 define gcd(a,b) { 24 d = d/gcd(n,d); 76 cd=gcd(hz,1000) 98 cd=gcd(hz,1000000) 104 cd=gcd(hz,1000000000)
|
| /OK3568_Linux_fs/kernel/drivers/iio/afe/ |
| H A D | iio-rescale.c | 172 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props() 176 factor = gcd(rescale->numerator, gain_mult); in rescale_current_sense_amplifier_props() 180 factor = gcd(rescale->denominator, gain_div); in rescale_current_sense_amplifier_props() 201 factor = gcd(shunt, 1000000); in rescale_current_sense_shunt_props() 228 factor = gcd(rescale->numerator, rescale->denominator); in rescale_voltage_divider_props()
|
| /OK3568_Linux_fs/kernel/sound/core/ |
| H A D | pcm_timer.c | 28 l = gcd(mult, rate); in snd_pcm_timer_resolution_change() 34 l = gcd(rate, fsize); in snd_pcm_timer_resolution_change()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | aptina-pll.c | 42 div = gcd(pll->pix_clock, pll->ext_clock); in aptina_pll_calculate() 134 unsigned int mf_inc = p1 / gcd(div, p1); in aptina_pll_calculate()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | gcd.h | 7 unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__;
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/ |
| H A D | numeric | 132 constexpr common_type_t<M,N> gcd(M m, N n); // C++17 491 gcd(_Tp __m, _Up __n) 493 …static_assert((is_integral<_Tp>::value && is_integral<_Up>::value), "Arguments to gcd must be inte… 494 …static_assert((!is_same<typename remove_cv<_Tp>::type, bool>::value), "First argument to gcd canno… 495 …static_assert((!is_same<typename remove_cv<_Up>::type, bool>::value), "Second argument to gcd cann… 515 _Rp __val1 = __abs<_Rp, _Tp>()(__m) / _VSTD::gcd(__m, __n);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/ |
| H A D | numeric | 132 constexpr common_type_t<M,N> gcd(M m, N n); // C++17 491 gcd(_Tp __m, _Up __n) 493 …static_assert((is_integral<_Tp>::value && is_integral<_Up>::value), "Arguments to gcd must be inte… 494 …static_assert((!is_same<typename remove_cv<_Tp>::type, bool>::value), "First argument to gcd canno… 495 …static_assert((!is_same<typename remove_cv<_Up>::type, bool>::value), "Second argument to gcd cann… 515 _Rp __val1 = __abs<_Rp, _Tp>()(__m) / _VSTD::gcd(__m, __n);
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/ |
| H A D | common_factor_rt.hpp | 15 using boost::integer::gcd;
|
| /OK3568_Linux_fs/u-boot/drivers/clk/rockchip/ |
| H A D | clk_pll.su | |
| /OK3568_Linux_fs/u-boot/spl/drivers/clk/rockchip/ |
| H A D | clk_pll.su | |
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A D | hcd_queue.c | 245 interval = gcd(interval, periods_in_map); in pmap_schedule() 349 interval = gcd(interval, periods_in_map); in pmap_unschedule() 720 host_interval_in_sched = gcd(qh->host_interval, in dwc2_uframe_schedule_split() 1138 interval = gcd(qh->host_interval, DWC2_HS_SCHEDULE_UFRAMES); in dwc2_pick_first_frame() 1150 interval = gcd(qh->host_interval, DWC2_LS_SCHEDULE_FRAMES); in dwc2_pick_first_frame() 1952 interval = gcd(interval, periods_in_map); in dwc2_next_periodic_start()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | adau-utils.c | 32 j = gcd(i, freq_in); in adau_calc_pll_cfg()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_afmt.c | 61 div = gcd(n, cts); in amdgpu_afmt_calc_cts()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | bch.c | 912 struct gf_poly *gcd; in factor_polynomial() local 925 gcd = gf_poly_gcd(bch, f2, tk); in factor_polynomial() 926 if (gcd->deg < f->deg) { in factor_polynomial() 928 gf_poly_div(bch, f, gcd, q); in factor_polynomial() 930 *h = &((struct gf_poly_deg1 *)f)[gcd->deg].poly; in factor_polynomial() 931 gf_poly_copy(*g, gcd); in factor_polynomial()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | bch.c | 885 struct gf_poly *gcd; in factor_polynomial() local 898 gcd = gf_poly_gcd(bch, f2, tk); in factor_polynomial() 899 if (gcd->deg < f->deg) { in factor_polynomial() 901 gf_poly_div(bch, f, gcd, q); in factor_polynomial() 903 *h = &((struct gf_poly_deg1 *)f)[gcd->deg].poly; in factor_polynomial() 904 gf_poly_copy(*g, gcd); in factor_polynomial()
|