Home
last modified time | relevance | path

Searched refs:gcd (Results 1 – 22 of 22) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_utils.h58 constexpr size_t gcd(size_t a, size_t b) { in gcd() function
59 return (b == 0) ? a : gcd(b, a % b); in gcd()
62 constexpr size_t lcm(size_t a, size_t b) { return a * b / gcd(a, b); } in lcm()
/freebsd-12.1/sys/kgssapi/krb5/
H A Dkcrypto.c98 gcd(size_t a, size_t b) in gcd() function
103 return gcd(b, a % b); in gcd()
109 return ((a * b) / gcd(a, b)); in lcm()
/freebsd-12.1/contrib/file/src/
H A Dgetopt_long.c93 static int gcd(int, int);
115 gcd(a, b) in gcd() function
153 ncycle = gcd(nnonopts, nopts);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DGetOptInc.cpp45 static int gcd(int, int);
57 static int gcd(int a, int b) { in gcd() function
88 ncycle = gcd(nnonopts, nopts); in permute_args()
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c98 static int gcd(int, int);
119 gcd(int a, int b) in gcd() function
150 ncycle = gcd(nnonopts, nopts); in permute_args()
/freebsd-12.1/lib/libc/stdlib/
H A Dgetopt_long.c104 static int gcd(int, int);
135 gcd(int a, int b) in gcd() function
166 ncycle = gcd(nnonopts, nopts); in permute_args()
/freebsd-12.1/contrib/tcpdump/missing/
H A Dgetopt_long.c89 static int gcd(int, int);
119 gcd(int a, int b) in gcd() function
150 ncycle = gcd(nnonopts, nopts); in permute_args()
/freebsd-12.1/contrib/libc++/include/
H A Dnumeric132 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);
/freebsd-12.1/contrib/gcc/
H A Dlambda.h385 gcd (int a, int b) in gcd() function
414 gcd1 = gcd (gcd1, vector[i]); in lambda_vector_gcd()
H A Dlambda-code.c448 return (abs (a) * abs (b) / gcd (a, b)); in lcm()
814 gcd1 = gcd (gcd1, determinant); in lambda_compute_target_space()
877 gcd1 = gcd (gcd1, gcd2); in lambda_compute_target_space()
878 gcd1 = gcd (gcd1, LLE_CONSTANT (target_expr)); in lambda_compute_target_space()
879 gcd1 = gcd (gcd1, LLE_DENOMINATOR (target_expr)); in lambda_compute_target_space()
933 gcd1 = gcd (gcd1, gcd2); in lambda_compute_target_space()
934 gcd1 = gcd (gcd1, LLE_CONSTANT (target_expr)); in lambda_compute_target_space()
935 gcd1 = gcd (gcd1, LLE_DENOMINATOR (target_expr)); in lambda_compute_target_space()
H A Dtree-data-ref.c2649 gcd_steps_a_b = gcd (step_a, step_b); in compute_overlap_steps_for_affine_univar()
H A DChangeLog-200611272 (gcd): Moved...
11322 * lambda.h (gcd): ... here.
11324 * lambda-code.c (gcd, gcd_vector): Removed.
H A DChangeLog-20058716 check if A == gcd (A, B). Remove TYPE argument.
H A DChangeLog-20048983 (gcd): New static duplicated function.
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetSchedule.cpp48 static unsigned gcd(unsigned Dividend, unsigned Divisor) { in gcd() function
59 unsigned LCM = (uint64_t(A) * B) / gcd(A, B); in lcm()
/freebsd-12.1/sbin/geom/misc/
H A Dsubr.c70 gcd(unsigned int a, unsigned int b) in gcd() function
89 return ((a * b) / gcd(a, b)); in g_lcm()
/freebsd-12.1/sys/geom/shsec/
H A Dg_shsec.c89 gcd(u_int a, u_int b) in gcd() function
108 return ((a * b) / gcd(a, b)); in lcm()
/freebsd-12.1/sys/geom/concat/
H A Dg_concat.c77 gcd(u_int a, u_int b) in gcd() function
96 return ((a * b) / gcd(a, b)); in lcm()
/freebsd-12.1/sys/geom/stripe/
H A Dg_stripe.c103 gcd(u_int a, u_int b) in gcd() function
122 return ((a * b) / gcd(a, b)); in lcm()
/freebsd-12.1/crypto/heimdal/include/
H A Dconfig.h.in372 /* Define if os support gcd. */
/freebsd-12.1/sys/dev/sound/pci/hda/
H A Dhdaa.c2031 gcd(unsigned a, unsigned b) in gcd() function
2050 return ((a * b) / gcd(a, b)); in lcm()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp3278 static const APInt gcd(const SCEVConstant *C1, const SCEVConstant *C2) { in gcd() function
3319 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()