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

1234567891011>>

/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/webrtc/system_wrappers/source/
H A Dsleep.cc29 struct timespec remainder;
32 nanosleep(&short_wait, &remainder);
/external/skia/src/core/
H A DSkRTree.cpp69 int remainder = branches % kMaxChildren; local
70 if (remainder > 0) {
72 if (remainder >= kMinChildren) {
73 remainder = 0;
75 remainder = kMinChildren - remainder;
85 if (remainder != 0) {
86 if (remainder <= kMaxChildren - kMinChildren) {
87 incrementBy -= remainder;
88 remainder
113 int remainder = branches->count() % kMaxChildren; local
[all...]
/external/skqp/src/core/
H A DSkRTree.cpp69 int remainder = branches % kMaxChildren; local
70 if (remainder > 0) {
72 if (remainder >= kMinChildren) {
73 remainder = 0;
75 remainder = kMinChildren - remainder;
85 if (remainder != 0) {
86 if (remainder <= kMaxChildren - kMinChildren) {
87 incrementBy -= remainder;
88 remainder
113 int remainder = branches->count() % kMaxChildren; local
[all...]
/external/autotest/client/cros/video/
H A Dscreenshot_file_namer.py54 hours, remainder = divmod(time_delta_value.total_seconds(), 3600)
56 minutes, seconds = divmod(remainder, 60)
/external/icu/icu4c/source/i18n/
H A Dgregoimp.cpp36 int32_t& remainder) {
39 remainder = (int32_t) (numerator - (quotient * denominator));
44 double& remainder) {
48 remainder = dividend - (quotient * divisor);
52 if (remainder < 0 || remainder >= divisor) {
57 quotient += (remainder < 0) ? -1 : +1;
63 // can't give a correct answer, so we set the remainder to
68 remainder = 0;
70 remainder
35 floorDivide(double numerator, int32_t denominator, int32_t& remainder) argument
43 floorDivide(double dividend, double divisor, double& remainder) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DGrego.java112 long[] remainder = new long[1];
113 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder);
114 int dayOfWeek = (int)remainder[0];
178 long[] remainder = new long[1];
179 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder);
181 fields[5] = (int)remainder[0];
193 private static long floorDivide(long numerator, long denominator, long[] remainder) { argument
195 remainder[0] = numerator % denominator;
199 remainder[0] = numerator - (quotient * denominator);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DGrego.java110 long[] remainder = new long[1];
111 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder);
112 int dayOfWeek = (int)remainder[0];
176 long[] remainder = new long[1];
177 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder);
179 fields[5] = (int)remainder[0];
191 private static long floorDivide(long numerator, long denominator, long[] remainder) { argument
193 remainder[0] = numerator % denominator;
197 remainder[0] = numerator - (quotient * denominator);
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dcompare.cc34 int remainder; local
53 remainder = (int)(count) & ~15;
54 if (remainder) {
55 seed = HashDjb2_SSE(src, remainder, seed);
56 src += remainder;
57 count -= remainder;
59 remainder = (int)(count) & 15;
60 if (remainder) {
61 seed = HashDjb2_C(src, remainder, seed);
122 int remainder local
[all...]
/external/libyuv/files/source/
H A Dcompare.cc34 int remainder; local
52 remainder = (int)count & ~15;
53 if (remainder) {
54 seed = HashDjb2_SSE(src, remainder, seed);
55 src += remainder;
56 count -= remainder;
58 remainder = (int)count & 15;
59 if (remainder) {
60 seed = HashDjb2_C(src, remainder, seed);
122 int remainder local
[all...]
/external/libyuv/files/util/
H A Dpsnr.cc265 int remainder = count & (kBlockSize - 1) & ~15; local
266 if (remainder) {
267 sse += SumSquareError(src_a, src_b, remainder);
268 src_a += remainder;
269 src_b += remainder;
271 remainder = count & 15;
272 if (remainder) {
273 sse += SumSquareError_C(src_a, src_b, remainder);
/external/pdfium/fxbarcode/common/reedsolomon/
H A DBC_ReedSolomonGF256Poly.cpp209 auto remainder = Clone();
210 if (!remainder)
219 while (remainder->GetDegree() >= other->GetDegree() && !remainder->IsZero()) {
220 int32_t degreeDifference = remainder->GetDegree() - other->GetDegree();
222 m_field->Multiply(remainder->GetCoefficients((remainder->GetDegree())),
233 remainder = remainder->AddOrSubtract(term.get());
234 if (!remainder)
[all...]
H A DBC_ReedSolomon.cpp88 auto remainder = infoTemp->Divide(generator);
89 if (!remainder)
92 const auto& coefficients = remainder->GetCoefficients();
/external/mesa3d/src/compiler/glsl/
H A Dopt_rebalance_tree.cpp75 ir_rvalue *remainder = root->operands[1]; local
77 while (remainder != NULL) {
78 ir_expression *remainder_temp = remainder->as_expression();
84 vine_tail = remainder;
85 remainder = remainder->as_expression() ?
86 ((ir_expression *)remainder)->operands[1] : NULL;
91 ((ir_expression *)remainder)->operands[0] = tempptr->operands[1];
92 tempptr->operands[1] = remainder;
93 remainder
[all...]
/external/compiler-rt/lib/builtins/arm/
H A Ddivmodsi4.S30 @ int __divmodsi4(int divident, int divisor, int *remainder)
31 @ Calculate the quotient and remainder of the (signed) division. The return
32 @ value is the quotient, the remainder is placed in the variable.
/external/proguard/src/proguard/evaluation/value/
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
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...]
/external/guava/guava-tests/test/com/google/common/primitives/
H A DUnsignedLongsTest.java123 assertEquals(4, UnsignedLongs.remainder(14, 5));
124 assertEquals(0, UnsignedLongs.remainder(0, 50));
125 assertEquals(1, UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL));
127 UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL));
128 assertEquals(65534L, UnsignedLongs.remainder(0xfffffffffffffffeL, 65535));
129 assertEquals(0, UnsignedLongs.remainder(0xfffffffffffffffeL, 2));
130 assertEquals(4, UnsignedLongs.remainder(0xfffffffffffffffeL, 5));
143 + UnsignedLongs.remainder(dividend, divisor)));
/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/protobuf/src/google/protobuf/stubs/
H A Dint128.cc111 // remainder will be left in dividend.
127 uint128 remainder = 0; local
128 DivModImpl(*this, divisor, &quotient, &remainder);
134 uint128 remainder = 0; local
135 DivModImpl(*this, divisor, &quotient, &remainder);
136 *this = remainder;
/external/webrtc/webrtc/call/
H A Dbitrate_allocator.cc158 // Carry the remainder forward.
159 uint32_t remainder = observer_allowance - max_it->first; local
161 bitrate_per_observer += remainder / number_of_observers;
184 uint32_t remainder = bitrate; local
187 std::min(remainder, observer.second.min_bitrate);
189 remainder -= allocated_bitrate;
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
H A DUnsignedLongsTest.java120 assertEquals(4, UnsignedLongs.remainder(14, 5));
121 assertEquals(0, UnsignedLongs.remainder(0, 50));
122 assertEquals(1, UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL));
124 UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL));
125 assertEquals(65534L, UnsignedLongs.remainder(0xfffffffffffffffeL, 65535));
126 assertEquals(0, UnsignedLongs.remainder(0xfffffffffffffffeL, 2));
127 assertEquals(4, UnsignedLongs.remainder(0xfffffffffffffffeL, 5));
/external/protobuf/js/binary/
H A Darith.js222 * 64-bit quotient and a 32-bit remainder.
224 * @return {Array.<jspb.arith.UInt64>} array of [quotient, remainder],
236 var remainder = new jspb.arith.UInt64(this.lo, this.hi);
248 // If divisor < remainder, add unit to quotient and subtract divisor from
249 // remainder.
250 if (divisor.cmp(remainder) <= 0) {
252 remainder = remainder.sub(divisor);
259 return [quotient, remainder];
273 var quotient = divResult[0], remainder
[all...]

Completed in 773 milliseconds

1234567891011>>