/external/fec/ |
D | decode_rs.c | 33 data_t lambda[NROOTS+1], s[NROOTS]; /* Err+Eras Locator poly local 73 memset(&lambda[1],0,NROOTS*sizeof(lambda[0])); 74 lambda[0] = 1; 78 lambda[1] = ALPHA_TO[MODNN(PRIM*(NN-1-eras_pos[0]))]; 82 tmp = INDEX_OF[lambda[j - 1]]; 84 lambda[j] ^= ALPHA_TO[MODNN(u + tmp)]; 94 reg[i] = INDEX_OF[lambda[i]]; 125 b[i] = INDEX_OF[lambda[i]]; 137 if ((lambda[i] != 0) && (s[r-i-1] != A0)) { 138 discr_r ^= ALPHA_TO[MODNN(INDEX_OF[lambda[i]] + s[r-i-1])]; [all …]
|
D | decode_rs.h | 75 data_t lambda[NROOTS+1], s[NROOTS]; /* Err+Eras Locator poly variable 109 memset(&lambda[1],0,NROOTS*sizeof(lambda[0])); 110 lambda[0] = 1; 114 lambda[1] = ALPHA_TO[MODNN(PRIM*(NN-1-eras_pos[0]))]; 118 tmp = INDEX_OF[lambda[j - 1]]; 120 lambda[j] ^= ALPHA_TO[MODNN(u + tmp)]; 130 reg[i] = INDEX_OF[lambda[i]]; 161 b[i] = INDEX_OF[lambda[i]]; 173 if ((lambda[i] != 0) && (s[r-i-1] != A0)) { 174 discr_r ^= ALPHA_TO[MODNN(INDEX_OF[lambda[i]] + s[r-i-1])]; [all …]
|
/external/libgsm/src/ |
D | long_term.c | 59 register int k, lambda; variable 97 for (lambda = 40; lambda <= 120; lambda++) { 98 L_result = (longword)wt_k * dp[best_k - lambda]; 100 Nc = lambda; 163 register int k, lambda; variable 203 for (lambda = 40; lambda <= 120; lambda++) { 206 # define STEP(k) (longword)wt[k] * dp[k - lambda] 233 Nc = lambda; 301 register int k, lambda; variable 355 for (lambda = 40; lambda <= 120; lambda += 9) { [all …]
|
/external/clang/test/Analysis/ |
D | lambdas-generalized-capture.cpp | 7 auto lambda = [x=v]() { in generalizedCapture() local 11 int result = lambda(); in generalizedCapture() 17 auto lambda = [x=v++]() { in sideEffectsInGeneralizedCapture() local 22 int r1 = lambda(); in sideEffectsInGeneralizedCapture() 23 int r2 = lambda(); in sideEffectsInGeneralizedCapture() 35 auto lambda = [x=addOne(v)]() { in inliningInGeneralizedCapture() local 39 int result = lambda(); in inliningInGeneralizedCapture() 44 auto lambda = [x=(p ? 1 : 2)]() { in caseSplitInGeneralizedCapture() local 48 int result = lambda(); in caseSplitInGeneralizedCapture()
|
D | lambdas.mm | 79 auto lambda = [y]{ return y; }; 80 int(^block)() = lambda; 89 auto lambda = [x]() mutable { 94 // The block should copy the lambda before capturing. 95 int(^block)() = lambda; 103 // Because block copied the lambda, r3 should be 1. 104 int r3 = lambda(); 107 // Aliasing the block shouldn't copy the lambda. 116 // Another copy of lambda 117 int(^blockSecondCopy)() = lambda; [all …]
|
/external/libopus/silk/float/ |
D | noise_shape_analysis_FLP.c | 41 silk_float lambda, in warped_gain() argument 47 lambda = -lambda; in warped_gain() 50 gain = lambda * gain + coefs[ i ]; in warped_gain() 52 return (silk_float)( 1.0f / ( 1.0f - lambda * gain ) ); in warped_gain() 60 silk_float lambda, in warped_true2monic_coefs() argument 69 coefs_syn[ i - 1 ] -= lambda * coefs_syn[ i ]; in warped_true2monic_coefs() 70 coefs_ana[ i - 1 ] -= lambda * coefs_ana[ i ]; in warped_true2monic_coefs() 72 gain_syn = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs_syn[ 0 ] ); in warped_true2monic_coefs() 73 gain_ana = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs_ana[ 0 ] ); in warped_true2monic_coefs() 97 coefs_syn[ i - 1 ] += lambda * coefs_syn[ i ]; in warped_true2monic_coefs() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 610 linear_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in linear_mipmap_level() argument 612 if (lambda < 0.0F) in linear_mipmap_level() 614 else if (lambda > tObj->_MaxLambda) in linear_mipmap_level() 617 return (GLint) (tObj->BaseLevel + lambda); in linear_mipmap_level() 625 nearest_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in nearest_mipmap_level() argument 629 if (lambda <= 0.5F) in nearest_mipmap_level() 631 else if (lambda > tObj->_MaxLambda + 0.4999F) in nearest_mipmap_level() 634 l = lambda; in nearest_mipmap_level() 662 GLuint n, const GLfloat lambda[], in compute_min_mag_ranges() argument 688 printf("lambda delta = %g\n", lambda[0] - lambda[n-1]); in compute_min_mag_ranges() [all …]
|
D | s_fragprog.c | 79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, in fetch_texel_lod() argument 89 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_lod() 93 &lambda, &rgba); in fetch_texel_lod() 126 GLfloat lambda; in fetch_texel_deriv() local 129 lambda = _swrast_compute_lambda(texdx[0], texdy[0], /* ds/dx, ds/dy */ in fetch_texel_deriv() 136 lambda += lodBias + texUnit->LodBias + samp->LodBias; in fetch_texel_deriv() 138 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_deriv() 142 &lambda, &rgba); in fetch_texel_deriv()
|
/external/libbrillo/brillo/ |
D | bind_lambda.h | 33 LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter() argument 45 LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter() argument 56 explicit RunnableAdapter(Lambda lambda) in RunnableAdapter() argument 57 : LambdaAdapter<Lambda, decltype(&Lambda::operator())>(lambda) {} in RunnableAdapter()
|
/external/libweave/src/ |
D | bind_lambda.h | 33 LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter() argument 45 LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter() argument 56 explicit RunnableAdapter(Lambda lambda) in RunnableAdapter() argument 57 : LambdaAdapter<Lambda, decltype(&Lambda::operator())>(lambda) {} in RunnableAdapter()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | RandomDataImpl.java | 382 final double lambda = FastMath.floor(mean); in nextPoisson() local 383 final double lambdaFractional = mean - lambda; in nextPoisson() 384 final double logLambda = FastMath.log(lambda); in nextPoisson() 385 final double logLambdaFactorial = MathUtils.factorialLog((int) lambda); in nextPoisson() 387 … final double delta = FastMath.sqrt(lambda * FastMath.log(32 * lambda / FastMath.PI + 1)); in nextPoisson() 389 final double twolpd = 2 * lambda + delta; in nextPoisson() 390 final double a1 = FastMath.sqrt(FastMath.PI * twolpd) * FastMath.exp(1 / 8 * lambda); in nextPoisson() 395 final double c1 = 1 / (8 * lambda); in nextPoisson() 408 x = n * FastMath.sqrt(lambda + halfDelta) - 0.5d; in nextPoisson() 409 if (x > delta || x < -lambda) { in nextPoisson() [all …]
|
/external/opencv3/modules/calib3d/src/ |
D | levmarq.cpp | 117 double lambda = 1, lc = 0.75; in run() local 132 Ap.at<double>(i, i) += lambda*D.at<double>(i); in run() 145 lambda *= 0.5; in run() 146 if( lambda < lc ) in run() 147 lambda = 0; in run() 155 if( lambda == 0 ) in run() 161 lambda = lc = 1./maxval; in run() 164 lambda *= nu; in run() 184 … (proceed ? ' ' : '*'), iter, nfJ, S, x.at<double>(0), d.at<double>(0), lambda, lc); in run()
|
/external/clang/test/PCH/ |
D | cxx11-lambdas.mm | 14 auto lambda = [&](int z) { return x + z; }; 15 return i + lambda(y); 20 auto lambda = [=](int N) -> int { 27 return lambda(n); 31 auto lambda = [=](int m) { return n + m; }; 32 int (^block)(int) = lambda; 52 // CHECK-PRINT: lambda = [&] (int z)
|
D | cxx1y-lambdas.mm | 14 auto lambda = [](auto z) { return z + z; }; 15 return i + lambda(y); 19 auto lambda = [](auto N) -> int { 28 return lambda(n); 32 auto lambda = [=](int m) { return n + m; }; 33 int (^block)(int) = lambda; 53 // CHECK-PRINT: lambda = [] (type-parameter-0-0 z
|
/external/clang/test/Parser/ |
D | objcxx0x-lambda-expressions.mm | 9 // fail to parse as a lambda introducer, so we get objc message parsing errors instead 12 []; // expected-error {{expected body of lambda expression}} 13 [=,foo+] {}; // expected-error {{expected ',' or ']' in lambda capture list}} 33 [get(bar), baz]; // expected-error {{expected body of lambda}} 36 [foo = bar + baz]; // expected-error {{expected body of lambda}} 37 … { bar, baz }]; // expected-error {{<initializer_list>}} expected-error {{expected body of lambda}} 39 …{ bar }, baz ]; // expected-error {{<initializer_list>}} expected-error {{expected body of lambda}}
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/ |
D | GLVTypeBParameters.java | 16 protected final BigInteger lambda; field in GLVTypeBParameters 21 …public GLVTypeBParameters(BigInteger beta, BigInteger lambda, BigInteger[] v1, BigInteger[] v2, Bi… in GLVTypeBParameters() argument 28 this.lambda = lambda; in GLVTypeBParameters() 45 return lambda; in getLambda()
|
/external/opencv3/modules/photo/src/ |
D | calibrate.cpp | 58 lambda(_lambda), in CalibrateDebevecImpl() 120 A.at<float>(eq, i) = lambda * w.at<float>(i + 1); in process() 121 A.at<float>(eq, i + 1) = -2 * lambda * w.at<float>(i + 1); in process() 122 A.at<float>(eq, i + 2) = lambda * w.at<float>(i + 1); in process() 136 float getLambda() const { return lambda; } in getLambda() 137 void setLambda(float val) { lambda = val; } in setLambda() 146 << "lambda" << lambda in write() 155 lambda = fn["lambda"]; in read() 163 float lambda; member in cv::CalibrateDebevecImpl 168 Ptr<CalibrateDebevec> createCalibrateDebevec(int samples, float lambda, bool random) in createCalibrateDebevec() argument [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | Tnaf.java | 82 public static BigInteger norm(final byte mu, ZTauElement lambda) in norm() argument 87 BigInteger s1 = lambda.u.multiply(lambda.u); in norm() 90 BigInteger s2 = lambda.u.multiply(lambda.v); in norm() 93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); in norm() 314 public static byte[] tauAdicNaf(byte mu, ZTauElement lambda) in tauAdicNaf() argument 321 BigInteger norm = norm(mu, lambda); in tauAdicNaf() 336 BigInteger r0 = lambda.u; in tauAdicNaf() 337 BigInteger r1 = lambda.v; in tauAdicNaf() 675 public static ECPoint.AbstractF2m multiplyTnaf(ECPoint.AbstractF2m p, ZTauElement lambda) in multiplyTnaf() argument 679 byte[] u = tauAdicNaf(mu, lambda); in multiplyTnaf() [all …]
|
/external/smali/baksmali/src/test/resources/LambdaTest/ |
D | HelloWorldLambda.smali | 40 # TODO: do I need to pass the type of the lambda's functional interface here as a type id? 41 …create-lambda v1, LHelloWorldLambda;->doHelloWorld(Ljava/lang/String;Ljava/lang/String;Ljava/lang/… 43 invoke-lambda v1, {v2, v3, v4, v5} 45 box-lambda v6, v1 51 unbox-lambda v7, v6, LHelloWorldFunctionalInterface; 52 invoke-lambda v7, {v2, v3, v4, v5}
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p3.cpp | 4 auto lambda = [i]() -> void {}; // expected-note 2{{candidate constructor}} in test_nonaggregate() local 5 decltype(lambda) foo = { 1 }; // expected-error{{no matching constructor}} in test_nonaggregate() 6 static_assert(!__is_literal(decltype(lambda)), ""); in test_nonaggregate()
|
/external/smali/examples/HelloWorldLambda/ |
D | HelloWorldLambda.smali | 30 # TODO: do I need to pass the type of the lambda's functional interface here as a type id? 31 …create-lambda v1, LHelloWorldLambda;->doHelloWorld(Ljava/lang/String;Ljava/lang/String;Ljava/lang/… 33 invoke-lambda v1, {v2, v3, v4, v5} 35 box-lambda v6, v1 # The type of v6 is now 'LHelloWorldFunctionalInterface;' 41 …unbox-lambda v7, v6, LHelloWorldFunctionalInterface; # The type of v7 is now \HelloWorldFunctiona… 42 invoke-lambda v7, {v2, v3, v4, v5}
|
D | HelloWorldFunctionalInterface.smali | 2 # Required in order to reify the lambda with create-lambda or unbox-lambda instructions
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | eval.pass.cpp | 65 double x_mean = 1/d.lambda(); in main() 66 double x_var = 1/sqr(d.lambda()); in main() 105 double x_mean = 1/d.lambda(); in main() 106 double x_var = 1/sqr(d.lambda()); in main() 145 double x_mean = 1/d.lambda(); in main() 146 double x_var = 1/sqr(d.lambda()); in main()
|
/external/opencv3/modules/java/src/ |
D | photo+CalibrateDebevec.java | 35 public void setLambda(float lambda) in setLambda() argument 38 setLambda_0(nativeObj, lambda); in setLambda() 111 private static native void setLambda_0(long nativeObj, float lambda); in setLambda_0() argument
|
/external/eigen/doc/snippets/ |
D | ComplexEigenSolver_compute.cpp | 9 complex<float> lambda = ces.eigenvalues()[0]; variable 10 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 12 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl;
|