Home
last modified time | relevance | path

Searched refs:NaClValidationQuery (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/components/nacl/loader/
Dnacl_validation_query.cc27 NaClValidationQuery* NaClValidationQueryContext::CreateQuery() { in CreateQuery()
28 NaClValidationQuery* query = new NaClValidationQuery(db_, profile_key_); in CreateQuery()
41 NaClValidationQuery::NaClValidationQuery(NaClValidationDB* db, in NaClValidationQuery() function in NaClValidationQuery
60 void NaClValidationQuery::AddData(const char* data, size_t length) { in AddData()
78 void NaClValidationQuery::AddData(const unsigned char* data, size_t length) { in AddData()
82 void NaClValidationQuery::AddData(const base::StringPiece& data) { in AddData()
86 int NaClValidationQuery::QueryKnownToValidate() { in QueryKnownToValidate()
97 void NaClValidationQuery::SetKnownToValidate() { in SetKnownToValidate()
106 void NaClValidationQuery::CompressBuffer() { in CompressBuffer()
124 static_cast<NaClValidationQuery*>(query)->AddData(data, length); in AddData()
[all …]
Dnacl_validation_query.h17 class NaClValidationQuery; variable
25 NaClValidationQuery* CreateQuery();
42 class NaClValidationQuery {
47 NaClValidationQuery(NaClValidationDB* db, const std::string& profile_key);
86 DISALLOW_COPY_AND_ASSIGN(NaClValidationQuery);
Dnacl_validation_query_unittest.cc45 EXPECT_EQ((int) NaClValidationQuery::kDigestLength, in QueryKnownToValidate()
51 NaClValidationQuery::kDigestLength); in QueryKnownToValidate()
58 ASSERT_EQ((int) NaClValidationQuery::kDigestLength, in SetKnownToValidate()
64 NaClValidationQuery::kDigestLength); in SetKnownToValidate()
67 NaClValidationQuery::kDigestLength)); in SetKnownToValidate()
81 uint8 query_signature_[NaClValidationQuery::kDigestLength];
82 uint8 set_signature_[NaClValidationQuery::kDigestLength];
95 scoped_ptr<NaClValidationQuery> query;
113 NaClValidationQuery::kDigestLength)); in AssertQuerySame()
121 NaClValidationQuery::kDigestLength)); in AssertQueryDifferent()