HomeSort by relevance Sort by last modified time
    Searched refs:numerator (Results 1 - 25 of 38) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/
Grego.java 181 public static long floorDivide(long numerator, long denominator) {
183 // a numerator of Long.MIN_VALUE correctly
184 return (numerator >= 0) ?
185 numerator / denominator :
186 ((numerator + 1) / denominator) - 1;
189 private static long floorDivide(long numerator, long denominator, long[] remainder) {
190 if (numerator >= 0) {
191 remainder[0] = numerator % denominator;
192 return numerator / denominator;
194 long quotient = ((numerator + 1) / denominator) - 1;
    [all...]
  /external/chromium/third_party/icu/source/i18n/
gregoimp.h 35 * @param numerator the numerator
39 static int32_t floorDivide(int32_t numerator, int32_t denominator);
46 * @param numerator the numerator
50 static inline double floorDivide(double numerator, double denominator);
57 * -1 with <code>remainder</code> => 3. NOTE: If numerator is
59 * @param numerator the numerator
62 * remainder. Unlike <code>numerator % denominator</code>, thi
    [all...]
gregoimp.cpp 27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) {
28 return (numerator >= 0) ?
29 numerator / denominator : ((numerator + 1) / denominator) - 1;
32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator,
35 quotient = uprv_floor(numerator / denominator);
36 remainder = (int32_t) (numerator - (quotient * denominator));
nfrs.cpp 469 * same base value, the first one is used when the numerator of the
489 int64_t numerator; local
494 numerator = util64_fromDouble(number * (double)leastCommonMultiple + 0.5);
501 // "numerator" is the numerator of the fraction if the
502 // denominator is the LCD. The numerator if the rule's
503 // base value is the denominator is "numerator" times the
507 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple;
511 // the numerator's distance from the CLOSEST multiple
532 // the numerator of the fraction is 1 and the second one is used i
    [all...]
  /external/icu4c/i18n/
gregoimp.h 35 * @param numerator the numerator
39 static int32_t floorDivide(int32_t numerator, int32_t denominator);
46 * @param numerator the numerator
50 static inline double floorDivide(double numerator, double denominator);
57 * -1 with <code>remainder</code> => 3. NOTE: If numerator is
59 * @param numerator the numerator
62 * remainder. Unlike <code>numerator % denominator</code>, thi
    [all...]
gregoimp.cpp 27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) {
28 return (numerator >= 0) ?
29 numerator / denominator : ((numerator + 1) / denominator) - 1;
32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator,
35 quotient = uprv_floor(numerator / denominator);
36 remainder = (int32_t) (numerator - (quotient * denominator));
nfrs.cpp 469 * same base value, the first one is used when the numerator of the
489 int64_t numerator; local
494 numerator = util64_fromDouble(number * (double)leastCommonMultiple + 0.5);
501 // "numerator" is the numerator of the fraction if the
502 // denominator is the LCD. The numerator if the rule's
503 // base value is the denominator is "numerator" times the
507 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple;
511 // the numerator's distance from the CLOSEST multiple
532 // the numerator of the fraction is 1 and the second one is used i
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
winnmtst.cpp 98 int64_t numerator = randomInt64(); local
105 ran = (double)numerator / (double)denomenator;
  /external/icu4c/test/intltest/
winnmtst.cpp 98 int64_t numerator = randomInt64(); local
105 ran = (double)numerator / (double)denomenator;
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11mouse.c 189 The first number is the numerator, followed by the acceleration
255 &mouse_accel.numerator,
271 mouse_accel.numerator,
SDL_x11video.h 97 int numerator; member in struct:SDL_PrivateVideoData::__anon6242
  /external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
Xvlib.h 61 int numerator; member in struct:__anon6080
Xvproto.h 69 INT32 numerator B32;
  /external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
SDL_cgxvideo.h 76 int numerator; member in struct:SDL_PrivateVideoData::__anon6189
  /external/chromium/third_party/icu/source/common/
uchar.c 612 int32_t numerator; local
615 numerator=(int32_t)numericValue>>UPROPS_FRACTION_NUM_SHIFT;
618 if(numerator==0) {
619 numerator=-1;
621 return (double)numerator/(double)denominator;
  /external/jhead/
exif.c 1121 unsigned int numerator = atoi(curElement); local
1130 int numerator = atoi(curElement); local
    [all...]
  /external/icu4c/common/
uchar.c 619 int32_t numerator=(ntv>>4)-12; local
621 return (double)numerator/denominator;
  /external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xv/
Xv.c 373 pe->rate.numerator = u.pe->rate.numerator;
  /frameworks/base/services/java/com/android/server/
ProcessStats.java 740 private void printRatio(PrintWriter pw, long numerator, long denominator) {
741 long thousands = (numerator*1000)/denominator;
  /bionic/libc/kernel/common/linux/
videodev2.h 123 __u32 numerator; member in struct:v4l2_fract
    [all...]
  /development/ndk/platforms/android-3/include/linux/
videodev2.h 117 __u32 numerator; member in struct:v4l2_fract
  /external/kernel-headers/original/linux/
videodev2.h 228 __u32 numerator; member in struct:v4l2_fract
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
videodev2.h 117 __u32 numerator; member in struct:v4l2_fract
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
videodev2.h 117 __u32 numerator; member in struct:v4l2_fract
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
videodev2.h 117 __u32 numerator; member in struct:v4l2_fract

Completed in 1038 milliseconds

1 2