/external/eigen/blas/f2c/ |
H A D | dspmv.c | 15 /* Subroutine */ int dspmv_(char *uplo, integer *n, doublereal *alpha, argument 38 /* y := alpha*A*x + beta*y, */ 40 /* where alpha and beta are scalars, x and y are n element vectors and */ 65 /* On entry, ALPHA specifies the scalar alpha. */ 157 if (*n == 0 || (*alpha == 0. && *beta == 1.)) { 213 if (*alpha == 0.) { 224 temp1 = *alpha * x[j]; 234 y[j] = y[j] + temp1 * ap[kk + j - 1] + *alpha * temp2; 243 temp1 = *alpha * x[jx]; 255 y[jy] = y[jy] + temp1 * ap[kk + j - 1] + *alpha * temp [all...] |
H A D | sspmv.c | 15 /* Subroutine */ int sspmv_(char *uplo, integer *n, real *alpha, real *ap, argument 38 /* y := alpha*A*x + beta*y, */ 40 /* where alpha and beta are scalars, x and y are n element vectors and */ 65 /* On entry, ALPHA specifies the scalar alpha. */ 157 if (*n == 0 || (*alpha == 0.f && *beta == 1.f)) { 213 if (*alpha == 0.f) { 224 temp1 = *alpha * x[j]; 234 y[j] = y[j] + temp1 * ap[kk + j - 1] + *alpha * temp2; 243 temp1 = *alpha * x[jx]; 255 y[jy] = y[jy] + temp1 * ap[kk + j - 1] + *alpha * temp [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
H A D | dogleg.h | 20 Scalar sum, temp, alpha, bnorm; local 66 alpha = delta / qnorm; 86 alpha = 0.; 96 alpha = delta / qnorm * (1. - numext::abs2(sgnorm / delta)) / temp; 101 temp = (1.-alpha) * (std::min)(sgnorm,delta); 102 x = temp * wa1 + alpha * x;
|
/external/fio/lib/ |
H A D | zipf.c | 55 double alpha, eta, rand_uni, rand_z; local 59 alpha = 1.0 / (1.0 - zs->theta); 70 val = 1 + (unsigned long long)(n * pow(eta*rand_uni - eta + 1.0, alpha));
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
H A D | polochallengeresponse.cc | 83 Alpha* alpha = new Alpha(SHA256_DIGEST_LENGTH); local 84 SHA256(buffer, buffer_size, &(*alpha)[0]); 93 return alpha; 97 const Alpha* alpha = GetAlpha(nonce); local 98 if (!alpha) { 104 if (alpha->size() >= nonce.size()) { 105 memcpy(&(*gamma)[0], &(*alpha)[0], nonce.size()); 108 delete alpha;
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
H A D | TGALoader.java | 187 entry.alpha = (byte)255; 189 entry.alpha = (byte)(int)(getBitsAsByte(cMapData, offset+(3*bitsPerColor), alphaSize) * alphaScalar); 214 byte alpha = 0; 231 // create an alpha channel 232 alpha = getBitsAsByte(data, 0, 1); 233 if (alpha == 1) alpha = (byte)255; 234 rawData[rawDataIndex++] = alpha; 268 alpha = dis.readByte(); 272 rawData[rawDataIndex++] = alpha; 510 byte red, green, blue, alpha; field in class:TGALoader.ColorMapEntry [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_pair_translate.c | 133 unsigned int * alpha) 141 *alpha = 1; 193 unsigned int alpha = 0; local 194 src_uses(inst->SrcReg[j], &rgb, &alpha); 202 if(alpha) { 220 /* We don't care about the alpha channel here. We only 265 "alpha instruction.\n"); 132 src_uses(struct rc_src_register src, unsigned int * rgb, unsigned int * alpha) argument
|
H A D | radeon_program_pair.c | 39 unsigned int rgb, unsigned int alpha, 48 if ((!rgb && !alpha) || file == RC_FILE_NONE) 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 76 if (alpha) { 95 || (alpha && alpha_used > 2)) { 114 if (alpha) { 38 rc_pair_alloc_source(struct rc_pair_instruction *pair, unsigned int rgb, unsigned int alpha, rc_register_file file, unsigned int index) argument
|
/external/pdfium/core/src/fxge/skia/ |
H A D | fx_skia_blitter_new.cpp | 39 void CFX_SkiaRenderer::blitV(int x, int y, int height, SkAlpha alpha) argument 41 FXSYS_assert(m_Alpha && alpha); 42 if (alpha == 255) { 51 this->blitAntiH(x, y ++, &alpha, runs); 325 // calculate destination alpha (it's union of source and dest alpha) 382 // We should do alpha transition and color transition 383 // alpha fg color fg 384 // alpha bg color bg 385 // alpha cove [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | TabSpecTest.java | 105 public void setAlpha(int alpha) { argument
|
/external/skia/bench/ |
H A D | BitmapRectBench.cpp | 52 BitmapRectBench(U8CPU alpha, SkFilterQuality filterQuality, argument 54 fAlpha = SkToU8(alpha);
|
H A D | nanobench.h | 28 SkAlphaType alpha; member in struct:Config
|
/external/skia/gm/ |
H A D | vertices.cpp | 33 VerticesGM(unsigned alpha) : fShader(NULL), fAlpha(alpha) { argument
|
/external/skia/src/codec/ |
H A D | SkMasks.cpp | 135 masks.alpha &= (1 << bitsPerPixel) - 1; 140 (masks.red & masks.alpha) | (masks.green & masks.blue) | 141 (masks.green & masks.alpha) | (masks.blue & masks.alpha)) != 0) { 149 const MaskInfo alpha = process_mask(masks.alpha, bitsPerPixel); local 151 return SkNEW_ARGS(SkMasks, (red, green, blue, alpha)); 156 const MaskInfo blue, const MaskInfo alpha) 160 , fAlpha(alpha) 155 SkMasks(const MaskInfo red, const MaskInfo green, const MaskInfo blue, const MaskInfo alpha) argument
|
/external/skia/src/core/ |
H A D | Sk4px.h | 23 // Mask away color or alpha lanes. 144 Sk4px alpha = Load4Alphas(a); local 145 fn(Load4(dst), Load4(src), alpha).store4(dst); 149 Sk4px alpha = Load2Alphas(a); local 150 fn(Load2(dst), Load2(src), alpha).store2(dst); 154 Sk4px alpha(*a); 155 fn(Load1(dst), Load1(src), alpha).store1(dst);
|
H A D | SkAntiRun.h | 15 /** Sparse array of run-length-encoded alpha (supersampling coverage) values. 26 /// of alpha value 0. 56 uint8_t* alpha = fAlpha + offsetX; local 57 uint8_t* lastAlpha = alpha; 61 SkAlphaRuns::Break(runs, alpha, x, 1); 62 /* I should be able to just add alpha[x] + startAlpha. 67 unsigned tmp = alpha[x] + startAlpha; 69 alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to catch 256 72 alpha += x + 1; 79 SkAlphaRuns::Break(runs, alpha, 117 Break(int16_t runs[], uint8_t alpha[], int x, int count) argument 170 BreakAt(int16_t runs[], uint8_t alpha[], int x) argument [all...] |
H A D | SkBlitter_Sprite.cpp | 38 void SkSpriteBlitter::blitV(int x, int y, int height, SkAlpha alpha) { argument
|
/external/skia/src/effects/ |
H A D | SkTransparentShader.cpp | 74 unsigned alpha = this->getPaintAlpha(); local 81 span[i] = SkPackARGB32( alpha,
|
/external/webp/src/dsp/ |
H A D | alpha_processing_sse2.c | 23 uint8_t* alpha, int alpha_stride) { 24 // alpha_and stores an 'and' operation of all the alpha[] values. The final 25 // value is not 0xff if any of the alpha[] is not equal to 0xff. 28 const __m128i a_mask = _mm_set1_epi32(0xffu); // to preserve alpha 33 // 'src[4 * width - 4]', because we don't know if alpha is the first or the 48 _mm_storel_epi64((__m128i*)&alpha[i], d0); 49 // accumulate eight alpha 'and' in parallel 55 alpha[i] = alpha_value; 59 alpha += alpha_stride; 61 // Combine the eight alpha 'an 21 ExtractAlpha(const uint8_t* argb, int argb_stride, int width, int height, uint8_t* alpha, int alpha_stride) argument [all...] |
/external/webrtc/src/common_audio/vad/ |
H A D | vad_sp.c | 67 int16_t alpha = 0; local 170 alpha = (int16_t) ALPHA1; // 0.2 in Q15. 172 alpha = (int16_t) ALPHA2; // 0.99 in Q15. 175 tmp32 = WEBRTC_SPL_MUL_16_16(alpha + 1, self->mean_value[channel]); 176 tmp32 += WEBRTC_SPL_MUL_16_16(WEBRTC_SPL_WORD16_MAX - alpha, current_median);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
H A D | BetaDistributionImpl.java | 51 private double alpha; field in class:BetaDistributionImpl 57 * updated whenever alpha or beta are changed. 66 * @param alpha first shape parameter (must be positive) 72 public BetaDistributionImpl(double alpha, double beta, double inverseCumAccuracy) { argument 73 this.alpha = alpha; 81 * @param alpha first shape parameter (must be positive) 84 public BetaDistributionImpl(double alpha, double beta) { argument 85 this(alpha, beta, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); 92 public void setAlpha(double alpha) { argument [all...] |
H A D | GammaDistributionImpl.java | 45 private double alpha; field in class:GammaDistributionImpl 54 * Create a new gamma distribution with the given alpha and beta values. 55 * @param alpha the shape parameter. 58 public GammaDistributionImpl(double alpha, double beta) { argument 59 this(alpha, beta, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); 63 * Create a new gamma distribution with the given alpha and beta values. 64 * @param alpha the shape parameter. 70 public GammaDistributionImpl(double alpha, double beta, double inverseCumAccuracy) { argument 72 setAlphaInternal(alpha); 100 ret = Gamma.regularizedGammaP(alpha, 138 setAlpha(double alpha) argument [all...] |
H A D | WeibullDistributionImpl.java | 70 * @param alpha the shape parameter. 73 public WeibullDistributionImpl(double alpha, double beta){ argument 74 this(alpha, beta, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); 80 * @param alpha the shape parameter. 86 public WeibullDistributionImpl(double alpha, double beta, double inverseCumAccuracy){ argument 88 setShapeInternal(alpha); 180 * @param alpha the new shape parameter value. 184 public void setShape(double alpha) { argument 185 setShapeInternal(alpha); 190 * @param alpha th 192 setShapeInternal(double alpha) argument [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
H A D | TTestImpl.java | 140 * <code>alpha</code>. 143 * confidence <code>1 - alpha</code>. To perform a 1-sided test, use 144 * <code>alpha * 2</code></p> 156 * <li> <code> 0 < alpha < 0.5 </code> 161 * @param alpha significance level of the test 163 * confidence 1 - alpha 167 public boolean pairedTTest(double[] sample1, double[] sample2, double alpha) argument 169 checkSignificanceLevel(alpha); 170 return pairedTTest(sample1, sample2) < alpha; 422 * rejected with confidence <code>1 - alpha</cod 451 tTest(double mu, double[] sample, double alpha) argument 528 tTest( double mu, StatisticalSummary sampleStats, double alpha) argument 675 tTest(double[] sample1, double[] sample2, double alpha) argument 733 homoscedasticTTest(double[] sample1, double[] sample2, double alpha) argument 880 tTest(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2, double alpha) argument 1034 checkSignificanceLevel(final double alpha) argument [all...] |
/external/cblas/src/ |
H A D | cblas_cgbmv.c | 15 const void *alpha, const void *A, const int lda, 38 const float *xx= (float *)X, *alp= (float *)alpha, *bet = (float *)beta; 62 F77_cgbmv(F77_TA, &F77_M, &F77_N, &F77_KL, &F77_KU, alpha, 146 F77_cgbmv(F77_TA, &F77_N, &F77_M, &F77_KU, &F77_KL, alpha, 12 cblas_cgbmv(const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE TransA, const int M, const int N, const int KL, const int KU, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *Y, const int incY) argument
|