/external/grub/docs/ |
kernel.c | 179 int divisor = 10; local 189 divisor = 16; 191 /* Divide UD by DIVISOR until UD == 0. */ 194 int remainder = ud % divisor; 198 while (ud /= divisor);
|
kernel.c.texi | 179 int divisor = 10; 189 divisor = 16; 191 /* @r{Divide UD by DIVISOR until UD == 0.} */ 194 int remainder = ud % divisor; 198 while (ud /= divisor);
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedIntsTest.java | 93 int divisor = r.nextInt(); local 96 - (divisor * UnsignedInts.divide(dividend, divisor) + UnsignedInts.remainder(dividend, 97 divisor)) == 0);
|
UnsignedLongsTest.java | 85 long divisor = r.nextLong(); local 87 assertTrue(dividend - (divisor * UnsignedLongs.divide(dividend, divisor) 88 + UnsignedLongs.remainder(dividend, divisor)) == 0);
|
/external/kernel-headers/original/asm-x86/ |
div64.h | 53 extern uint64_t div64_64(uint64_t dividend, uint64_t divisor);
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
vertexconversion.h | 81 const float divisor = 1.0f/(2*static_cast<float>(NL::max())+1); local 82 return (2*f+1)*divisor; 100 const float divisor = 1.0f / static_cast<float>(static_cast<FromType>(1) << ScaleBits); local 101 return static_cast<float>(x) * divisor;
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEConvolveMatrix.cpp | 38 float divisor, float bias, const IntPoint& targetOffset, EdgeModeType edgeMode, 42 , m_divisor(divisor) 53 float divisor, float bias, const IntPoint& targetOffset, EdgeModeType edgeMode, 56 return adoptRef(new FEConvolveMatrix(filter, kernelSize, divisor, bias, targetOffset, edgeMode, kernelUnitLength, 81 float FEConvolveMatrix::divisor() const function in class:WebCore::FEConvolveMatrix 86 bool FEConvolveMatrix::setDivisor(float divisor) 88 if (m_divisor == divisor) 90 m_divisor = divisor; 225 ALWAYS_INLINE void setDestinationPixels(ByteArray* image, int& pixel, float* totals, float divisor, float bias, ByteArray* src) 227 unsigned char maxAlpha = preserveAlphaValues ? 255 : clampRGBAValue(totals[3] / divisor + bias) [all...] |
FEConvolveMatrix.h | 57 float divisor() const;
|
/external/openssl/crypto/bn/ |
bn_div.c | 172 /* BN_div computes dv := num / divisor, rounding towards 173 * zero, and sets up rm such that dv*divisor + rm = num holds. 175 * dv->neg == num->neg ^ divisor->neg (unless the result is zero) 179 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, 200 if ((BN_get_flags(num, BN_FLG_CONSTTIME) != 0) || (BN_get_flags(divisor, BN_FLG_CONSTTIME) != 0)) 208 bn_check_top(divisor); 210 if (BN_is_zero(divisor)) 216 if (!no_branch && BN_ucmp(num,divisor) < 0) 235 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2); 236 if (!(BN_lshift(sdiv,divisor,norm_shift))) goto err [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGFEConvolveMatrixElement.idl | 44 readonly attribute SVGAnimatedNumber divisor;
|
SVGFEConvolveMatrixElement.h | 61 DECLARE_ANIMATED_NUMBER(Divisor, divisor)
|
SVGFEConvolveMatrixElement.cpp | 41 DEFINE_ANIMATED_NUMBER(SVGFEConvolveMatrixElement, SVGNames::divisorAttr, Divisor, divisor) 137 return convolveMatrix->setDivisor(divisor()); 241 float divisorValue = divisor();
|
/external/icu4c/i18n/ |
nfsubs.cpp | 67 double divisor; member in class:MultiplierSubstitution 77 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) 79 ldivisor = util64_fromDouble(divisor); 80 if (divisor == 0) { 86 divisor = uprv_pow(radix, exponent); 87 ldivisor = util64_fromDouble(divisor); 89 if(divisor == 0) { 102 return uprv_floor(number / divisor); 104 return number/divisor; 109 return newRuleValue * divisor; 122 double divisor; member in class:ModulusSubstitution [all...] |
gregoimp.cpp | 40 double ClockMath::floorDivide(double dividend, double divisor, 43 U_ASSERT(divisor > 0); 44 double quotient = floorDivide(dividend, divisor); 45 remainder = dividend - (quotient * divisor); 49 if (remainder < 0 || remainder >= divisor) { 67 remainder = dividend - (quotient * divisor); 70 U_ASSERT(0 <= remainder && remainder < divisor);
|
/external/v8/src/ |
fixed-dtoa.cc | 341 uint64_t divisor = kFive17; local 358 quotient = static_cast<uint32_t>(dividend / divisor); 359 remainder = (dividend % divisor) << divisor_power; 361 divisor <<= divisor_power - exponent; 362 quotient = static_cast<uint32_t>(dividend / divisor); 363 remainder = (dividend % divisor) << exponent;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 243 double Aacc,Bacc,Aacc2,Bacc2,divisor,divisor2,m,Am,Bm; local 292 divisor=sqrt(Aacc*Aacc+Bacc*Bacc); 293 m=db_SafeReciprocal(divisor); 304 divisor=0.0; 309 if(divisor2>divisor)
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 243 double Aacc,Bacc,Aacc2,Bacc2,divisor,divisor2,m,Am,Bm; local 292 divisor=sqrt(Aacc*Aacc+Bacc*Bacc); 293 m=db_SafeReciprocal(divisor); 304 divisor=0.0; 309 if(divisor2>divisor)
|
/external/qemu/android/utils/ |
ini.c | 521 int64_t divisor = 0; local 528 divisor = giga; 532 divisor = mega; 536 divisor = kilo; 539 if (divisor) { 540 snprintf(temp, sizeof temp, "%" PRId64 "%c", size/divisor, suffix);
|
/external/bison/lib/ |
hash.c | 439 size_t divisor = 3; local 440 size_t square = divisor * divisor; 442 while (square < candidate && (candidate % divisor)) 444 divisor++; 445 square += 4 * divisor; 446 divisor++; 449 return (candidate % divisor ? true : false);
|
/external/grub/stage2/ |
serial.c | 42 /* The structure for speed vs. divisor. */ struct 43 struct divisor 53 static struct divisor divisor_tab[] =
|
/external/iproute2/tc/ |
q_sfq.c | 94 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor);
|
f_u32.c | 39 fprintf(stderr, "or u32 divisor DIVISOR\n"); 43 " u{32|16|8} | mark } SAMPLE_ARGS [divisor DIVISOR]\n"); 1034 } else if (matches(*argv, "divisor") == 0) { 1035 unsigned divisor; local 1037 if (get_unsigned(&divisor, *argv, 0) || 1038 divisor == 0 || 1039 divisor > 0x100 || ((divisor - 1) & divisor)) 1079 unsigned divisor = 0x100; local [all...] |
/external/qemu/audio/ |
esdaudio.c | 94 int divisor; member in struct:__anon10547 99 .divisor = 2, 120 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 329 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 596 .name = "DIVISOR", 598 .valp = &conf.divisor, 599 .descr = "threshold divisor"
|
paaudio.c | 67 int divisor; member in struct:__anon10554 73 .divisor = 2, 93 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 188 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 565 .name = "DIVISOR", 567 .valp = &conf.divisor, 568 .descr = "threshold divisor"
|
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 844 * Returns a {@code BigInteger} whose value is greatest common divisor 848 * @param value value with which the greatest common divisor is computed. 878 * {@code this / divisor} at index 0 and {@code this % divisor} at index 1. 880 * @param divisor value by which {@code this} is divided. 881 * @throws NullPointerException if {@code divisor == null}. 882 * @throws ArithmeticException if {@code divisor == 0}. 886 public BigInteger[] divideAndRemainder(BigInteger divisor) { 887 BigInt divisorBigInt = divisor.getBigInt(); 895 * Returns a {@code BigInteger} whose value is {@code this / divisor} [all...] |