/external/libjpeg-turbo/ |
jcdctmgr.c | 126 * b = (the number of significant bits in divisor) - 1 128 * f = 2^r / divisor 149 * "input + divisor/2". 155 * dctbl[1] = divisor / 2 (+ 1 if fractional part of f < 0.5) 172 compute_reciprocal (UINT16 divisor, DCTELEM * dtbl) 178 if (divisor == 1) { 179 /* divisor == 1 means unquantized, so these reciprocal/correction/shift 191 b = flss(divisor) - 1; 194 fq = ((UDCTELEM2)1 << r) / divisor; 195 fr = ((UDCTELEM2)1 << r) % divisor; [all...] |
/external/icu/icu4c/source/i18n/ |
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);
|
gregoimp.h | 36 * @param denominator a divisor which must be != 0 47 * @param denominator a divisor which must be != 0 60 * @param denominator a divisor which must be != 0 71 * For a positive divisor, return the quotient and remainder 72 * such that dividend = quotient*divisor + remainder and 73 * 0 <= remainder < divisor. 76 * (divident >> divisor) reasonably. 78 * Calling with a divisor <= 0 is disallowed. 80 static double floorDivide(double dividend, double divisor,
|
/art/runtime/ |
utils.h | 80 // Return whether x / divisor == x * (1.0f / divisor), for every float x. 81 static constexpr bool CanDivideByReciprocalMultiplyFloat(int32_t divisor) { 82 // True, if the most significant bits of divisor are 0. 83 return ((divisor & 0x7fffff) == 0); 86 // Return whether x / divisor == x * (1.0 / divisor), for every double x. 87 static constexpr bool CanDivideByReciprocalMultiplyDouble(int64_t divisor) { 88 // True, if the most significant bits of divisor are 0. 89 return ((divisor & ((UINT64_C(1) << 52) - 1)) == 0) [all...] |
/external/mesa3d/src/glx/ |
dri2.c | 544 load_swap_req(xDRI2SwapBuffersReq *req, CARD64 target, CARD64 divisor, 549 req->divisor_hi = divisor >> 32; 550 req->divisor_lo = divisor & 0xffffffff; 562 CARD64 divisor, CARD64 remainder, CARD64 *count) 575 load_swap_req(req, target_msc, divisor, remainder); 621 load_msc_req(xDRI2WaitMSCReq *req, CARD64 target, CARD64 divisor, 626 req->divisor_hi = divisor >> 32; 627 req->divisor_lo = divisor & 0xffffffff; 632 Bool DRI2WaitMSC(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor, 646 load_msc_req(req, target_msc, divisor, remainder) [all...] |
dri2.h | 89 DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor, 96 DRI2WaitMSC(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor,
|
/external/libnl/include/linux/ |
pkt_sched.h | 147 unsigned divisor; /* Hash divisor */ member in struct:tc_sfq_qopt 152 * NOTE: limit, divisor and flows are hardwired to code at the moment. 154 * limit=flows=128, divisor=1024; 256 __u32 rate2quantum; /* bps->quantum divisor */
|
/hardware/intel/common/libva/va/x11/ |
va_dri2.c | 329 load_swap_req(xDRI2SwapBuffersReq *req, CARD64 target, CARD64 divisor, 334 req->divisor_hi = divisor >> 32; 335 req->divisor_lo = divisor & 0xffffffff; 347 CARD64 divisor, CARD64 remainder, CARD64 *count) 360 load_swap_req(req, target_msc, divisor, remainder);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
pkt_sched.h | 169 unsigned divisor; /* Hash divisor */ member in struct:tc_sfq_qopt 179 * NOTE: limit, divisor and flows are hardwired to code at the moment. 181 * limit=flows=128, divisor=1024; 283 __u32 rate2quantum; /* bps->quantum divisor */
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
wcsftime.c | 530 #define DIVISOR 100 531 trail = a % DIVISOR + b % DIVISOR; 532 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; 533 trail %= DIVISOR; 535 trail += DIVISOR; 538 trail -= DIVISOR;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CompactDecimalDataCache.java | 248 * Populates Data object with data for a particular divisor from resource bundle. 316 // We craft our divisor such that when we divide by it, we get a 319 // two 0's in our plural variants, then we want a divisor of 1000. 322 long divisor = magnitude; local 324 divisor /= 10; 326 result.divisors[thisIndex] = divisor; 418 * If no prefix is defined for the "other" variant, use the divisor, prefixes and 420 * use all empty prefixes and suffixes and a divisor of 1. 430 // Initially we assume that previous divisor is 1 with no prefix or suffix.
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CompactDecimalDataCache.java | 247 * Populates Data object with data for a particular divisor from resource bundle. 315 // We craft our divisor such that when we divide by it, we get a 318 // two 0's in our plural variants, then we want a divisor of 1000. 321 long divisor = magnitude; local 323 divisor /= 10; 325 result.divisors[thisIndex] = divisor; 417 * If no prefix is defined for the "other" variant, use the divisor, prefixes and 419 * use all empty prefixes and suffixes and a divisor of 1. 429 // Initially we assume that previous divisor is 1 with no prefix or suffix.
|
/system/bt/bta/dm/ |
bta_dm_sco.c | 68 UINT32 divisor; member in struct:__anon71741 599 p_cb->divisor = 2; 620 p_cb->divisor = 1; 640 p_cb->divisor = 4; 650 divisor %d", p_cb->can_be_filtered, p_cb->n_channels, p_cb->divisor); 676 APPL_TRACE_DEBUG("bta_pcm_resample : insamples %d", (in_bytes / bta_dm_pcm_cb.divisor)); 680 out_sample = (*bta_dm_pcm_cb.filter) (p_src, p_dst, (in_bytes / bta_dm_pcm_cb.divisor), 686 (in_bytes / bta_dm_pcm_cb.divisor), bta_dm_pcm_cb.src_sps);
|
/external/libnfc-nxp/src/ |
phHciNfc_NfcIPMgmt.h | 143 0 -> Divisor equal to 1 144 1 -> Divisor equal to 2 145 2 -> Divisor equal to 4 146 3 -> Divisor equal to 8 147 4 -> Divisor equal to 16 148 5 -> Divisor equal to 32 149 6 -> Divisor equal to 64 565 * 0 -> Divisor equal to 1 566 * 1 -> Divisor equal to 2 567 * 2 -> Divisor equal to [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 908 #define DIVISOR 10 909 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; 910 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + 911 trail / DIVISOR; 912 trail %= DIVISOR; 914 trail += DIVISOR; 917 trail -= DIVISOR; 994 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR [all...] |
/external/v8/src/ |
fast-dtoa.cc | 400 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...] |
/external/llvm/lib/CodeGen/ |
TargetSchedule.cpp | 38 static unsigned gcd(unsigned Dividend, unsigned Divisor) { 39 // Dividend and Divisor will be naturally swapped as needed. 40 while(Divisor) { 41 unsigned Rem = Dividend % Divisor; 42 Dividend = Divisor; 43 Divisor = Rem;
|
/external/clang/test/SemaTemplate/ |
instantiate-static-var.cpp | 5 template<typename T, T Divisor> 8 static const T value = 10 / Divisor; // expected-error{{in-class initializer for static data member is not a constant expression}}
|
/external/llvm/test/Transforms/InstCombine/ |
div-shift.ll | 72 %divisor = select i1 %x_is_zero, i32 1, i32 %x 73 %y = udiv i32 %z, %divisor
|
/external/skia/fuzz/ |
fuzz.cpp | 268 // Arbitrarily choose a divisor. 269 int divisor = 2; local 273 if (divisor > W || divisor > H) { 274 SkDebugf("[terminated] Cannot codec subset: divisor %d is too big " 275 "with dimensions (%d x %d)\n", divisor, W, H); 280 const int w = SkAlign2(W / divisor); 281 const int h = SkAlign2(H / divisor);
|
/libcore/ojluni/src/main/native/ |
Math.c | 98 jdouble divisor) { 99 return remainder(dividend, divisor);
|
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 878 * Returns a {@code BigInteger} whose value is greatest common divisor 882 * @param value value with which the greatest common divisor is computed. 912 * {@code this / divisor} at index 0 and {@code this % divisor} at index 1. 914 * @param divisor value by which {@code this} is divided. 915 * @throws NullPointerException if {@code divisor == null}. 916 * @throws ArithmeticException if {@code divisor == 0}. 920 public BigInteger[] divideAndRemainder(BigInteger divisor) { 921 BigInt divisorBigInt = divisor.getBigInt(); 929 * Returns a {@code BigInteger} whose value is {@code this / divisor} [all...] |
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/res/layout/ |
directory_item.xml | 39 <View android:id="@+id/divisor"
|
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/res/layout/ |
directory_entry.xml | 37 android:id="@+id/divisor"
|
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/res/layout/ |
directory_item.xml | 39 <View android:id="@+id/divisor"
|