Searched refs:remainder (Results 1 - 25 of 85) sorted by relevance

1234

/freebsd-10-stable/contrib/gcc/config/arm/
H A Dbpabi.c42 long long *remainder)
47 *remainder = a - b * quotient;
54 unsigned long long *remainder)
59 *remainder = a - b * quotient;
40 __gnu_ldivmod_helper(long long a, long long b, long long *remainder) argument
52 __gnu_uldivmod_helper(unsigned long long a, unsigned long long b, unsigned long long *remainder) argument
/freebsd-10-stable/lib/msun/src/
H A Dw_drem.c2 * drem() wrapper for remainder().
14 return remainder(x, y);
H A De_remainder.c78 __weak_reference(remainder, remainderl);
/freebsd-10-stable/lib/msun/i387/
H A De_remainder.S39 ENTRY(remainder) function
48 END(remainder)
/freebsd-10-stable/lib/libutil/
H A Dhumanize_number.c53 int i, r, remainder, s1, s2, sign; local
74 remainder = 0;
146 (remainder >= divisordeccut || remainder >=
148 remainder = quotient % divisor;
156 remainder = quotient % divisor;
166 if (((quotient == 9 && remainder < divisordeccut) || quotient < 9) &&
168 s1 = (int)quotient + ((remainder * 10 + divisor / 2) /
170 s2 = ((remainder * 10 + divisor / 2) / divisor) % 10;
176 sign * (quotient + (remainder
[all...]
/freebsd-10-stable/sys/ofed/include/linux/
H A Dmath64.h45 * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder
50 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) argument
52 *remainder = dividend % divisor;
105 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) argument
107 *remainder = do_div(dividend, divisor);
128 u32 remainder; local
129 return div_u64_rem(dividend, divisor, &remainder);
/freebsd-10-stable/contrib/compiler-rt/lib/sparc64/
H A Dmodsi3.S20 * R -- the remainder so far -- initially == the dividend
41 * %o3 -- current remainder
166 ! remainder is nonnegative
171 ! remainder is nonnegative
176 ! remainder is nonnegative
181 ! remainder is nonnegative
186 ! remainder is negative
191 ! remainder is negative
196 ! remainder is nonnegative
201 ! remainder i
[all...]
H A Ddivsi3.S20 * R -- the remainder so far -- initially == the dividend
41 * %o3 -- current remainder
166 ! remainder is nonnegative
171 ! remainder is nonnegative
176 ! remainder is nonnegative
181 ! remainder is nonnegative
186 ! remainder is negative
191 ! remainder is negative
196 ! remainder is nonnegative
201 ! remainder i
[all...]
H A Ddivmod.m421 * R -- the remainder so far -- initially == the dividend
52 * R -- current remainder
66 ! remainder is nonnegative
74 ! remainder is negative
229 ! non-restoring fixup if remainder < 0, otherwise annulled
247 ',` mov %o3,%o0 ! remainder <- R
/freebsd-10-stable/lib/msun/amd64/
H A De_remainder.S41 ENTRY(remainder) function
/freebsd-10-stable/contrib/gcc/config/sparc/
H A Dlb1spc.asm84 * Division and remainder, from Appendix E of the SPARC Version 8
105 * R the remainder so far, initially the dividend
254 ! remainder is positive
259 ! remainder is positive
264 ! remainder is positive
269 ! remainder is positive
275 ! remainder is negative
282 ! remainder is negative
287 ! remainder is positive
293 ! remainder i
[all...]
/freebsd-10-stable/crypto/openssl/engines/ccgost/
H A Dgosthash.h28 byte remainder[32]; member in struct:gost_hash_ctx
H A Dgosthash.c210 memcpy(&(ctx->remainder[ctx->left]), block, add_bytes);
217 hash_step(ctx->cipher_ctx, ctx->H, ctx->remainder);
218 add_blocks(32, ctx->S, ctx->remainder);
231 memcpy(ctx->remainder, block, ctx->left = length);
252 memcpy(buf, ctx->remainder, ctx->left);
/freebsd-10-stable/sys/geom/vinum/
H A Dgeom_vinum_subr.c278 off_t psizeorig, remainder, smallest; local
289 remainder = s->size % p->stripesize;
291 if (remainder) {
295 (intmax_t)remainder);
296 gv_adjust_freespace(s, remainder);
301 remainder = s->size - smallest;
304 * Don't allow a remainder below zero for running plexes, it's too
308 if (remainder < 0) {
318 (intmax_t)remainder);
319 gv_adjust_freespace(s2, (remainder *
481 off_t remainder; local
817 gv_adjust_freespace(struct gv_sd *s, off_t remainder) argument
[all...]
/freebsd-10-stable/sys/contrib/octeon-sdk/cvmx-malloc/
H A Dmalloc.c128 sizeof(size_t) bytes plus the remainder from a system page (the
2184 /* The remainder from the most recent split of a small request */
2919 mchunkptr remainder; /* remainder from a split */ local
3004 it is exact fit, or, if this a small request, the chunk is remainder from
3022 If a small request, try to use last remainder if it is the
3034 /* split and reattach remainder */
3036 remainder = chunk_at_offset(victim, nb);
3037 unsorted_chunks(av)->bk = unsorted_chunks(av)->fd = remainder;
3038 av->last_remainder = remainder;
3537 mchunkptr remainder; /* extra space at end of newp */ local
3708 mchunkptr remainder; /* spare room at end to split off */ local
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Commands/
H A DCommandCompletions.cpp125 const char *remainder; member in struct:DiskFilesOrDirectoriesBaton
141 const char *remainder = parameters->remainder; local
150 else if (remainder[0] != '.')
156 if (remainder[0] == '\0' || strstr(name, remainder) == name)
205 // This copy of the string will be cut up into the directory part, and the remainder. end_ptr
206 // below will point to the place of the remainder in this string. Then when we've resolved the
215 // We'll need to save a copy of the remainder for comparison, which we do here.
216 char remainder[PATH_MA local
[all...]
/freebsd-10-stable/lib/libc/i386/string/
H A Dswab.S67 L2: shrl $3,%ecx # copy remainder 8 words at a time
/freebsd-10-stable/sys/dev/usb/controller/
H A Dmusb_otg.c436 if (count != td->remainder) {
465 td->remainder = 0;
567 if (td->remainder == 0) {
580 /* update offset and remainder */
582 td->remainder -= sizeof(req);
633 if (td->remainder == 0) {
666 if (count > td->remainder) {
701 /* update offset and remainder */
703 td->remainder -= count;
719 td->remainder
[all...]
H A Datmegadci.c277 if (count != td->remainder) {
295 td->remainder = 0;
353 DPRINTFN(5, "temp=0x%02x rem=%u\n", temp, td->remainder);
356 if (td->remainder == 0) {
397 if (count > td->remainder) {
416 td->remainder -= buf_res.length;
426 if ((td->remainder == 0) || got_short) {
465 DPRINTFN(5, "temp=0x%02x rem=%u\n", temp, td->remainder);
483 if (td->remainder < count) {
486 count = td->remainder;
[all...]
H A Duss820dci.c265 DPRINTFN(5, "rx_stat=0x%02x rem=%u\n", rx_stat, td->remainder);
292 if (count != td->remainder) {
332 td->remainder = 0;
411 rx_stat, rx_flag, td->remainder);
416 if (td->remainder == 0) {
474 if (count > td->remainder) {
493 td->remainder -= buf_res.length;
504 if ((td->remainder == 0) || got_short) {
543 rx_stat, tx_flag, td->remainder);
571 if (td->remainder < coun
[all...]
H A Davr32dci.c298 if (count != td->remainder) {
315 td->remainder = 0;
372 if (td->remainder == 0) {
407 if (count > td->remainder) {
426 td->remainder -= buf_res.length;
433 if ((td->remainder == 0) || got_short) {
481 if (td->remainder < count) {
484 count = td->remainder;
502 td->remainder -= buf_res.length;
508 /* check remainder */
[all...]
/freebsd-10-stable/sys/mips/cavium/usb/
H A Doctusb.h48 uint32_t remainder; member in struct:octusb_td
H A Doctusb.c276 if (td->remainder != 8) {
282 /* update offset and remainder */
284 td->remainder -= 8;
339 if (td->remainder > rem) {
345 td->qh->fixup_off + 8, td->remainder);
347 td->offset += td->remainder;
348 td->qh->fixup_off += td->remainder;
349 td->remainder = 0;
370 if (rem > td->remainder)
371 rem = td->remainder;
[all...]
/freebsd-10-stable/contrib/gcc/
H A Dexpmed.c3791 You may request either the quotient or the remainder as the result;
3792 specify REM_FLAG nonzero to get the remainder.
3798 /* ??? For CEIL_MOD_EXPR, can compute incorrect remainder with ANDI
3808 E.g. to calculate the remainder of a division by 3 with a 32 bit
3814 amount, the remainder stays the same:
3833 rtx quotient = 0, remainder = 0;
3862 QUOTIENT. The case for trunc division/remainder might leave quotient = 0,
3866 REM_FLAG is set, the remainder is computed as OP0 - QUOTIENT * OP1. If
3869 We try to generate special code for division and remainder when OP1 is a
3879 If what we actually want is the remainder, w
3820 rtx quotient = 0, remainder = 0; local
[all...]
/freebsd-10-stable/contrib/groff/src/utils/tfmtodit/
H A Dtfmtodit.cpp73 unsigned char remainder; member in struct:char_info_word
80 unsigned char remainder; member in struct:lig_kern_command
139 i = t->char_info[c - t->bc].remainder;
142 + t->lig_kern[i].remainder);
150 + t->lig_kern[i].remainder];
177 int i = char_info[c1 - bc].remainder;
179 i = 256*lig_kern[i].op_byte + lig_kern[i].remainder;
188 *cp = lig_kern[i].remainder;
350 char_info[i].remainder = *ptr++;
364 lig_kern[i].remainder
[all...]

Completed in 181 milliseconds

1234