HomeSort by relevance Sort by last modified time
    Searched refs:Gamma (Results 1 - 25 of 33) sorted by null

1 2

  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
polochallengeresponse.h 27 typedef std::vector<uint8_t> Alpha, Gamma, Nonce;
43 // Computes the gamma value based on the given nonce.
44 virtual Gamma* GetGamma(const Nonce& nonce) const;
46 // Extracts the nonce from the given gamma value.
47 virtual Nonce* ExtractNonce(const Gamma& gamma) const;
49 // Verifies that the given gamma value is correct.
50 virtual bool CheckGamma(const Gamma& gamma) const;
pairinglistener.h 39 // display a decoded secret based on the given gamma value.
40 virtual void OnPerformOutputDeviceRole(const Gamma& gamma) = 0;
polochallengeresponse.cc 96 Gamma* PoloChallengeResponse::GetGamma(const Nonce& nonce) const {
102 Gamma* gamma = new Gamma(nonce.size() * 2); local
105 memcpy(&(*gamma)[0], &(*alpha)[0], nonce.size());
106 memcpy(&(*gamma)[nonce.size()], &nonce[0], nonce.size());
110 return gamma;
113 Nonce* PoloChallengeResponse::ExtractNonce(const Gamma& gamma) const {
114 if ((gamma.size() < 2) || (gamma.size() % 2 != 0))
    [all...]
pairingsession.h 81 bool SetSecret(const Gamma& secret);
194 Gamma* secret_;
pairingsession.cc 90 bool PairingSession::SetSecret(const Gamma& secret) {
91 secret_ = new Gamma(secret);
162 const Gamma* gamma = challenge().GetGamma(*nonce_); local
163 if (!gamma) {
164 LOG(ERROR) << "Failed to get gamma";
170 listener_->OnPerformOutputDeviceRole(*gamma);
171 delete gamma;
  /external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
mocks.h 29 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));
polochallengeresponsetest.cc 112 const Gamma* gamma = response->GetGamma(nonce); local
113 ASSERT_TRUE(gamma);
116 util::PoloUtil::BytesToHexString(&(*gamma)[0], gamma->size()));
117 delete gamma;
121 const Gamma* gamma = response->GetGamma(nonce); local
122 ASSERT_TRUE(gamma);
124 util::PoloUtil::BytesToHexString(&(*gamma)[0], gamma->size()))
    [all...]
serverpairingsessiontest.cc 127 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(5, 0x5)));
128 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(5, 0x5)));
pairingsessiontest.cc 157 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(10, 0x5)));
158 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(10, 0x5)));
202 Gamma gamma(5, 0x1);
206 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true));
207 EXPECT_CALL(challenge_, ExtractNonce(gamma))
215 session_.SetSecret(gamma);
232 Gamma gamma(5, 0x1);
236 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true))
    [all...]
  /external/clang/test/Sema/
exprs.c 80 void test7(int *P, _Complex float Gamma) {
81 P = (P-42) + Gamma*4; // expected-error {{invalid operands to binary expression ('int *' and '_Complex float')}}
  /frameworks/base/libs/hwui/
GammaFontRenderer.h 185 enum Gamma {
192 FontRenderer* getRenderer(Gamma gamma);
GammaFontRenderer.cpp 62 // Get the gamma
65 INIT_LOGD(" Setting text gamma to %s", property);
68 INIT_LOGD(" Using default text gamma of %.2f", DEFAULT_TEXT_GAMMA);
71 // Get the black gamma threshold
74 INIT_LOGD(" Setting text black gamma threshold to %s", property);
77 INIT_LOGD(" Using default text black gamma threshold of %d",
81 // Get the white gamma threshold
84 INIT_LOGD(" Setting text white gamma threshold to %s", property);
87 INIT_LOGD(" Using default white black gamma threshold of %d",
100 INIT_LOGD("Creating shader gamma font renderer")
146 const float gamma = 1.0f \/ mGamma; local
    [all...]
  /external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
SkPdfCalgrayColorSpaceDictionary_autogen.cpp 35 double SkPdfCalgrayColorSpaceDictionary::Gamma(SkPdfNativeDoc* doc) {
36 SkPdfNativeObject* ret = get("Gamma", "");
44 return get("Gamma", "") != NULL;
SkPdfCalrgbColorSpaceDictionary_autogen.cpp 35 SkPdfArray* SkPdfCalrgbColorSpaceDictionary::Gamma(SkPdfNativeDoc* doc) {
36 SkPdfNativeObject* ret = get("Gamma", "");
44 return get("Gamma", "") != NULL;
SkPdfCalgrayColorSpaceDictionary_autogen.h     [all...]
SkPdfCalrgbColorSpaceDictionary_autogen.h     [all...]
  /external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
SkPdfCalgrayColorSpaceDictionary_autogen.cpp 35 double SkPdfCalgrayColorSpaceDictionary::Gamma(SkPdfNativeDoc* doc) {
36 SkPdfNativeObject* ret = get("Gamma", "");
44 return get("Gamma", "") != NULL;
SkPdfCalrgbColorSpaceDictionary_autogen.cpp 35 SkPdfArray* SkPdfCalrgbColorSpaceDictionary::Gamma(SkPdfNativeDoc* doc) {
36 SkPdfNativeObject* ret = get("Gamma", "");
44 return get("Gamma", "") != NULL;
  /external/clang/test/Misc/
diag-template-diffing.cpp 119 class Gamma{};
136 void set5(Alpha<Beta<Gamma<Delta<int, int>, int>, int>, int>);
138 set5(Alpha<Beta<Gamma<void, void>, double>, double>());
141 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'Alpha<Beta<Gamma<void, void>, double>, double>' to 'Alpha<Beta<Gamma<Delta<int, int>, int>, int>, int>' for 1st argument
143 // CHECK-NOELIDE-NOTREE: candidate function not viable: no known conversion from 'Alpha<Beta<Gamma<void, void>, double>, double>' to 'Alpha<Beta<Gamma<Delta<int, int>, int>, int>, int>' for 1st argument
148 // CHECK-ELIDE-TREE: Gamma<
157 // CHECK-NOELIDE-TREE: Gamma<
167 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'Alpha<Beta<Delta<int, int>, [...]>, [...]>' to 'Alpha<Beta<Gamma<Delta<int, int>, int>, [...]>, [...]>' for 1st argumen
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86vm/
XF86VMode.c 170 SDL_NAME(XF86VidModeSetGamma)(Display *dpy, int screen, SDL_NAME(XF86VidModeGamma) *Gamma)
182 req->red = (CARD32)(Gamma->red * 10000.);
183 req->green = (CARD32)(Gamma->green * 10000.);
184 req->blue = (CARD32)(Gamma->blue * 10000.);
191 SDL_NAME(XF86VidModeGetGamma)(Display *dpy, int screen, SDL_NAME(XF86VidModeGamma) *Gamma)
209 Gamma->red = ((float)rep.red) / 10000.;
210 Gamma->green = ((float)rep.green) / 10000.;
211 Gamma->blue = ((float)rep.blue) / 10000.;
    [all...]
  /external/pdfium/core/src/fxcodec/codec/
fx_codec_icc.cpp 199 FX_LPVOID CreateProfile_Gray(double gamma)
205 cmsToneCurve* curve = cmsBuildGamma(NULL, gamma);
401 text.Format("%lf", pIccParam->Gamma);
430 pCache->m_pProfile = CreateProfile_Gray(pIccParam->Gamma);
    [all...]
  /external/pdfium/core/include/fxcodec/
fx_codec.h 251 double Gamma;
  /external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
cmsgamma.c 319 // X = Y ^ Gamma
332 // Type 1 Reversed: X = Y ^1/gamma
346 // Y = (aX + b)^Gamma | X >= -b/a
378 // Y = (aX + b)^Gamma | X <= -b/a
419 // Y = (aX + b)^Gamma | X >= d
455 // Y = (aX + b)^Gamma + e | X >= d
495 // Y = (a * X + b) ^ Gamma + c
505 // ((Y - c) ^1/Gamma - b) / a
515 // Y = a * log (b * X^Gamma + c) + d
525 // (Y - d) / a = log(b * X ^Gamma + c
1265 cmsFloat64Number gamma, sum, sum2; local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
CharEscapers.java 267 .addEscape('\u0393', "&Gamma;")
291 .addEscape('\u03B3', "&gamma;")
    [all...]
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
CharEscapers.java 267 .addEscape('\u0393', "&Gamma;")
291 .addEscape('\u03B3', "&gamma;")
    [all...]

Completed in 782 milliseconds

1 2