/external/icu4c/common/ |
bytestriebuilder.cpp | 18 #include "unicode/stringpiece.h" 38 void setTo(const StringPiece &s, int32_t val, CharString &strings, UErrorCode &errorCode); 40 StringPiece getString(const CharString &strings) const { 50 return StringPiece(strings.data()+offset, length); 89 BytesTrieElement::setTo(const StringPiece &s, int32_t val, 113 // TODO: add StringPiece::compare(), see ticket #8187 114 StringPiece thisString=getString(strings); 115 StringPiece otherString=other.getString(strings); 146 BytesTrieBuilder::add(const StringPiece &s, int32_t value, UErrorCode &errorCode) { 206 StringPiece [all...] |
/external/chromium/chrome/browser/extensions/ |
user_script_master.h | 19 class StringPiece; 75 static bool ParseMetadataHeader(const base::StringPiece& script_text,
|
/external/chromium/net/base/ |
x509_cert_types.h | 23 class StringPiece; 149 bool ParseCertificateDate(const base::StringPiece& raw_date,
|
/external/chromium_org/crypto/ |
encryptor.cc | 14 Encryptor::Counter::Counter(const base::StringPiece& counter) { 50 bool Encryptor::SetCounter(const base::StringPiece& counter) {
|
/external/chromium_org/jingle/glue/ |
fake_ssl_client_socket.h | 44 static base::StringPiece GetSslClientHello(); 45 static base::StringPiece GetSslServerHello();
|
/external/chromium_org/net/base/ |
big_endian.cc | 29 bool BigEndianReader::ReadPiece(base::StringPiece* out, size_t len) { 32 *out = base::StringPiece(ptr_, len);
|
/external/chromium_org/net/quic/crypto/ |
local_strike_register_client_test.cc | 16 using base::StringPiece; 66 EXPECT_EQ(StringPiece(reinterpret_cast<const char*>(kOrbit), kOrbitSize),
|
quic_crypto_client_config.cc | 24 using base::StringPiece; 78 StringPiece server_config, QuicWallTime now, string* error_details) { 124 StringPiece signature) { 193 StringPiece token) { 318 StringPiece scid; 350 StringPiece public_value; 357 StringPiece orbit; 447 StringPiece() /* associated data */, 498 StringPiece scfg; 509 StringPiece token [all...] |
crypto_server_test.cc | 17 using base::StringPiece; 39 StringPiece orbit; 64 StringPiece srct; 68 StringPiece scfg; 72 StringPiece scid; 174 StringPiece(reinterpret_cast<const char*>(orbit_), sizeof(orbit_)), 231 StringPiece cert, proof; 362 StringPiece scid_a, scid_b; 379 StringPiece scid;
|
/external/chromium_org/net/quic/ |
quic_utils_test.cc | 10 using base::StringPiece; 43 // Verify that char*, string and StringPiece are all valid argument types. 62 QuicUtils::StringToHexASCIIDump(StringPiece(tests[i].input)));
|
quic_data_stream.cc | 12 using base::StringPiece; 37 StringPiece(data, data_len).AppendToString(partial_data_buffer); 40 StringPiece(data, missing_size).AppendToString(partial_data_buffer); 171 StringPiece(data, data_len), this); 253 StringPiece(static_cast<char*>(iovec.iov_base), 275 bool QuicDataStream::OnDecompressedData(StringPiece data) {
|
quic_protocol.cc | 10 using base::StringPiece; 340 StringPiece QuicPacket::FecProtectedData() const { 343 return StringPiece(data() + start_of_fec, length() - start_of_fec); 346 StringPiece QuicPacket::AssociatedData() const { 347 return StringPiece( 354 StringPiece QuicPacket::BeforePlaintext() const { 355 return StringPiece(data(), GetStartOfEncryptedData(guid_length_, 360 StringPiece QuicPacket::Plaintext() const { 364 return StringPiece(data() + start_of_encrypted_data,
|
/external/chromium_org/net/spdy/ |
spdy_frame_reader.cc | 96 bool SpdyFrameReader::ReadStringPiece16(base::StringPiece* result) { 119 bool SpdyFrameReader::ReadStringPiece32(base::StringPiece* result) {
|
spdy_test_util_common.h | 296 void AddUrlToHeaderBlock(base::StringPiece url, 300 base::StringPiece url) const; 302 base::StringPiece url) const; 304 base::StringPiece url, 307 base::StringPiece url, 310 base::StringPiece url, 529 base::StringPiece method, 530 base::StringPiece url,
|
/external/chromium_org/net/tools/quic/test_tools/ |
quic_test_utils.cc | 13 using base::StringPiece; 94 bool TestDecompressorVisitor::OnDecompressedData(StringPiece data) {
|
/external/chromium_org/net/tools/quic/ |
spdy_utils.cc | 19 using base::StringPiece; 67 StringPiece host_header = headers.GetHeader("Host"); 217 bool ParseReasonAndStatus(StringPiece status_and_reason, 225 const StringPiece status_str = StringPiece(status_and_reason.data(), 3); 234 StringPiece reason(status_and_reason.data() + 4,
|
/external/chromium_org/tools/gn/ |
scope.cc | 46 const Value* Scope::GetValue(const base::StringPiece& ident, 71 Value* Scope::GetValueForcedToCurrentScope(const base::StringPiece& ident, 88 const Value* Scope::GetValue(const base::StringPiece& ident) const { 97 Value* Scope::SetValue(const base::StringPiece& ident, 122 void Scope::MarkUsed(const base::StringPiece& ident) { 131 void Scope::MarkUnused(const base::StringPiece& ident) { 140 bool Scope::IsSetButUnused(const base::StringPiece& ident) const {
|
/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_org/third_party/re2/re2/ |
nfa.cc | 50 bool Search(const StringPiece& text, const StringPiece& context, 52 StringPiece* submatch, int nsubmatch); 395 static bool StringPieceContains(const StringPiece haystack, const StringPiece needle) { 400 bool NFA::Search(const StringPiece& text, const StringPiece& const_context, 402 StringPiece* submatch, int nsubmatch) { 406 StringPiece context = const_context; 686 Prog::SearchNFA(const StringPiece& text, const StringPiece& context [all...] |
/external/regex-re2/re2/ |
nfa.cc | 50 bool Search(const StringPiece& text, const StringPiece& context, 52 StringPiece* submatch, int nsubmatch); 395 static bool StringPieceContains(const StringPiece haystack, const StringPiece needle) { 400 bool NFA::Search(const StringPiece& text, const StringPiece& const_context, 402 StringPiece* submatch, int nsubmatch) { 406 StringPiece context = const_context; 686 Prog::SearchNFA(const StringPiece& text, const StringPiece& context [all...] |
/external/chromium/base/ |
utf_string_conversions.cc | 66 std::wstring UTF8ToWide(const base::StringPiece& utf8) { 136 string16 UTF8ToUTF16(const base::StringPiece& utf8) { 164 string16 UTF8ToUTF16(const base::StringPiece& utf8) { 178 std::wstring ASCIIToWide(const base::StringPiece& ascii) { 183 string16 ASCIIToUTF16(const base::StringPiece& ascii) {
|
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder_unittest.cc | 15 using base::StringPiece; 34 void CheckSegmentLength(const StringPiece& escaped_word) { 35 std::vector<StringPiece> components; 36 Tokenize(escaped_word, StringPiece("/"), &components); 43 void CheckValidChars(const StringPiece& escaped_word, char invalid_slash) {
|
/external/chromium_org/chrome/test/logging/win/ |
log_file_reader.cc | 136 base::StringPiece message; 153 base::StringPiece file; 154 base::StringPiece message; 174 base::StringPiece name; 176 base::StringPiece extra;
|
mof_data_parser_unittest.cc | 162 base::StringPiece value; 166 EXPECT_EQ(base::StringPiece(&a_string_nl[0], arraysize(a_string_nl) - 2), 174 base::StringPiece value; 178 EXPECT_EQ(base::StringPiece(&a_string[0], arraysize(a_string) - 1), value); 185 base::StringPiece value;
|
/external/chromium_org/net/http/ |
http_response_headers.h | 158 const base::StringPiece& name, 163 bool HasHeaderValue(const base::StringPiece& name, 164 const base::StringPiece& value) const; 168 bool HasHeader(const base::StringPiece& name) const; 330 size_t FindHeader(size_t from, const base::StringPiece& name) const;
|