/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/ |
D | space.pass.cpp | 26 bool EqualDelta(std::uintmax_t x, std::uintmax_t y, std::uintmax_t delta) { in EqualDelta() 70 const auto expect = static_cast<std::uintmax_t>(-1); in TEST_CASE() 93 auto do_mult = [&](std::uintmax_t val) { in TEST_CASE() 94 std::uintmax_t fsize = expect.f_frsize; in TEST_CASE() 95 std::uintmax_t new_val = val * fsize; in TEST_CASE() 99 const std::uintmax_t bad_value = static_cast<std::uintmax_t>(-1); in TEST_CASE() 100 const std::uintmax_t expect_capacity = do_mult(expect.f_blocks); in TEST_CASE() 101 const std::uintmax_t expect_free = do_mult(expect.f_bfree); in TEST_CASE() 102 const std::uintmax_t expect_avail = do_mult(expect.f_bavail); in TEST_CASE() 107 const std::uintmax_t delta = expect_capacity / 20; in TEST_CASE()
|
/external/syslinux/com32/lib/ |
D | vsnprintf.c | 45 format_int(char *q, size_t n, uintmax_t val, enum flags flags, in format_int() 53 uintmax_t tmpval; in format_int() 64 val = (uintmax_t) (-(intmax_t) val); in format_int() 174 uintmax_t val = 0; in vsnprintf() 302 val = (uintmax_t) (uintptr_t) va_arg(ap, void *); in vsnprintf() 313 (uintmax_t) (intmax_t) (signed char)va_arg(ap, in vsnprintf() 319 (uintmax_t) (intmax_t) (signed short)va_arg(ap, in vsnprintf() 324 val = (uintmax_t) (intmax_t) va_arg(ap, signed int); in vsnprintf() 327 val = (uintmax_t) (intmax_t) va_arg(ap, signed long); in vsnprintf() 331 (uintmax_t) (intmax_t) va_arg(ap, signed long long); in vsnprintf() [all …]
|
D | strntoumax.c | 24 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) in strntoumax() 27 uintmax_t v = 0; in strntoumax()
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.hard_lk_ct/ |
D | hard_link_count.pass.cpp | 33 ASSERT_SAME_TYPE(decltype(hard_link_count(p)), uintmax_t); in TEST_CASE() 34 ASSERT_SAME_TYPE(decltype(hard_link_count(p, ec)), uintmax_t); in TEST_CASE() 48 uintmax_t DirExpect = 3; // hard link from . .. and Dir2 in TEST_CASE() 49 uintmax_t Dir3Expect = 2; // hard link from . .. in TEST_CASE() 50 uintmax_t DirExpectAlt = DirExpect; in TEST_CASE() 51 uintmax_t Dir3ExpectAlt = Dir3Expect; in TEST_CASE() 91 const uintmax_t expect = static_cast<uintmax_t>(-1); in TEST_CASE()
|
/external/jemalloc/src/ |
D | util.c | 35 static char *u2s(uintmax_t x, unsigned base, bool uppercase, char *s, 40 static char *o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p); 42 static char *x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, 108 uintmax_t 111 uintmax_t ret, digit; in malloc_strtoumax() 191 uintmax_t pret = ret; in malloc_strtoumax() 203 ret = (uintmax_t)(-((intmax_t)ret)); in malloc_strtoumax() 224 u2s(uintmax_t x, unsigned base, bool uppercase, char *s, size_t *slen_p) in u2s() 293 o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p) in o2s() 306 x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, size_t *slen_p) in x2s() [all …]
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/ |
D | resize_file.pass.cpp | 31 std::uintmax_t i; ((void)i); in TEST_CASE() 43 auto checkThrow = [](path const& f, std::uintmax_t s, const std::error_code& ec) in TEST_CASE() 80 const std::uintmax_t new_s = 100; in TEST_CASE() 87 const std::uintmax_t new_s = 1; in TEST_CASE() 94 const std::uintmax_t new_s = 0; in TEST_CASE() 102 const std::uintmax_t new_s = 1024; in TEST_CASE()
|
/external/bison/m4/ |
D | inttypes_h.m4 | 10 # doesn't clash with <sys/types.h>, and declares uintmax_t. 21 [[uintmax_t i = (uintmax_t) -1; return !i;]])], 27 and declares uintmax_t. ])
|
D | stdint_h.m4 | 10 # doesn't clash with <sys/types.h>, and declares uintmax_t. 19 [[uintmax_t i = (uintmax_t) -1; return !i;]])], 25 and declares uintmax_t. ])
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.file_size/ |
D | file_size.pass.cpp | 33 ASSERT_SAME_TYPE(decltype(file_size(p)), uintmax_t); in TEST_CASE() 34 ASSERT_SAME_TYPE(decltype(file_size(p, ec)), uintmax_t); in TEST_CASE() 71 const uintmax_t expect = static_cast<uintmax_t>(-1); in TEST_CASE()
|
/external/clang/test/Sema/ |
D | format-strings-fixit.c | 15 typedef __UINTMAX_TYPE__ uintmax_t; typedef 65 printf("%f", (uintmax_t) 42); in test() 71 typedef uintmax_t my_uintmax_type; in test() 118 uintmax_t uIntmaxVar; in test2() 153 typedef uintmax_t my_uintmax_type; in test2()
|
D | format-strings-int-typedefs.c | 29 typedef void *uintmax_t; in test() typedef 34 …printf("%ju", (uintmax_t)42); // expected-warning {{format specifies type 'uintmax_t' (aka 'unsign… in test()
|
/external/dhcpcd-6.8.2/compat/ |
D | strtoi.c | 74 uintmax_t 76 uintmax_t lo, uintmax_t hi, int *rstatus) in strtou() 79 uintmax_t r; in strtou()
|
D | strtoi.h | 35 uintmax_t strtou(const char * __restrict nptr, char ** __restrict endptr, 36 int base, uintmax_t lo, uintmax_t hi, int *rstatus);
|
/external/strace/tests/ |
D | mmap.c | 49 addr = (void *) (uintmax_t) (0xfacefeed000 & -pagesize); in main() 54 const uintmax_t uoffset = in main() 55 sizeof(offset) == sizeof(int) ? (uintmax_t) (unsigned int) offset in main() 56 : (uintmax_t) offset; in main()
|
/external/strace/tests-mx32/ |
D | mmap.c | 49 addr = (void *) (uintmax_t) (0xfacefeed000 & -pagesize); in main() 54 const uintmax_t uoffset = in main() 55 sizeof(offset) == sizeof(int) ? (uintmax_t) (unsigned int) offset in main() 56 : (uintmax_t) offset; in main()
|
D | utimensat.c | 46 printf("{tv_sec=%ju, tv_nsec=%ju}", (uintmax_t) ts->tv_sec, in print_ts() 47 (uintmax_t) ts->tv_nsec); in print_ts()
|
/external/strace/tests-m32/ |
D | mmap.c | 49 addr = (void *) (uintmax_t) (0xfacefeed000 & -pagesize); in main() 54 const uintmax_t uoffset = in main() 55 sizeof(offset) == sizeof(int) ? (uintmax_t) (unsigned int) offset in main() 56 : (uintmax_t) offset; in main()
|
/external/ltp/testcases/kernel/syscalls/statvfs/ |
D | statvfs01.c | 71 (uintmax_t) buf.f_bfree); in main() 73 (uintmax_t) buf.f_files); in main() 75 (uintmax_t) buf.f_ffree); in main()
|
/external/strace/ |
D | print_timex.c | 55 (uintmax_t) tx.maxerror, (uintmax_t) tx.esterror); in MPERS_PRINTER_DECL() 58 (intmax_t) tx.constant, (uintmax_t) tx.precision, in MPERS_PRINTER_DECL()
|
/external/libcxx/src/experimental/filesystem/ |
D | operations.cpp | 445 std::uintmax_t __file_size(const path& p, std::error_code *ec) in __file_size() 454 return static_cast<uintmax_t>(-1); in __file_size() 458 return static_cast<std::uintmax_t>(st.st_size); in __file_size() 461 std::uintmax_t __hard_link_count(const path& p, std::error_code *ec) in __hard_link_count() 468 return static_cast<std::uintmax_t>(-1); in __hard_link_count() 471 return static_cast<std::uintmax_t>(st.st_nlink); in __hard_link_count() 497 return static_cast<std::uintmax_t>(pst.st_size) == 0; in __fs_is_empty() 805 std::uintmax_t remove_all_impl(path const & p, std::error_code& ec) in remove_all_impl() 807 const auto npos = static_cast<std::uintmax_t>(-1); in remove_all_impl() 810 std::uintmax_t count = 1; in remove_all_impl() [all …]
|
/external/libchrome/base/numerics/ |
D | safe_numerics_unittest.cc | 286 TEST_ARITHMETIC(uintmax_t); in TEST() 510 TEST_NUMERIC_CONVERSION(int8_t, uintmax_t, UNSIGN_TO_SIGN_NARROW_OR_EQUAL); in TEST() 523 TEST_NUMERIC_CONVERSION(unsigned int, uintmax_t, SIGN_PRESERVING_NARROW); in TEST() 535 TEST_NUMERIC_CONVERSION(int, uintmax_t, UNSIGN_TO_SIGN_NARROW_OR_EQUAL); in TEST() 540 TEST_NUMERIC_CONVERSION(uintmax_t, uintmax_t, in TEST() 543 TEST_NUMERIC_CONVERSION(uintmax_t, unsigned int, in TEST() 552 TEST_NUMERIC_CONVERSION(uintmax_t, int, SIGN_TO_UNSIGN_WIDEN_OR_EQUAL); in TEST() 553 TEST_NUMERIC_CONVERSION(uintmax_t, int8_t, SIGN_TO_UNSIGN_WIDEN_OR_EQUAL); in TEST() 555 TEST_NUMERIC_CONVERSION(uintmax_t, float, SIGN_TO_UNSIGN_NARROW); in TEST() 556 TEST_NUMERIC_CONVERSION(uintmax_t, double, SIGN_TO_UNSIGN_NARROW); in TEST() [all …]
|
/external/bison/darwin-lib/ |
D | stdint.h | 325 # undef uintmax_t 328 # define uintmax_t gl_uintmax_t macro 330 # define uintmax_t uint64_t macro 333 # define uintmax_t gl_uintmax_t macro 340 typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t)
|
/external/google-breakpad/src/common/linux/ |
D | linux_libc_support.h | 56 extern unsigned my_uint_len(uintmax_t i); 64 extern void my_uitos(char* output, uintmax_t i, unsigned i_len);
|
/external/syslinux/dos/ |
D | strntoumax.c | 24 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) in strntoumax() 27 uintmax_t v = 0; in strntoumax()
|
/external/bison/lib/ |
D | stdint.in.h | 324 # undef uintmax_t 327 # define uintmax_t gl_uintmax_t 329 # define uintmax_t uint64_t 332 # define uintmax_t gl_uintmax_t 339 typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t)
|