/external/chromium_org/net/quic/crypto/ |
key_exchange.h | 32 virtual bool CalculateSharedKey(const base::StringPiece& peer_public_value, 36 // order to complete a key exchange. The returned StringPiece is a reference 39 virtual base::StringPiece public_value() const = 0;
|
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...] |
/external/chromium_org/net/socket/ |
ssl_socket.h | 25 virtual int ExportKeyingMaterial(const base::StringPiece& label, 27 const base::StringPiece& context,
|
/art/runtime/base/ |
stringpiece.cc | 17 #include "stringpiece.h" 24 void StringPiece::CopyToString(std::string* target) const { 28 int StringPiece::copy(char* buf, size_type n, size_type pos) const { 34 StringPiece::size_type StringPiece::find(const StringPiece& s, size_type pos) const { 44 int StringPiece::compare(const StringPiece& x) const { 53 StringPiece::size_type StringPiece::find(char c, size_type pos) const [all...] |
/external/chromium_org/chrome/test/logging/win/ |
log_file_reader.h | 46 const base::StringPiece& message) = 0; 54 const base::StringPiece& file, 55 const base::StringPiece& message) = 0; 59 const base::StringPiece& name, 62 const base::StringPiece& extra,
|
/external/chromium_org/media/audio/sounds/ |
wav_audio_handler.h | 19 explicit WavAudioHandler(const base::StringPiece& wav_data); 38 int ParseSubChunk(const base::StringPiece& data); 41 bool ParseFmtChunk(const base::StringPiece& data); 44 bool ParseDataChunk(const base::StringPiece& data); 47 base::StringPiece data_;
|
/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/net/cert/ |
ct_serialization.h | 29 NET_EXPORT_PRIVATE bool DecodeDigitallySigned(base::StringPiece* input, 58 NET_EXPORT_PRIVATE bool DecodeSCTList(base::StringPiece* input, 59 std::vector<base::StringPiece>* output); 65 base::StringPiece* input, 69 NET_EXPORT_PRIVATE bool EncodeSCTListForTesting(const base::StringPiece& sct,
|
pem_tokenizer.cc | 21 using base::StringPiece; 30 const StringPiece& str, 39 while (pos_ != StringPiece::npos) { 42 if (pos_ == StringPiece::npos) 53 StringPiece::size_type footer_pos = str_.find(it->footer, pos_); 54 if (footer_pos == StringPiece::npos) { 55 pos_ = StringPiece::npos; 60 StringPiece::size_type data_begin = pos_ + it->header.size(); 64 StringPiece encoded = str_.substr(data_begin, 88 const StringPiece& str [all...] |
asn1_util.cc | 11 bool ParseElement(base::StringPiece* in, 13 base::StringPiece* out, 25 *out = base::StringPiece(); 38 *out = base::StringPiece(); 79 *out = base::StringPiece(in->data(), len); 84 bool GetElement(base::StringPiece* in, 86 base::StringPiece* out) { 98 static bool SeekToSPKI(base::StringPiece* cert) { 114 base::StringPiece certificate; 122 base::StringPiece tbs_certificate [all...] |
ct_known_logs.cc | 60 base::StringPiece key(kGooglePilotLogKey, kGooglePilotLogKeyLength); 66 base::StringPiece key(kGoogleAviatorLogKey, kGoogleAviatorLogKeyLength); 72 base::StringPiece key(kGoogleRocketeerLogKey, kGoogleRocketeerLogKeyLength);
|
/external/chromium/net/tools/flip_server/ |
balsa_headers.h | 32 // returns. Every StringPiece returned from BalsaHeaders should remain 131 // the StringPiece which it returns. 137 void WriteToContiguousBuffer(const base::StringPiece& sp); 143 // Takes a StringPiece and writes it to "permanent" storage, then returns a 144 // StringPiece which points to that data. If block_idx != NULL, it will be 149 base::StringPiece Write(const base::StringPiece& sp, 216 // using the StringPiece class, or giving an explicit size and char* (as these 231 // WARNING: The side effect of using StringPiece is that if the underlying 274 typedef std::vector<base::StringPiece> HeaderTokenList [all...] |
/external/chromium_org/net/tools/balsa/ |
balsa_headers.h | 31 // returns. Every StringPiece returned from BalsaHeaders should remain 131 // the StringPiece which it returns. 137 void WriteToContiguousBuffer(const base::StringPiece& sp); 143 // Takes a StringPiece and writes it to "permanent" storage, then returns a 144 // StringPiece which points to that data. If block_idx != NULL, it will be 149 base::StringPiece Write(const base::StringPiece& sp, 216 // using the StringPiece class, or giving an explicit size and char* (as these 231 // WARNING: The side effect of using StringPiece is that if the underlying 274 typedef std::vector<base::StringPiece> HeaderTokenList [all...] |
/external/chromium/net/base/ |
pem_tokenizer.cc | 21 using base::StringPiece; 30 const StringPiece& str, 39 while (pos_ != StringPiece::npos) { 42 if (pos_ == StringPiece::npos) 53 StringPiece::size_type footer_pos = str_.find(it->footer, pos_); 54 if (footer_pos == StringPiece::npos) { 55 pos_ = StringPiece::npos; 60 StringPiece::size_type data_begin = pos_ + it->header.size(); 64 StringPiece encoded = str_.substr(data_begin, 88 const StringPiece& str [all...] |
asn1_util.cc | 11 bool ParseElement(base::StringPiece* in, 13 base::StringPiece* out, 58 *out = base::StringPiece(in->data(), len); 63 bool GetElement(base::StringPiece* in, 65 base::StringPiece* out) { 74 bool ExtractSPKIFromDERCert(base::StringPiece cert, 75 base::StringPiece* spki_out) { 91 base::StringPiece certificate; 95 base::StringPiece tbs_certificate;
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/ |
string_piece.cc | 4 // Copied from strings/stringpiece.cc with modifications 14 typedef StringPiece::size_type size_type; 16 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { 21 bool operator==(const StringPiece& x, const StringPiece& y) { 25 return StringPiece::wordmemcmp(x.data(), y.data(), x.size()) == 0; 28 void StringPiece::CopyToString(std::string* target) const { 32 void StringPiece::AppendToString(std::string* target) const { 37 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const { 43 size_type StringPiece::find(const StringPiece& s, size_type pos) const [all...] |
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 29 class StringPiece { 47 // in a "const char*" or a "string" wherever a "StringPiece" is 49 StringPiece() : ptr_(NULL), length_(0) { } 50 StringPiece(const char* str) 52 StringPiece(const std::string& str [all...] |
/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_org/net/http/ |
http_request_headers.h | 27 HeaderKeyValuePair(const base::StringPiece& key, 28 const base::StringPiece& value); 87 bool HasHeader(const base::StringPiece& key) const { 93 bool GetHeader(const base::StringPiece& key, std::string* out) const; 101 void SetHeader(const base::StringPiece& key, const base::StringPiece& value); 106 void SetHeaderIfMissing(const base::StringPiece& key, 107 const base::StringPiece& value); 110 void RemoveHeader(const base::StringPiece& key); 124 void AddHeaderFromString(const base::StringPiece& header_line) [all...] |
/external/chromium/base/ |
string_piece.cc | 4 // Copied from strings/stringpiece.cc with modifications 13 typedef StringPiece::size_type size_type; 15 bool operator==(const StringPiece& x, const StringPiece& y) { 19 return StringPiece::wordmemcmp(x.data(), y.data(), x.size()) == 0; 22 void StringPiece::CopyToString(std::string* target) const { 26 void StringPiece::AppendToString(std::string* target) const { 31 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const { 37 size_type StringPiece::find(const StringPiece& s, size_type pos) const [all...] |
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 29 class BASE_API StringPiece { 47 // in a "const char*" or a "string" wherever a "StringPiece" is 49 StringPiece() : ptr_(NULL), length_(0) { } 50 StringPiece(const char* str) 52 StringPiece(const std::string& str [all...] |
vlog.h | 49 int GetVlogLevel(const base::StringPiece& file) const; 74 BASE_API bool MatchVlogPattern(const base::StringPiece& string, 75 const base::StringPiece& vlog_pattern);
|
/external/chromium_org/base/strings/ |
string_number_conversions.h | 64 BASE_EXPORT bool StringToInt(const StringPiece& input, int* output); 67 BASE_EXPORT bool StringToUint(const StringPiece& input, unsigned* output); 70 BASE_EXPORT bool StringToInt64(const StringPiece& input, int64* output); 73 BASE_EXPORT bool StringToUint64(const StringPiece& input, uint64* output); 76 BASE_EXPORT bool StringToSizeT(const StringPiece& input, size_t* output); 100 BASE_EXPORT bool HexStringToInt(const StringPiece& input, int* output); 106 BASE_EXPORT bool HexStringToUInt(const StringPiece& input, uint32* output); 111 BASE_EXPORT bool HexStringToInt64(const StringPiece& input, int64* output); 117 BASE_EXPORT bool HexStringToUInt64(const StringPiece& input, uint64* output);
|
/external/chromium/chrome/browser/ui/webui/chromeos/login/ |
login_ui_helpers.cc | 18 base::StringPiece HTMLOperationsInterface::GetLoginHTML() { 19 base::StringPiece login_html( 26 base::StringPiece login_html,
|
/external/chromium_org/net/dns/ |
dns_query.h | 23 DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype); 31 base::StringPiece qname() const; 36 base::StringPiece question() const;
|