/external/mesa3d/src/intel/isl/ |
D | isl_priv.h | 54 isl_is_pow2(uintmax_t n) in isl_is_pow2() 63 isl_is_aligned(uintmax_t n, uintmax_t a) in isl_is_aligned() 72 static inline uintmax_t 73 isl_align(uintmax_t n, uintmax_t a) in isl_align() 79 static inline uintmax_t 80 isl_align_npot(uintmax_t n, uintmax_t a) in isl_align_npot() 86 static inline uintmax_t 87 isl_assert_div(uintmax_t n, uintmax_t a) in isl_assert_div() 96 static inline uintmax_t 97 isl_align_div(uintmax_t n, uintmax_t a) in isl_align_div() [all …]
|
/external/libcxx/test/std/input.output/filesystems/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/strace/tests/ |
D | ioctl_kvm_run_common.c | 93 (uintmax_t) seg->base, seg->limit, seg->selector, seg->type, in print_kvm_segment() 120 "apic_base=%#jx", (uintmax_t) sregs->gdt.base, sregs->gdt.limit, in print_kvm_sregs() 121 (uintmax_t) sregs->idt.base, sregs->idt.limit, sregs->cr0, in print_kvm_sregs() 123 (uintmax_t)sregs->apic_base); in print_kvm_sregs() 128 printf("%#jx", (uintmax_t) sregs->interrupt_bitmap[i]); in print_kvm_sregs() 140 printf("{rax=%#jx", (uintmax_t) regs->rax); in print_kvm_regs() 143 (uintmax_t) regs->rbx, (uintmax_t) regs->rcx, in print_kvm_regs() 144 (uintmax_t) regs->rdx, (uintmax_t) regs->rsi, in print_kvm_regs() 145 (uintmax_t) regs->rdi); in print_kvm_regs() 149 printf(", rsp=%#jx, rbp=%#jx", (uintmax_t) regs->rsp, in print_kvm_regs() [all …]
|
D | remap_file_pages.c | 67 (uintmax_t) addr, (uintmax_t) size, in main() 69 (uintmax_t) pgoff, "MAP_PRIVATE|MAP_ANONYMOUS", errstr); in main() 96 (uintmax_t) addr, (uintmax_t) size, in main() 99 (uintmax_t) pgoff, errstr); in main()
|
D | aio_pgetevents.c | 133 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 139 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 145 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 154 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 165 (uintmax_t) bogus_ctx, (long long) ts->tv_sec, in main() 178 (uintmax_t) bogus_ctx, (long long) ts->tv_sec, in main()
|
/external/strace/tests-m32/ |
D | ioctl_kvm_run_common.c | 93 (uintmax_t) seg->base, seg->limit, seg->selector, seg->type, in print_kvm_segment() 120 "apic_base=%#jx", (uintmax_t) sregs->gdt.base, sregs->gdt.limit, in print_kvm_sregs() 121 (uintmax_t) sregs->idt.base, sregs->idt.limit, sregs->cr0, in print_kvm_sregs() 123 (uintmax_t)sregs->apic_base); in print_kvm_sregs() 128 printf("%#jx", (uintmax_t) sregs->interrupt_bitmap[i]); in print_kvm_sregs() 140 printf("{rax=%#jx", (uintmax_t) regs->rax); in print_kvm_regs() 143 (uintmax_t) regs->rbx, (uintmax_t) regs->rcx, in print_kvm_regs() 144 (uintmax_t) regs->rdx, (uintmax_t) regs->rsi, in print_kvm_regs() 145 (uintmax_t) regs->rdi); in print_kvm_regs() 149 printf(", rsp=%#jx, rbp=%#jx", (uintmax_t) regs->rsp, in print_kvm_regs() [all …]
|
D | remap_file_pages.c | 67 (uintmax_t) addr, (uintmax_t) size, in main() 69 (uintmax_t) pgoff, "MAP_PRIVATE|MAP_ANONYMOUS", errstr); in main() 96 (uintmax_t) addr, (uintmax_t) size, in main() 99 (uintmax_t) pgoff, errstr); in main()
|
D | aio_pgetevents.c | 133 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 139 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 145 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 154 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 165 (uintmax_t) bogus_ctx, (long long) ts->tv_sec, in main() 178 (uintmax_t) bogus_ctx, (long long) ts->tv_sec, in main()
|
/external/strace/tests-mx32/ |
D | ioctl_kvm_run_common.c | 93 (uintmax_t) seg->base, seg->limit, seg->selector, seg->type, in print_kvm_segment() 120 "apic_base=%#jx", (uintmax_t) sregs->gdt.base, sregs->gdt.limit, in print_kvm_sregs() 121 (uintmax_t) sregs->idt.base, sregs->idt.limit, sregs->cr0, in print_kvm_sregs() 123 (uintmax_t)sregs->apic_base); in print_kvm_sregs() 128 printf("%#jx", (uintmax_t) sregs->interrupt_bitmap[i]); in print_kvm_sregs() 140 printf("{rax=%#jx", (uintmax_t) regs->rax); in print_kvm_regs() 143 (uintmax_t) regs->rbx, (uintmax_t) regs->rcx, in print_kvm_regs() 144 (uintmax_t) regs->rdx, (uintmax_t) regs->rsi, in print_kvm_regs() 145 (uintmax_t) regs->rdi); in print_kvm_regs() 149 printf(", rsp=%#jx, rbp=%#jx", (uintmax_t) regs->rsp, in print_kvm_regs() [all …]
|
D | remap_file_pages.c | 67 (uintmax_t) addr, (uintmax_t) size, in main() 69 (uintmax_t) pgoff, "MAP_PRIVATE|MAP_ANONYMOUS", errstr); in main() 96 (uintmax_t) addr, (uintmax_t) size, in main() 99 (uintmax_t) pgoff, errstr); in main()
|
D | aio_pgetevents.c | 133 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 139 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 145 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 154 (uintmax_t) bogus_ctx, (long) bogus_min_nr, in main() 165 (uintmax_t) bogus_ctx, (long long) ts->tv_sec, in main() 178 (uintmax_t) bogus_ctx, (long long) ts->tv_sec, in main()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/ |
D | space.pass.cpp | 24 bool EqualDelta(std::uintmax_t x, std::uintmax_t y, std::uintmax_t delta) { in EqualDelta() 69 const auto expect = static_cast<std::uintmax_t>(-1); in TEST_CASE() 87 const std::uintmax_t bad_value = static_cast<std::uintmax_t>(-1); in TEST_CASE() 88 std::uintmax_t expect_capacity; in TEST_CASE() 89 std::uintmax_t expect_free; in TEST_CASE() 90 std::uintmax_t expect_avail; in TEST_CASE() 97 const std::uintmax_t delta = expect_capacity / 20; in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | file_size.pass.cpp | 35 static_assert(std::is_same<decltype(e.file_size()), uintmax_t>::value, ""); in TEST_CASE() 36 static_assert(std::is_same<decltype(e.file_size(ec)), uintmax_t>::value, in TEST_CASE() 53 uintmax_t expect = file_size(ent); in TEST_CASE() 67 uintmax_t expect = file_size(ent); in TEST_CASE() 97 uintmax_t expect = file_size(p, other_ec); in TEST_CASE() 99 uintmax_t got = ent.file_size(ec); in TEST_CASE() 101 TEST_CHECK(got == uintmax_t(-1)); in TEST_CASE() 133 TEST_CHECK(ent.file_size(ec) == uintmax_t(-1)); in TEST_CASE() 146 uintmax_t expect_bad = file_size(StaticEnv::BadSymlink, ec); in TEST_CASE() 147 TEST_CHECK(expect_bad == uintmax_t(-1)); in TEST_CASE() [all …]
|
D | hard_link_count.pass.cpp | 33 static_assert(std::is_same<decltype(e.hard_link_count()), uintmax_t>::value, ""); in TEST_CASE() 34 static_assert(std::is_same<decltype(e.hard_link_count(ec)), uintmax_t>::value, in TEST_CASE() 51 uintmax_t expect = hard_link_count(ent); in TEST_CASE() 62 uintmax_t expect = hard_link_count(ent); in TEST_CASE() 97 uintmax_t expect = hard_link_count(p); in TEST_CASE() 132 TEST_CHECK(ent.hard_link_count(ec) == uintmax_t(-1)); in TEST_CASE() 145 uintmax_t expect_bad = hard_link_count(StaticEnv::BadSymlink, ec); in TEST_CASE() 146 TEST_CHECK(expect_bad == uintmax_t(-1)); in TEST_CASE() 166 uintmax_t expect_good = hard_link_count(file); in TEST_CASE() 175 TEST_CHECK(ent.hard_link_count(ec) == uintmax_t(-1)); in TEST_CASE() [all …]
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | file_size.pass.cpp | 34 static_assert(std::is_same<decltype(e.file_size()), uintmax_t>::value, ""); in TEST_CASE() 35 static_assert(std::is_same<decltype(e.file_size(ec)), uintmax_t>::value, in TEST_CASE() 52 uintmax_t expect = file_size(ent); in TEST_CASE() 66 uintmax_t expect = file_size(ent); in TEST_CASE() 96 uintmax_t expect = file_size(p, other_ec); in TEST_CASE() 98 uintmax_t got = ent.file_size(ec); in TEST_CASE() 100 TEST_CHECK(got == uintmax_t(-1)); in TEST_CASE() 133 TEST_CHECK(ent.file_size(ec) == uintmax_t(-1)); in TEST_CASE() 146 uintmax_t expect_bad = file_size(static_env.BadSymlink, ec); in TEST_CASE() 147 TEST_CHECK(expect_bad == uintmax_t(-1)); in TEST_CASE() [all …]
|
D | hard_link_count.pass.cpp | 34 static_assert(std::is_same<decltype(e.hard_link_count()), uintmax_t>::value, ""); in TEST_CASE() 35 static_assert(std::is_same<decltype(e.hard_link_count(ec)), uintmax_t>::value, in TEST_CASE() 52 uintmax_t expect = hard_link_count(ent); in TEST_CASE() 63 uintmax_t expect = hard_link_count(ent); in TEST_CASE() 98 uintmax_t expect = hard_link_count(p); in TEST_CASE() 134 TEST_CHECK(ent.hard_link_count(ec) == uintmax_t(-1)); in TEST_CASE() 147 uintmax_t expect_bad = hard_link_count(static_env.BadSymlink, ec); in TEST_CASE() 148 TEST_CHECK(expect_bad == uintmax_t(-1)); in TEST_CASE() 168 uintmax_t expect_good = hard_link_count(file); in TEST_CASE() 177 TEST_CHECK(ent.hard_link_count(ec) == uintmax_t(-1)); in TEST_CASE() [all …]
|
/external/libcxx/test/std/input.output/filesystems/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/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/ |
D | hard_link_count.pass.cpp | 32 ASSERT_SAME_TYPE(decltype(hard_link_count(p)), uintmax_t); in TEST_CASE() 33 ASSERT_SAME_TYPE(decltype(hard_link_count(p, ec)), uintmax_t); in TEST_CASE() 49 uintmax_t DirExpect = 3; // hard link from . .. and Dir2 in TEST_CASE() 50 uintmax_t Dir3Expect = 2; // hard link from . .. in TEST_CASE() 51 uintmax_t DirExpectAlt = DirExpect; in TEST_CASE() 52 uintmax_t Dir3ExpectAlt = Dir3Expect; in TEST_CASE() 93 const uintmax_t expect = static_cast<uintmax_t>(-1); in TEST_CASE()
|
/external/libchrome/base/metrics/ |
D | histogram_functions.h | 56 DCHECK_LE(static_cast<uintmax_t>(enum_size), static_cast<uintmax_t>(INT_MAX)); in UmaHistogramEnumeration() 57 DCHECK_LT(static_cast<uintmax_t>(sample), static_cast<uintmax_t>(enum_size)); in UmaHistogramEnumeration() 68 DCHECK_LE(static_cast<uintmax_t>(T::kMaxValue), in UmaHistogramEnumeration() 69 static_cast<uintmax_t>(INT_MAX) - 1); in UmaHistogramEnumeration() 70 DCHECK_LE(static_cast<uintmax_t>(sample), in UmaHistogramEnumeration() 71 static_cast<uintmax_t>(T::kMaxValue)); in UmaHistogramEnumeration()
|
/external/jemalloc_new/src/ |
D | malloc_io.c | 58 static char *u2s(uintmax_t x, unsigned base, bool uppercase, char *s, 63 static char *o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p); 65 static char *x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, 113 uintmax_t 115 uintmax_t ret, digit; in malloc_strtoumax() 200 uintmax_t pret = ret; in malloc_strtoumax() 212 ret = (uintmax_t)(-((intmax_t)ret)); in malloc_strtoumax() 235 u2s(uintmax_t x, unsigned base, bool uppercase, char *s, size_t *slen_p) { in u2s() 305 o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p) { in o2s() 316 x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, size_t *slen_p) { in x2s() [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/ |
D | resize_file.pass.cpp | 30 std::uintmax_t i; ((void)i); in TEST_CASE() 42 auto checkThrow = [](path const& f, std::uintmax_t s, const std::error_code& ec) in TEST_CASE() 79 const std::uintmax_t new_s = 100; in TEST_CASE() 86 const std::uintmax_t new_s = 1; in TEST_CASE() 93 const std::uintmax_t new_s = 0; in TEST_CASE() 101 const std::uintmax_t new_s = 1024; in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/ |
D | resize_file.pass.cpp | 29 std::uintmax_t i; ((void)i); in TEST_CASE() 41 auto checkThrow = [](path const& f, std::uintmax_t s, const std::error_code& ec) in TEST_CASE() 78 const std::uintmax_t new_s = 100; in TEST_CASE() 85 const std::uintmax_t new_s = 1; in TEST_CASE() 92 const std::uintmax_t new_s = 0; in TEST_CASE() 100 const std::uintmax_t new_s = 1024; in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/ |
D | copy_file_large.pass.cpp | 34 static std::string random_hex_chars(uintmax_t size) { in TEST_SUITE() 37 for (uintmax_t I = 0; I < size; ++I) in TEST_SUITE() 48 constexpr uintmax_t sendfile_size_limit = 2147479552ull; in TEST_CASE() 49 constexpr uintmax_t additional_size = 1024; in TEST_CASE() 50 constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; in TEST_CASE()
|
/external/llvm-project/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()
|
/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()
|