Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 25 of 183) sorted by relevance

12345678

/external/srec/portable/src/
Dpcrc.c129 register unsigned int remainder = crc; in pcrcUpdateData() local
136 byte = (unsigned char)((remainder >> (WIDTH - 8)) ^ *p++); in pcrcUpdateData()
137 remainder = crcTable[byte] ^(remainder << 8); in pcrcUpdateData()
139 byte = (unsigned char)(((remainder >> (WIDTH - 8)) ^(*p >> 8)) & 0xFF); in pcrcUpdateData()
140 remainder = crcTable[byte] ^(remainder << 8); in pcrcUpdateData()
141 byte = (unsigned char)(((remainder >> (WIDTH - 8)) ^(*p++ & 0xFF)) & 0xFF); in pcrcUpdateData()
142 remainder = crcTable[byte] ^(remainder << 8); in pcrcUpdateData()
150 return remainder; in pcrcUpdateData()
/external/kernel-headers/original/linux/
Dcalc64.h17 #define div_long_long_rem(dividend, divisor, remainder) \ argument
18 do_div_llr((dividend), divisor, remainder)
21 const long divisor, long *remainder) in do_div_llr() argument
25 *(remainder) = do_div(result, divisor); in do_div_llr()
36 const long divisor, long *remainder) in div_long_long_rem_signed() argument
41 res = -div_long_long_rem(-dividend, divisor, remainder); in div_long_long_rem_signed()
42 *remainder = -(*remainder); in div_long_long_rem_signed()
44 res = div_long_long_rem(dividend, divisor, remainder); in div_long_long_rem_signed()
/external/speex/libspeex/
Dresample_neon.h58 uint32_t remainder = len % 16; in inner_product_single() local
59 len = len - remainder; in inner_product_single()
103 [len] "+r" (len), [remainder] "+r" (remainder) in inner_product_single()
131 uint32_t remainder = len % 16; in inner_product_single() local
132 len = len - remainder; in inner_product_single()
181 [len] "+l" (len), [remainder] "+l" (remainder) in inner_product_single()
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongsTest.java69 assertEquals(4, UnsignedLongs.remainder(14, 5)); in testRemainder()
70 assertEquals(0, UnsignedLongs.remainder(0, 50)); in testRemainder()
71 assertEquals(1, UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL)); in testRemainder()
73 UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL)); in testRemainder()
74 assertEquals(65534L, UnsignedLongs.remainder(0xfffffffffffffffeL, 65535)); in testRemainder()
75 assertEquals(0, UnsignedLongs.remainder(0xfffffffffffffffeL, 2)); in testRemainder()
76 assertEquals(4, UnsignedLongs.remainder(0xfffffffffffffffeL, 5)); in testRemainder()
88 + UnsignedLongs.remainder(dividend, divisor)) == 0); in testDivideRemainderEuclideanProperty()
/external/libyuv/files/source/
Dcompare.cc234 int remainder = static_cast<int>(count) & ~15; in HashDjb2() local
235 if (remainder) { in HashDjb2()
236 seed = HashDjb2_SSE(src, remainder, seed); in HashDjb2()
237 src += remainder; in HashDjb2()
238 count -= remainder; in HashDjb2()
240 remainder = static_cast<int>(count) & 15; in HashDjb2()
241 if (remainder) { in HashDjb2()
242 seed = HashDjb2_C(src, remainder, seed); in HashDjb2()
379 int remainder = count & (kBlockSize - 1) & ~15; in ComputeSumSquareError() local
380 if (remainder) { in ComputeSumSquareError()
[all …]
/external/icu4c/i18n/
Dgregoimp.cpp33 int32_t& remainder) { in floorDivide() argument
36 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide()
41 double& remainder) { in floorDivide() argument
45 remainder = dividend - (quotient * divisor); in floorDivide()
49 if (remainder < 0 || remainder >= divisor) { in floorDivide()
54 quotient += (remainder < 0) ? -1 : +1; in floorDivide()
65 remainder = 0; in floorDivide()
67 remainder = dividend - (quotient * divisor); in floorDivide()
70 U_ASSERT(0 <= remainder && remainder < divisor); in floorDivide()
/external/oprofile/libutil++/
Dop_spu_bfd.cpp121 int remainder, desc_start, name_pad_length, desc_pad_length; in op_bfd() local
124 remainder = nsize % 4; in op_bfd()
125 if (remainder != 0) in op_bfd()
126 name_pad_length = 4 - remainder; in op_bfd()
130 if ((remainder = (dsize % 4)) != 0) in op_bfd()
131 desc_pad_length = 4 - remainder; in op_bfd()
/external/proguard/src/proguard/evaluation/value/
DDoubleValue.java106 public abstract DoubleValue remainder(DoubleValue other); in remainder() method in DoubleValue
197 public DoubleValue remainder(SpecificDoubleValue other) in remainder() method in DoubleValue
199 return remainder((DoubleValue)other); in remainder()
300 public DoubleValue remainder(ParticularDoubleValue other) in remainder() method in DoubleValue
302 return remainder((SpecificDoubleValue)other); in remainder()
DFloatValue.java106 public abstract FloatValue remainder(FloatValue other); in remainder() method in FloatValue
197 public FloatValue remainder(SpecificFloatValue other) in remainder() method in FloatValue
199 return remainder((FloatValue)other); in remainder()
300 public FloatValue remainder(ParticularFloatValue other) in remainder() method in FloatValue
302 return remainder((SpecificFloatValue)other); in remainder()
DLongValue.java131 public LongValue remainder(LongValue other) in remainder() method in LongValue
144 return other.remainder(this); in remainderOf()
287 public LongValue remainder(SpecificLongValue other) in remainder() method in LongValue
443 public LongValue remainder(ParticularLongValue other) in remainder() method in LongValue
445 return remainder((SpecificLongValue)other); in remainder()
DIntegerValue.java124 public abstract IntegerValue remainder(IntegerValue other) in remainder() method in IntegerValue
315 public IntegerValue remainder(UnknownIntegerValue other) in remainder() method in IntegerValue
317 return remainder((IntegerValue)other); in remainder()
559 public IntegerValue remainder(SpecificIntegerValue other) in remainder() method in IntegerValue
561 return remainder((IntegerValue)other); in remainder()
803 public IntegerValue remainder(ParticularIntegerValue other) in remainder() method in IntegerValue
805 return remainder((SpecificIntegerValue)other); in remainder()
DSpecificDoubleValue.java90 public DoubleValue remainder(DoubleValue other) in remainder() method in SpecificDoubleValue
97 return other.remainder(this); in remainderOf()
144 public DoubleValue remainder(SpecificDoubleValue other) in remainder() method in SpecificDoubleValue
DSpecificFloatValue.java90 public FloatValue remainder(FloatValue other) in remainder() method in SpecificFloatValue
97 return other.remainder(this); in remainderOf()
144 public FloatValue remainder(SpecificFloatValue other) in remainder() method in SpecificFloatValue
DParticularDoubleValue.java110 public DoubleValue remainder(DoubleValue other) in remainder() method in ParticularDoubleValue
117 return other.remainder(this); in remainderOf()
164 public DoubleValue remainder(ParticularDoubleValue other) in remainder() method in ParticularDoubleValue
DParticularFloatValue.java110 public FloatValue remainder(FloatValue other) in remainder() method in ParticularFloatValue
117 return other.remainder(this); in remainderOf()
164 public FloatValue remainder(ParticularFloatValue other) in remainder() method in ParticularFloatValue
/external/skia/src/core/
DSkRTree.cpp330 int remainder = branches->count() % fMaxChildren; in bulkLoad() local
333 if (0 != remainder) { in bulkLoad()
337 if (remainder >= fMinChildren) { in bulkLoad()
338 remainder = 0; in bulkLoad()
340 remainder = fMinChildren - remainder; in bulkLoad()
352 int end = currentBranch + numTiles * fMaxChildren - SkMin32(remainder, in bulkLoad()
363 if (remainder != 0) { in bulkLoad()
365 if (remainder <= fMaxChildren - fMinChildren) { in bulkLoad()
366 incrementBy -= remainder; in bulkLoad()
367 remainder = 0; in bulkLoad()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWNafMultiplier.java49 BigInteger remainder = k.mod(pow2wBI); in windowNaf() local
52 if (remainder.testBit(width - 1)) in windowNaf()
54 wnaf[i] = (byte)(remainder.intValue() - pow2wB); in windowNaf()
58 wnaf[i] = (byte)remainder.intValue(); in windowNaf()
/external/arduino/hardware/arduino/cores/arduino/
DPrint.cpp205 double remainder = number - (double)int_part; in printFloat() local
215 remainder *= 10.0; in printFloat()
216 int toPrint = int(remainder); in printFloat()
218 remainder -= toPrint; in printFloat()
/external/llvm/test/CodeGen/X86/
Dinline-asm-R-constraint.ll7 define void @udiv8(i8* %quotient, i16 zeroext %a, i8 zeroext %b, i8 zeroext %c, i8* %remainder) nou…
15 …flag},~{fpsr},~{flags},~{ax}"(i8* %quotient, i8* %remainder, i16* %a_addr, i8* %b_addr, i8* %remai…
/external/webrtc/src/system_wrappers/source/
Dsleep.cc29 struct timespec remainder; in SleepMs()
32 nanosleep(&short_wait, &remainder); in SleepMs()
/external/grub/docs/
Dkernel.c194 int remainder = ud % divisor; in itoa() local
196 *p++ = (remainder < 10) ? remainder + '0' : remainder + 'a' - 10; in itoa()
/external/skia/legacy/src/utils/
DSkBase64.cpp122 size_t remainder = length % 3; in Encode() local
123 const unsigned char* end = &src[length - remainder]; in Encode()
137 if (remainder > 0) { in Encode()
141 if (remainder == 2) in Encode()
/external/skia/src/utils/
DSkBase64.cpp122 size_t remainder = length % 3; in Encode() local
123 const unsigned char* end = &src[length - remainder]; in Encode()
137 if (remainder > 0) { in Encode()
141 if (remainder == 2) in Encode()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp336 int remainder = distance%patWidth; in drawLine() local
337 int coverage = distance-remainder; in drawLine()
346 if (remainder) in drawLine()
349 if (remainder) { in drawLine()
350 patternOffset += patWidth - remainder; in drawLine()
351 patternOffset += remainder / 2; in drawLine()
355 if (remainder) in drawLine()
356 patternOffset = (patWidth - remainder) / 2; in drawLine()
453 int remainder = distance % patWidth; in strokeArc() local
454 int coverage = distance - remainder; in strokeArc()
[all …]
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerDivideTest.java409 aNumber.remainder(bNumber); in testCase15()
426 BigInteger result = aNumber.remainder(bNumber); in testCase16()
446 BigInteger result = aNumber.remainder(bNumber); in testCase17()
466 BigInteger result = aNumber.remainder(bNumber); in testCase18()
487 BigInteger result = aNumber.remainder(bNumber); in testCase19()
508 BigInteger result = aNumber.remainder(bNumber); in testCase20()
528 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuth1()
548 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuthOneDigitByOneDigit()
568 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuthMultiDigitsByOneDigit()

12345678