/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_abstract_numbers.py | 5 from numbers import Complex, Real, Rational, Integral 13 self.assertEqual(7, int(7).real) 23 self.assertEqual(7, long(7).real) 31 self.assertTrue(issubclass(float, Real)) 33 self.assertEqual(7.3, float(7.3).real) 38 self.assertFalse(issubclass(complex, Real))
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
covariance_matrix_generator_unittest.cc | 41 EXPECT_NEAR(actual_els[0][0].real(), 1.f, kTolerance); 42 EXPECT_NEAR(actual_els[0][1].real(), 0.9998f, kTolerance); 43 EXPECT_NEAR(actual_els[1][0].real(), 0.9998f, kTolerance); 44 EXPECT_NEAR(actual_els[1][1].real(), 1.f, kTolerance); 69 EXPECT_NEAR(actual_els[0][0].real(), 1.f, kTolerance); 70 EXPECT_NEAR(actual_els[0][1].real(), 0.9573f, kTolerance); 71 EXPECT_NEAR(actual_els[0][2].real(), 0.8347f, kTolerance); 72 EXPECT_NEAR(actual_els[1][0].real(), 0.9573f, kTolerance); 73 EXPECT_NEAR(actual_els[1][1].real(), 1.f, kTolerance); 74 EXPECT_NEAR(actual_els[1][2].real(), 0.9573f, kTolerance) [all...] |
/external/libcxx/include/ |
complex | 30 T real() const; // constexpr in C++14 33 void real(T); 60 constexpr float real() const; 61 void real(float); 89 constexpr double real() const; 90 void real(double); 118 constexpr long double real() const; 119 void real(long double); 168 template<class T> T real(const complex<T>&); // constexpr in C++14 169 long double real(long double); // constexpr in C++1 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
complex | 30 T real() const; // constexpr in C++14 33 void real(T); 60 constexpr float real() const; 61 void real(float); 89 constexpr double real() const; 90 void real(double); 118 constexpr long double real() const; 119 void real(long double); 168 template<class T> T real(const complex<T>&); // constexpr in C++14 169 long double real(long double); // constexpr in C++1 [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/ |
complex | 30 T real() const; // constexpr in C++14 33 void real(T); 60 constexpr float real() const; 61 void real(float); 89 constexpr double real() const; 90 void real(double); 118 constexpr long double real() const; 119 void real(long double); 168 template<class T> T real(const complex<T>&); // constexpr in C++14 169 long double real(long double); // constexpr in C++1 [all...] |
/external/clang/test/Sema/ |
complex-init-list.c | 16 // real->complex and complex->real conversions; as-is, it's way too easy 20 _Complex float valid1 = { 1.0f, 2.0f }; // expected-warning {{specifying real and imaginary components is an extension}} 28 _Complex int valid2 = { 1, 2 }; // expected-warning {{complex integer}} expected-warning {{specifying real and imaginary components is an extension}} 29 struct teststruct valid3 = { { 1.0f, 2.0f} }; // expected-warning {{specifying real and imaginary components is an extension}} 30 _Complex float valid4[2] = { {1.0f, 1.0f}, {1.0f, 1.0f} }; // expected-warning 2 {{specifying real and imaginary components is an extension}} 32 _Complex float valid5 = {1.0f, 1.0fi}; // expected-warning {{imaginary constants}} expected-warning {{specifying real and imaginary components is an extension}} 42 _Complex float sizetest1[] = { {1.0f, 1.0f}, {1.0f, 1.0f} }; // expected-warning 2 {{specifying real and imaginary components is an extension}} 44 _Complex float sizetest2[] = { 1.0f, 1.0f, {1.0f, 1.0f} }; // expected-warning {{specifying real and imaginary components is an extension}} 48 _Complex float x = 2 + (_Complex float) { 1, 2 }; // expected-warning {{specifying real and imaginary components is an extension} [all...] |
/external/llvm/test/CodeGen/PowerPC/ |
a2-fp-basic.ll | 8 %a.real = load double, double* %a.realp 12 %b.real = load double, double* %b.realp 15 %mul.rl = fmul double %a.real, %b.real 18 %mul.il = fmul double %a.imag, %b.real 19 %mul.ir = fmul double %a.real, %b.imag 22 %c.real = load double, double* %c.realp 25 %add.r = fadd double %mul.r, %c.real 27 %real = getelementptr inbounds %0, %0* %agg.result, i32 0, i32 0 29 store double %add.r, double* %real [all...] |
ppc440-fp-basic.ll | 8 %a.real = load double, double* %a.realp 12 %b.real = load double, double* %b.realp 15 %mul.rl = fmul double %a.real, %b.real 18 %mul.il = fmul double %a.imag, %b.real 19 %mul.ir = fmul double %a.real, %b.imag 22 %c.real = load double, double* %c.realp 25 %add.r = fadd double %mul.r, %c.real 27 %real = getelementptr inbounds %0, %0* %agg.result, i32 0, i32 0 29 store double %add.r, double* %real [all...] |
/frameworks/base/docs/image_sources/ |
activity_lifecycle.graffle | [all...] |
/frameworks/base/docs/image_sources/training/fragments-screen-mock.graffle/ |
data.plist | 41 <real>36</real> 60 <real>11</real> 72 <real>4.1290435791015625</real> 94 <real>4</real> 130 <real>10</real> [all...] |
/external/eigen/bench/btl/libs/BLAS/ |
c_interface_base.h | 8 template<class real> class c_interface_base 13 typedef real real_type; 14 typedef std::vector<real> stl_vector; 17 typedef real* gene_matrix; 18 typedef real* gene_vector; 30 A = new real[N*N]; 38 B = new real[N];
|
/external/cblas/testing/ |
c_cblas2.c | 26 A[ LDA*i+j ].real=a[ (*lda)*j+i ].real; 58 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].real; 65 A[ LDA*j+irow ].real=a[ (*lda)*j+i ].real; 72 A[ LDA*j+irow ].real=a[ (*lda)*(j-jcol)+i ].real; 100 A[ LDA*i+j ].real=a[ (*lda)*j+i ].real; [all...] |
c_zblas2.c | 26 A[ LDA*i+j ].real=a[ (*lda)*j+i ].real; 58 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].real; 65 A[ LDA*j+irow ].real=a[ (*lda)*j+i ].real; 72 A[ LDA*j+irow ].real=a[ (*lda)*(j-jcol)+i ].real; 100 A[ LDA*i+j ].real=a[ (*lda)*j+i ].real; [all...] |
c_cblas3.c | 32 A[i*LDA+j].real=a[j*(*lda)+i].real; 41 A[i*LDA+j].real=a[j*(*lda)+i].real; 51 B[i*LDB+j].real=b[j*(*ldb)+i].real; 60 B[i*LDB+j].real=b[j*(*ldb)+i].real; 69 C[i*LDC+j].real=c[j*(*ldc)+i].real; [all...] |
c_zblas3.c | 32 A[i*LDA+j].real=a[j*(*lda)+i].real; 41 A[i*LDA+j].real=a[j*(*lda)+i].real; 51 B[i*LDB+j].real=b[j*(*ldb)+i].real; 60 B[i*LDB+j].real=b[j*(*ldb)+i].real; 69 C[i*LDC+j].real=c[j*(*ldc)+i].real; [all...] |
/frameworks/support/compat/tests/java/android/support/v4/app/ |
NotificationCompatWearableExtenderTest.java | 175 private void assertExtendersEqual(Notification.WearableExtender real, 177 assertActionsEquals(real.getActions(), compat.getActions()); 178 assertEquals(real.getContentIntentAvailableOffline(), 180 assertEquals(real.getHintHideIcon(), compat.getHintHideIcon()); 181 assertEquals(real.getHintShowBackgroundOnly(), compat.getHintShowBackgroundOnly()); 182 assertEquals(real.getStartScrollBottom(), compat.getStartScrollBottom()); 183 assertEquals(real.getDisplayIntent(), compat.getDisplayIntent()); 184 assertPagesEquals(real.getPages(), compat.getPages()); 185 assertEquals(real.getBackground(), compat.getBackground()); 186 assertEquals(real.getContentIcon(), compat.getContentIcon()) [all...] |
/external/compiler-rt/lib/builtins/ppc/ |
divtc3.c | 40 DD real = { .ld = __gcc_qdiv(realNumerator, denom) }; local 43 real.s.hi = crt_scalbn(real.s.hi, -ilogbw); 44 real.s.lo = crt_scalbn(real.s.lo, -ilogbw); 48 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) 57 real.s.hi = crt_copysign(CRT_INFINITY,cDD.s.hi) * aDD.s.hi; 58 real.s.lo = 0.0; 68 real.s.hi = CRT_INFINITY * (aDD.s.hi*cDD.s.hi + bDD.s.hi*dDD.s.hi); 69 real.s.lo = 0.0 [all...] |
/external/libcxx/test/std/numerics/complex.number/cmplx.over/ |
real.pass.cpp | 14 // real(const T& x); 26 static_assert((std::is_same<decltype(std::real(T(x))), double>::value), ""); 27 assert(std::real(x) == x); 30 static_assert(std::real(val) == val, ""); 32 static_assert(t.real() == x, "" ); 40 static_assert((std::is_same<decltype(std::real(T(x))), T>::value), ""); 41 assert(std::real(x) == x); 44 static_assert(std::real(val) == val, ""); 46 static_assert(t.real() == x, "" );
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/ |
real.pass.cpp | 14 // real(const T& x); 26 static_assert((std::is_same<decltype(std::real(T(x))), double>::value), ""); 27 assert(std::real(x) == x); 30 static_assert(std::real(val) == val, ""); 32 static_assert(t.real() == x, "" ); 40 static_assert((std::is_same<decltype(std::real(T(x))), T>::value), ""); 41 assert(std::real(x) == x); 44 static_assert(std::real(val) == val, ""); 46 static_assert(t.real() == x, "" );
|
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
tanh.pass.cpp | 43 if (x[i].real() == 0 && x[i].imag() == 0) 45 assert(r.real() == 0); 46 assert(std::signbit(r.real()) == std::signbit(x[i].real())); 50 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 52 assert(std::isnan(r.real())); 55 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 57 assert(std::isnan(r.real())); 60 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) 62 assert(r.real() == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
tanh.pass.cpp | 43 if (x[i].real() == 0 && x[i].imag() == 0) 45 assert(r.real() == 0); 46 assert(std::signbit(r.real()) == std::signbit(x[i].real())); 50 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 52 assert(std::isnan(r.real())); 55 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 57 assert(std::isnan(r.real())); 60 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) 62 assert(r.real() == 1) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluspen.h | 39 Pen(const Color& color, REAL width = 1.0f): 46 Pen(const Brush *brush, REAL width = 1.0f): 93 Status GetCompoundArray(REAL *compoundArray, INT count) const 126 REAL GetDashOffset() const 128 REAL result = 0.0f; 133 Status GetDashPattern(REAL *dashArray, INT count) const 171 REAL GetMiterLimit() const 173 REAL result = 10.0f; 198 REAL GetWidth() const 200 REAL result = 1.0f [all...] |
gdipluspath.h | 85 Status AddArc(REAL x, REAL y, REAL width, REAL height, 86 REAL startAngle, REAL sweepAngle) 92 REAL startAngle, REAL sweepAngle) 97 Status AddArc(const RectF& rect, REAL startAngle, REAL sweepAngle [all...] |
/frameworks/base/docs/image_sources/training/basics/basic-lifecycle.graffle/ |
data.plist | 41 <real>36</real> 71 <real>10</real> 114 <real>90</real> 139 <real>2.3972222805023193</real> 155 <real>3</real> [all...] |
/external/dbus/dbus/ |
dbus-string.c | 79 fixup_alignment (DBusRealString *real) 85 /* we have to have extra space in real->allocated for the align offset and nul byte */ 86 _dbus_assert (real->len <= real->allocated - _DBUS_STRING_ALLOCATION_PADDING); 88 old_align_offset = real->align_offset; 89 real_block = real->str - old_align_offset; 93 real->align_offset = aligned - real_block; 94 real->str = aligned; 96 if (old_align_offset != real->align_offset) 99 memmove (real_block + real->align_offset 135 DBusRealString *real; local 214 DBusRealString *real; local 244 DBusRealString *real = (DBusRealString*) str; local [all...] |