Home
last modified time | relevance | path

Searched refs:server_hash (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/base/
Dsdch_manager_unittest.cc221 std::string server_hash; in TEST_F() local
222 sdch_manager()->GenerateHash(dictionary_text, &client_hash, &server_hash); in TEST_F()
223 sdch_manager()->GetVcdiffDictionary(server_hash, target_url, &dictionary); in TEST_F()
244 std::string server_hash; in TEST_F() local
245 sdch_manager()->GenerateHash(dictionary_text, &client_hash, &server_hash); in TEST_F()
246 sdch_manager()->GetVcdiffDictionary(server_hash, target_url, &dictionary); in TEST_F()
267 std::string server_hash; in TEST_F() local
268 sdch_manager()->GenerateHash(dictionary_text, &client_hash, &server_hash); in TEST_F()
269 sdch_manager()->GetVcdiffDictionary(server_hash, target_url, &dictionary); in TEST_F()
547 std::string server_hash; in TEST_F() local
[all …]
Dsdch_manager.cc430 const std::string& server_hash, in GetVcdiffDictionary() argument
435 DictionaryMap::iterator it = dictionaries_.find(server_hash); in GetVcdiffDictionary()
472 std::string* client_hash, std::string* server_hash) { in GenerateHash() argument
479 UrlSafeBase64Encode(second_48_bits, server_hash); in GenerateHash()
481 DCHECK_EQ(server_hash->length(), 8u); in GenerateHash()
511 std::string server_hash; in AddSdchDictionary() local
512 GenerateHash(dictionary_text, &client_hash, &server_hash); in AddSdchDictionary()
513 if (dictionaries_.find(server_hash) != dictionaries_.end()) { in AddSdchDictionary()
604 << " and server hash " << server_hash; in AddSdchDictionary()
609 dictionaries_[server_hash] = dictionary; in AddSdchDictionary()
Dsdch_manager.h325 void GetVcdiffDictionary(const std::string& server_hash,
338 std::string* client_hash, std::string* server_hash);
/external/chromium_org/crypto/
Dp224_spake.cc200 uint8 client_hash[kSHA256Length], server_hash[kSHA256Length]; in ProcessMessage() local
204 server_hash); in ProcessMessage()
206 const uint8* my_hash = is_server_ ? server_hash : client_hash; in ProcessMessage()
207 const uint8* their_hash = is_server_ ? client_hash : server_hash; in ProcessMessage()
/external/chromium_org/net/filter/
Dsdch_filter_unittest.cc84 std::string server_hash; in NewSdchCompressedData() local
85 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in NewSdchCompressedData()
88 std::string compressed(server_hash); in NewSdchCompressedData()
106 std::string client_hash, server_hash; in TEST_F() local
108 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in TEST_F()
111 EXPECT_EQ(server_hash, "MyciMVll"); in TEST_F()