Searched defs:numerator (Results 1 - 25 of 53) sorted by relevance

123

/external/clang/test/CodeGen/
H A Dexceptions-seh.c6 int SaveDiv(int numerator, int denominator, int *res) { argument
9 myres = numerator / denominator;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dstate_construct.c38 int16_t numerator[1+LPC_FILTERORDER]; local
48 numerator[k] = syntDenum[LPC_FILTERORDER-k];
96 numerator, LPC_FILTERORDER+1, (int16_t)(len + LPC_FILTERORDER));
H A Dstate_search.c44 int16_t numerator[1+LPC_FILTERORDER]; local
56 numerator[i] = (syntDenum[LPC_FILTERORDER-i]>>scaleRes);
69 numerator, LPC_FILTERORDER+1, (int16_t)(iLBCenc_inst->state_short_len + LPC_FILTERORDER));
/external/libexif/libexif/
H A Dexif-utils.h60 typedef struct {ExifLong numerator; ExifLong denominator;} ExifRational; member in struct:__anon23669
65 typedef struct {ExifSLong numerator; ExifSLong denominator;} ExifSRational; member in struct:__anon23670
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DMediaQueryExp.h46 unsigned numerator; member in struct:blink::MediaQueryExpValue
57 , numerator(0)
74 return (numerator == expValue.numerator && denominator == expValue.denominator);
/external/chromium_org/ui/gl/
H A Dsync_control_vsync_provider.cc107 int32 numerator, denominator; local
108 if (GetMscRate(&numerator, &denominator)) {
110 numerator);
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dsuggestions_combiner.cc91 int numerator = sources_[i]->GetWeight() * suggestions_count_ + error; local
92 error = numerator % total_weight;
93 int item_count = std::min(numerator / total_weight,
/external/chromium_org/content/browser/renderer_host/
H A Ddisplay_link_mac.cc104 // Verify that the numerator and denominator make some sense.
105 uint32 numerator = static_cast<uint32>(cv_time->videoRefreshPeriod); local
107 if (numerator <= 0 || denominator <= 0) {
108 LOG(WARNING) << "Unexpected numerator or denominator, bailing.";
115 1000000 * static_cast<int64>(numerator) / denominator);
/external/chromium_org/media/video/capture/
H A Dfile_video_capture_device.cc25 // Extract numerator and denominator out of a token that must have the aspect
26 // numerator:denominator, both integer numbers.
28 int* numerator,
32 *numerator = ParseY4MInt(token.substr(0, index_divider));
27 ParseY4MRational(const base::StringPiece& token, int* numerator, int* denominator) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dstatistics_calculator.cc156 int StatisticsCalculator::CalculateQ14Ratio(uint32_t numerator, argument
158 if (numerator == 0) {
160 } else if (numerator < denominator) {
162 assert((numerator << 14) / denominator < (1 << 14));
163 return (numerator << 14) / denominator;
/external/chromium_org/media/video/capture/win/
H A Dvideo_capture_device_factory_win.cc313 UINT32 numerator, denominator; local
314 hr = MFGetAttributeRatio(type, MF_MT_FRAME_RATE, &numerator, &denominator);
321 ? static_cast<float>(numerator) / denominator : 0.0f;
H A Dvideo_capture_device_mf_win.cc40 UINT32 numerator, denominator; local
41 if (FAILED(MFGetAttributeRatio(type, MF_MT_FRAME_RATE, &numerator,
46 *frame_rate_numerator = numerator;
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dbignum-dtoa.cc54 // Computes v / 10^estimated_power exactly, as a ratio of two bignums, numerator
59 Bignum* numerator,
63 // Multiplies numerator/denominator so that its values lies in the range 1-10.
65 // v = numerator'/denominator' * 10^(decimal_point-1)
66 // where numerator' and denominator' are the values of numerator and
70 Bignum* numerator, Bignum* denominator,
74 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
80 Bignum* numerator, Bignum* denominator,
82 // Generates 'count' digits of numerator/denominato
116 Bignum numerator; local
171 GenerateShortestDigits(Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus, bool is_even, Vector<char> buffer, int* length) argument
269 GenerateCountedDigits(int count, int* decimal_point, Bignum* numerator, Bignum* denominator, Vector<char>(buffer), int* length) argument
311 BignumToFixed(int requested_digits, int* decimal_point, Bignum* numerator, Bignum* denominator, Vector<char>(buffer), int* length) argument
402 InitialScaledStartValuesPositiveExponent( double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
448 InitialScaledStartValuesNegativeExponentPositivePower( double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
498 InitialScaledStartValuesNegativeExponentNegativePower( double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
594 InitialScaledStartValues(double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
628 FixupMultiply10(int estimated_power, bool is_even, int* decimal_point, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dgregoimp.cpp27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { argument
28 return (numerator >= 0) ?
29 numerator / denominator : ((numerator + 1) / denominator) - 1;
32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, argument
35 quotient = uprv_floor(numerator / denominator);
36 remainder = (int32_t) (numerator - (quotient * denominator));
H A Dgregoimp.h35 * @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
254 floorDivide(double numerator, double denominator) argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dwinnmtst.cpp98 int64_t numerator = randomInt64(); local
105 ran = (double)numerator / (double)denomenator;
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dtools_common.h80 int numerator; member in struct:VpxRational
/external/chromium_org/v8/src/
H A Dbignum-dtoa.cc32 // Computes v / 10^estimated_power exactly, as a ratio of two bignums, numerator
37 Bignum* numerator,
41 // Multiplies numerator/denominator so that its values lies in the range 1-10.
43 // v = numerator'/denominator' * 10^(decimal_point-1)
44 // where numerator' and denominator' are the values of numerator and
48 Bignum* numerator, Bignum* denominator,
52 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
58 Bignum* numerator, Bignum* denominator,
60 // Generates 'count' digits of numerator/denominato
94 Bignum numerator; local
149 GenerateShortestDigits(Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus, bool is_even, Vector<char> buffer, int* length) argument
247 GenerateCountedDigits(int count, int* decimal_point, Bignum* numerator, Bignum* denominator, Vector<char>(buffer), int* length) argument
289 BignumToFixed(int requested_digits, int* decimal_point, Bignum* numerator, Bignum* denominator, Vector<char>(buffer), int* length) argument
381 InitialScaledStartValuesPositiveExponent( double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
427 InitialScaledStartValuesNegativeExponentPositivePower( double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
477 InitialScaledStartValuesNegativeExponentNegativePower( double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
573 InitialScaledStartValues(double v, int estimated_power, bool need_boundary_deltas, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
607 FixupMultiply10(int estimated_power, bool is_even, int* decimal_point, Bignum* numerator, Bignum* denominator, Bignum* delta_minus, Bignum* delta_plus) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dgregoimp.cpp27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { argument
28 return (numerator >= 0) ?
29 numerator / denominator : ((numerator + 1) / denominator) - 1;
32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, argument
35 quotient = uprv_floor(numerator / denominator);
36 remainder = (int32_t) (numerator - (quotient * denominator));
H A Dgregoimp.h35 * @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
254 floorDivide(double numerator, double denominator) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dwinnmtst.cpp98 int64_t numerator = randomInt64(); local
105 ran = (double)numerator / (double)denomenator;
/external/libvpx/libvpx/
H A Dtools_common.h86 int numerator; member in struct:VpxRational
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
H A DXvlib.h61 int numerator; member in struct:__anon29451
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dmjpeg_decoder.cc152 static int DivideAndRoundUp(int numerator, int denominator) { argument
153 return (numerator + denominator - 1) / denominator;
156 static int DivideAndRoundDown(int numerator, int denominator) { argument
157 return numerator / denominator;
/external/chromium_org/third_party/libyuv/source/
H A Dmjpeg_decoder.cc152 static int DivideAndRoundUp(int numerator, int denominator) { argument
153 return (numerator + denominator - 1) / denominator;
156 static int DivideAndRoundDown(int numerator, int denominator) { argument
157 return numerator / denominator;

Completed in 706 milliseconds

123