Home
last modified time | relevance | path

Searched refs:sqr (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Daf_acrusher.c58 double sqr; member
125 const double sqr = s->sqr; in bitreduction() local
169 y = sqr * log(fabs(in)) + sqr * sqr; in bitreduction()
174 k = in / fabs(in) * exp(k / sqr - sqr); in bitreduction()
176 double x = exp(k / sqr - sqr); in bitreduction()
177 k = FFSIGN(in) * (x + (exp((k + 1) / sqr - sqr) - x) * in bitreduction()
180 double x = exp(k / sqr - sqr); in bitreduction()
181 k = in / fabs(in) * (x - (x - exp((k - 1) / sqr - sqr)) * in bitreduction()
311 s->sqr = sqrt(s->coeff / 2); in config_input()
/third_party/openssl/crypto/modes/asm/
Dghash-sparcv9.pl360 ($Hhl,$Hlo,$Hhi,$Xlo,$Xhi,$xE1,$sqr, $C0,$C1,$C2,$C3,$V)=
423 sll $C0,3,$sqr
424 srlx $V,$sqr,$sqr ! ·0xE0 [implicit &(7<<3)]
425 xor $C0,$sqr,$sqr
426 sllx $sqr,57,$sqr ! ($C0·0xE1)<<1<<56 [implicit &0x7f]
430 xor $sqr,$Xlo,$Xlo ! real destination is $C1
504 sll $C0,3,$sqr
505 srlx $V,$sqr,$sqr ! ·0xE0 [implicit &(7<<3)]
506 xor $C0,$sqr,$sqr
507 sllx $sqr,57,$sqr ! ($C0·0xE1)<<1<<56 [implicit &0x7f]
[all …]
/third_party/openssl/crypto/bn/asm/
Dx86_64-gcc.c103 # undef sqr
104 # define sqr(r0,r1,a) \ macro
175 sqr(r[0], r[1], a[0]); in bn_sqr_words()
176 sqr(r[2], r[3], a[1]); in bn_sqr_words()
177 sqr(r[4], r[5], a[2]); in bn_sqr_words()
178 sqr(r[6], r[7], a[3]); in bn_sqr_words()
184 sqr(r[0], r[1], a[0]); in bn_sqr_words()
187 sqr(r[2], r[3], a[1]); in bn_sqr_words()
190 sqr(r[4], r[5], a[2]); in bn_sqr_words()
/third_party/python/Lib/test/
D_test_multiprocessing.py2315 def sqr(x, wait=0.0): function
2366 self.assertEqual(papply(sqr, (5,)), sqr(5))
2367 self.assertEqual(papply(sqr, (), {'x':3}), sqr(x=3))
2371 self.assertEqual(pmap(sqr, list(range(10))), list(map(sqr, list(range(10)))))
2372 self.assertEqual(pmap(sqr, list(range(100)), chunksize=20),
2373 list(map(sqr, list(range(100)))))
2390 self.assertEqual(self.pool.map_async(sqr, list(range(10))).get(),
2391 list(map(sqr, list(range(10)))))
2414 self.pool.map(sqr, [A()]*10)
2418 self.pool.map_async(sqr, [], chunksize=1).get(timeout=TIMEOUT1)
[all …]
/third_party/skia/src/core/
DSkScan_AntiPath.cpp622 auto sqr = [](SkScalar x) { return x*x; }; in compute_complexity() local
624 SkScalar diagonalSqr = sqr(path.getBounds().width()) + sqr(path.getBounds().height()); in compute_complexity()
628 SkScalar intersections = sk_ieee_float_divide(sqr(n) * sqr(avgLength), diagonalSqr); in compute_complexity()
/third_party/flutter/skia/src/core/
DSkScan_AntiPath.cpp623 auto sqr = [](SkScalar x) { return x*x; }; in compute_complexity() local
625 SkScalar diagonalSqr = sqr(path.getBounds().width()) + sqr(path.getBounds().height()); in compute_complexity()
629 SkScalar intersections = sk_ieee_float_divide(sqr(n) * sqr(avgLength), diagonalSqr); in compute_complexity()
/third_party/skia/src/ports/
DSkFontMgr_mac_ct.cpp287 static inline int sqr(int value) { in sqr() function
294 return sqr(a.weight() - b.weight()) + in compute_metric()
295 sqr((a.width() - b.width()) * 100) + in compute_metric()
296 sqr((a.slant() != b.slant()) * 900); in compute_metric()
/third_party/flutter/skia/resources/lua/
Dslides_transitions.lua38 function sqr(value) return value * value end function
41 local sigma = sqr(1 - alpha) * 20
/third_party/skia/tests/
DSkSLDSLTest.cpp1470 DSLFunction sqr(kFloat_Type, "sqr", x); in DEF_GPUTEST_FOR_MOCK_CONTEXT() local
1471 sqr.define( in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1474 EXPECT_EQUAL(sqr(sk_FragCoord().x()), "sqr(sk_FragCoord.x)"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2077 DSLFunction sqr(kFloat_Type, "sqr", x); in DEF_GPUTEST_FOR_MOCK_CONTEXT() local
2078 sqr.define( in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2082 sk_FragColor() = (sqr(2), Half4(sqr(3))) in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2110 DSLFunction sqr(kFloat_Type, "sqr", x); in DEF_GPUTEST_FOR_MOCK_CONTEXT() local
2113 sqr.define( in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2124 DSLFunction sqr(kFloat_Type, "sqr", x); in DEF_GPUTEST_FOR_MOCK_CONTEXT() local
2127 DSLFunction(kVoid_Type, "main").define(sqr(5)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
DSkSLInterpreterTest.cpp703 auto sqr = SkSL::Program_GetFunction(*program, "sqr"); in DEF_TEST() local
710 REPORTER_ASSERT(r, sqr); in DEF_TEST()
/third_party/openssl/crypto/bn/
Dbn_local.h506 # define sqr(r0,r1,a) { \ macro
535 # define sqr(r0,r1,a) { \ macro
564 # define sqr(r0,r1,a) { \ macro
Dbn_asm.c83 sqr(r[0], r[1], a[0]); in bn_sqr_words()
84 sqr(r[2], r[3], a[1]); in bn_sqr_words()
85 sqr(r[4], r[5], a[2]); in bn_sqr_words()
86 sqr(r[6], r[7], a[3]); in bn_sqr_words()
93 sqr(r[0], r[1], a[0]); in bn_sqr_words()
DREADME.pod50 void sqr(BN_ULONG r0, BN_ULONG r1, BN_ULONG a);
199 sqr(B<r0>, B<r1>, B<a>) computes B<a>*B<a> and places the low word
/third_party/ffmpeg/libavcodec/
Dsvq1enc.c151 int sqr, diff, score; in encode_block() local
154 sqr = s->ssd_int8_vs_int16(vector, block[stage], size); in encode_block()
156 score = sqr - (diff * (int64_t)diff >> (level + 3)); // FIXME: 64 bits slooow in encode_block()
/third_party/flutter/skia/tests/
DSkSLInterpreterTest.cpp690 auto sqr = byteCode->getFunction("sqr"); in DEF_TEST() local
697 REPORTER_ASSERT(r, sqr); in DEF_TEST()
/third_party/flutter/skia/src/ports/
DSkFontHost_mac.cpp2480 static inline int sqr(int value) { in sqr() function
2487 return sqr(a.weight() - b.weight()) + in compute_metric()
2488 sqr((a.width() - b.width()) * 100) + in compute_metric()
2489 sqr((a.slant() != b.slant()) * 900); in compute_metric()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
D.config309 # can be configured to include faster routines for exptmod, sqr, and div to
Ddefconfig300 # can be configured to include faster routines for exptmod, sqr, and div to
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
D.config309 # can be configured to include faster routines for exptmod, sqr, and div to
Ddefconfig309 # can be configured to include faster routines for exptmod, sqr, and div to
/third_party/rust/crates/rust-openssl/openssl/src/
Dbn.rs536 pub fn sqr(&mut self, a: &BigNumRef, ctx: &mut BigNumContextRef) -> Result<(), ErrorStack> { in sqr() method
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dandroid.config316 # can be configured to include faster routines for exptmod, sqr, and div to
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dandroid.config320 # can be configured to include faster routines for exptmod, sqr, and div to
D.config356 # can be configured to include faster routines for exptmod, sqr, and div to
Ddefconfig358 # can be configured to include faster routines for exptmod, sqr, and div to

12