Home
last modified time | relevance | path

Searched refs:Gamma (Results 1 – 25 of 66) sorted by relevance

123

/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpolochallengeresponse.h27 typedef std::vector<uint8_t> Alpha, Gamma, Nonce; typedef
44 virtual Gamma* GetGamma(const Nonce& nonce) const;
47 virtual Nonce* ExtractNonce(const Gamma& gamma) const;
50 virtual bool CheckGamma(const Gamma& gamma) const;
Dpolochallengeresponse.cc96 Gamma* PoloChallengeResponse::GetGamma(const Nonce& nonce) const { in GetGamma()
102 Gamma* gamma = new Gamma(nonce.size() * 2); in GetGamma()
113 Nonce* PoloChallengeResponse::ExtractNonce(const Gamma& gamma) const { in ExtractNonce()
124 bool PoloChallengeResponse::CheckGamma(const Gamma& gamma) const { in CheckGamma()
131 const Gamma* expected = GetGamma(*nonce); in CheckGamma()
Dpairingsession.h81 bool SetSecret(const Gamma& secret);
194 Gamma* secret_;
Dpairingsession.cc90 bool PairingSession::SetSecret(const Gamma& secret) { in SetSecret()
91 secret_ = new Gamma(secret); in SetSecret()
162 const Gamma* gamma = challenge().GetGamma(*nonce_); in DoOutputPairing()
Dpairinglistener.h40 virtual void OnPerformOutputDeviceRole(const Gamma& gamma) = 0;
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
Dmocks.h29 MOCK_CONST_METHOD1(GetGamma, Gamma*(const Nonce& nonce));
30 MOCK_CONST_METHOD1(ExtractNonce, Nonce*(const Gamma& gamma));
31 MOCK_CONST_METHOD1(CheckGamma, bool(const Gamma& gammma));
39 MOCK_METHOD1(OnPerformOutputDeviceRole, void(const Gamma& gamma));
Dpolochallengeresponsetest.cc112 const Gamma* gamma = response->GetGamma(nonce); in TEST_F()
121 const Gamma* gamma = response->GetGamma(nonce); in TEST_F()
137 Gamma gamma(8); in TEST_F()
Dpairingsessiontest.cc157 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(10, 0x5))); in TEST_F()
158 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(10, 0x5))); in TEST_F()
202 Gamma gamma(5, 0x1); in TEST_F()
232 Gamma gamma(5, 0x1); in TEST_F()
Dserverpairingsessiontest.cc127 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(5, 0x5))); in TEST_F()
128 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(5, 0x5))); in TEST_F()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DBetaDistributionImpl.java22 import org.apache.commons.math.special.Gamma;
121 z = Gamma.logGamma(alpha) + Gamma.logGamma(beta) - Gamma.logGamma(alpha + beta); in recomputeZ()
DTDistributionImpl.java25 import org.apache.commons.math.special.Gamma;
118 …return FastMath.exp(Gamma.logGamma(nPlus1Over2) - 0.5 * (FastMath.log(FastMath.PI) + FastMath.log(… in density()
119 Gamma.logGamma(n/2) - nPlus1Over2 * FastMath.log(1 + x * x /n)); in density()
DGammaDistributionImpl.java24 import org.apache.commons.math.special.Gamma;
100 ret = Gamma.regularizedGammaP(alpha, x / beta); in cumulativeProbability()
206 …th.pow(x / beta, alpha - 1) / beta * FastMath.exp(-x / beta) / FastMath.exp(Gamma.logGamma(alpha)); in density()
DWeibullDistributionImpl.java24 import org.apache.commons.math.special.Gamma;
316 return sc * FastMath.exp(Gamma.logGamma(1 + (1 / sh))); in calculateNumericalMean()
335 FastMath.exp(Gamma.logGamma(1 + (2 / sh))) - in calculateNumericalVariance()
DSaddlePointExpansion.java19 import org.apache.commons.math.special.Gamma;
114 ret = Gamma.logGamma(z + 1.0) - (z + 0.5) * FastMath.log(z) + in getStirlingError()
DPoissonDistributionImpl.java24 import org.apache.commons.math.special.Gamma;
219 return Gamma.regularizedGammaQ((double) x + 1, mean, epsilon, maxIterations); in cumulativeProbability()
/external/apache-commons-math/src/main/java/org/apache/commons/math/special/
DBeta.java196 ret = Gamma.logGamma(a) + Gamma.logGamma(b) - in logBeta()
197 Gamma.logGamma(a + b); in logBeta()
DErf.java58 double ret = Gamma.regularizedGammaP(0.5, x * x, 1.0e-15, 10000); in erf()
88 final double ret = Gamma.regularizedGammaQ(0.5, x * x, 1.0e-15, 10000); in erfc()
DGamma.java30 public class Gamma { class
74 private Gamma() { in Gamma() method in Gamma
/external/clang/test/Sema/
Dexprs.c80 void test7(int *P, _Complex float Gamma) { in test7() argument
81 …P = (P-42) + Gamma*4; // expected-error {{invalid operands to binary expression ('int *' and '_Co… in test7()
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Hdr/
DToneMap.j3md9 Float Gamma
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DPosterization.j3md7 Float Gamma;
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
DSkPdfCalgrayColorSpaceDictionary_autogen.cpp35 double SkPdfCalgrayColorSpaceDictionary::Gamma(SkPdfNativeDoc* doc) { in Gamma() function in SkPdfCalgrayColorSpaceDictionary
DSkPdfCalrgbColorSpaceDictionary_autogen.cpp35 SkPdfArray* SkPdfCalrgbColorSpaceDictionary::Gamma(SkPdfNativeDoc* doc) { in Gamma() function in SkPdfCalrgbColorSpaceDictionary
/external/clang/test/Misc/
Ddiag-template-diffing.cpp119 class Gamma{}; class
136 void set5(Alpha<Beta<Gamma<Delta<int, int>, int>, int>, int>);
138 set5(Alpha<Beta<Gamma<void, void>, double>, double>()); in test5()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsgamma.c626 int EntriesByGamma(cmsFloat64Number Gamma) in EntriesByGamma() argument
628 if (fabs(Gamma - 1.0) < 0.001) return 2; in EntriesByGamma()
742 cmsToneCurve* CMSEXPORT cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma) in cmsBuildGamma() argument
744 return cmsBuildParametricToneCurve(ContextID, 1, &Gamma); in cmsBuildGamma()

123