/external/autotest/client/cros/video/ |
screenshot_file_namer.py | 54 hours, remainder = divmod(time_delta_value.total_seconds(), 3600) 56 minutes, seconds = divmod(remainder, 60)
|
/external/icu/icu4c/source/i18n/ |
gregoimp.cpp | 31 int32_t& remainder) { 34 remainder = (int32_t) (numerator - (quotient * denominator)); 39 double& remainder) { 43 remainder = dividend - (quotient * divisor); 47 if (remainder < 0 || remainder >= divisor) { 52 quotient += (remainder < 0) ? -1 : +1; 58 // can't give a correct answer, so we set the remainder to 63 remainder = 0; 65 remainder = dividend - (quotient * divisor) [all...] |
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
clock_ns.h | 50 int32_t remainder; local 53 remainder = ns % kNanosPerSecond; 54 if (remainder < 0) { 56 remainder += kNanosPerSecond; 58 t.tv_nsec = remainder;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Grego.java | 112 long[] remainder = new long[1]; local 113 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); 114 int dayOfWeek = (int)remainder[0]; 178 long[] remainder = new long[1]; local 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) { 195 remainder[0] = numerator % denominator; 199 remainder[0] = numerator - (quotient * denominator);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Grego.java | 110 long[] remainder = new long[1]; local 111 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); 112 int dayOfWeek = (int)remainder[0]; 176 long[] remainder = new long[1]; local 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) { 193 remainder[0] = numerator % denominator; 197 remainder[0] = numerator - (quotient * denominator);
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
compare.cc | 34 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 = count & (kBlockSize - 1) & ~31 local [all...] |
/external/libyuv/files/source/ |
compare.cc | 34 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 = count & (kBlockSize - 1) & ~31 local [all...] |
/external/libyuv/files/util/ |
psnr.cc | 265 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);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/ |
RedirectListener.java | 68 long remainder = ThreadTimeout; local 69 while (remainder > 0 && !mListening) { 71 mLock.wait(remainder); 78 remainder = bail - System.currentTimeMillis(); 92 long remainder = UserTimeout; local 93 while (remainder > 0 && mUserStatus == null) { 95 mLock.wait(remainder); 102 remainder = bail - System.currentTimeMillis();
|
/system/bt/audio_a2dp_hw/test/ |
audio_a2dp_hw_test.cc | 133 const size_t remainder = expected_buffer_size % divisor; local 134 if (remainder != 0) { 135 expected_buffer_size += divisor - remainder;
|
/external/mesa3d/src/compiler/glsl/ |
opt_rebalance_tree.cpp | 75 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 = tempptr [all...] |
/external/compiler-rt/lib/builtins/arm/ |
divmodsi4.S | 30 @ 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/ |
SpecificDoubleValue.java | 90 public DoubleValue remainder(DoubleValue other) method in class:SpecificDoubleValue 97 return other.remainder(this); 144 public DoubleValue remainder(SpecificDoubleValue other) method in class:SpecificDoubleValue 146 return new CompositeDoubleValue(this, CompositeDoubleValue.REMAINDER, other); 151 return new CompositeDoubleValue(other, CompositeDoubleValue.REMAINDER, this);
|
SpecificFloatValue.java | 90 public FloatValue remainder(FloatValue other) method in class:SpecificFloatValue 97 return other.remainder(this); 144 public FloatValue remainder(SpecificFloatValue other) method in class:SpecificFloatValue 146 return new CompositeFloatValue(this, CompositeFloatValue.REMAINDER, other); 151 return new CompositeFloatValue(other, CompositeFloatValue.REMAINDER, this);
|
DoubleValue.java | 104 * 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((SpecificDoubleValue)other) [all...] |
FloatValue.java | 104 * 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((SpecificFloatValue)other) [all...] |
ParticularDoubleValue.java | 116 public DoubleValue remainder(DoubleValue other) method in class:ParticularDoubleValue 123 return other.remainder(this); 173 public DoubleValue remainder(ParticularDoubleValue other) method in class:ParticularDoubleValue
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedLongsTest.java | 123 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)));
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Mesh.cpp | 35 size_t remainder = (stride * vertexCount) / vertexCount; local 37 // either vertexSize or texCoordSize, it must have overflowed. remainder 39 if ((stride < vertexSize) || (remainder != stride)) {
|
/external/mesa3d/src/glx/apple/ |
glx_empty.c | 45 glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count) 102 int64_t target_msc, int64_t divisor, int64_t remainder) 108 (void) remainder; 116 int64_t remainder, int64_t * ust, 123 (void) remainder;
|
/external/protobuf/src/google/protobuf/stubs/ |
int128.cc | 111 // remainder will be left in dividend. 127 uint128 remainder = 0; local 128 DivModImpl(*this, divisor, "ient, &remainder); 134 uint128 remainder = 0; local 135 DivModImpl(*this, divisor, "ient, &remainder); 136 *this = remainder;
|
/external/webrtc/webrtc/call/ |
bitrate_allocator.cc | 158 // 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/ |
UnsignedLongsTest.java | 120 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/pdfium/xfa/fxbarcode/common/reedsolomon/ |
BC_ReedSolomonGF256Poly.cpp | 222 std::unique_ptr<CBC_ReedSolomonGF256Poly> remainder(Clone(e)); 230 while (remainder->GetDegree() >= other->GetDegree() && !remainder->IsZero()) { 231 int32_t degreeDifference = remainder->GetDegree() - other->GetDegree(); 233 m_field->Multiply(remainder->GetCoefficients((remainder->GetDegree())), 246 remainder.reset(remainder->AddOrSubtract(term.get(), e)); 253 tempPtrA->Add(remainder.release());
|
/external/guava/guava-tests/benchmark/com/google/common/primitives/ |
UnsignedLongsBenchmark.java | 61 @Benchmark long remainder(int reps) { method in class:UnsignedLongsBenchmark 65 tmp += UnsignedLongs.remainder(longs[j], divisors[j]); 124 // Using remainder here does not give us a uniform distribution but it should 131 return UnsignedLongs.remainder(r, dividend + 1);
|