/external/chromium_org/third_party/re2/util/ |
stringpiece.cc | 5 #include "re2/stringpiece.h" 8 using re2::StringPiece; 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { 15 bool StringPiece::_equal(const StringPiece& x, const StringPiece& y) { 32 void StringPiece::CopyToString(string* target) const { 36 int StringPiece::copy(char* buf, size_type n, size_type pos) const { 42 int StringPiece::find(const StringPiece& s, size_type pos) const [all...] |
/external/regex-re2/util/ |
stringpiece.cc | 5 #include "re2/stringpiece.h" 8 using re2::StringPiece; 10 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { 15 bool StringPiece::_equal(const StringPiece& x, const StringPiece& y) { 32 void StringPiece::CopyToString(string* target) const { 36 int StringPiece::copy(char* buf, size_type n, size_type pos) const { 42 int StringPiece::find(const StringPiece& s, size_type pos) const [all...] |
/external/chromium/net/tools/flip_server/ |
split.cc | 17 void SplitStringPieceToVector(const base::StringPiece& full, 19 std::vector<base::StringPiece>* vec, 26 base::StringPiece::const_iterator s = full.begin(); 27 base::StringPiece::const_iterator e = s; 31 vec->push_back(base::StringPiece(s, e - s)); 40 vec->push_back(base::StringPiece(s, e - s)); 44 base::StringPiece::const_iterator s = full.begin(); 45 base::StringPiece::const_iterator e = s; 56 vec->push_back(base::StringPiece(s, e - s)); 65 vec->push_back(base::StringPiece(s, e - s)) [all...] |
balsa_headers_token_utils.h | 26 const base::StringPiece& key, 27 const base::StringPiece& token); 33 const base::StringPiece& key, 39 static void RemoveLastTokenFromHeaderValue(const base::StringPiece& key,
|
/external/chromium_org/net/tools/balsa/ |
split.cc | 17 void SplitStringPieceToVector(const base::StringPiece& full, 19 std::vector<base::StringPiece>* vec, 26 base::StringPiece::const_iterator s = full.begin(); 27 base::StringPiece::const_iterator e = s; 31 vec->push_back(base::StringPiece(s, e - s)); 40 vec->push_back(base::StringPiece(s, e - s)); 44 base::StringPiece::const_iterator s = full.begin(); 45 base::StringPiece::const_iterator e = s; 56 vec->push_back(base::StringPiece(s, e - s)); 65 vec->push_back(base::StringPiece(s, e - s)) [all...] |
balsa_headers_token_utils.h | 25 const base::StringPiece& key, 26 const base::StringPiece& token); 32 const base::StringPiece& key, 38 static void RemoveLastTokenFromHeaderValue(const base::StringPiece& key,
|
/external/chromium_org/net/tools/quic/ |
quic_in_memory_cache.h | 42 const base::StringPiece body() const { return base::StringPiece(body_); } 50 void set_body(base::StringPiece body) { 70 void AddSimpleResponse(base::StringPiece method, 71 base::StringPiece path, 72 base::StringPiece version, 73 base::StringPiece response_code, 74 base::StringPiece response_detail, 75 base::StringPiece body); 80 base::StringPiece response_body) [all...] |
/external/chromium/net/http/ |
http_request_headers.h | 26 HeaderKeyValuePair(const base::StringPiece& key, 27 const base::StringPiece& value); 84 bool HasHeader(const base::StringPiece& key) const { 90 bool GetHeader(const base::StringPiece& key, std::string* out) const; 98 void SetHeader(const base::StringPiece& key, const base::StringPiece& value); 103 void SetHeaderIfMissing(const base::StringPiece& key, 104 const base::StringPiece& value); 107 void RemoveHeader(const base::StringPiece& key); 121 void AddHeaderFromString(const base::StringPiece& header_line) [all...] |
/art/runtime/base/ |
stringpiece.h | 19 // Functions or methods may use const StringPiece& parameters to accept either 21 // a StringPiece. The implicit conversion means that it is often appropriate 23 // StringPiece as would be appropriate for most other Google classes. 25 // Systematic usage of StringPiece is encouraged as it will reduce unnecessary 39 class StringPiece { 46 // in a "const char*" or a "string" wherever a "StringPiece" is 48 StringPiece() : ptr_(NULL), length_(0) { } 49 StringPiece(const char* str) // NOLINT 51 StringPiece(const std::string& str) // NOLINT 53 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) { [all...] |
/external/chromium_org/crypto/ |
hmac.h | 57 bool Init(const base::StringPiece& key) WARN_UNUSED_RESULT { 65 bool Sign(const base::StringPiece& data, unsigned char* digest, 75 bool Verify(const base::StringPiece& data, 76 const base::StringPiece& digest) const WARN_UNUSED_RESULT; 81 const base::StringPiece& data, 82 const base::StringPiece& digest) const WARN_UNUSED_RESULT;
|
encryptor.h | 35 explicit Counter(const base::StringPiece& counter); 63 bool Init(SymmetricKey* key, Mode mode, const base::StringPiece& iv); 67 bool Encrypt(const base::StringPiece& plaintext, std::string* ciphertext); 78 bool Decrypt(const base::StringPiece& ciphertext, std::string* plaintext); 84 bool SetCounter(const base::StringPiece& counter); 118 const base::StringPiece& input, 121 const base::StringPiece& input, 126 const base::StringPiece& input, 129 const base::StringPiece& input,
|
sha2.h | 24 CRYPTO_EXPORT void SHA256HashString(const base::StringPiece& str, 29 CRYPTO_EXPORT std::string SHA256HashString(const base::StringPiece& str);
|
/external/chromium_org/net/cert/ |
ct_log_verifier.h | 35 const base::StringPiece& public_key, 36 const base::StringPiece& description); 55 bool Init(const base::StringPiece& public_key, 56 const base::StringPiece& description); 61 bool VerifySignature(const base::StringPiece& data_to_sign, 62 const base::StringPiece& signature);
|
jwk_serializer.h | 23 const base::StringPiece& spki_der,
|
pem_tokenizer.h | 25 PEMTokenizer(const base::StringPiece& str, 45 void Init(const base::StringPiece& str, 54 base::StringPiece str_; 57 // or StringPiece::npos if iteration is complete 58 base::StringPiece::size_type pos_;
|
/external/chromium_org/base/json/ |
string_escape.h | 28 BASE_EXPORT bool EscapeJSONString(const StringPiece& str, 32 // Performs a similar function to the UTF-8 StringPiece version above, 41 BASE_EXPORT std::string GetQuotedJSONString(const StringPiece& str); 55 BASE_EXPORT std::string EscapeBytesAsInvalidJSONString(const StringPiece& str,
|
/external/chromium_org/base/ |
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/net/quic/crypto/ |
cert_compressor.h | 39 base::StringPiece client_common_set_hashes, 40 base::StringPiece client_cached_cert_hashes, 47 static bool DecompressChain(base::StringPiece in,
|
/external/chromium/net/base/ |
pem_tokenizer.h | 25 PEMTokenizer(const base::StringPiece& str, 45 void Init(const base::StringPiece& str, 54 base::StringPiece str_; 57 // or StringPiece::npos if iteration is complete 58 base::StringPiece::size_type pos_;
|
/external/chromium_org/content/browser/indexed_db/leveldb/ |
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_org/tools/gn/ |
source_dir.h | 29 explicit SourceDir(const base::StringPiece& p); 44 const base::StringPiece& p, 45 const base::StringPiece& source_root = base::StringPiece()) const; 47 const base::StringPiece& p, 48 const base::StringPiece& source_root = base::StringPiece()) const; 76 base::StringPiece SourceAbsoluteWithOneSlash() const { 78 return base::StringPiece(&value_[1], value_.size() - 1);
|
/external/chromium/base/ |
string_piece_unittest.cc | 15 ASSERT_TRUE( (StringPiece((x)) op StringPiece((y)))); \ 16 ASSERT_TRUE( (StringPiece((x)).compare(StringPiece((y))) op 0)) 19 ASSERT_FALSE(StringPiece((x)) op StringPiece((y))); \ 20 ASSERT_FALSE(StringPiece((x)).compare(StringPiece((y))) op 0) 97 StringPiece a("abcdefghijklmnopqrstuvwxyz"); 98 StringPiece b("abc") [all...] |
/external/chromium/chrome/browser/ui/webui/chromeos/login/ |
login_ui_helpers.h | 29 virtual base::StringPiece GetLoginHTML(); 30 virtual std::string GetFullHTML(base::StringPiece login_html,
|
/external/chromium_org/chrome/browser/extensions/ |
test_extension_dir.h | 24 void WriteManifest(base::StringPiece manifest); 29 base::StringPiece contents);
|
/external/chromium_org/google_apis/cup/ |
client_update_protocol.h | 39 int key_version, const base::StringPiece& public_key); 59 bool SignRequest(const base::StringPiece& url, 60 const base::StringPiece& request_body, 70 bool ValidateResponse(const base::StringPiece& response_body, 71 const base::StringPiece& server_cookie, 72 const base::StringPiece& server_proof); 81 bool LoadPublicKey(const base::StringPiece& public_key); 97 bool SetSharedKeyForTesting(const base::StringPiece& fixed_key_source);
|