Home
last modified time | relevance | path

Searched refs:rem (Results 76 – 100 of 165) sorted by relevance

1234567

/openbsd/usr.bin/rsync/
H A Duploader.c134 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 Dbn.h353 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 DBigFloat.pm2031 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 Dmbg.c407 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 DdecNumber.c4451 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 DdecUtility.c107 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 DSymbols.list3 .rem
/openbsd/sbin/dhcp6leased/
H A Ddhcp6leased.c879 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 Ddbtest.c58 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 Di915_gem_context.c759 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 Dkstat.c65 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 Di915_gem_gtt.c64 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 Dfrontend.c855 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 Ddc.sed210 /|?%/b rem
296 :rem
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Compress/
H A DBase.pm612 my $rem = $slen - $offset;
613 $len = $rem if $rem < $len;
/openbsd/usr.sbin/vmd/
H A Dvm.c849 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 Dinttypes.h251 intmax_t rem; /* remainder */ member
/openbsd/lib/libedit/
H A Dmap.c1252 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 Dstd_cstdlib.h181 { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
/openbsd/gnu/llvm/lld/ELF/Arch/
H A DARM.cpp433 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 Dlb1spl.asm176 .global .rem
180 .rem: label
/openbsd/gnu/usr.bin/gcc/gcc/config/sparc/
H A Dlb1spl.asm176 .global .rem
180 .rem: label
/openbsd/lib/libc/stdlib/
H A Drandom.c218 test = 16807 * val.rem - 2836 * val.quot; in srandom_l()
/openbsd/sys/dev/usb/
H A Duchcom.c701 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 Dtree-mudflap.c862 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()

1234567