/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
H A D | ratio | 40 #include <cstdint> // intmax_t, uintmax_t 91 static const uintmax_t __c = uintmax_t(1) << (sizeof(intmax_t) * 4); 93 static const uintmax_t __a0 = __static_abs<_Pn>::value % __c; 94 static const uintmax_t __a1 = __static_abs<_Pn>::value / __c; 95 static const uintmax_t __b0 = __static_abs<_Qn>::value % __c; 96 static const uintmax_t __b1 = __static_abs<_Qn>::value / __c; 113 // __hi*2^(8*sizeof(uintmax_t)) + __lo. 114 template<uintmax_t __hi1, uintmax_t __lo1, uintmax_t __hi2, uintmax_t __lo2> 120 template<uintmax_t __hi1, uintmax_t __lo1, uintmax_t __hi2, uintmax_t __lo2> 123 static constexpr uintmax_t __lo = __lo1 + __lo2; [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
H A D | ratio | 40 #include <cstdint> // intmax_t, uintmax_t 91 static const uintmax_t __c = uintmax_t(1) << (sizeof(intmax_t) * 4); 93 static const uintmax_t __a0 = __static_abs<_Pn>::value % __c; 94 static const uintmax_t __a1 = __static_abs<_Pn>::value / __c; 95 static const uintmax_t __b0 = __static_abs<_Qn>::value % __c; 96 static const uintmax_t __b1 = __static_abs<_Qn>::value / __c; 113 // __hi*2^(8*sizeof(uintmax_t)) + __lo. 114 template<uintmax_t __hi1, uintmax_t __lo1, uintmax_t __hi2, uintmax_t __lo2> 120 template<uintmax_t __hi1, uintmax_t __lo1, uintmax_t __hi2, uintmax_t __lo2> 123 static constexpr uintmax_t __lo = __lo1 + __lo2; [all …]
|
/netbsd-src/include/ |
H A D | inttypes.h | 48 uintmax_t strtoumax(const char * __restrict, 52 uintmax_t wcstoumax(const wchar_t * __restrict, 71 uintmax_t strtoumax_l(const char * __restrict, 75 uintmax_t wcstoumax_l(const wchar_t * __restrict, 83 uintmax_t strtou(const char * __restrict, char ** __restrict, int, 84 uintmax_t, uintmax_t, int *); 89 uintmax_t strtou_l(const char * __restrict, char ** __restrict, int, 90 uintmax_t, uintmax_t, int *, locale_t);
|
H A D | util.h | 137 char *strpct(char *, size_t, uintmax_t, uintmax_t, size_t); 156 uintmax_t estrtou(const char *, int, uintmax_t, uintmax_t);
|
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | dwarf.c | 301 (uintmax_t)die_off(dw, die), dwarf_errmsg(dw->dw_err)); in die_sibling() 318 (uintmax_t)die_off(dw, die), dwarf_errmsg(dw->dw_err)); in die_child() 332 (uintmax_t)die_off(dw, die), dwarf_errmsg(dw->dw_err)); in die_tag() 348 (uintmax_t)die_off(dw, die), in die_attr() 356 (uintmax_t)die_off(dw, die), dwarf_errmsg(dw->dw_err)); in die_attr() 369 (uintmax_t)die_off(dw, die), in die_signed() 385 (uintmax_t)die_off(dw, die), in die_unsigned() 401 (uintmax_t)die_off(dw, die), in die_bool() 418 (uintmax_t)die_off(dw, die), in die_string() 436 (uintmax_t)die_off(dw, die), dwarf_errmsg(dw->dw_err)); in die_attr_ref() [all …]
|
/netbsd-src/tests/lib/libc/sys/ |
H A D | t_wait.c | 92 printf("user: %ju system: %ju\n", (uintmax_t)si.si_utime, in ATF_TC_BODY() 93 (uintmax_t)si.si_utime); in ATF_TC_BODY() 127 printf("user: %ju system: %ju\n", (uintmax_t)si.si_utime, in ATF_TC_BODY() 128 (uintmax_t)si.si_utime); in ATF_TC_BODY() 164 printf("user: %ju system: %ju\n", (uintmax_t)si.si_utime, in ATF_TC_BODY() 165 (uintmax_t)si.si_utime); in ATF_TC_BODY() 204 printf("user: %ju system: %ju\n", (uintmax_t)si.si_utime, in ATF_TC_BODY() 205 (uintmax_t)si.si_utime); in ATF_TC_BODY() 217 printf("user: %ju system: %ju\n", (uintmax_t)si.si_utime, in ATF_TC_BODY() 218 (uintmax_t)si.si_utime); in ATF_TC_BODY() [all …]
|
/netbsd-src/bin/pax/ |
H A D | cpio.c | 418 if (u32_asc((uintmax_t)arcn->ln_nlen, hd->c_filesize, in cpio_wr() 426 if (u32_asc((uintmax_t)0, hd->c_filesize, sizeof(hd->c_filesize), in cpio_wr() 435 if (u32_asc((uintmax_t)MAGIC, hd->c_magic, sizeof(hd->c_magic), OCT) || in cpio_wr() 436 u32_asc((uintmax_t)arcn->sb.st_dev, hd->c_dev, sizeof(hd->c_dev), in cpio_wr() 438 u32_asc((uintmax_t)arcn->sb.st_ino, hd->c_ino, sizeof(hd->c_ino), in cpio_wr() 440 u32_asc((uintmax_t)arcn->sb.st_mode, hd->c_mode, sizeof(hd->c_mode), in cpio_wr() 442 u32_asc((uintmax_t)arcn->sb.st_uid, hd->c_uid, sizeof(hd->c_uid), in cpio_wr() 444 u32_asc((uintmax_t)arcn->sb.st_gid, hd->c_gid, sizeof(hd->c_gid), in cpio_wr() 446 u32_asc((uintmax_t)arcn->sb.st_nlink, hd->c_nlink, sizeof(hd->c_nlink), in cpio_wr() 448 u32_asc((uintmax_t)arcn->sb.st_rdev, hd->c_rdev, sizeof(hd->c_rdev), in cpio_wr() [all …]
|
/netbsd-src/sys/external/bsd/drm2/ttm/ |
H A D | ttm_bo_vm.c | 264 (uintmax_t)vaddr, npages, bo, (int)bo->mem.bus.is_iomem, size, in ttm_bo_uvm_fault_reserved() 265 (uintmax_t)vmf->entry->start, (uintmax_t)vmf->entry->offset); in ttm_bo_uvm_fault_reserved() 366 (uintmax_t)npages, in ttm_bo_mmap_object() 367 (uintmax_t)startpage, in ttm_bo_mmap_object() 368 (uintmax_t)drm_vma_node_size(&bo->base.vma_node), in ttm_bo_mmap_object() 369 (uintmax_t)drm_vma_node_start(&bo->base.vma_node)); in ttm_bo_mmap_object() 373 (uintmax_t)npages, in ttm_bo_mmap_object() 374 (uintmax_t)startpage, in ttm_bo_mmap_object() 375 (uintmax_t)drm_vma_node_size(&bo->base.vma_node), in ttm_bo_mmap_object() 376 (uintmax_t)drm_vma_node_start(&bo->base.vma_node)); in ttm_bo_mmap_object() [all …]
|
/netbsd-src/external/lgpl3/mpfr/dist/src/ |
H A D | get_uj.c | 28 uintmax_t 31 uintmax_t r; in mpfr_get_uj() 40 (uintmax_t) 0 : UINTMAX_MAX; in mpfr_get_uj() 44 return (uintmax_t) 0; in mpfr_get_uj() 75 ? (uintmax_t) xp[n] << sh in mpfr_get_uj() 76 : (uintmax_t) xp[n] >> (- sh)); in mpfr_get_uj()
|
H A D | set_uj.c | 29 #define uintmaxpml (sizeof(uintmax_t) / sizeof(mp_limb_t)) 32 mpfr_set_uj (mpfr_ptr x, uintmax_t j, mpfr_rnd_t rnd) in mpfr_set_uj() 38 mpfr_set_uj_2exp (mpfr_ptr x, uintmax_t j, intmax_t e, mpfr_rnd_t rnd) in mpfr_set_uj_2exp() 45 unsigned long uintmax_bit_size = sizeof(uintmax_t) * CHAR_BIT; in mpfr_set_uj_2exp() 60 MPFR_ASSERTN (sizeof(uintmax_t) % sizeof(mp_limb_t) == 0); in mpfr_set_uj_2exp()
|
/netbsd-src/lib/libexecinfo/ |
H A D | symtab.c | 148 (uintmax_t)sym.st_value, ELF_ST_BIND(sym.st_info), in symtab_create() 200 (uintmax_t)fbase, dli->dli_saddr, (uintmax_t)sa, in symtab_find() 201 (uintmax_t)me, (uintmax_t)ad); in symtab_find() 221 DPRINTF("me=%#jx -> [%#jx, %s]", (uintmax_t)me, (uintmax_t)sd, in symtab_find() 224 DPRINTF("%#jx -> [%#jx, ***]", (uintmax_t)me, (uintmax_t)sd); in symtab_find()
|
/netbsd-src/usr.bin/systat/ |
H A D | convtbl.c | 60 uintmax_t mul; 61 uintmax_t scale; 85 get_tbl_ptr(const uintmax_t size, const int scale) in get_tbl_ptr() 87 uintmax_t tmp; in get_tbl_ptr() 108 convert(const uintmax_t size, const int scale) in convert() 118 get_string(const uintmax_t size, const int scale) in get_string()
|
/netbsd-src/lib/libutil/ |
H A D | strpct.c | 80 (void)strpct(buf + sign, bufsiz - sign, (uintmax_t)numerator, in strspct() 81 (uintmax_t)denominator, digits); in strspct() 88 strpct(char *buf, size_t bufsiz, uintmax_t numerator, uintmax_t denominator, in strpct() 91 uintmax_t factor, result; in strpct()
|
/netbsd-src/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_string_sprintf.c | 53 append_uint(struct archive_string *as, uintmax_t d, unsigned base) in append_uint() 64 uintmax_t ud; in append_int() 68 ud = (d == INTMAX_MIN) ? (uintmax_t)(INTMAX_MAX) + 1 : (uintmax_t)(-d); in append_int() 95 uintmax_t u; /* Unsigned integer temp. */ in archive_string_vsprintf() 173 case 'j': u = va_arg(ap, uintmax_t); break; in archive_string_vsprintf()
|
/netbsd-src/external/cddl/osnet/dist/uts/common/sys/ |
H A D | debug.h | 99 extern void assfail3(const char *, uintmax_t, const char *, uintmax_t, 106 (uintmax_t)__left, #OP, (uintmax_t)__right, \ 113 #define VERIFY0(x) VERIFY3_IMPL(x, ==, 0, uintmax_t) 119 #define ASSERT0(x) VERIFY3_IMPL(x, ==, 0, uintmax_t)
|
/netbsd-src/sys/external/bsd/drm2/include/linux/ |
H A D | dma-mapping.h | 59 static inline uintmax_t 63 if (nbits == CHAR_BIT*sizeof(uintmax_t)) in DMA_BIT_MASK() 64 return ~(uintmax_t)0; in DMA_BIT_MASK() 65 return ~(~(uintmax_t)0 << nbits); in DMA_BIT_MASK()
|
/netbsd-src/sys/kern/ |
H A D | exec_subr.c | 414 (uintmax_t)epp->ep_minsaddr, (uintmax_t)max_stack_size)); in exec_setup_stack() 419 (uintmax_t)l->l_proc->p_rlimit[RLIMIT_STACK].rlim_cur, in exec_setup_stack() 420 (uintmax_t)max_stack_size)); in exec_setup_stack() 430 (uintmax_t)epp->ep_ssize, (uintmax_t)epp->ep_minsaddr, in exec_setup_stack() 431 (uintmax_t)epp->ep_maxsaddr)); in exec_setup_stack() 449 (uintmax_t)access_size, (uintmax_t)access_linear_min, in exec_setup_stack() 450 (uintmax_t)noaccess_siz in exec_setup_stack() [all...] |
/netbsd-src/tests/net/net/ |
H A D | test.h | 36 msg, (uintmax_t)(a), (uintmax_t)(b)); \ 47 # a "(%ju) != " # b "(%ju) ", msg, (uintmax_t)(a), (uintmax_t)(b));
|
/netbsd-src/usr.sbin/dumplfs/ |
H A D | dumplfs.c | 132 (uintmax_t)nextfree); in print_ientry() 351 (uintmax_t)addr); in dump_ifile() 533 "size ", (uintmax_t)lfs_dino_getsize(fs, dip)); in dump_dinode() 538 (uintmax_t)lfs_dino_getinumber(fs, dip)); in dump_dinode() 641 (uintmax_t)lfs_fi_getino(lfsp, fp), in dump_sum() 808 "size ", (uintmax_t)lfs_sb_getsize(lfsp)); in dump_super() 811 "dsize ", (uintmax_t)lfs_sb_getdsize(lfsp), in dump_super() 830 "bmask ", (uintmax_t)lfs_sb_getbmask(lfsp), in dump_super() 832 "ffmask ", (uintmax_t)lfs_sb_getffmask(lfsp)); in dump_super() 835 "fbmask ", (uintmax_t)lfs_sb_getfbmask(lfsp), in dump_super() [all …]
|
/netbsd-src/sys/ufs/lfs/ |
H A D | lfs_debug.c | 131 "size ", (uintmax_t)lfs_sb_getsize(lfsp), in lfs_dump_super() 134 "dsize ", (uintmax_t)lfs_sb_getdsize(lfsp), in lfs_dump_super() 167 "maxfilesize ", (uintmax_t)lfs_sb_getmaxfilesize(lfsp)); in lfs_dump_super() 176 "freehd ", (uintmax_t)lfs_sb_getfreehd(lfsp), in lfs_dump_super() 180 "nfiles ", (uintmax_t)lfs_sb_getnfiles(lfsp), in lfs_dump_super() 204 "size ", (uintmax_t)lfs_dino_getsize(fs, dip), in lfs_dump_dinode() 205 "blocks ", (uintmax_t)lfs_dino_getblocks(fs, dip)); in lfs_dump_dinode() 206 printf("inum %ju\n", (uintmax_t)lfs_dino_getinumber(fs, dip)); in lfs_dump_dinode()
|
/netbsd-src/external/cddl/osnet/sys/sys/ |
H A D | debug.h | 45 (a), (uintmax_t)(lv), (op), (uintmax_t)(rv), (f), (l)) 73 __assfail3(const char *expr, uintmax_t lv, const char *op, uintmax_t rv, in __assfail3()
|
/netbsd-src/sbin/fsck_lfs/ |
H A D | setup.c | 240 (uintmax_t)idaddr); in setup() 255 (uintmax_t)lfs_sb_getoffset(fs), in setup() 269 (uintmax_t)tdaddr); in setup() 328 pwarn("idaddr = 0x%jx\n", idaddr ? (uintmax_t)idaddr : in setup() 329 (uintmax_t)lfs_sb_getidaddr(fs)); in setup() 351 (uintmax_t)lfs_sb_getbmask(fs), in setup() 362 (uintmax_t)lfs_sb_getffmask(fs), in setup() 373 (uintmax_t)lfs_sb_getfbmask(fs), in setup() 385 (uintmax_t) lfs_sb_getmaxfilesize(fs), in setup() 386 (uintmax_t) maxfilesize, lfs_sb_getbshift(fs)); in setup()
|
/netbsd-src/sys/external/bsd/common/include/linux/ |
H A D | kernel.h | 121 #define round_down(X, N) ((X) & ~(uintmax_t)((N) - 1)) 159 static __inline uintmax_t 160 mult_frac(uintmax_t x, uintmax_t multiplier, uintmax_t divisor) in mult_frac() 162 uintmax_t q = (x / divisor); in mult_frac() 163 uintmax_t r = (x % divisor); in mult_frac()
|
/netbsd-src/sys/sys/ |
H A D | kernhist.h | 56 uintmax_t v[4]; /* values */ 83 uintmax_t she_values[4]; 213 _e_->v[0] = (uintmax_t)(A); \ 214 _e_->v[1] = (uintmax_t)(B); \ 215 _e_->v[2] = (uintmax_t)(C); \ 216 _e_->v[3] = (uintmax_t)(D); \
|
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/m4/ |
H A D | inttypes_h.m4 | 10 # doesn't clash with <sys/types.h>, and declares uintmax_t. 18 [uintmax_t i = (uintmax_t) -1; return !i;], 24 and declares uintmax_t. ])
|