Home
last modified time | relevance | path

Searched refs:uintmax_t (Results 1 – 25 of 220) sorted by relevance

123456789

/external/mesa3d/src/intel/isl/
Disl_priv.h54 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/
Dspace.pass.cpp26 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-m32/
Dioctl_kvm_run_common.c93 (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 …]
Dremap_file_pages.c67 (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()
Daio_pgetevents.c133 (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/
Dioctl_kvm_run_common.c93 (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 …]
Dremap_file_pages.c67 (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()
Daio_pgetevents.c133 (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/
Dioctl_kvm_run_common.c93 (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 …]
Dremap_file_pages.c67 (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()
Daio_pgetevents.c133 (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/
Dspace.pass.cpp24 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/
Dfile_size.pass.cpp35 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 …]
Dhard_link_count.pass.cpp33 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/
Dfile_size.pass.cpp34 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 …]
Dhard_link_count.pass.cpp34 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/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/
Dhard_link_count.pass.cpp32 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/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/
Dhard_link_count.pass.cpp33 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/libchrome/base/metrics/
Dhistogram_functions.h56 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/
Dmalloc_io.c58 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/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/
Dresize_file.pass.cpp29 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.resize_file/
Dresize_file.pass.cpp30 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/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file_large.pass.cpp34 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/
Dformat-strings-fixit.c15 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/
Dformat-strings-fixit.c15 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()

123456789