/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | blend.c | 42 * Check if given blend source factor is legal. 46 legal_src_factor(const struct gl_context *ctx, GLenum factor) argument 48 switch (factor) { 80 * Check if given blend destination factor is legal. 84 legal_dst_factor(const struct gl_context *ctx, GLenum factor) argument 86 switch (factor) { 165 * \param sfactor source factor operator. 166 * \param dfactor destination factor operator. 177 blend_factor_is_dual_src(GLenum factor) argument 179 return (factor [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
H A D | vq.c | 72 int factor; local 76 factor = SPREAD_FACTOR[spread-1]; 78 gain = celt_div((opus_val32)MULT16_16(Q15_ONE,len),(opus_val32)(len+factor*K));
|
/external/chromium_org/third_party/opus/src/tests/ |
H A D | test_opus_decode.c | 104 int factor=48000/fsv[t>>1]; local 109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); 110 if(out_samples!=120/factor)test_failed(); 112 if(dur!=120/factor)test_failed(); 115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); 119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); 120 if(out_samples!=120/factor)test_failed(); 121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); 122 if(out_samples!=120/factor)test_failed(); 123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fe 192 int factor=48000/fsv[t>>1]; local 248 int factor=48000/fsv[t>>1]; local 266 int factor=48000/fsv[t>>1]; local [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/ |
H A D | TestLoadGenerator.cc | 313 double factor = ((double) rand() - RAND_MAX/2) / RAND_MAX; // [-0.5; 0.5] local 314 factor = 1 + 2 * _spreadFactor * factor; // [1 - _spreadFactor ; 1 + _spreadFactor] 316 int32_t thisPayloadBytes = static_cast<int32_t>(_payloadSizeBytes * factor); 391 double factor = ((double) rand() - RAND_MAX/2) / RAND_MAX; // [-0.5; 0.5] 392 factor = 1 + 2 * _frSpreadFactor * factor; // [1 - _frSpreadFactor ; 1 + _frSpreadFactor] 393 _frChangeTimeMs = nowMs + static_cast<int64_t>(1000.0 * factor *
|
/external/chromium_org/v8/src/ |
H A D | bignum.cc | 227 void Bignum::MultiplyByUInt32(uint32_t factor) { argument 228 if (factor == 1) return; 229 if (factor == 0) { 235 // The product of a bigit with the factor is of size kBigitSize + 32. 240 DoubleChunk product = static_cast<DoubleChunk>(factor) * bigits_[i] + carry; 253 void Bignum::MultiplyByUInt64(uint64_t factor) { argument 254 if (factor == 1) return; 255 if (factor == 0) { 261 uint64_t low = factor & 0xFFFFFFFF; 262 uint64_t high = factor >> 3 [all...] |
/external/dhcpcd/ |
H A D | common.c | 170 static double factor = 0.0; local 176 factor = (double)info.numer / (double)info.denom; 182 if ((info.denom != 1 || info.numer != 1) && factor != 0.0) 183 nano *= factor;
|
/external/icu/icu4c/source/i18n/ |
H A D | collationbasedatabuilder.cpp | 210 int32_t factor; local 215 factor = 251; 220 factor = 254; 222 linear1 += factor * (int32_t)((p1 >> 24) & 0xff); 223 linear2 += factor * (int32_t)((p2 >> 24) & 0xff); 237 int32_t factor; local 242 factor = 251 * 254; 247 factor = 254 * 254; 249 linear1 += factor * (int32_t)((p1 >> 24) & 0xff); 250 linear2 += factor * (int32_ [all...] |
/external/jemalloc/test/include/test/ |
H A D | math.h | 56 double acu, factor, oflo, gin, term, rn, a, b, an, dif; local 69 factor = exp(p * log(x) - x - ln_gamma_p); 82 gin *= factor / p; 108 gin = 1.0 - factor * gin;
|
/external/libopus/celt/ |
H A D | vq.c | 72 int factor; local 76 factor = SPREAD_FACTOR[spread-1]; 78 gain = celt_div((opus_val32)MULT16_16(Q15_ONE,len),(opus_val32)(len+factor*K));
|
/external/libopus/tests/ |
H A D | test_opus_decode.c | 104 int factor=48000/fsv[t>>1]; local 109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); 110 if(out_samples!=120/factor)test_failed(); 112 if(dur!=120/factor)test_failed(); 115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); 119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); 120 if(out_samples!=120/factor)test_failed(); 121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); 122 if(out_samples!=120/factor)test_failed(); 123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fe 192 int factor=48000/fsv[t>>1]; local 248 int factor=48000/fsv[t>>1]; local 266 int factor=48000/fsv[t>>1]; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_aq_cyclicrefresh.c | 77 const float factor = 0.5; local 83 if (rc->av_per_frame_bandwidth < factor * number_blocks || 211 // Distortion threshold, quadratic in Q, scale factor to be adjusted.
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_stipple.c | 52 uint factor; member in struct:stipple_stage 112 stipple_test(int counter, ushort pattern, int factor) argument 114 int b = (counter / factor) & 0xf; 150 (ushort) stipple->pattern, stipple->factor ); 207 stipple->factor = draw->rasterizer->line_stipple_factor + 1;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_blend_aos.c | 88 unsigned factor, 91 switch (factor) { 154 * How should we shuffle the base factor. 157 lp_build_blend_factor_swizzle(unsigned factor) argument 159 switch (factor) { 87 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, unsigned factor, boolean alpha) argument
|
/external/mesa3d/src/mesa/main/ |
H A D | blend.c | 42 * Check if given blend source factor is legal. 46 legal_src_factor(const struct gl_context *ctx, GLenum factor) argument 48 switch (factor) { 80 * Check if given blend destination factor is legal. 84 legal_dst_factor(const struct gl_context *ctx, GLenum factor) argument 86 switch (factor) { 165 * \param sfactor source factor operator. 166 * \param dfactor destination factor operator. 177 blend_factor_is_dual_src(GLenum factor) argument 179 return (factor [all...] |
/external/valgrind/main/drd/tests/ |
H A D | omp_matinv.c | 202 const elem_t factor = a[j * cols + i]; local 205 a[j * cols + k] -= a[i * cols + k] * factor; 217 const elem_t factor = a[j * cols + i]; local 220 a[j * cols + k] -= a[i * cols + k] * factor;
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | acs.c | 41 * 2. interference factor is calculated for each channel 65 * Survey interference factor implementation details 69 * The survey interference factor is defined as the ratio of the 105 * All this "interference factor" is purely subjective and only time 108 * of the interference factor then is dependent on what the card itself 114 * The above channel interference factor is calculated with no respect to 123 * interference factor is computed by summing up interferences of each channel 126 * Note: This implies base channel interference factor must be non-negative 139 * ACS: * interference factor average: 0.0557166 146 * ACS: * interference factor averag 294 long double factor, busy, total; local 512 long double factor, ideal_factor = 0; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | acs.c | 41 * 2. interference factor is calculated for each channel 65 * Survey interference factor implementation details 69 * The survey interference factor is defined as the ratio of the 105 * All this "interference factor" is purely subjective and only time 108 * of the interference factor then is dependent on what the card itself 114 * The above channel interference factor is calculated with no respect to 123 * interference factor is computed by summing up interferences of each channel 126 * Note: This implies base channel interference factor must be non-negative 139 * ACS: * interference factor average: 0.0557166 146 * ACS: * interference factor averag 294 long double factor, busy, total; local 512 long double factor, ideal_factor = 0; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | acs.c | 41 * 2. interference factor is calculated for each channel 65 * Survey interference factor implementation details 69 * The survey interference factor is defined as the ratio of the 105 * All this "interference factor" is purely subjective and only time 108 * of the interference factor then is dependent on what the card itself 114 * The above channel interference factor is calculated with no respect to 123 * interference factor is computed by summing up interferences of each channel 126 * Note: This implies base channel interference factor must be non-negative 139 * ACS: * interference factor average: 0.0557166 146 * ACS: * interference factor averag 294 long double factor, busy, total; local 512 long double factor, ideal_factor = 0; local [all...] |
/external/aac/libAACdec/src/ |
H A D | rvlc.cpp | 425 SHORT factor = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain - SF_OFFSET; local 554 factor += dpcm; 555 pScfFwd[bnds] = factor; 556 pRvlc->lastScf = factor; 613 SHORT factor = pRvlc->rev_global_gain - SF_OFFSET; local 752 pScfBwd[bnds] = factor; 759 pScfBwd[bnds] = factor; 776 pScfBwd[bnds] = factor; 777 factor -= dpcm; 778 pRvlc->firstScf = factor; [all...] |
/external/chromium_org/ash/wm/ |
H A D | lock_state_controller_unittest.cc | 132 float factor) { 136 // base::TimeDelta::FromInternalValue(duration.ToInternalValue() * factor); 131 AdvancePartially(SessionStateAnimator::AnimationSpeed speed, float factor) argument
|
H A D | window_animations.cc | 87 float factor = local 91 Round64(kCrossFadeDurationMinMs + (factor * kRange)));
|
/external/chromium_org/content/browser/android/ |
H A D | edge_effect.cc | 69 T Damp(T input, T factor) { argument 71 if (factor == 1) { 74 result = 1 - std::pow(1 - input, 2 * factor); 330 const float factor = glow_scale_y_finish_ != 0 ? local 334 (edge_scale_y_finish_ - edge_scale_y_start_) * interp * factor;
|
/external/chromium_org/content/test/ |
H A D | layouttest_support.cc | 146 void SetDeviceScaleFactor(RenderView* render_view, float factor) { argument 148 SetDeviceScaleFactorForTesting(factor);
|
/external/chromium_org/pdf/ |
H A D | draw_utils.cc | 207 ShadowMatrix::ShadowMatrix(uint32 depth, double factor, uint32 background) argument 208 : depth_(depth), factor_(factor), background_(background) { 212 // pv - is a rounding power factor for smoothing corners. 219 double coef = 256.0 / pow(r, factor); 236 // If factor == 1, smoothing will be linear from 0 to the end, 237 // if 0 < factor < 1, smoothing will drop faster near 0. 238 // if factor > 1, smoothing will drop faster near the end (depth). 239 double f = 256.0 - coef * pow(v, factor);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderTextControlSingleLine.cpp | 302 int factor; local 303 bool includesDecoration = inputElement()->sizeShouldIncludeDecoration(factor); 304 if (factor <= 0) 305 factor = 20; 307 LayoutUnit result = LayoutUnit::fromFloatCeil(charWidth * factor);
|