Home
last modified time | relevance | path

Searched refs:_normalize (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Lib/
Dfractions.py62 def __new__(cls, numerator=0, denominator=None, *, _normalize=True): argument
157 if _normalize:
457 return Fraction(na * db + da * nb, da * db, _normalize=False)
462 return Fraction(t, s * db, _normalize=False)
463 return Fraction(t // g2, s * (db // g2), _normalize=False)
473 return Fraction(na * db - da * nb, da * db, _normalize=False)
478 return Fraction(t, s * db, _normalize=False)
479 return Fraction(t // g2, s * (db // g2), _normalize=False)
495 return Fraction(na * nb, db * da, _normalize=False)
515 return Fraction(n, d, _normalize=False)
[all …]
D_pydecimal.py1208 op1, op2 = _normalize(op1, op2, context.prec)
5640 def _normalize(op1, op2, prec = 0): function
/third_party/icu/icu4c/source/common/
Dunormcmp.cpp532 UBool _normalize(const Normalizer2 *n2, const UChar *s, int32_t length, in _normalize() function
613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
617 if(_normalize(&fn2, s2, length2, fcd2, pErrorCode)) { in unorm_compare()
622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
626 if(_normalize(n2, s2, length2, fcd2, pErrorCode)) { in unorm_compare()
/third_party/skia/third_party/externals/icu/source/common/
Dunormcmp.cpp532 UBool _normalize(const Normalizer2 *n2, const UChar *s, int32_t length, in _normalize() function
613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
617 if(_normalize(&fn2, s2, length2, fcd2, pErrorCode)) { in unorm_compare()
622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
626 if(_normalize(n2, s2, length2, fcd2, pErrorCode)) { in unorm_compare()
/third_party/node/deps/icu-small/source/common/
Dunormcmp.cpp532 UBool _normalize(const Normalizer2 *n2, const char16_t *s, int32_t length, in _normalize() function
613 if(_normalize(&fn2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
617 if(_normalize(&fn2, s2, length2, fcd2, pErrorCode)) { in unorm_compare()
622 if(_normalize(n2, s1, length1, fcd1, pErrorCode)) { in unorm_compare()
626 if(_normalize(n2, s2, length2, fcd2, pErrorCode)) { in unorm_compare()
/third_party/googletest/googletest/test/
Dgtest_json_test_utils.py45 def _normalize(key, value): function
58 return {k: _normalize(k, v) for k, v in obj.items()}
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
Dmarkers.py125 def _normalize(*values: str, key: str) -> Tuple[str, ...]: function
157 lhs_value, rhs_value = _normalize(lhs_value, rhs_value, key=environment_key)
/third_party/python/Lib/email/
Dheader.py229 self._normalize()
346 self._normalize()
393 def _normalize(self): member in Header
/third_party/python/Misc/NEWS.d/
D3.6.0b1.rst1151 Make ``_normalize`` parameter to ``Fraction`` constructor keyword-only, so
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp6488 builtin_builder::_normalize(builtin_available_predicate avail, const glsl_type *type) in _normalize() function in builtin_builder