Searched defs:divisor (Results 1 - 25 of 144) sorted by relevance

123456

/external/compiler-rt/test/builtins/Unit/
H A Ddivdc3_test.c56 double _Complex divisor; local
60 __real__ divisor = c; local
61 __imag__ divisor = d; local
66 switch (classify(divisor))
91 switch (classify(divisor))
122 switch (classify(divisor))
147 switch (classify(divisor))
172 switch (classify(divisor))
H A Ddivsc3_test.c56 float _Complex divisor; local
60 __real__ divisor = c; local
61 __imag__ divisor = d; local
66 switch (classify(divisor))
91 switch (classify(divisor))
122 switch (classify(divisor))
147 switch (classify(divisor))
172 switch (classify(divisor))
H A Ddivtc3_test.c58 long double _Complex divisor; local
62 __real__ divisor = c; local
63 __imag__ divisor = d; local
68 switch (classify(divisor))
93 switch (classify(divisor))
124 switch (classify(divisor))
149 switch (classify(divisor))
174 switch (classify(divisor))
H A Ddivxc3_test.c58 long double _Complex divisor; local
62 __real__ divisor = c; local
63 __imag__ divisor = d; local
68 switch (classify(divisor))
93 switch (classify(divisor))
124 switch (classify(divisor))
149 switch (classify(divisor))
174 switch (classify(divisor))
H A Dmuldc3_test.c56 double _Complex divisor; local
60 __real__ divisor = c; local
61 __imag__ divisor = d; local
66 switch (classify(divisor))
91 switch (classify(divisor))
118 switch (classify(divisor))
143 switch (classify(divisor))
168 switch (classify(divisor))
H A Dmulsc3_test.c56 float _Complex divisor; local
60 __real__ divisor = c; local
61 __imag__ divisor = d; local
66 switch (classify(divisor))
91 switch (classify(divisor))
122 switch (classify(divisor))
147 switch (classify(divisor))
172 switch (classify(divisor))
H A Dmultc3_test.c59 long double _Complex divisor; local
63 __real__ divisor = c; local
64 __imag__ divisor = d; local
69 switch (classify(divisor))
94 switch (classify(divisor))
121 switch (classify(divisor))
146 switch (classify(divisor))
171 switch (classify(divisor))
H A Dmulxc3_test.c58 long double _Complex divisor; local
62 __real__ divisor = c; local
63 __imag__ divisor = d; local
68 switch (classify(divisor))
93 switch (classify(divisor))
120 switch (classify(divisor))
145 switch (classify(divisor))
170 switch (classify(divisor))
/external/opencv3/modules/features2d/src/kaze/
H A Dfed.cpp179 int divisor = 11; local
181 while (divisor <= upperLimit ) {
182 if (number % divisor == 0)
187 divisor +=2;
/external/guava/guava/src/com/google/common/primitives/
H A DUnsignedInts.java173 * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 32-bit
177 * @param divisor the divisor (denominator)
178 * @throws ArithmeticException if divisor is 0
180 public static int divide(int dividend, int divisor) { argument
181 return (int) (toLong(dividend) / toLong(divisor));
185 * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
189 * @param divisor th
192 remainder(int dividend, int divisor) argument
[all...]
H A DUnsignedLongs.java175 * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit
179 * @param divisor the divisor (denominator)
180 * @throws ArithmeticException if divisor is 0
182 public static long divide(long dividend, long divisor) { argument
183 if (divisor < 0) { // i.e., divisor >= 2^63:
184 if (compare(dividend, divisor) < 0) {
185 return 0; // dividend < divisor
216 remainder(long dividend, long divisor) argument
[all...]
/external/jemalloc/src/
H A Dnstime.c83 nstime_idivide(nstime_t *time, uint64_t divisor) argument
86 assert(divisor != 0);
88 time->ns /= divisor;
92 nstime_divide(const nstime_t *time, const nstime_t *divisor) argument
95 assert(divisor->ns != 0);
97 return (time->ns / divisor->ns);
/external/boringssl/src/crypto/bn/
H A Ddiv.c109 /* BN_div computes dv := num / divisor, rounding towards
110 * zero, and sets up rm such that dv*divisor + rm = num holds.
112 * dv->neg == num->neg ^ divisor->neg (unless the result is zero)
115 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, argument
127 (divisor->top > 0 && divisor->d[divisor->top - 1] == 0)) {
133 (divisor->flags & BN_FLG_CONSTTIME) != 0) {
137 if (BN_is_zero(divisor)) {
142 if (!no_branch && BN_ucmp(num, divisor) <
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/util/
H A DShortDuration.java146 * value {@code divisor}, rounded according to {@code roundingMode} if necessary.
151 public abstract ShortDuration dividedBy(long divisor, RoundingMode roundingMode); argument
155 * divisor}, rounded according to {@code roundingMode} if necessary.
160 public abstract ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode); argument
181 @Override public ShortDuration dividedBy(long divisor, RoundingMode roundingMode) {
182 return dividedBy(new BigDecimal(divisor), roundingMode);
184 @Override public ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode) {
185 checkArgument(divisor.compareTo(BigDecimal.ZERO) != 0);
215 BigDecimal divisor = ONE_IN_PICOS.get(unit);
216 return toLong(new BigDecimal(picos).divide(divisor), roundingMod
242 dividedBy(long divisor, RoundingMode roundingMode) argument
246 dividedBy(BigDecimal divisor, RoundingMode roundingMode) argument
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fVertexAttributeBindingStateQueryTests.cpp319 const int divisor = rnd.getInt(0, 2047); local
321 gl.glVertexBindingDivisor(binding, divisor);
324 verifyStateIndexedInteger(result, gl, GL_VERTEX_BINDING_DIVISOR, binding, divisor, m_verifier);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCompactDecimalFormat.java61 private final long[] divisor; field in class:CompactDecimalFormat
116 this.divisor = data.divisors;
132 * Create a short number "from scratch". Intended for internal use. The prefix, suffix, and divisor arrays are
134 * found, then the value is divided by the divisor, and the prefix and suffix are set (using
144 * @param divisor
159 long[] divisor, Map<String,String[][]> pluralAffixes, Map<String, String[]> currencyAffixes,
163 this.units = otherPluralVariant(pluralAffixes, divisor, debugCreationErrors);
167 this.divisor = divisor.clone();
202 && Arrays.equals(divisor, othe
157 CompactDecimalFormat(String pattern, DecimalFormatSymbols formatSymbols, CompactStyle style, PluralRules pluralRules, long[] divisor, Map<String,String[][]> pluralAffixes, Map<String, String[]> currencyAffixes, Collection<String> debugCreationErrors) argument
342 otherPluralVariant(Map<String, String[][]> pluralCategoryToPower10ToAffix, long[] divisor, Collection<String> debugCreationErrors) argument
[all...]
H A DNFSubstitution.java215 * Set's the substitution's divisor. Used by NFRule.setBaseValue().
218 * @param radix The radix of the divisor
219 * @param exponent The exponent of the divisor
454 // times the rule's divisor (or the rule's base value) plus
630 * divisor and formats the quotient. Represented by &lt;&lt; in normal
639 * The divisor of the rule that owns this substitution.
641 double divisor; field in class:MultiplierSubstitution
650 * also maintains its own copy of its rule's divisor.
652 * @param divisor The owning rule's divisor
656 MultiplierSubstitution(int pos, double divisor, NFRuleSet ruleSet, String description) argument
785 double divisor; field in class:ModulusSubstitution
809 ModulusSubstitution(int pos, double divisor, NFRule rulePredecessor, NFRuleSet ruleSet, String description) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dgregoimp.cpp40 double ClockMath::floorDivide(double dividend, double divisor, argument
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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCompactDecimalFormat.java61 private final long[] divisor; field in class:CompactDecimalFormat
121 this.divisor = data.divisors;
137 * Create a short number "from scratch". Intended for internal use. The prefix, suffix, and divisor arrays are
139 * found, then the value is divided by the divisor, and the prefix and suffix are set (using
149 * @param divisor
164 long[] divisor, Map<String,String[][]> pluralAffixes, Map<String, String[]> currencyAffixes,
168 this.units = otherPluralVariant(pluralAffixes, divisor, debugCreationErrors);
172 this.divisor = divisor.clone();
208 && Arrays.equals(divisor, othe
162 CompactDecimalFormat(String pattern, DecimalFormatSymbols formatSymbols, CompactStyle style, PluralRules pluralRules, long[] divisor, Map<String,String[][]> pluralAffixes, Map<String, String[]> currencyAffixes, Collection<String> debugCreationErrors) argument
355 otherPluralVariant(Map<String, String[][]> pluralCategoryToPower10ToAffix, long[] divisor, Collection<String> debugCreationErrors) argument
[all...]
H A DNFSubstitution.java214 * Set's the substitution's divisor. Used by NFRule.setBaseValue().
217 * @param radix The radix of the divisor
218 * @param exponent The exponent of the divisor
453 // times the rule's divisor (or the rule's base value) plus
629 * divisor and formats the quotient. Represented by &lt;&lt; in normal
638 * The divisor of the rule that owns this substitution.
640 double divisor; field in class:MultiplierSubstitution
649 * also maintains its own copy of its rule's divisor.
651 * @param divisor The owning rule's divisor
655 MultiplierSubstitution(int pos, double divisor, NFRuleSet ruleSet, String description) argument
784 double divisor; field in class:ModulusSubstitution
808 ModulusSubstitution(int pos, double divisor, NFRule rulePredecessor, NFRuleSet ruleSet, String description) argument
[all...]
/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)
107 (void) divisor;
115 int64_t target_msc, int64_t divisor,
122 (void) divisor;
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/opencv3/modules/flann/include/opencv2/flann/
H A Dlsh_table.h360 size_t divisor = CHAR_BIT * sizeof(size_t); local
361 size_t idx = index / divisor; //pick the right size_t index
362 mask_[idx] |= size_t(1) << (index % divisor); //use modulo to find the bit offset
/external/v8/src/
H A Dfast-dtoa.cc400 uint32_t divisor; local
403 &divisor, &divisor_exponent);
408 // with the divisor exponent + 1. And the divisor is the biggest power of ten
411 int digit = integrals / divisor;
414 integrals %= divisor;
416 // Note that kappa now equals the exponent of the divisor and that the
427 static_cast<uint64_t>(divisor) << -one.e(), unit);
429 divisor /= 10;
508 uint32_t divisor; local
[all...]
H A Dfixed-dtoa.cc319 uint64_t divisor = kFive17; local
336 quotient = static_cast<uint32_t>(dividend / divisor);
337 remainder = (dividend % divisor) << divisor_power;
339 divisor <<= divisor_power - exponent;
340 quotient = static_cast<uint32_t>(dividend / divisor);
341 remainder = (dividend % divisor) << exponent;
/external/v8/test/cctest/compiler/
H A Dtest-machine-operator-reducer.cc545 Node* divisor = R.Constant<int32_t>(1u << n); local
547 divisor); // x / 2^n => x >> n
597 Node* divisor = R.Constant<int32_t>(1u << n); local
599 divisor); // x % 2^n => x & 2^n-1

Completed in 600 milliseconds

123456