HomeSort by relevance Sort by last modified time
    Searched refs:StringPiece (Results 26 - 50 of 912) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium/net/base/
net_module.cc 17 base::StringPiece NetModule::GetResource(int key) {
18 return resource_provider ? resource_provider(key) : base::StringPiece();
net_module.h 23 typedef base::StringPiece (*ResourceProvider)(int key);
31 static base::StringPiece GetResource(int key);
  /external/chromium/net/tools/flip_server/
split.h 16 void SplitStringPieceToVector(const base::StringPiece& full,
18 std::vector<base::StringPiece>* vec,
string_piece_utils.h 17 size_t operator()(const base::StringPiece& sp) const {
20 for (base::StringPiece::const_iterator it = sp.begin();
29 static bool EqualIgnoreCase(const base::StringPiece& piece1,
30 const base::StringPiece& piece2) {
31 base::StringPiece::const_iterator p1i = piece1.begin();
32 base::StringPiece::const_iterator p2i = piece2.begin();
45 static void RemoveWhitespaceContext(base::StringPiece* piece1) {
46 base::StringPiece::const_iterator c = piece1->begin();
47 base::StringPiece::const_iterator e = piece1->end();
52 *piece1 = base::StringPiece(c, e-c)
    [all...]
  /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/chrome/renderer/
static_v8_external_string_resource.h 18 explicit StaticV8ExternalAsciiStringResource(const base::StringPiece& buffer);
25 base::StringPiece buffer_;
  /external/chromium_org/net/base/
net_module.cc 17 base::StringPiece NetModule::GetResource(int key) {
18 return resource_provider ? resource_provider(key) : base::StringPiece();
net_module.h 23 typedef base::StringPiece (*ResourceProvider)(int key);
31 static base::StringPiece GetResource(int key);
dns_util.h 21 NET_EXPORT_PRIVATE bool DNSDomainFromDot(const base::StringPiece& dotted,
27 const base::StringPiece& domain);
30 NET_EXPORT std::string TrimEndingDot(const base::StringPiece& host);
  /external/chromium_org/net/tools/balsa/
split.h 15 void SplitStringPieceToVector(const base::StringPiece& full,
17 std::vector<base::StringPiece>* vec,
string_piece_utils.h 16 size_t operator()(const base::StringPiece& sp) const {
19 for (base::StringPiece::const_iterator it = sp.begin();
28 static bool EqualIgnoreCase(const base::StringPiece& piece1,
29 const base::StringPiece& piece2) {
30 base::StringPiece::const_iterator p1i = piece1.begin();
31 base::StringPiece::const_iterator p2i = piece2.begin();
46 static void RemoveWhitespaceContext(base::StringPiece* piece1) {
47 base::StringPiece::const_iterator c = piece1->begin();
48 base::StringPiece::const_iterator e = piece1->end();
53 *piece1 = base::StringPiece(c, e-c)
    [all...]
  /external/chromium_org/crypto/
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/net/cert/
jwk_serializer_openssl.cc 14 const base::StringPiece& spki_der,
  /external/chromium_org/net/quic/crypto/
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_utils.h 38 base::StringPiece orbit,
45 static bool IsValidSNI(base::StringPiece sni);
58 static bool DeriveKeys(base::StringPiece premaster_secret,
60 base::StringPiece client_nonce,
61 base::StringPiece server_nonce,
null_decrypter.cc 9 using base::StringPiece;
16 bool NullDecrypter::SetKey(StringPiece key) { return key.empty(); }
18 bool NullDecrypter::SetNoncePrefix(StringPiece nonce_prefix) {
22 bool NullDecrypter::Decrypt(StringPiece /*nonce*/,
23 StringPiece associated_data,
24 StringPiece ciphertext,
34 StringPiece plaintext = reader.ReadRemainingPayload();
48 StringPiece associated_data,
49 StringPiece ciphertext) {
59 StringPiece plaintext = reader.ReadRemainingPayload()
    [all...]
  /external/chromium_org/third_party/re2/re2/testing/
tester.h 11 #include "re2/stringpiece.h"
54 TestInstance(const StringPiece& regexp, Prog::MatchKind kind,
62 bool RunCase(const StringPiece& text, const StringPiece& context,
68 const StringPiece& text, const StringPiece& context,
72 void LogMatch(const char* prefix, Engine e, const StringPiece& text,
73 const StringPiece& context, Prog::Anchor anchor);
75 const StringPiece& regexp_str_; // regexp being tested
93 explicit Tester(const StringPiece& regexp)
    [all...]
  /external/regex-re2/re2/testing/
tester.h 11 #include "re2/stringpiece.h"
54 TestInstance(const StringPiece& regexp, Prog::MatchKind kind,
62 bool RunCase(const StringPiece& text, const StringPiece& context,
68 const StringPiece& text, const StringPiece& context,
72 void LogMatch(const char* prefix, Engine e, const StringPiece& text,
73 const StringPiece& context, Prog::Anchor anchor);
75 const StringPiece& regexp_str_; // regexp being tested
93 explicit Tester(const StringPiece& regexp)
    [all...]
  /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
  /external/chromium_org/third_party/icu/source/common/
stringpiece.cpp 10 #include "unicode/stringpiece.h"
16 StringPiece::StringPiece(const char* str)
19 StringPiece::StringPiece(const StringPiece& x, int32_t pos) {
29 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) {
44 void StringPiece::set(const char* str)
    [all...]
  /external/icu4c/common/
stringpiece.cpp 10 #include "unicode/stringpiece.h"
16 StringPiece::StringPiece(const char* str)
19 StringPiece::StringPiece(const StringPiece& x, int32_t pos) {
29 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) {
44 void StringPiece::set(const char* str)
    [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,
  /external/chromium_org/third_party/re2/re2/
stringpiece.h 7 // Functions or methods may use const StringPiece& parameters to accept either
9 // a StringPiece. The implicit conversion means that it is often appropriate
11 // StringPiece as would be appropriate for most other Google classes.
13 // Systematic usage of StringPiece is encouraged as it will reduce unnecessary
32 class StringPiece {
39 // in a "const char*" or a "string" wherever a "StringPiece" is
41 StringPiece() : ptr_(NULL), length_(0) { }
42 StringPiece(const char* str)
44 StringPiece(const std::string& str)
46 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) {
    [all...]
  /external/regex-re2/re2/
stringpiece.h 7 // Functions or methods may use const StringPiece& parameters to accept either
9 // a StringPiece. The implicit conversion means that it is often appropriate
11 // StringPiece as would be appropriate for most other Google classes.
13 // Systematic usage of StringPiece is encouraged as it will reduce unnecessary
29 class StringPiece {
36 // in a "const char*" or a "string" wherever a "StringPiece" is
38 StringPiece() : ptr_(NULL), length_(0) { }
39 StringPiece(const char* str)
41 StringPiece(const std::string& str)
43 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) {
    [all...]

Completed in 9594 milliseconds

12 3 4 5 6 7 8 91011>>