/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | divmoddi4.c | 15 // Returns: a / b, *rem = a % b 17 COMPILER_RT_ABI di_int __divmoddi4(di_int a, di_int b, di_int *rem) { argument 19 *rem = a - (d * b);
|
H A D | divmodsi4.c | 16 // Returns: a / b, *rem = a % b 18 COMPILER_RT_ABI si_int __divmodsi4(si_int a, si_int b, si_int *rem) { argument 20 *rem = a - (d * b);
|
H A D | udivmodsi4.c | 15 // Returns: a / b, *rem = a % b 17 COMPILER_RT_ABI su_int __udivmodsi4(su_int a, su_int b, su_int *rem) { argument 19 *rem = a - (d * b);
|
H A D | udivmodti4.c | 17 // Effects: if rem != 0, *rem = a % b 22 COMPILER_RT_ABI tu_int __udivmodti4(tu_int a, tu_int b, tu_int *rem) { argument 38 if (rem) 39 *rem = n.s.low % d.s.low; 45 if (rem) 46 *rem = n.s.low; 55 if (rem) 56 *rem = n.s.high % d.s.low; 64 if (rem) { [all...] |
H A D | udivmoddi4.c | 15 // Effects: if rem != 0, *rem = a % b 27 COMPILER_RT_ABI du_int __udivmoddi4(du_int a, du_int b, du_int *rem) { argument 43 if (rem) 44 *rem = n.s.low % d.s.low; 50 if (rem) 51 *rem = n.s.low; 60 if (rem) 61 *rem = n.s.high % d.s.low; 69 if (rem) { [all...] |
/freebsd-11-stable/lib/libc/stdlib/ |
H A D | lldiv.c | 39 retval.rem = numer % denom; 41 if (numer >= 0 && retval.rem < 0) { 43 retval.rem -= denom;
|
H A D | div.c | 48 r.rem = num % denom; 59 * r.rem will have the same sign as denom and the opposite 61 * truncated towards -inf, r.rem will be positive (will 69 * if num >= 0, but r.rem < 0, we got the wrong answer. 71 * subtract denom from r.rem. 73 if (num >= 0 && r.rem < 0) { 75 r.rem -= denom;
|
H A D | imaxdiv.c | 39 retval.rem = numer % denom; 41 if (numer >= 0 && retval.rem < 0) { 43 retval.rem -= denom;
|
H A D | ldiv.c | 50 r.rem = num % denom; 52 if (num >= 0 && r.rem < 0) { 54 r.rem -= denom;
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | net_read.c | 49 size_t rem = nbytes; local 51 while (rem > 0) { 52 count = read (fd, cbuf, rem); 62 rem -= count; 74 size_t rem = nbytes; local 80 while (rem > 0) { 83 count = _read (sock, cbuf, rem); 85 count = recv (sock, cbuf, rem, 0); 93 count = _read (sock, cbuf, rem); 96 count = recv (sock, cbuf, rem, [all...] |
H A D | net_write.c | 49 size_t rem = nbytes; local 51 while (rem > 0) { 52 count = write (fd, cbuf, rem); 60 rem -= count; 72 size_t rem = nbytes; local 77 while (rem > 0) { 80 count = _write (sock, cbuf, rem); 82 count = send (sock, cbuf, rem, 0); 90 count = _write (sock, cbuf, rem); 93 count = send (sock, cbuf, rem, [all...] |
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | gmtime_r.c | 51 long rem; local 57 rem = *timep % SECSPERDAY; 58 rem += (offset); 59 while (rem < 0) { 60 rem += SECSPERDAY; 63 while (rem >= SECSPERDAY) { 64 rem -= SECSPERDAY; 67 tmp->tm_hour = (int) (rem / SECSPERHOUR); 68 rem = rem [all...] |
/freebsd-11-stable/contrib/unbound/contrib/ |
H A D | create_unbound_ad_servers.cmd | 2 rem Convert the Yoyo.org anti-ad server listing
3 rem into an unbound dns spoof redirection list.
4 rem Written by Y.Voinov (c) 2014
6 rem Note: Wget required!
8 rem Variables
14 rem Check Wget installed
29 rem then add an include line to your unbound.conf pointing to the full path of
30 rem the unbound_ad_servers file:
31 rem
32 rem includ [all...] |
H A D | unbound_cache.cmd | 2 rem --------------------------------------------------------------
3 rem -- DNS cache save/load script
4 rem --
5 rem -- Version 1.2
6 rem -- By Yuri Voinov (c) 2014
7 rem --------------------------------------------------------------
9 rem Variables
15 rem Check Unbound installed
22 rem arg1 - command (optional)
23 rem arg [all...] |
/freebsd-11-stable/sys/libkern/arm/ |
H A D | ldivmod_helper.c | 41 __kern_ldivmod(long long n, long long m, long long *rem) argument 46 *rem = n - m * q;
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | time.h | 47 long rem; local 56 rem = nsec % NSEC_PER_SEC; 57 if (rem < 0) { 59 rem += NSEC_PER_SEC; 61 tv.tv_usec = rem / 1000; 104 int32_t rem; local 113 rem = nsec % NSEC_PER_SEC; 114 if (rem < 0) { 116 rem += NSEC_PER_SEC; 118 ts.tv_nsec = rem; [all...] |
/freebsd-11-stable/lib/libsysdecode/ |
H A D | flags.c | 132 uintmax_t rem; local 134 rem = *valp; 136 if ((table->val & rem) == table->val) { 145 rem &= ~table->val; 149 *valp = rem; 155 * rem is not NULL, *rem holds any bits not decoded if something was 156 * printed. If nothing was printed and rem is not NULL, *rem holds 160 print_mask_int(FILE *fp, struct name_table *table, int ival, int *rem) argument 177 print_mask_0(FILE *fp, struct name_table *table, int val, int *rem) argument 193 print_mask_0ul(FILE *fp, struct name_table *table, u_long lval, u_long *rem) argument 256 sysdecode_atflags(FILE *fp, int flag, int *rem) argument 298 sysdecode_semget_flags(FILE *fp, int flag, int *rem) argument 350 sysdecode_vmprot(FILE *fp, int type, int *rem) argument 361 sysdecode_socket_type(FILE *fp, int type, int *rem) argument 382 sysdecode_access_mode(FILE *fp, int mode, int *rem) argument 397 sysdecode_cap_fcntlrights(FILE *fp, uint32_t rights, uint32_t *rem) argument 418 sysdecode_open_flags(FILE *fp, int flags, int *rem) argument 457 sysdecode_fcntl_fileflags(FILE *fp, int flags, int *rem) argument 481 sysdecode_flock_operation(FILE *fp, int operation, int *rem) argument 533 int rem; local 602 sysdecode_kevent_flags(FILE *fp, int flags, int *rem) argument 651 sysdecode_mlockall_flags(FILE *fp, int flags, int *rem) argument 658 sysdecode_mmap_prot(FILE *fp, int prot, int *rem) argument 665 sysdecode_fileflags(FILE *fp, fflags_t flags, fflags_t *rem) argument 672 sysdecode_filemode(FILE *fp, int mode, int *rem) argument 679 sysdecode_mount_flags(FILE *fp, int flags, int *rem) argument 686 sysdecode_msync_flags(FILE *fp, int flags, int *rem) argument 704 sysdecode_pipe2_flags(FILE *fp, int flags, int *rem) argument 754 sysdecode_reboot_howto(FILE *fp, int howto, int *rem) argument 772 sysdecode_rfork_flags(FILE *fp, int flags, int *rem) argument 793 sysdecode_sendfile_flags(FILE *fp, int flags, int *rem) argument 800 sysdecode_shmat_flags(FILE *fp, int flags, int *rem) argument 919 sysdecode_thr_create_flags(FILE *fp, int flags, int *rem) argument 940 sysdecode_wait4_options(FILE *fp, int options, int *rem) argument 966 sysdecode_wait6_options(FILE *fp, int options, int *rem) argument 1007 int rem; local 1032 sysdecode_mmap_flags(FILE *fp, int flags, int *rem) argument 1084 sysdecode_msg_flags(FILE *fp, int flags, int *rem) argument 1125 sysdecode_umtx_cvwait_flags(FILE *fp, u_long flags, u_long *rem) argument 1132 sysdecode_umtx_rwlock_flags(FILE *fp, u_long flags, u_long *rem) argument 1213 sysdecode_sctp_snd_flags(FILE *fp, int flags, int *rem) argument 1224 sysdecode_sctp_rcv_flags(FILE *fp, int flags, int *rem) argument 1235 sysdecode_sctp_nxt_flags(FILE *fp, int flags, int *rem) argument 1250 int rem; local [all...] |
/freebsd-11-stable/lib/libc/net/ |
H A D | linkaddr.c | 129 int namelen, i, rem; local 134 rem = sizeof(obuf); 138 rem -= namelen; 141 rem--; 148 while (in < inlim && rem > 1) { 151 rem--; 155 if (rem < 3) 159 rem -= 2; 161 if (rem < 2) 164 rem [all...] |
/freebsd-11-stable/crypto/openssl/crypto/modes/asm/ |
H A D | ghash-parisc.pl | 63 $rem="%r29"; 108 ldi 3,$rem 110 andcm $rem_4bit,$rem,$rem_4bit 116 ldi 31,$rem 117 mtctl $rem,%cr11 118 extrd,u,*= $rem,%sar,1,$rem ; executes on PA-RISC 1.0 134 depd,z $Zll,60,4,$rem 146 ldd $rem($rem_4bit),$rem [all...] |
H A D | ghash-ia64.pl | 59 (p19) dep rem=Zlo,rem_4bitp,3,4 } 64 { .mfi; (p19) ld8 rem=[rem] 69 { .mib; (p19) xor Hhi=Hhi,rem 73 (p18) dep rem=Zlo,rem_4bitp,3,4 } 78 { .mfi; (p18) ld8 rem=[rem] 83 { .mib; (p18) xor Hhi=Hhi,rem 95 rem=r22; rem_4bitp=r23; 257 @rem [all...] |
/freebsd-11-stable/lib/msun/tests/ |
H A D | rem_test.c | 82 printf("ok 1 - rem\n"); 97 printf("ok 2 - rem\n"); 105 printf("ok 3 - rem\n"); 147 long double rem; local 150 rem = remainderl(x, y); 151 assert(rem == expected_rem); 152 assert(!signbit(rem) == !signbit(expected_rem)); 153 rem = remquol(x, y, &q); 154 assert(rem == expected_rem); 155 assert(!signbit(rem) 169 double rem; local 191 float rem; local [all...] |
/freebsd-11-stable/usr.bin/rsh/ |
H A D | rsh.c | 97 int argoff, asrsh, ch, dflag, nflag, Nflag, one, rem; local 194 rem = rcmd_af(&host, sp->s_port, pw->pw_name, user, args, &rfd2, 201 if (rem < 0) 207 if (setsockopt(rem, SOL_SOCKET, SO_DEBUG, &one, 230 (void)shutdown(rem, SHUT_WR); 233 (void)ioctl(rem, FIONBIO, &one); 235 talk(nflag, Nflag, omask, pid, rem, timeout); 243 talk(int nflag, int Nflag, long omask, pid_t pid, int rem, int timeout) argument 261 if (rem >= FD_SETSIZE) 264 FD_SET(rem, [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | atomicio.c | 105 size_t pos = 0, rem; local 138 rem = (size_t)res; 139 pos += rem; 141 while (iovcnt > 0 && rem >= iov[0].iov_len) { 142 rem -= iov[0].iov_len; 147 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { 154 iov[0].iov_base = ((char *)iov[0].iov_base) + rem; 155 iov[0].iov_len -= rem;
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | net_write.c | 57 size_t rem = len; local 85 count = send (fd, cbuf, rem, 0); 101 count = write (fd, cbuf, rem); 113 rem -= count; 115 } while (rem > 0);
|
/freebsd-11-stable/crypto/openssl/crypto/bn/ |
H A D | bn_div.c | 66 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 81 if (rem != NULL) { 82 if (BN_copy(rem, m) == NULL) 94 if (rem == NULL) 95 rem = BN_CTX_get(ctx); 96 if (D == NULL || dv == NULL || rem == NULL) 103 if (BN_copy(rem, m) == NULL) 120 if (BN_ucmp(rem, D) >= 0) { 122 if (!BN_usub(rem, rem, 351 BN_ULONG n0, n1, rem = 0; local [all...] |