Home
last modified time | relevance | path

Searched refs:intmax_t (Results 1 – 25 of 165) sorted by relevance

1234567

/external/libcxx/include/
Dratio20 template <intmax_t N, intmax_t D = 1>
24 static constexpr intmax_t num;
25 static constexpr intmax_t den;
98 template <intmax_t _Xp, intmax_t _Yp>
101 static const intmax_t value = __static_gcd<_Yp, _Xp % _Yp>::value;
104 template <intmax_t _Xp>
107 static const intmax_t value = _Xp;
113 static const intmax_t value = 1;
118 template <intmax_t _Xp, intmax_t _Yp>
121 static const intmax_t value = _Xp / __static_gcd<_Xp, _Yp>::value * _Yp;
[all …]
Dcinttypes228 intmax_t imaxabs(intmax_t j);
229 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
230 intmax_t strtoimax(const char* restrict nptr, char** restrict endptr, int base);
232 intmax_t wcstoimax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base);
/external/llvm-project/libcxx/include/
Dratio19 template <intmax_t N, intmax_t D = 1>
23 static constexpr intmax_t num;
24 static constexpr intmax_t den;
97 template <intmax_t _Xp, intmax_t _Yp>
100 static const intmax_t value = __static_gcd<_Yp, _Xp % _Yp>::value;
103 template <intmax_t _Xp>
106 static const intmax_t value = _Xp;
112 static const intmax_t value = 1;
117 template <intmax_t _Xp, intmax_t _Yp>
120 static const intmax_t value = _Xp / __static_gcd<_Xp, _Yp>::value * _Yp;
[all …]
Dcinttypes227 intmax_t imaxabs(intmax_t j);
228 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
229 intmax_t strtoimax(const char* restrict nptr, char** restrict endptr, int base);
231 intmax_t wcstoimax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int base);
/external/strace/tests-mx32/
Dadjtimex.c55 (intmax_t) tx->offset, in main()
56 (intmax_t) tx->freq, in main()
57 (intmax_t) tx->maxerror, in main()
58 (intmax_t) tx->esterror); in main()
71 (intmax_t) tx->constant, in main()
72 (intmax_t) tx->precision, in main()
73 (intmax_t) tx->tolerance, in main()
76 (intmax_t) tx->tick, in main()
77 (intmax_t) tx->ppsfreq, in main()
78 (intmax_t) tx->jitter, in main()
[all …]
/external/strace/tests/
Dadjtimex.c55 (intmax_t) tx->offset, in main()
56 (intmax_t) tx->freq, in main()
57 (intmax_t) tx->maxerror, in main()
58 (intmax_t) tx->esterror); in main()
71 (intmax_t) tx->constant, in main()
72 (intmax_t) tx->precision, in main()
73 (intmax_t) tx->tolerance, in main()
76 (intmax_t) tx->tick, in main()
77 (intmax_t) tx->ppsfreq, in main()
78 (intmax_t) tx->jitter, in main()
[all …]
/external/strace/tests-m32/
Dadjtimex.c55 (intmax_t) tx->offset, in main()
56 (intmax_t) tx->freq, in main()
57 (intmax_t) tx->maxerror, in main()
58 (intmax_t) tx->esterror); in main()
71 (intmax_t) tx->constant, in main()
72 (intmax_t) tx->precision, in main()
73 (intmax_t) tx->tolerance, in main()
76 (intmax_t) tx->tick, in main()
77 (intmax_t) tx->ppsfreq, in main()
78 (intmax_t) tx->jitter, in main()
[all …]
/external/strace/
Dprint_timex.c55 (intmax_t) tx.offset, (intmax_t) tx.freq, in MPERS_PRINTER_DECL()
59 (intmax_t) tx.constant, (uintmax_t) tx.precision, in MPERS_PRINTER_DECL()
60 (intmax_t) tx.tolerance); in MPERS_PRINTER_DECL()
63 (intmax_t) tx.tick, (intmax_t) tx.ppsfreq, (intmax_t) tx.jitter); in MPERS_PRINTER_DECL()
65 tx.shift, (intmax_t) tx.stabil, (intmax_t) tx.jitcnt); in MPERS_PRINTER_DECL()
67 (intmax_t) tx.calcnt, (intmax_t) tx.errcnt, (intmax_t) tx.stbcnt); in MPERS_PRINTER_DECL()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dstrtoi.cpp6 void test_strtoi(const char *nptr, int base, intmax_t lo, intmax_t hi) { in test_strtoi()
9 intmax_t i = strtoi(nptr, &p, base, lo, hi, &status); in test_strtoi()
15 void test_strtou(const char *nptr, int base, intmax_t lo, intmax_t hi) { in test_strtou()
/external/jemalloc_new/test/unit/
Dmalloc_io.c24 #define KSMAX(x) ((uintmax_t)(intmax_t)x##LL) in TEST_BEGIN()
225 TEST("_-1234_", "_%jd_", ((intmax_t)-1234)); in TEST_BEGIN()
226 TEST("_1234_", "_%jd_", ((intmax_t)1234)); in TEST_BEGIN()
227 TEST("_-1234_", "_%ji_", ((intmax_t)-1234)); in TEST_BEGIN()
228 TEST("_1234_", "_%ji_", ((intmax_t)1234)); in TEST_BEGIN()
229 TEST("_01234_", "_%#jo_", ((intmax_t)01234)); in TEST_BEGIN()
230 TEST("_1234_", "_%ju_", ((intmax_t)1234)); in TEST_BEGIN()
231 TEST("_0x1234abc_", "_%#jx_", ((intmax_t)0x1234abc)); in TEST_BEGIN()
232 TEST("_0X1234ABC_", "_%#jX_", ((intmax_t)0x1234ABC)); in TEST_BEGIN()
/external/llvm-project/flang/unittests/Evaluate/
Dreal.cpp132 static_cast<int>(j), static_cast<std::intmax_t>(x), rm); in basicTests()
390 ("%d AINT(0x%jx)", pass, static_cast<std::intmax_t>(rj)); in subsetTests()
392 ("%d AINT(0x%jx)", pass, static_cast<std::intmax_t>(rj)); in subsetTests()
397 ("%d IsNaN(0x%jx)", pass, static_cast<std::intmax_t>(rj)); in subsetTests()
399 ("%d IsInfinite(0x%jx)", pass, static_cast<std::intmax_t>(rj)); in subsetTests()
410 ("%d invalid(0x%jx)", pass, static_cast<std::intmax_t>(rj)); in subsetTests()
418 ("%d overflow(0x%jx)", pass, static_cast<std::intmax_t>(rj)); in subsetTests()
427 static_cast<std::intmax_t>(rj), s.data(), static_cast<double>(fj)); in subsetTests()
430 static_cast<std::intmax_t>(rj), s.data(), in subsetTests()
452 ("%d 0x%jx + 0x%jx", pass, static_cast<std::intmax_t>(rj), in subsetTests()
[all …]
/external/ltp/testcases/kernel/syscalls/gettimeofday/
Dgettimeofday02.c66 (intmax_t) tv1.tv_sec, (intmax_t) tv1.tv_usec, in verify_gettimeofday()
67 (intmax_t) tv2.tv_sec, (intmax_t) tv2.tv_usec); in verify_gettimeofday()
/external/llvm-project/clang/test/Sema/
Dformat-strings-fixit.c14 typedef __INTMAX_TYPE__ intmax_t; typedef
64 printf("%f", (intmax_t) 42); in test()
70 typedef intmax_t my_intmax_type; in test()
117 intmax_t intmaxVar; in test2()
152 typedef intmax_t my_intmax_type; in test2()
Dformat-strings-int-typedefs.c28 typedef void *intmax_t; in test() typedef
33 …printf("%jd", (intmax_t)42); // expected-warning {{format specifies type 'intmax_t' (aka 'long lon… in test()
/external/clang/test/Sema/
Dformat-strings-fixit.c14 typedef __INTMAX_TYPE__ intmax_t; typedef
64 printf("%f", (intmax_t) 42); in test()
70 typedef intmax_t my_intmax_type; in test()
117 intmax_t intmaxVar; in test2()
152 typedef intmax_t my_intmax_type; in test2()
Dformat-strings-int-typedefs.c28 typedef void *intmax_t; in test() typedef
33 …printf("%jd", (intmax_t)42); // expected-warning {{format specifies type 'intmax_t' (aka 'long lon… in test()
/external/skia/include/private/
DSkTFitsIn.h91 (intmax_t)src >= (intmax_t)std::numeric_limits<typename sk_strip_enum<D>::type>::min() &&
92 (intmax_t)src <= (intmax_t)std::numeric_limits<typename sk_strip_enum<D>::type>::max() :
/external/llvm-project/clang/test/Headers/
Dstdint-typeof-MINMAX.cpp28 static_assert(__is_same(__typeof__(INTMAX_MIN), intmax_t));
29 static_assert(__is_same(__typeof__(INTMAX_MAX), intmax_t));
31 static_assert(__is_same(__typeof__(INTMAX_C(5)), intmax_t));
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c70 typedef long long intmax_t; typedef
79 typedef long intmax_t; typedef
157 #define SECSPER400YEARS (SECSPERNYEAR * (intmax_t) (300 + 3) \
158 + SECSPERLYEAR * (intmax_t) (100 - 3))
233 static intmax_t delta(struct tm * newp, struct tm * oldp) ATTRIBUTE_PURE;
238 static time_t yeartot(intmax_t y) ATTRIBUTE_PURE;
435 intmax_t lo; in main()
436 intmax_t hi; in main()
438 register intmax_t cutloyear = ZDUMP_LO_YEAR; in main()
439 register intmax_t cuthiyear = ZDUMP_HI_YEAR; in main()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-spuriously-wake-up-functions.cpp5 using intmax_t = int; typedef
7 template <intmax_t N, intmax_t D = 1>
10 static constexpr intmax_t num = 0;
11 static constexpr intmax_t den = 0;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock/
D2-1.c26 intmax_t clocks_per_sec = (intmax_t) CLOCKS_PER_SEC; in main()
/external/webrtc/rtc_base/numerics/
Dsafe_compare_unittest.cc22 constexpr std::intmax_t imin = std::numeric_limits<std::intmax_t>::min();
23 constexpr std::intmax_t m1 = -1;
28 static_assert(m1 == static_cast<std::intmax_t>(umax), "");
64 bool TestLessThanMax( intmax_t a, uintmax_t b) { return SafeLt(a, b); } in TestLessThanMax()
65 bool TestLessThanMax(uintmax_t a, intmax_t b) { return SafeLt(a, b); } in TestLessThanMax()
66 bool TestLessThanMax17u( intmax_t a) { return SafeLt(a, uintmax_t{17}); } in TestLessThanMax17u()
67 bool TestLessThanMax17( uintmax_t a) { return SafeLt(a, intmax_t{17}); } in TestLessThanMax17()
/external/llvm-project/flang/runtime/
Dunit.cpp126 unitNumber(), static_cast<std::intmax_t>(*recordLength)); in OpenUnit()
131 unitNumber(), static_cast<std::intmax_t>(*recordLength), in OpenUnit()
132 static_cast<std::intmax_t>(*totalBytes)); in OpenUnit()
252 bytes, static_cast<std::intmax_t>(positionInRecord), in Emit()
253 static_cast<std::intmax_t>(*recordLength)); in Emit()
279 bytes, static_cast<std::intmax_t>(positionInRecord), in Receive()
280 static_cast<std::intmax_t>(*recordLength)); in Receive()
547 handler.SignalError(error, static_cast<std::intmax_t>(currentRecordNumber), in BeginSequentialVariableUnformattedInputRecord()
548 static_cast<std::intmax_t>(frameOffsetInFile_), in BeginSequentialVariableUnformattedInputRecord()
549 static_cast<std::intmax_t>(header), static_cast<std::intmax_t>(footer)); in BeginSequentialVariableUnformattedInputRecord()
/external/angle/src/common/third_party/base/anglebase/numerics/
Dsafe_numerics_unittest.cc271 TEST_ARITHMETIC(intmax_t); in TEST()
532 TEST_NUMERIC_CONVERSION(uint8_t, intmax_t, SIGN_TO_UNSIGN_NARROW); in TEST()
547 TEST_NUMERIC_CONVERSION(int, intmax_t, SIGN_PRESERVING_NARROW); in TEST()
555 TEST_NUMERIC_CONVERSION(unsigned int, intmax_t, SIGN_TO_UNSIGN_NARROW); in TEST()
565 TEST_NUMERIC_CONVERSION(intmax_t, intmax_t, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
567 TEST_NUMERIC_CONVERSION(intmax_t, int, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
569 TEST_NUMERIC_CONVERSION(intmax_t, unsigned int, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
570 TEST_NUMERIC_CONVERSION(intmax_t, uint8_t, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
572 TEST_NUMERIC_CONVERSION(intmax_t, float, SIGN_PRESERVING_NARROW); in TEST()
573 TEST_NUMERIC_CONVERSION(intmax_t, double, SIGN_PRESERVING_NARROW); in TEST()
[all …]
/external/ltp/testcases/kernel/syscalls/time/
Dtime02.c113 TEST_RETURN, (intmax_t) tloc); in main()
118 (intmax_t) tloc); in main()

1234567