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

123456789

/external/kernel-headers/original/linux/
H A Dcalc64.h12 * result is returned and the remainder stored in the variable
13 * referenced by remainder (data type long *). In contrast to the
17 #define div_long_long_rem(dividend, divisor, remainder) \
18 do_div_llr((dividend), divisor, remainder)
21 const long divisor, long *remainder)
25 *(remainder) = do_div(result, divisor);
36 const long divisor, long *remainder)
41 res = -div_long_long_rem(-dividend, divisor, remainder);
42 *remainder = -(*remainder);
20 do_div_llr(const long long dividend, const long divisor, long *remainder) argument
35 div_long_long_rem_signed(const long long dividend, const long divisor, long *remainder) argument
[all...]
/external/speex/libspeex/
H A Dresample_neon.h58 uint32_t remainder = len % 16; local
59 len = len - remainder;
65 " subs %[remainder], %[remainder], #4\n"
88 " cmp %[remainder], #0\n"
93 " subs %[remainder], %[remainder], #4\n"
103 [len] "+r" (len), [remainder] "+r" (remainder)
131 uint32_t remainder local
[all...]
/external/webrtc/src/system_wrappers/source/
H A Dsleep.cc29 struct timespec remainder;
32 nanosleep(&short_wait, &remainder);
/external/chromium_org/chromeos/network/
H A Dnetwork_util.cc42 int remainder = 8; local
46 remainder = prefix_length;
51 int value = remainder == 0 ? 0 :
52 ((2L << (remainder - 1)) - 1) << (8 - remainder);
/external/chromium_org/net/third_party/nss/ssl/
H A Dssl3gthr.c46 gs->remainder = 5;
56 SSL_GETPID(), ss->fd, gs->state, gs->remainder));
58 nb = ssl_DefRecv(ss, bp, gs->remainder, flags);
74 PORT_Assert( nb <= gs->remainder );
75 if (nb > gs->remainder) {
83 gs->remainder -= nb;
88 if (gs->remainder > 0) {
100 gs->remainder = (gs->hdr[3] << 8) | gs->hdr[4];
105 if(gs->remainder > (MAX_FRAGMENT_LENGTH + 2048 + 5)) {
116 if (gs->remainder > g
[all...]
H A Dsslgathr.c44 ** GS_MAC - The machine is in this state while waiting for the remainder
49 ** GS_DATA - The machine is in this state while waiting for the remainder
65 gs->remainder = 3;
82 SSL_GETPID(), ss->fd, gs->state, gs->remainder));
84 nb = ssl_DefRecv(ss, bp, gs->remainder, flags);
102 gs->remainder -= nb;
104 if (gs->remainder > 0) {
188 gs->remainder = gs->count - 1;
191 gs->remainder = gs->count;
383 gs->remainder
[all...]
/external/guava/guava-tests/test/com/google/common/primitives/
H A DUnsignedLongsTest.java69 assertEquals(4, UnsignedLongs.remainder(14, 5));
70 assertEquals(0, UnsignedLongs.remainder(0, 50));
71 assertEquals(1, UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL));
73 UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL));
74 assertEquals(65534L, UnsignedLongs.remainder(0xfffffffffffffffeL, 65535));
75 assertEquals(0, UnsignedLongs.remainder(0xfffffffffffffffeL, 2));
76 assertEquals(4, UnsignedLongs.remainder(0xfffffffffffffffeL, 5));
88 + UnsignedLongs.remainder(dividend, divisor)) == 0);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DStrokeData.cpp91 int remainder = distance % dashLength; local
94 // Odd: shift right a full dash, minus half the remainder.
95 phase = dashLength - remainder / 2;
97 // Even: shift right half a dash, minus half the remainder.
98 phase = (dashLength - remainder) / 2;
/external/chromium_org/third_party/smhasher/src/
H A DSpooky.cpp40 size_t remainder = length%32; local
61 if (remainder >= 16)
67 remainder -= 16;
73 switch (remainder)
144 size_t remainder; local
173 remainder = (length - ((const uint8 *)end-(const uint8 *)message));
174 memcpy(buf, end, remainder);
175 memset(((uint8 *)buf)+remainder, 0, sc_blockSize-remainder);
176 ((uint8 *)buf)[sc_blockSize-1] = remainder;
202 uint8 remainder; local
312 uint8 remainder = m_remainder; local
[all...]
/external/oprofile/libutil++/
H A Dop_spu_bfd.cpp121 int remainder, desc_start, name_pad_length, desc_pad_length; local
124 remainder = nsize % 4;
125 if (remainder != 0)
126 name_pad_length = 4 - remainder;
130 if ((remainder = (dsize % 4)) != 0)
131 desc_pad_length = 4 - remainder;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DWNafMultiplier.java49 BigInteger remainder = k.mod(pow2wBI);
51 // if remainder > 2^(width - 1) - 1
52 if (remainder.testBit(width - 1))
54 wnaf[i] = (byte)(remainder.intValue() - pow2wB);
58 wnaf[i] = (byte)remainder.intValue();
/external/chromium_org/third_party/icu/source/i18n/
H A Dgregoimp.cpp33 int32_t& remainder) {
36 remainder = (int32_t) (numerator - (quotient * denominator));
41 double& remainder) {
45 remainder = dividend - (quotient * divisor);
49 if (remainder < 0 || remainder >= divisor) {
54 quotient += (remainder < 0) ? -1 : +1;
60 // can't give a correct answer, so we set the remainder to
65 remainder = 0;
67 remainder
32 floorDivide(double numerator, int32_t denominator, int32_t& remainder) argument
40 floorDivide(double dividend, double divisor, double& remainder) argument
[all...]
/external/icu4c/i18n/
H A Dgregoimp.cpp33 int32_t& remainder) {
36 remainder = (int32_t) (numerator - (quotient * denominator));
41 double& remainder) {
45 remainder = dividend - (quotient * divisor);
49 if (remainder < 0 || remainder >= divisor) {
54 quotient += (remainder < 0) ? -1 : +1;
60 // can't give a correct answer, so we set the remainder to
65 remainder = 0;
67 remainder
32 floorDivide(double numerator, int32_t denominator, int32_t& remainder) argument
40 floorDivide(double dividend, double divisor, double& remainder) argument
[all...]
/external/srec/portable/src/
H A Dpcrc.c129 register unsigned int remainder = crc; local
136 byte = (unsigned char)((remainder >> (WIDTH - 8)) ^ *p++);
137 remainder = crcTable[byte] ^(remainder << 8);
139 byte = (unsigned char)(((remainder >> (WIDTH - 8)) ^(*p >> 8)) & 0xFF);
140 remainder = crcTable[byte] ^(remainder << 8);
141 byte = (unsigned char)(((remainder >> (WIDTH - 8)) ^(*p++ & 0xFF)) & 0xFF);
142 remainder = crcTable[byte] ^(remainder <<
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A Dglx_empty.c45 glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count) argument
102 int64_t target_msc, int64_t divisor, int64_t remainder)
108 (void) remainder;
116 int64_t remainder, int64_t * ust,
123 (void) remainder;
101 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder) argument
114 glXWaitForMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc) argument
/external/mesa3d/src/glx/apple/
H A Dglx_empty.c45 glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count) argument
102 int64_t target_msc, int64_t divisor, int64_t remainder)
108 (void) remainder;
116 int64_t remainder, int64_t * ust,
123 (void) remainder;
101 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder) argument
114 glXWaitForMscOML(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc) argument
/external/proguard/src/proguard/evaluation/value/
H A DDoubleValue.java104 * Returns the remainder of this DoubleValue divided by the given DoubleValue.
106 public abstract DoubleValue remainder(DoubleValue other); method in class:DoubleValue
109 * Returns the remainder of the given DoubleValue divided by this DoubleValue.
194 * Returns the remainder of this DoubleValue divided by the given
197 public DoubleValue remainder(SpecificDoubleValue other) method in class:DoubleValue
199 return remainder((DoubleValue)other);
203 * Returns the remainder of the given SpecificDoubleValue and this
297 * Returns the remainder of this DoubleValue divided by the given
300 public DoubleValue remainder(ParticularDoubleValue other) method in class:DoubleValue
302 return remainder((SpecificDoubleValu
[all...]
H A DFloatValue.java104 * Returns the remainder of this FloatValue divided by the given FloatValue.
106 public abstract FloatValue remainder(FloatValue other); method in class:FloatValue
109 * Returns the remainder of the given FloatValue divided by this FloatValue.
194 * Returns the remainder of this FloatValue divided by the given
197 public FloatValue remainder(SpecificFloatValue other) method in class:FloatValue
199 return remainder((FloatValue)other);
203 * Returns the remainder of the given SpecificFloatValue and this
297 * Returns the remainder of this FloatValue divided by the given
300 public FloatValue remainder(ParticularFloatValue other) method in class:FloatValue
302 return remainder((SpecificFloatValu
[all...]
H A DParticularDoubleValue.java110 public DoubleValue remainder(DoubleValue other) method in class:ParticularDoubleValue
117 return other.remainder(this);
164 public DoubleValue remainder(ParticularDoubleValue other) method in class:ParticularDoubleValue
H A DParticularFloatValue.java110 public FloatValue remainder(FloatValue other) method in class:ParticularFloatValue
117 return other.remainder(this);
164 public FloatValue remainder(ParticularFloatValue other) method in class:ParticularFloatValue
H A DSpecificDoubleValue.java90 public DoubleValue remainder(DoubleValue other) method in class:SpecificDoubleValue
97 return other.remainder(this);
144 public DoubleValue remainder(SpecificDoubleValue other) method in class:SpecificDoubleValue
H A DSpecificFloatValue.java90 public FloatValue remainder(FloatValue other) method in class:SpecificFloatValue
97 return other.remainder(this);
144 public FloatValue remainder(SpecificFloatValue other) method in class:SpecificFloatValue
/external/arduino/hardware/arduino/cores/arduino/
H A DPrint.cpp205 double remainder = number - (double)int_part; local
212 // Extract digits from the remainder one at a time
215 remainder *= 10.0;
216 int toPrint = int(remainder);
218 remainder -= toPrint;
/external/chromium_org/third_party/skia/src/utils/
H A DSkBase64.cpp122 size_t remainder = length % 3;
123 const unsigned char* end = &src[length - remainder];
137 if (remainder > 0) {
141 if (remainder == 2)
/external/grub/docs/
H A Dkernel.c194 int remainder = ud % divisor; local
196 *p++ = (remainder < 10) ? remainder + '0' : remainder + 'a' - 10;

Completed in 671 milliseconds

123456789