/external/chromium_org/net/quic/crypto/ |
curve25519_key_exchange.h | 27 static Curve25519KeyExchange* New(const base::StringPiece& private_key); 35 virtual bool CalculateSharedKey(const base::StringPiece& peer_public_value, 37 virtual base::StringPiece public_value() const OVERRIDE;
|
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,
|
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...] |
/external/chromium_org/content/child/ |
site_isolation_policy.cc | 28 using base::StringPiece; 79 bool MatchesSignature(StringPiece data, 80 const StringPiece signatures[], 85 if (offset == base::StringPiece::npos) 92 const StringPiece& signature = signatures[sig_index]; 267 StringPiece data(raw_data, raw_length); 453 bool SiteIsolationPolicy::SniffForHTML(StringPiece data) { 466 static const StringPiece kHtmlSignatures[] = { 467 StringPiece("<!DOCTYPE html"), // HTML5 spec 468 StringPiece("<script"), // HTML5 spec, Mozill [all...] |
/external/chromium_org/chrome/browser/install_verification/win/ |
module_ids.h | 22 const base::StringPiece& raw_data,
|
module_ids.cc | 31 const base::StringPiece& line, 39 base::StringPiece id_piece(line_tokenizer.token_piece()); 43 base::StringPiece digest_piece(line_tokenizer.token_piece()); 55 for (base::StringPiece::const_iterator it = digest_piece.begin(); 68 const base::StringPiece& raw_data, 76 ParseAdditionalModuleID(base::StringPiece(file_tokenizer.token_piece()),
|
/external/chromium_org/chrome/renderer/ |
static_v8_external_string_resource.cc | 8 const base::StringPiece& buffer)
|
/external/chromium_org/crypto/ |
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 {
|
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...] |
/external/chromium_org/google_apis/cup/ |
client_update_protocol_openssl.cc | 11 bool ClientUpdateProtocol::LoadPublicKey(const base::StringPiece& public_key) {
|
/external/chromium_org/net/quic/ |
quic_data_reader.h | 74 bool ReadStringPiece16(base::StringPiece* result); 80 bool ReadStringPiece(base::StringPiece* result, size_t len); 82 // Returns the remaining payload as a StringPiece. 88 base::StringPiece ReadRemainingPayload(); 90 // Returns the remaining payload as a StringPiece. 96 base::StringPiece PeekRemainingPayload();
|
quic_fec_group.h | 27 base::StringPiece decrypted_payload); 56 const base::StringPiece payload_parity() const { 57 return base::StringPiece(payload_parity_, payload_parity_len_); 73 bool UpdateParity(base::StringPiece payload, bool entropy);
|
/external/chromium_org/third_party/re2/re2/ |
filtered_re2.h | 40 RE2::ErrorCode Add(const StringPiece& pattern, 56 int SlowFirstMatch(const StringPiece& text) const; 61 int FirstMatch(const StringPiece& text, 66 bool AllMatches(const StringPiece& text,
|
/external/regex-re2/re2/ |
filtered_re2.h | 40 RE2::ErrorCode Add(const StringPiece& pattern, 56 int SlowFirstMatch(const StringPiece& text) const; 61 int FirstMatch(const StringPiece& text, 66 bool AllMatches(const StringPiece& text,
|
/external/chromium_org/base/ |
md5.h | 53 // For the given buffer of |data| as a StringPiece, updates the given MD5 56 BASE_EXPORT void MD5Update(MD5Context* context, const StringPiece& data); 65 BASE_EXPORT std::string MD5String(const StringPiece& str);
|
vlog.cc | 88 base::StringPiece GetModule(const base::StringPiece& file) { 89 base::StringPiece module(file); 90 base::StringPiece::size_type last_slash_pos = 92 if (last_slash_pos != base::StringPiece::npos) 94 base::StringPiece::size_type extension_start = module.rfind('.'); 105 int VlogInfo::GetVlogLevel(const base::StringPiece& file) const { 107 base::StringPiece module(GetModule(file)); 110 base::StringPiece target( 128 bool MatchVlogPattern(const base::StringPiece& string [all...] |
/external/chromium_org/tools/gn/ |
escape.h | 55 std::string EscapeString(const base::StringPiece& str, 62 const base::StringPiece& str,
|
scope.h | 38 typedef base::hash_map<base::StringPiece, Value> KeyValueMap; 55 const base::StringPiece& ident) = 0; 85 const Value* GetValue(const base::StringPiece& ident, 87 const Value* GetValue(const base::StringPiece& ident) const; 96 Value* GetValueForcedToCurrentScope(const base::StringPiece& ident, 102 Value* SetValue(const base::StringPiece& ident, 114 void MarkUsed(const base::StringPiece& ident); 115 void MarkUnused(const base::StringPiece& ident); 122 bool IsSetButUnused(const base::StringPiece& ident) const; 233 typedef base::hash_map<base::StringPiece, Record> RecordMap [all...] |
/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_org/net/cert/ |
crl_set.h | 37 static bool Parse(base::StringPiece data, 42 Result CheckSPKI(const base::StringPiece& spki_hash) const; 50 const base::StringPiece& serial_number, 51 const base::StringPiece& issuer_spki_hash) const; 59 bool ApplyDelta(const base::StringPiece& delta_bytes, 65 static bool GetIsDeltaUpdate(const base::StringPiece& bytes, bool *is_delta);
|
/external/chromium_org/ui/base/webui/ |
jstemplate_builder.h | 42 UI_EXPORT std::string GetTemplateHtml(const base::StringPiece& html_template, 44 const base::StringPiece& template_id); 50 const base::StringPiece& html_template, 56 UI_EXPORT std::string GetTemplatesHtml(const base::StringPiece& html_template, 58 const base::StringPiece& template_id); 78 UI_EXPORT void AppendJsTemplateProcessHtml(const base::StringPiece& template_id,
|
/external/chromium_org/base/strings/ |
string_piece_unittest.cc | 197 StringPiece a("abcdefghijklmnopqrstuvwxyz"); 198 StringPiece b("abc"); 199 StringPiece c("xyz"); 200 StringPiece d("foobar"); 202 StringPiece e; 206 StringPiece f(temp); 225 ASSERT_EQ(StringPiece::npos, std::string::npos); 228 ASSERT_EQ(a.find(b, 1), StringPiece::npos); 231 ASSERT_EQ(a.find(c, StringPiece::npos), StringPiece::npos) [all...] |
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_transaction.h | 28 void Put(const base::StringPiece& key, std::string* value); 29 void Remove(const base::StringPiece& key); 30 bool Get(const base::StringPiece& key, std::string* value, bool* found); 52 bool operator()(const base::StringPiece& a, 53 const base::StringPiece& b) const { 61 typedef std::map<base::StringPiece, Record*, Comparator> DataType; 70 virtual void Seek(const base::StringPiece& slice) OVERRIDE; 73 virtual base::StringPiece Key() const OVERRIDE; 74 virtual base::StringPiece Value() const OVERRIDE; 91 virtual void Seek(const base::StringPiece& target) OVERRIDE [all...] |
/external/chromium/base/ |
vlog.cc | 84 base::StringPiece GetModule(const base::StringPiece& file) { 85 base::StringPiece module(file); 86 base::StringPiece::size_type last_slash_pos = 88 if (last_slash_pos != base::StringPiece::npos) 90 base::StringPiece::size_type extension_start = module.rfind('.'); 101 int VlogInfo::GetVlogLevel(const base::StringPiece& file) const { 103 base::StringPiece module(GetModule(file)); 106 base::StringPiece target( 124 bool MatchVlogPattern(const base::StringPiece& string [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...] |