/external/chromium_org/net/quic/crypto/ |
p256_key_exchange_openssl.cc | 13 using base::StringPiece; 26 P256KeyExchange* P256KeyExchange::New(StringPiece key) { 81 bool P256KeyExchange::CalculateSharedKey(const StringPiece& peer_public_value, 111 StringPiece P256KeyExchange::public_value() const { 112 return StringPiece(reinterpret_cast<const char*>(public_key_),
|
aes_128_gcm_12_decrypter_nss.cc | 20 using base::StringPiece; 267 bool Aes128Gcm12Decrypter::SetKey(StringPiece key) { 276 bool Aes128Gcm12Decrypter::SetNoncePrefix(StringPiece nonce_prefix) { 286 bool Aes128Gcm12Decrypter::Decrypt(StringPiece nonce, 287 StringPiece associated_data, 288 StringPiece ciphertext, 353 StringPiece associated_data, 354 StringPiece ciphertext) { 365 if (!Decrypt(StringPiece(reinterpret_cast<char*>(nonce), sizeof(nonce)), 374 StringPiece Aes128Gcm12Decrypter::GetKey() const [all...] |
aes_128_gcm_12_encrypter_nss.cc | 20 using base::StringPiece; 259 bool Aes128Gcm12Encrypter::SetKey(StringPiece key) { 268 bool Aes128Gcm12Encrypter::SetNoncePrefix(StringPiece nonce_prefix) { 278 bool Aes128Gcm12Encrypter::Encrypt(StringPiece nonce, 279 StringPiece associated_data, 280 StringPiece plaintext, 340 StringPiece associated_data, 341 StringPiece plaintext) { 351 if (!Encrypt(StringPiece(reinterpret_cast<char*>(nonce), sizeof(nonce)), 376 StringPiece Aes128Gcm12Encrypter::GetKey() const [all...] |
p256_key_exchange_nss.cc | 10 using base::StringPiece; 24 // Convert StringPiece to vector of uint8. 25 static vector<uint8> StringPieceToVector(StringPiece piece) { 41 P256KeyExchange* P256KeyExchange::New(StringPiece key) { 56 StringPiece private_piece(key.data(), size); 63 StringPiece public_piece(key); 158 bool P256KeyExchange::CalculateSharedKey(const StringPiece& peer_public_value, 225 StringPiece P256KeyExchange::public_value() const { 226 return StringPiece(reinterpret_cast<const char*>(public_key_),
|
cert_compressor.h | 39 base::StringPiece client_common_set_hashes, 40 base::StringPiece client_cached_cert_hashes, 47 static bool DecompressChain(base::StringPiece in,
|
p256_key_exchange.h | 35 static P256KeyExchange* New(base::StringPiece private_key); 44 virtual bool CalculateSharedKey(const base::StringPiece& peer_public_value, 46 virtual base::StringPiece public_value() const OVERRIDE;
|
/external/chromium_org/net/tools/flip_server/ |
http_interface_test.cc | 23 using ::base::StringPiece; 204 ASSERT_EQ(data, StringPiece(df->data, df->size)); 281 ASSERT_EQ(syn_reply, StringPiece(df->data, df->size)); 283 ASSERT_EQ(body, StringPiece(df->data, df->size)); 285 ASSERT_EQ("0\r\n\r\n", StringPiece(df->data, df->size)); 312 ASSERT_EQ(syn_reply, StringPiece(df->data, df->size)); 314 ASSERT_EQ(body, StringPiece(df->data, df->size)); 316 ASSERT_EQ("0\r\n\r\n", StringPiece(df->data, df->size)); 344 ASSERT_EQ(expected, StringPiece(df->data, df->size)); 353 ASSERT_EQ("b\r\nfoo bar baz\r\n", StringPiece(df->data, df->size)) [all...] |
/external/chromium/net/base/ |
dnssec_keyset.cc | 39 bool DNSSECKeySet::AddKey(const base::StringPiece& dnskey) { 51 const base::StringPiece& name, 52 const base::StringPiece& zone, 53 const base::StringPiece& signature, 55 const std::vector<base::StringPiece>& rrdatas) { 88 base::StringPiece sig(signature.data() + 16, signature.size() - 16); 96 for (std::vector<base::StringPiece>::const_iterator 116 for (std::vector<base::StringPiece>::const_iterator 136 base::StringPiece signature_algorithm; 139 signature_algorithm = base::StringPiece( [all...] |
/external/chromium_org/net/dns/ |
record_rdata.h | 49 static scoped_ptr<SrvRecordRdata> Create(const base::StringPiece& data, 80 static scoped_ptr<ARecordRdata> Create(const base::StringPiece& data, 102 static scoped_ptr<AAAARecordRdata> Create(const base::StringPiece& data, 124 static scoped_ptr<CnameRecordRdata> Create(const base::StringPiece& data, 146 static scoped_ptr<PtrRecordRdata> Create(const base::StringPiece& data, 169 static scoped_ptr<TxtRecordRdata> Create(const base::StringPiece& data, 193 static scoped_ptr<NsecRecordRdata> Create(const base::StringPiece& data,
|
dns_query_unittest.cc | 40 base::StringPiece qname(qname_data, sizeof(qname_data)); 48 base::StringPiece question(reinterpret_cast<const char*>(query_data) + 12, 56 base::StringPiece qname(qname_data, sizeof(qname_data));
|
/external/chromium_org/net/tools/quic/test_tools/ |
http_message_test_utils.cc | 13 using base::StringPiece; 58 StringPiece content_length = headers->GetHeader(kContentLength); 74 HTTPMessage::Method HTTPMessage::StringToMethod(StringPiece str) { 84 HTTPMessage::Version HTTPMessage::StringToVersion(StringPiece str) { 155 vector<StringPiece> transfer_encodings; 158 for (vector<StringPiece>::iterator it = transfer_encodings.begin(); 165 vector<StringPiece> content_lengths;
|
/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);
|
sys_string_conversions_win.cc | 19 std::wstring SysUTF8ToWide(const StringPiece& utf8) { 27 std::wstring SysNativeMBToWide(const StringPiece& native_mb) { 32 std::wstring SysMultiByteToWide(const StringPiece& mb, uint32 code_page) {
|
/external/chromium/base/ |
sys_string_conversions_win.cc | 19 std::wstring SysUTF8ToWide(const StringPiece& utf8) { 27 std::wstring SysNativeMBToWide(const StringPiece& native_mb) { 32 std::wstring SysMultiByteToWide(const StringPiece& mb, uint32 code_page) {
|
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/json/ |
json_reader.cc | 45 Value* JSONReader::Read(const StringPiece& json) { 51 Value* JSONReader::Read(const StringPiece& json, 58 Value* JSONReader::ReadAndReturnError(const StringPiece& json,
|
/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.h | 47 int GetVlogLevel(const base::StringPiece& file) const; 72 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string, 73 const base::StringPiece& vlog_pattern);
|
/external/chromium_org/base/test/expectations/ |
expectation.h | 37 bool ResultFromString(const base::StringPiece& result, 52 bool PlatformFromString(const base::StringPiece& modifier, 67 bool ConfigurationFromString(const base::StringPiece& modifier,
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
form_data_parser.h | 12 // Cannot forward declare StringPiece because it is a typedef. 34 void set_value(const base::StringPiece& str) { 74 virtual bool SetSource(const base::StringPiece& source) = 0;
|
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_transaction.cc | 12 using base::StringPiece; 36 void LevelDBTransaction::Set(const StringPiece& key, 56 void LevelDBTransaction::Put(const StringPiece& key, std::string* value) { 60 void LevelDBTransaction::Remove(const StringPiece& key) { 65 bool LevelDBTransaction::Get(const StringPiece& key, 141 void LevelDBTransaction::DataIterator::Seek(const StringPiece& target) { 158 StringPiece LevelDBTransaction::DataIterator::Key() const { 163 StringPiece LevelDBTransaction::DataIterator::Value() const { 215 void LevelDBTransaction::TransactionIterator::Seek(const StringPiece& target) { 288 StringPiece LevelDBTransaction::TransactionIterator::Key() const [all...] |
/external/chromium_org/google_apis/cup/ |
client_update_protocol.cc | 18 base::StringPiece ByteVectorToSP(const std::vector<uint8>& vec) { 20 return base::StringPiece(); 22 return base::StringPiece(reinterpret_cast<const char*>(&vec[0]), vec.size()); 41 std::vector<uint8> Hash(const base::StringPiece& sdata) { 145 std::vector<uint8> UrlSafeB64Decode(const base::StringPiece& input) { 177 const base::StringPiece& public_key) { 201 bool ClientUpdateProtocol::SignRequest(const base::StringPiece& url, 202 const base::StringPiece& request_body, 239 const base::StringPiece& response_body, 240 const base::StringPiece& server_cookie [all...] |
/external/chromium_org/google_apis/gcm/base/ |
socket_stream_unittest.cc | 41 base::StringPiece DoInputStreamRead(uint64 bytes); 43 uint64 DoOutputStreamWrite(const base::StringPiece& write_src); 104 base::StringPiece GCMSocketStreamTest::DoInputStreamRead(uint64 bytes) { 129 return base::StringPiece(static_cast<const char*>(initial_buffer), 134 const base::StringPiece& write_src) { 315 DoOutputStreamWrite(base::StringPiece(kWriteData, 330 DoOutputStreamWrite(base::StringPiece(kWriteData, 346 DoOutputStreamWrite(base::StringPiece(kWriteData, 360 DoOutputStreamWrite(base::StringPiece(kWriteData, 382 DoOutputStreamWrite(base::StringPiece(kWriteData [all...] |
/external/chromium_org/net/base/ |
big_endian_unittest.cc | 17 base::StringPiece piece; 32 base::StringPiece expected(reader.ptr(), 2); 44 base::StringPiece piece;
|
/external/chromium_org/net/quic/ |
quic_spdy_decompressor.cc | 11 using base::StringPiece; 74 return visitor_->OnDecompressedData(StringPiece(header_data, len)); 90 size_t QuicSpdyDecompressor::DecompressData(StringPiece data,
|