• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/

Lines Matching refs:string

16 typedef std::map<std::string, std::string> TestData;
52 const std::string & GetRequiredDatum(const TestData &data, const char *name)
62 std::string s1 = GetRequiredDatum(data, name), s2;
104 std::string GetDecodedDatum(const TestData &data, const char *name)
106 std::string s;
111 std::string GetOptionalDecodedDatum(const TestData &data, const char *name)
113 std::string s;
129 if (std::string(name) == Name::DigestSize() && valueType == typeid(int))
146 const std::string &value = i->second;
151 *reinterpret_cast<Integer *>(pValue) = Integer((std::string(value) + "h").c_str());
159 throw ValueTypeMismatch(name, typeid(std::string), valueType);
166 mutable std::string m_temp;
187 std::string name = GetRequiredDatum(v, "Name");
188 std::string test = GetRequiredDatum(v, "Test");
194 std::string keyFormat = GetRequiredDatum(v, "KeyFormat");
260 std::string name = GetRequiredDatum(v, "Name");
261 std::string test = GetRequiredDatum(v, "Test");
266 std::string keyFormat = GetRequiredDatum(v, "KeyFormat");
282 std::string decrypted, expected = GetDecodedDatum(v, "Plaintext");
300 std::string name = GetRequiredDatum(v, "Name");
301 std::string test = GetRequiredDatum(v, "Test");
303 std::string key = GetDecodedDatum(v, "Key");
304 std::string plaintext = GetDecodedDatum(v, "Plaintext");
312 static std::string lastName;
342 std::string encrypted, xorDigest, ciphertext, ciphertextXorDigest;
347 std::string z;
372 std::string decrypted;
394 std::string type = GetRequiredDatum(v, "AlgorithmType");
395 std::string name = GetRequiredDatum(v, "Name");
396 std::string test = GetRequiredDatum(v, "Test");
397 std::string key = GetDecodedDatum(v, "Key");
399 std::string plaintext = GetOptionalDecodedDatum(v, "Plaintext");
400 std::string ciphertext = GetOptionalDecodedDatum(v, "Ciphertext");
401 std::string header = GetOptionalDecodedDatum(v, "Header");
402 std::string footer = GetOptionalDecodedDatum(v, "Footer");
403 std::string mac = GetOptionalDecodedDatum(v, "MAC");
416 std::string encrypted, decrypted;
483 std::string name = GetRequiredDatum(v, "Name");
484 std::string test = GetRequiredDatum(v, "Test");
502 std::string key = GetDecodedDatum(v, "Key");
525 bool GetField(std::istream &is, std::string &name, std::string &value)
572 std::string::size_type i = value.find('#');
573 if (i != std::string::npos)
593 std::string names = v.GetValueNames();
594 string::size_type i = 0;
597 string::size_type j = names.find_first_of (';', i);
599 if (j == string::npos)
603 std::string name = names.substr(i, j-i);
604 if (name.find(':') == string::npos)
612 void TestDataFile(const std::string &filename, const NameValuePairs &overrideParameters, unsigned int &totalTests, unsigned int &failedTests)
619 std::string name, value, lastAlgName;
636 std::string algType = GetRequiredDatum(v, "AlgorithmType");