HomeSort by relevance Sort by last modified time
    Searched refs:remainder (Results 51 - 75 of 450) sorted by null

1 23 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/util/
Grego.java 108 long[] remainder = new long[1]; local
109 floorDivide(day + Calendar.THURSDAY, 7, remainder);
110 int dayOfWeek = (int)remainder[0];
174 long[] remainder = new long[1]; local
175 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder);
177 fields[5] = (int)remainder[0];
189 private static long floorDivide(long numerator, long denominator, long[] remainder) {
191 remainder[0] = numerator % denominator;
195 remainder[0] = numerator - (quotient * denominator);
  /external/chromium_org/chromeos/network/
network_util.cc 42 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/
ssl3gthr.c 46 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 > gs->inbuf.space)
    [all...]
sslgathr.c 44 ** 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 = count
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
UnsignedLongsTest.java 69 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/
StrokeData.cpp 91 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/
Spooky.cpp 40 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++/
op_spu_bfd.cpp 121 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/
WNafMultiplier.java 49 BigInteger remainder = k.mod(pow2wBI); local
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/
gregoimp.cpp 33 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 = dividend - (quotient * divisor)
    [all...]
  /external/icu4c/i18n/
gregoimp.cpp 33 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 = dividend - (quotient * divisor)
    [all...]
  /external/srec/portable/src/
pcrc.c 129 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 << 8)
    [all...]
  /external/chromium_org/third_party/mesa/src/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/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/proguard/src/proguard/evaluation/value/
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 110 public DoubleValue remainder(DoubleValue other) method in class:ParticularDoubleValue
117 return other.remainder(this);
164 public DoubleValue remainder(ParticularDoubleValue other) method in class:ParticularDoubleValue
ParticularFloatValue.java 110 public FloatValue remainder(FloatValue other) method in class:ParticularFloatValue
117 return other.remainder(this);
164 public FloatValue remainder(ParticularFloatValue other) method in class:ParticularFloatValue
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);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
EllipsizedMultilineTextView.java 83 final CharSequence remainder = TextUtils.ellipsize(text.subSequence(lastLineStart, local
91 if (!TextUtils.isEmpty(remainder)) {
92 builder.append(remainder.toString());
  /external/arduino/hardware/arduino/cores/arduino/
Print.cpp 205 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/
SkBase64.cpp 122 size_t remainder = length % 3;
123 const unsigned char* end = &src[length - remainder];
137 if (remainder > 0) {
141 if (remainder == 2)
  /external/grub/docs/
kernel.c 194 int remainder = ud % divisor; local
196 *p++ = (remainder < 10) ? remainder + '0' : remainder + 'a' - 10;
  /external/libyuv/files/source/
compare.cc 234 int remainder = static_cast<int>(count) & ~15; local
235 if (remainder) {
236 seed = HashDjb2_SSE(src, remainder, seed);
237 src += remainder;
238 count -= remainder;
240 remainder = static_cast<int>(count) & 15;
241 if (remainder) {
242 seed = HashDjb2_C(src, remainder, seed);
379 int remainder = count & (kBlockSize - 1) & ~15; local
380 if (remainder) {
    [all...]

Completed in 491 milliseconds

1 23 4 5 6 7 8 91011>>