Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 42) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/
Dtypedefs.pass.cpp16 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, ""); in main()
17 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, ""); in main()
18 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, ""); in main()
19 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, ""); in main()
20 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, ""); in main()
21 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, ""); in main()
22 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, ""); in main()
23 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, ""); in main()
24 static_assert(std::deca::num == 10ULL && std::deca::den == 1, ""); in main()
25 static_assert(std::hecto::num == 100ULL && std::hecto::den == 1, ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dmath_win32.h25 _LIBCPP_ALWAYS_INLINE bool isfinite( double num ) in isfinite() argument
27 return _finite(num) != 0; in isfinite()
29 _LIBCPP_ALWAYS_INLINE bool isinf( double num ) in isinf() argument
31 return !isfinite(num) && !_isnan(num); in isinf()
33 _LIBCPP_ALWAYS_INLINE bool isnan( double num ) in isnan() argument
35 return _isnan(num) != 0; in isnan()
37 _LIBCPP_ALWAYS_INLINE bool isnormal( double num ) in isnormal() argument
39 int class_ = _fpclass(num); in isnormal()
77 _LIBCPP_ALWAYS_INLINE bool signbit( double num ) in signbit() argument
79 switch(_fpclass(num)) in signbit()
[all …]
/ndk/tests/device/test-stlport_static-exception/jni/
Darray5.cpp12 int num; variable
18 if (count == num) in A()
42 for (num = 0; num <= 8; ++num) { in main()
Dnew23.cpp12 const unsigned num = 10; in main() local
13 unsigned *data = new unsigned[2 * num]; in main()
15 for (unsigned i = 0; i < 2 * num; ++i) in main()
17 if (ptr - data != num) in main()
/ndk/tests/device/test-stlport_shared-exception/jni/
Darray5.cpp12 int num; variable
18 if (count == num) in A()
42 for (num = 0; num <= 8; ++num) { in main()
Dnew23.cpp12 const unsigned num = 10; in main() local
13 unsigned *data = new unsigned[2 * num]; in main()
15 for (unsigned i = 0; i < 2 * num; ++i) in main()
17 if (ptr - data != num) in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.arithmetic/
Dratio_subtract.pass.cpp20 static_assert(R::num == 0 && R::den == 1, ""); in main()
26 static_assert(R::num == -1 && R::den == 2, ""); in main()
32 static_assert(R::num == -3 && R::den == 2, ""); in main()
38 static_assert(R::num == -3 && R::den == 2, ""); in main()
44 static_assert(R::num == 3 && R::den == 2, ""); in main()
50 static_assert(R::num == 3 && R::den == 2, ""); in main()
56 static_assert(R::num == -126708206685271LL && R::den == 5177331081415LL, ""); in main()
62 static_assert(R::num == 0 && R::den == 1, ""); in main()
68 static_assert(R::num == 1 && R::den == 1, ""); in main()
74 static_assert(R::num == -1 && R::den == 1, ""); in main()
Dratio_add.pass.cpp20 static_assert(R::num == 2 && R::den == 1, ""); in main()
26 static_assert(R::num == 3 && R::den == 2, ""); in main()
32 static_assert(R::num == 1 && R::den == 2, ""); in main()
38 static_assert(R::num == 1 && R::den == 2, ""); in main()
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
50 static_assert(R::num == -1 && R::den == 2, ""); in main()
56 static_assert(R::num == 127970191639601LL && R::den == 5177331081415LL, ""); in main()
62 static_assert(R::num == 0 && R::den == 1, ""); in main()
68 static_assert(R::num == 1 && R::den == 1, ""); in main()
74 static_assert(R::num == 1 && R::den == 1, ""); in main()
Dratio_multiply.pass.cpp20 static_assert(R::num == 1 && R::den == 1, ""); in main()
26 static_assert(R::num == 1 && R::den == 2, ""); in main()
32 static_assert(R::num == -1 && R::den == 2, ""); in main()
38 static_assert(R::num == -1 && R::den == 2, ""); in main()
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
50 static_assert(R::num == -1 && R::den == 2, ""); in main()
56 static_assert(R::num == 15519594064236LL && R::den == 5177331081415LL, ""); in main()
Dratio_divide.pass.cpp20 static_assert(R::num == 1 && R::den == 1, ""); in main()
26 static_assert(R::num == 1 && R::den == 2, ""); in main()
32 static_assert(R::num == -1 && R::den == 2, ""); in main()
38 static_assert(R::num == -1 && R::den == 2, ""); in main()
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
50 static_assert(R::num == -1 && R::den == 2, ""); in main()
56 static_assert(R::num == 630992477165LL && R::den == 127339199162436LL, ""); in main()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
DRegisters.hpp36 bool validRegister(int num) const;
37 uint32_t getRegister(int num) const;
38 void setRegister(int num, uint32_t value);
40 double getFloatRegister(int num) const;
41 void setFloatRegister(int num, double value);
43 v128 getVectorRegister(int num) const;
44 void setVectorRegister(int num, v128 value);
45 const char *getRegisterName(int num);
224 bool validRegister(int num) const;
225 uint64_t getRegister(int num) const;
[all …]
/ndk/sources/host-tools/ndk-stack/elff/
Ddwarf_defs.h743 bool add(const Dwarf_Abbr_DIE* abbr, Dwarf_AbbrNum num) { in add() argument
744 assert(num != 0); in add()
745 if (num == 0) { in add()
751 if (num <= count_) { in add()
757 assert(num == (count_ + 1)); in add()
758 if (num != (count_ + 1)) { in add()
763 if (num >= array_size_) { in add()
771 Dwarf_AbbrNum new_size = num + 64; in add()
789 array_[num - 1] = abbr; in add()
811 const Dwarf_Abbr_DIE* get(Dwarf_AbbrNum num) const { in get() argument
[all …]
Ddwarf_cu.h200 const Dwarf_Abbr_DIE* get_die_abbr(Dwarf_AbbrNum num) const { in get_die_abbr() argument
201 return abbrs_.get(num); in get_die_abbr()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dratio24 static const intmax_t num;
26 typedef ratio<num, den> type;
244 static const intmax_t num = __s * __na / __gcd;
247 typedef ratio<num, den> type;
250 template <intmax_t _Num, intmax_t _Den> const intmax_t ratio<_Num, _Den>::num;
277 static const intmax_t __gcd_n1_d2 = __static_gcd<_R1::num, _R2::den>::value;
278 static const intmax_t __gcd_d1_n2 = __static_gcd<_R1::den, _R2::num>::value;
282 __ll_mul<_R1::num / __gcd_n1_d2, _R2::num / __gcd_d1_n2>::value,
304 static const intmax_t __gcd_n1_n2 = __static_gcd<_R1::num, _R2::num>::value;
309 __ll_mul<_R1::num / __gcd_n1_n2, _R2::den / __gcd_d1_d2>::value,
[all …]
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-linked_ptr_test.cc43 int num; variable
49 A(): mynum(num++) { *history << "A" << mynum << " ctor\n"; } in A()
67 num = 0; in LinkedPtrTest()
/ndk/tests/device/issue39680-chrono-resolution/jni/
Dissue39680-chrono-resolution.cpp49 cout << fixed << double(TT::num)/TT::den in printClockData()
55 cout << fixed << double(P::num)/P::den << " seconds" << endl; in printClockData()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.ratio/
Dratio3.fail.cpp18 const std::intmax_t t1 = std::ratio<1, 0x8000000000000000ULL>::num; in main()
Dratio2.fail.cpp18 const std::intmax_t t1 = std::ratio<0x8000000000000000ULL, 1>::num; in main()
Dratio1.fail.cpp17 const std::intmax_t t1 = std::ratio<1, 0>::num; in main()
Dratio.pass.cpp18 static_assert((std::ratio<N, D>::num == eN), ""); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/
Dratio.fail.cpp22 static const int num = N; member in Ratio
/ndk/sources/host-tools/make-3.81/tests/
Dtest_driver.pl356 local($num) = shift @_;
362 if ($newnum > $num)
364 $num = $newnum;
368 return $num;
1128 local($num) = @_;
1130 if (--$num > 0) {
1131 return "$extext$num";
/ndk/sources/host-tools/nawk-20071023/
Drun.c1214 char *t, temp, num[50], *fs = 0; in split() local
1250 sprintf(num, "%d", n); in split()
1254 setsymtab(num, s, atof(s), STR|NUM, (Array *) ap->sval); in split()
1256 setsymtab(num, s, 0.0, STR, (Array *) ap->sval); in split()
1261 sprintf(num, "%d", n); in split()
1262 setsymtab(num, "", 0.0, STR, (Array *) ap->sval); in split()
1271 sprintf(num, "%d", n); in split()
1273 setsymtab(num, s, atof(s), STR|NUM, (Array *) ap->sval); in split()
1275 setsymtab(num, s, 0.0, STR, (Array *) ap->sval); in split()
1291 sprintf(num, "%d", n); in split()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dcondition_variable.cpp70 ts.tv_nsec = giga::num - 1; in __do_timed_wait()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dunit_test_suite.ipp92 test_unit::increase_exp_fail( unsigned num )
94 p_expected_failures.value += num;
97 framework::get<test_suite>( p_parent_id ).increase_exp_fail( num );

12