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

  /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')}}
  /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/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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
xorg_driver.c 508 * If the driver can do gamma correction, it should call xf86SetGamma() here.
511 Gamma zeros = { 0.0, 0.0, 0.0 };
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xorg/
xorg_driver.c 508 * If the driver can do gamma correction, it should call xf86SetGamma() here.
511 Gamma zeros = { 0.0, 0.0, 0.0 };
    [all...]
  /external/fonttools/Lib/fontTools/
agl.py 165 0393;Gamma;GREEK CAPITAL LETTER GAMMA
457 03B3;gamma;GREEK SMALL LETTER GAMMA
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
pdfjs.js     [all...]

Completed in 2180 milliseconds