HomeSort by relevance Sort by last modified time
    Searched full:stringpiece (Results 51 - 75 of 1002) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/net/quic/crypto/
channel_id.h 25 base::StringPiece signed_data,
48 static bool Verify(base::StringPiece key,
49 base::StringPiece signed_data,
50 base::StringPiece signature);
56 static bool VerifyRaw(base::StringPiece key,
57 base::StringPiece signed_data,
58 base::StringPiece signature,
aes_128_gcm_12_decrypter_openssl.cc 11 using base::StringPiece;
25 bool Aes128Gcm12Decrypter::SetKey(StringPiece key) {
47 bool Aes128Gcm12Decrypter::SetNoncePrefix(StringPiece nonce_prefix) {
57 bool Aes128Gcm12Decrypter::Decrypt(StringPiece nonce,
58 StringPiece associated_data,
59 StringPiece ciphertext,
117 StringPiece associated_data,
118 StringPiece ciphertext) {
129 if (!Decrypt(StringPiece(reinterpret_cast<char*>(nonce), sizeof(nonce)),
138 StringPiece Aes128Gcm12Decrypter::GetKey() const
    [all...]
aes_128_gcm_12_encrypter_openssl.cc 13 using base::StringPiece;
41 bool Aes128Gcm12Encrypter::SetKey(StringPiece key) {
65 bool Aes128Gcm12Encrypter::SetNoncePrefix(StringPiece nonce_prefix) {
75 bool Aes128Gcm12Encrypter::Encrypt(StringPiece nonce,
76 StringPiece associated_data,
77 StringPiece plaintext,
133 StringPiece associated_data,
134 StringPiece plaintext) {
144 if (!Encrypt(StringPiece(reinterpret_cast<char*>(nonce), sizeof(nonce)),
169 StringPiece Aes128Gcm12Encrypter::GetKey() const
    [all...]
crypto_secret_boxer.h 27 void SetKey(base::StringPiece key);
32 std::string Box(QuicRandom* rand, base::StringPiece plaintext) const;
39 bool Unbox(base::StringPiece ciphertext,
41 base::StringPiece* out) const;
crypto_secret_boxer_test.cc 11 using base::StringPiece;
18 StringPiece message("hello world");
24 boxer.SetKey(StringPiece(reinterpret_cast<char*>(key.get()), key_size));
29 StringPiece result;
channel_id_nss.cc 11 using base::StringPiece;
16 bool ChannelIDVerifier::Verify(StringPiece key,
17 StringPiece signed_data,
18 StringPiece signature) {
23 bool ChannelIDVerifier::VerifyRaw(StringPiece key,
24 StringPiece signed_data,
25 StringPiece signature,
channel_id_openssl.cc 15 using base::StringPiece;
20 bool ChannelIDVerifier::Verify(StringPiece key,
21 StringPiece signed_data,
22 StringPiece signature) {
27 bool ChannelIDVerifier::VerifyRaw(StringPiece key,
28 StringPiece signed_data,
29 StringPiece signature,
  /external/chromium_org/base/strings/
string_piece.h 4 // Copied from strings/stringpiece.h with modifications
8 // Functions or methods may use const StringPiece& parameters to accept either
10 // a StringPiece. The implicit conversion means that it is often appropriate
12 // StringPiece as would be appropriate for most other Google classes.
14 // Systematic usage of StringPiece is encouraged as it will reduce unnecessary
17 // StringPiece16 is similar to StringPiece but for base::string16 instead of
19 // from basic_string as in StringPiece, but this can be changed if these
39 typedef BasicStringPiece<std::string> StringPiece;
45 // StringPiece and StringPiece16. Do not refer to this class directly, but
46 // rather to BasicStringPiece, StringPiece, or StringPiece16
    [all...]
  /external/chromium_org/net/dns/
dns_hosts.cc 13 using base::StringPiece;
18 // a time. Doesn't copy anything; accepts the file as a StringPiece and
22 explicit HostsParser(const StringPiece& text)
57 token_ = StringPiece(data_ + token_start, token_end - token_start);
65 text_ = StringPiece();
80 // Returns the text of the last-parsed token as a StringPiece referencing
81 // the same underlying memory as the StringPiece passed to the constructor.
82 // Returns an empty StringPiece if no token has been parsed or the end of
84 const StringPiece& token() { return token_; }
95 StringPiece text_
    [all...]
  /external/chromium_org/mojo/common/
common_type_converters_unittest.cc 14 const base::StringPiece& str) {
30 TEST_F(CommonTypeConvertersTest, StringPiece) {
35 base::StringPiece string_piece(kText);
39 ExpectEqualsStringPiece(kText, mojo_string.To<base::StringPiece>());
46 base::StringPiece empty_string_piece = String();
  /external/chromium_org/content/child/
site_isolation_policy_unittest.cc 13 using base::StringPiece;
73 StringPiece html_data(" \t\r\n <HtMladfokadfkado");
74 StringPiece comment_html_data(" <!-- this is comment --> <html><body>");
75 StringPiece two_comments_html_data(
77 StringPiece mixed_comments_html_data(
79 StringPiece non_html_data(" var name=window.location;\nadfadf");
80 StringPiece comment_js_data(" <!-- this is comment -> document.write(1); ");
81 StringPiece empty_data("");
95 StringPiece xml_data(" \t \r \n <?xml version=\"1.0\"?>\n <catalog");
96 StringPiece non_xml_data(" var name=window.location;\nadfadf")
    [all...]
  /external/chromium/chrome/browser/ui/webui/chromeos/login/
mock_login_ui_helpers.h 45 MOCK_METHOD0(GetLoginHTML, base::StringPiece());
46 MOCK_METHOD0(GetLoginContainerHTML, base::StringPiece());
48 std::string(base::StringPiece login_html,
  /external/chromium_org/base/debug/
crash_logging.h 28 BASE_EXPORT void SetCrashKeyValue(const base::StringPiece& key,
29 const base::StringPiece& value);
30 BASE_EXPORT void ClearCrashKey(const base::StringPiece& key);
33 BASE_EXPORT void SetCrashKeyToStackTrace(const base::StringPiece& key,
39 BASE_EXPORT void SetCrashKeyFromAddresses(const base::StringPiece& key,
47 ScopedCrashKey(const base::StringPiece& key, const base::StringPiece& value);
77 BASE_EXPORT const CrashKey* LookupCrashKey(const base::StringPiece& key);
81 typedef void (*SetCrashKeyValueFuncT)(const base::StringPiece&,
82 const base::StringPiece&)
    [all...]
  /external/chromium_org/content/browser/indexed_db/leveldb/
leveldb_write_batch.h 24 void Put(const base::StringPiece& key, const base::StringPiece& value);
25 void Remove(const base::StringPiece& key); // Add remove operation to the
leveldb_write_batch.cc 22 static leveldb::Slice MakeSlice(const base::StringPiece& s) {
26 void LevelDBWriteBatch::Put(const base::StringPiece& key,
27 const base::StringPiece& value) {
31 void LevelDBWriteBatch::Remove(const base::StringPiece& key) {
  /external/chromium/net/base/
asn1_util.h 33 bool ParseElement(base::StringPiece* in,
35 base::StringPiece* out,
40 bool GetElement(base::StringPiece* in,
42 base::StringPiece* out);
48 bool ExtractSPKIFromDERCert(base::StringPiece cert,
49 base::StringPiece* spki_out);
  /external/chromium_org/chrome/test/logging/win/
log_file_printer.cc 60 void WriteLocationToStream(const base::StringPiece& file,
63 base::StringPiece filename(file);
65 if (last_slash_pos != base::StringPiece::npos)
104 const base::StringPiece& message) OVERRIDE;
111 const base::StringPiece& file,
112 const base::StringPiece& message) OVERRIDE;
115 const base::StringPiece& name,
118 const base::StringPiece& extra,
125 const base::StringPiece& level,
126 const base::StringPiece& context)
    [all...]
  /external/chromium/net/tools/flip_server/
split.h 16 void SplitStringPieceToVector(const base::StringPiece& full,
18 std::vector<base::StringPiece>* vec,
  /external/chromium_org/base/
base64.h 16 BASE_EXPORT void Base64Encode(const StringPiece& input, std::string* output);
20 BASE_EXPORT bool Base64Decode(const StringPiece& input, std::string* output);
  /external/chromium_org/net/tools/balsa/
split.h 15 void SplitStringPieceToVector(const base::StringPiece& full,
17 std::vector<base::StringPiece>* vec,
  /external/chromium_org/crypto/
hkdf.cc 14 HKDF::HKDF(const base::StringPiece& secret,
15 const base::StringPiece& salt,
16 const base::StringPiece& info,
20 base::StringPiece actual_salt = salt;
50 base::StringPiece previous;
66 result = hmac.Sign(base::StringPiece(buf.get(), j), digest, sizeof(digest));
70 previous = base::StringPiece(reinterpret_cast<char*>(digest),
79 client_write_key_ = base::StringPiece(reinterpret_cast<char*>(&output_[j]),
82 server_write_key_ = base::StringPiece(reinterpret_cast<char*>(&output_[j]),
88 client_write_iv_ = base::StringPiece(reinterpret_cast<char*>(&output_[j])
    [all...]
hmac.cc 36 bool HMAC::Verify(const base::StringPiece& data,
37 const base::StringPiece& digest) const {
43 bool HMAC::VerifyTruncated(const base::StringPiece& data,
44 const base::StringPiece& digest) const {
openpgp_symmetric_encryption.h 34 static Result Decrypt(base::StringPiece encrypted,
35 base::StringPiece passphrase,
38 static std::string Encrypt(base::StringPiece plaintext,
39 base::StringPiece passphrase);
  /external/chromium_org/content/browser/indexed_db/
indexed_db_leveldb_coding.h 40 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeByte(base::StringPiece* slice,
42 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeBool(base::StringPiece* slice,
44 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeInt(base::StringPiece* slice,
46 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeVarInt(base::StringPiece* slice,
48 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeString(base::StringPiece* slice,
51 base::StringPiece* slice,
53 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeBinary(base::StringPiece* slice,
55 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeDouble(base::StringPiece* slice,
58 base::StringPiece* slice,
61 base::StringPiece* slice
    [all...]
  /external/chromium/chrome/common/
jstemplate_builder.h 21 class StringPiece;
29 std::string GetTemplateHtml(const base::StringPiece& html_template,
31 const base::StringPiece& template_id);
36 std::string GetI18nTemplateHtml(const base::StringPiece& html_template,
42 std::string GetTemplatesHtml(const base::StringPiece& html_template,
44 const base::StringPiece& template_id);
58 void AppendJsTemplateProcessHtml(const base::StringPiece& template_id,

Completed in 287 milliseconds

1 23 4 5 6 7 8 91011>>