/openbsd/usr.bin/rsync/ |
H A D | uploader.c | 134 p->rem = sz; in init_blkset() 136 p->rem = sz % p->len; in init_blkset() 140 if (p->rem) in init_blkset() 155 p->len = idx < set->blksz - 1 ? set->len : set->rem; in init_blk() 1012 if ((size_t)msz != blk.len && (size_t)msz != blk.rem) { in rsync_uploader() 1024 i, offs, msz, blk.len, blk.rem); in rsync_uploader() 1072 io_buffer_int(u->buf, &pos, u->bufsz, blk.rem); in rsync_uploader()
|
/openbsd/lib/libcrypto/bn/ |
H A D | bn.h | 353 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 355 #define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) argument 419 const BIGNUM *rem, BN_GENCB *cb);
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/ |
H A D | BigFloat.pm | 2031 my ($quo, $rem); 2034 $rem = $downgrade -> new($rem, @r) 2050 my ($quo, $rem); 2068 my ($quo, $rem); 2072 $rem = $downgrade -> new($rem, @r) 2096 my ($quo, $rem); 2102 return $quo, $rem; 2133 my $rem; 2207 $rem = $rem->bmod($y, @params); # copy already done 2216 $rem = $downgrade -> new($rem -> bdstr(), @r) [all …]
|
/openbsd/sys/dev/pci/ |
H A D | mbg.c | 407 size_t quot, rem; in mbg_read_amcc_s5920() local 413 rem = len % 4; in mbg_read_amcc_s5920() 442 if (rem) { in mbg_read_amcc_s5920() 445 for (n = 0; n < rem; n++) in mbg_read_amcc_s5920()
|
/openbsd/gnu/gcc/libdecnumber/ |
H A D | decNumber.c | 4451 uInt rem; /* for division */ in decShiftToMost() local 4477 rem = *source % powers[cut]; in decShiftToMost() 4511 Int quot, rem; /* for division */ in decShiftToLeast() local 4544 rem = quot % powers[cut]; in decShiftToLeast() 4748 if (rem != 0) in decSetCoeff() 4763 rem = *up - quot * powers[cut]; in decSetCoeff() 4765 rem = *up % powers[cut]; in decSetCoeff() 4768 if (rem != 0) in decSetCoeff() 4821 rem = quot % powers[cut]; in decSetCoeff() 5412 Int rem; /* work */ local [all …]
|
H A D | decUtility.c | 107 uInt rem = *source % powers[cut]; in decDensePackCoeff() local 111 next = rem * powers[DECDPUN - cut]; /* save remainder for next Unit */ in decDensePackCoeff()
|
/openbsd/lib/libc/arch/sparc64/ |
H A D | Symbols.list | 3 .rem
|
/openbsd/sbin/dhcp6leased/ |
H A D | dhcp6leased.c | 879 int len, fd, rem; in write_lease_file() local 913 rem = sizeof(lease_buf); in write_lease_file() 916 len = snprintf(p, rem, "%s%d %s %d\n", LEASE_IA_PD_PREFIX, in write_lease_file() 920 if (len == -1 || len >= rem) { in write_lease_file() 926 rem -= len; in write_lease_file() 929 len = sizeof(lease_buf) - rem; in write_lease_file()
|
/openbsd/regress/lib/libc/db/ |
H A D | dbtest.c | 58 void rem(DB *, DBT *); 204 rem(dbp, &key); in main() 292 rem(dbp, &key); in main() 415 rem(dbp, kp) in rem() function
|
/openbsd/sys/dev/pci/drm/i915/gem/selftests/ |
H A D | i915_gem_context.c | 759 unsigned int rem = in igt_ctx_exec() local 762 err = cpu_check(obj, ncontexts++, rem); in igt_ctx_exec() 766 dw += rem; in igt_ctx_exec() 892 unsigned int rem = in igt_shared_ctx_exec() local 895 err = cpu_check(obj, ncontexts++, rem); in igt_shared_ctx_exec() 899 dw += rem; in igt_shared_ctx_exec() 1466 unsigned int rem = in igt_ctx_readonly() local 1470 num_writes = rem; in igt_ctx_readonly() 1478 dw += rem; in igt_ctx_readonly()
|
/openbsd/usr.bin/kstat/ |
H A D | kstat.c | 65 uint64_t rem = 0; in fmt_thing() local 68 rem = val % chunk; in fmt_thing() 75 fr->frac = (rem * 1000) / chunk; in fmt_thing()
|
/openbsd/sys/dev/pci/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 64 typeof(obj->base.size) rem; in fake_get_pages() 70 rem = round_up(obj->base.size, BIT(31)) >> 31; in fake_get_pages() 72 if (overflows_type(rem, unsigned int)) { in fake_get_pages() 77 if (sg_alloc_table(pages, rem, GFP)) { in fake_get_pages() 82 rem = obj->base.size; in fake_get_pages() 84 unsigned long len = min_t(typeof(rem), rem, BIT(31)); in fake_get_pages() 91 rem -= len; in fake_get_pages() 93 GEM_BUG_ON(rem); in fake_get_pages()
|
/openbsd/sbin/dhcpleased/ |
H A D | frontend.c | 855 ssize_t len, rem; in bpf_receive() local 871 rem = len; in bpf_receive() 874 while (rem > 0) { in bpf_receive() 875 if ((size_t)rem < sizeof(*hdr)) { in bpf_receive() 884 if (rem < hdr->bh_hdrlen + hdr->bh_caplen) in bpf_receive() 898 rem -= BPF_WORDALIGN(hdr->bh_hdrlen + hdr->bh_caplen); in bpf_receive()
|
/openbsd/regress/usr.bin/sed/ |
H A D | dc.sed | 210 /|?%/b rem 296 :rem
|
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Compress/ |
H A D | Base.pm | 612 my $rem = $slen - $offset; 613 $len = $rem if $rem < $len;
|
/openbsd/usr.sbin/vmd/ |
H A D | vm.c | 849 size_t rem = vmr->vmr_size, read=0; in dump_vmr() local 852 while (rem > 0) { in dump_vmr() 861 rem = rem - PAGE_SIZE; in dump_vmr() 870 size_t rem = vmr->vmr_size, wrote=0; in restore_vmr() local 873 while (rem > 0) { in restore_vmr() 878 rem = rem - PAGE_SIZE; in restore_vmr()
|
/openbsd/include/ |
H A D | inttypes.h | 251 intmax_t rem; /* remainder */ member
|
/openbsd/lib/libedit/ |
H A D | map.c | 1252 int ntype, rem; in map_bind() local 1267 key = rem = 0; in map_bind() 1283 rem = 1; in map_bind() 1321 if (rem) { in map_bind()
|
/openbsd/gnu/gcc/libstdc++-v3/include/c_std/ |
H A D | std_cstdlib.h | 181 { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
|
/openbsd/gnu/llvm/lld/ELF/Arch/ |
H A D | ARM.cpp | 433 uint32_t rem, lz; in getRemAndLZForGroup() local 436 rem = val; in getRemAndLZForGroup() 441 return {rem, lz}; in getRemAndLZForGroup()
|
/openbsd/gnu/gcc/gcc/config/sparc/ |
H A D | lb1spl.asm | 176 .global .rem 180 .rem: label
|
/openbsd/gnu/usr.bin/gcc/gcc/config/sparc/ |
H A D | lb1spl.asm | 176 .global .rem 180 .rem: label
|
/openbsd/lib/libc/stdlib/ |
H A D | random.c | 218 test = 16807 * val.rem - 2836 * val.quot; in srandom_l()
|
/openbsd/sys/dev/usb/ |
H A D | uchcom.c | 701 uint32_t div, rem, mod; in uchcom_calc_divider_settings() local 719 rem = rp->dvr_base_clock % rate; in uchcom_calc_divider_settings() 722 if ((rem<<1) >= rate) in uchcom_calc_divider_settings()
|
/openbsd/gnu/gcc/gcc/ |
H A D | tree-mudflap.c | 862 tree ofs, rem, bpu; in mf_xform_derefs_1() local 871 rem = size_binop (TRUNC_MOD_EXPR, ofs, bpu); in mf_xform_derefs_1() 875 size = size_binop (PLUS_EXPR, size, rem); in mf_xform_derefs_1()
|