Home
last modified time | relevance | path

Searched refs:string_piece (Results 1 – 25 of 33) sorted by relevance

12

/external/cronet/net/cert/
Dpem_unittest.cc16 base::StringPiece string_piece(data); in TEST() local
20 PEMTokenizer tokenizer(string_piece, accepted_types); in TEST()
34 base::StringPiece string_piece(data); in TEST() local
38 PEMTokenizer tokenizer(string_piece, accepted_types); in TEST()
52 base::StringPiece string_piece(data); in TEST() local
56 PEMTokenizer tokenizer(string_piece, accepted_types); in TEST()
68 base::StringPiece string_piece(data); in TEST() local
73 PEMTokenizer tokenizer(string_piece, accepted_types); in TEST()
94 base::StringPiece string_piece(data); in TEST() local
98 PEMTokenizer tokenizer(string_piece, accepted_types); in TEST()
[all …]
/external/cronet/base/strings/
Dstring_piece_rust.h23 inline rust::Str StringPieceToRustStrUTF8(StringPiece string_piece) { in StringPieceToRustStrUTF8() argument
24 return rust::Str(string_piece.data(), string_piece.size()); in StringPieceToRustStrUTF8()
29 StringPiece string_piece) { in StringPieceToRustSlice() argument
31 reinterpret_cast<const uint8_t*>(string_piece.data()), in StringPieceToRustSlice()
32 string_piece.length() * sizeof(StringPiece::value_type)); in StringPieceToRustSlice()
Dstring_piece_unittest.nc8 #include "base/strings/string_piece.h"
Dsys_string_conversions_mac.mm15 #include "base/strings/string_piece.h"
/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_data_writer.cc222 const absl::string_view& string_piece) { in WriteStringPieceVarInt62() argument
223 if (!WriteVarInt62(string_piece.size())) { in WriteStringPieceVarInt62()
226 if (!string_piece.empty()) { in WriteStringPieceVarInt62()
227 if (!WriteBytes(string_piece.data(), string_piece.size())) { in WriteStringPieceVarInt62()
Dquiche_data_writer.h104 bool WriteStringPieceVarInt62(const absl::string_view& string_piece);
/external/libchrome/mojo/public/cpp/base/
Dvalues_mojom_traits.cc68 base::StringPiece string_piece; in Read() local
69 if (!data.ReadStringValue(&string_piece)) in Read()
71 *value_out = base::Value(string_piece); in Read()
/external/cronet/base/
Dbig_endian.cc15 base::StringPiece string_piece) { in FromStringPiece() argument
16 return BigEndianReader(base::as_bytes(base::make_span(string_piece))); in FromStringPiece()
Dnative_library_ios.mm9 #include "base/strings/string_piece.h"
Dbig_endian.h75 static BigEndianReader FromStringPiece(base::StringPiece string_piece);
Dnative_library_mac.mm15 #include "base/strings/string_piece.h"
/external/cronet/net/base/
Dmime_sniffer.cc355 base::StringPiece* string_piece) { in TruncateStringPiece() argument
359 *string_piece = string_piece->substr(0, max_size); in TruncateStringPiece()
360 return string_piece->length() == max_size; in TruncateStringPiece()
Dmime_util.cc263 base::StringPiece string_piece) { in StringToFilePathStringType() argument
265 return base::UTF8ToWide(string_piece); in StringToFilePathStringType()
267 return std::string(string_piece); in StringToFilePathStringType()
Dnet_string_util_icu_alternatives_ios.mm13 #include "base/strings/string_piece.h"
/external/cronet/url/
Durl_idna_icu_alternatives_ios.mm10 #include "base/strings/string_piece.h"
/external/libchrome/base/strings/
Dstring_piece.h458 #define HASH_STRING_PIECE(StringPieceType, string_piece) \ argument
460 for (StringPieceType::const_iterator i = string_piece.begin(); \
461 i != string_piece.end(); ++i) \
/external/tensorflow/tensorflow/core/kernels/
Dtensor_cord_test.cc53 for (auto string_piece : tc.Chunks()) { in TEST() local
54 EXPECT_EQ(string_piece, "abc"); in TEST()
/external/cronet/base/containers/
Dcontains_unittest.nc12 #include "base/strings/string_piece.h"
/external/libchrome/libchrome_tools/patch/
Dssl.patch22 #include "base/strings/string_piece.h"
Dobserver_list_unittest.patch9 +#include "base/strings/string_piece.h"
Dmojom_disable_trace_and_mem_dump.patch6 #include "base/strings/string_piece.h"
/external/cronet/base/ios/
Dscoped_critical_action_unittest.mm9 #include "base/strings/string_piece.h"
Dscoped_critical_action.mm18 #include "base/strings/string_piece.h"
/external/pigweed/third_party/chromium_verifier/
Dsources.gni122 "base/strings/string_piece.cc",
/external/cronet/net/http/
Dhttp_stream_parser_unittest.cc1254 void AddRead(base::StringPiece string_piece) { in AddRead() argument
1255 reads_.emplace_back(SYNCHRONOUS, string_piece.data(), string_piece.length(), in AddRead()

12