Searched refs:rem (Results 1 - 25 of 199) sorted by relevance

12345678

/freebsd-current/lib/libsysdecode/
H A Dsupport.c53 uintmax_t rem; local
55 rem = *valp;
57 if ((table->val & rem) == table->val) {
66 rem &= ~table->val;
70 *valp = rem;
76 * rem is not NULL, *rem holds any bits not decoded if something was
77 * printed. If nothing was printed and rem is not NULL, *rem holds
81 print_mask_int(FILE *fp, struct name_table *table, int ival, int *rem) argument
98 print_mask_0(FILE *fp, struct name_table *table, int val, int *rem) argument
114 print_mask_0ul(FILE *fp, struct name_table *table, u_long lval, u_long *rem) argument
[all...]
H A Dflags.c98 sysdecode_atflags(FILE *fp, int flag, int *rem) argument
101 return (print_mask_int(fp, atflags, flag, rem));
140 sysdecode_semget_flags(FILE *fp, int flag, int *rem) argument
143 return (print_mask_int(fp, semgetflags, flag, rem));
192 sysdecode_vmprot(FILE *fp, int type, int *rem) argument
195 return (print_mask_int(fp, vmprot, type, rem));
203 sysdecode_socket_type(FILE *fp, int type, int *rem) argument
212 *rem = 0;
215 *rem = type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK);
224 sysdecode_access_mode(FILE *fp, int mode, int *rem) argument
239 sysdecode_cap_fcntlrights(FILE *fp, uint32_t rights, uint32_t *rem) argument
246 sysdecode_close_range_flags(FILE *fp, int flags, int *rem) argument
267 sysdecode_open_flags(FILE *fp, int flags, int *rem) argument
306 sysdecode_fcntl_fileflags(FILE *fp, int flags, int *rem) argument
330 sysdecode_flock_operation(FILE *fp, int operation, int *rem) argument
382 int rem; local
451 sysdecode_kevent_flags(FILE *fp, int flags, int *rem) argument
500 sysdecode_mlockall_flags(FILE *fp, int flags, int *rem) argument
507 sysdecode_mmap_prot(FILE *fp, int prot, int *rem) argument
524 sysdecode_fileflags(FILE *fp, fflags_t flags, fflags_t *rem) argument
531 sysdecode_filemode(FILE *fp, int mode, int *rem) argument
538 sysdecode_mount_flags(FILE *fp, int flags, int *rem) argument
545 sysdecode_msync_flags(FILE *fp, int flags, int *rem) argument
563 sysdecode_pipe2_flags(FILE *fp, int flags, int *rem) argument
570 sysdecode_pollfd_events(FILE *fp, int flags, int *rem) argument
620 sysdecode_reboot_howto(FILE *fp, int howto, int *rem) argument
640 sysdecode_rfork_flags(FILE *fp, int flags, int *rem) argument
661 sysdecode_sendfile_flags(FILE *fp, int flags, int *rem) argument
668 sysdecode_shmat_flags(FILE *fp, int flags, int *rem) argument
787 sysdecode_thr_create_flags(FILE *fp, int flags, int *rem) argument
801 sysdecode_umtx_op_flags(FILE *fp, int op, int *rem) argument
822 sysdecode_wait4_options(FILE *fp, int options, int *rem) argument
848 sysdecode_wait6_options(FILE *fp, int options, int *rem) argument
889 int rem; local
914 sysdecode_mmap_flags(FILE *fp, int flags, int *rem) argument
957 sysdecode_msg_flags(FILE *fp, int flags, int *rem) argument
998 sysdecode_umtx_cvwait_flags(FILE *fp, u_long flags, u_long *rem) argument
1005 sysdecode_umtx_rwlock_flags(FILE *fp, u_long flags, u_long *rem) argument
1133 sysdecode_sctp_snd_flags(FILE *fp, int flags, int *rem) argument
1144 sysdecode_sctp_rcv_flags(FILE *fp, int flags, int *rem) argument
1155 sysdecode_sctp_nxt_flags(FILE *fp, int flags, int *rem) argument
1170 int rem; local
1190 sysdecode_shmflags(FILE *fp, int flags, int *rem) argument
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dudivmodsi4.c15 // 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 Dudivmoddi4.c15 // 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...]
H A Ddivmodsi4.c16 // Returns: a / b, *rem = a % b
18 COMPILER_RT_ABI si_int __divmodsi4(si_int a, si_int b, si_int *rem) { argument
27 *rem = (r ^ s_a) - s_a; // negate if s_a == -1
/freebsd-current/sys/libkern/
H A Dudivmoddi4.c42 __udivmoddi4(u_quad_t a, u_quad_t b, u_quad_t *rem) argument
45 return (__qdivrem(a, b, rem));
H A Ddivmoddi4.c42 __divmoddi4(quad_t a, quad_t b, quad_t *rem) argument
62 if (rem != 0)
63 *rem = negr ? -urem : urem;
/freebsd-current/crypto/heimdal/lib/roken/
H A Dnet_read.c49 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 Dnet_write.c49 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-current/contrib/unbound/compat/
H A Dgmtime_r.c51 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-current/contrib/unbound/contrib/
H A Dcreate_unbound_ad_servers.cmd2 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 Dunbound_cache.cmd2 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-current/sys/libkern/arm/
H A Dldivmod_helper.c41 __kern_ldivmod(long long n, long long m, long long *rem) argument
46 *rem = n - m * q;
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dtime.h49 long rem; local
58 rem = nsec % NSEC_PER_SEC;
59 if (rem < 0) {
61 rem += NSEC_PER_SEC;
63 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...]
H A Dmath64.h105 const uint64_t rem = x % div; local
107 return ((x / div) * y + (rem * y) / div);
113 uint64_t res, rem; local
116 res = rem = 0;
122 * INVARIANT: x * y = res * z + rem + (y1 + y1z * z) * x1
124 * INVARIANT: rem < z
131 rem += y1;
132 if ((rem < y1) || (rem >= z)) {
134 rem
[all...]
/freebsd-current/crypto/openssl/crypto/sha/
H A Dsha3.c49 size_t num, rem; local
55 rem = bsz - num;
57 if (len < rem) {
64 * buffer. So we append |rem| bytes and process the block,
67 memcpy(ctx->buf + num, inp, rem);
68 inp += rem, len -= rem;
75 rem = SHA3_absorb(ctx->A, inp, len, bsz);
77 rem = len;
79 if (rem) {
[all...]
/freebsd-current/lib/libc/stdlib/
H A Dldiv.c45 r.rem = num % denom;
H A Ddiv.c43 r.rem = num % denom;
H A Dimaxdiv.c38 retval.rem = numer % denom;
H A Dlldiv.c38 retval.rem = numer % denom;
/freebsd-current/lib/libc/net/
H A Dlinkaddr.c125 int namelen, i, rem; local
130 rem = sizeof(obuf);
134 rem -= namelen;
137 rem--;
144 while (in < inlim && rem > 1) {
147 rem--;
151 if (rem < 3)
155 rem -= 2;
157 if (rem < 2)
160 rem
[all...]
/freebsd-current/crypto/openssl/crypto/modes/asm/
H A Dghash-parisc.pl73 $rem="%r29";
118 ldi 3,$rem
120 andcm $rem_4bit,$rem,$rem_4bit
126 ldi 31,$rem
127 mtctl $rem,%cr11
128 extrd,u,*= $rem,%sar,1,$rem ; executes on PA-RISC 1.0
144 depd,z $Zll,60,4,$rem
156 ldd $rem($rem_4bit),$rem
[all...]
/freebsd-current/lib/msun/tests/
H A Drem_test.c142 long double rem; local
145 rem = remainderl(x, y);
146 ATF_CHECK(rem == expected_rem);
147 ATF_CHECK(!signbit(rem) == !signbit(expected_rem));
148 rem = remquol(x, y, &q);
149 ATF_CHECK(rem == expected_rem);
150 ATF_CHECK(!signbit(rem) == !signbit(expected_rem));
164 double rem; local
167 rem = remainder(x, y);
168 ATF_CHECK(rem
186 float rem; local
[all...]
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dnet_write.c57 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-current/contrib/bearssl/mk/
H A DmkT0.cmd3 rem =====================================================================
4 rem This script uses the command-line C# compiler csc.exe, which is
5 rem provided with the .NET framework. We need framework 3.5 or later
6 rem (some of the code uses features not available in the language version
7 rem implemented in the compiler provided with framework 2.0.50727).
8 rem =====================================================================

Completed in 316 milliseconds

12345678