Home
last modified time | relevance | path

Searched defs:StringPiece (Results 1 – 17 of 17) sorted by relevance

/third_party/ninja/src/
Dstring_piece.h25 struct StringPiece { struct
28 StringPiece() : str_(NULL), len_(0) {} in StringPiece() argument
31 StringPiece(const std::string& str) : str_(str.data()), len_(str.size()) {} in StringPiece() argument
32 StringPiece(const char* str) : str_(str), len_(strlen(str)) {} in StringPiece() function
34 StringPiece(const char* str, size_t len) : str_(str), len_(len) {} in StringPiece() argument
46 std::string AsString() const { in AsString()
50 const_iterator begin() const { in begin()
54 const_iterator end() const { in end()
62 size_t size() const { in size()
66 const char* str_;
[all …]
/third_party/skia/m133/third_party/externals/icu/source/common/unicode/
Dstringpiece.h70 StringPiece() : ptr_(nullptr), length_(0) { } in StringPiece() function
84 StringPiece(const char8_t* str) : StringPiece(reinterpret_cast<const char*>(str)) {} in StringPiece() function
92 StringPiece(std::nullptr_t p) : ptr_(p), length_(0) {} in StringPiece() function
98 StringPiece(const std::string& str) in StringPiece() function
105 StringPiece(const std::u8string& str) in StringPiece() function
140 StringPiece(T str) in StringPiece() function
150 StringPiece(const char* offset, int32_t len) : ptr_(offset), length_(len) { } in StringPiece() function
158 StringPiece(const char8_t* str, int32_t len) : in StringPiece() function
/third_party/icu/icu4c/source/common/unicode/
Dstringpiece.h70 StringPiece() : ptr_(nullptr), length_(0) { } in StringPiece() function
84 StringPiece(const char8_t* str) : StringPiece(reinterpret_cast<const char*>(str)) {} in StringPiece() function
92 StringPiece(std::nullptr_t p) : ptr_(p), length_(0) {} in StringPiece() function
98 StringPiece(const std::string& str) in StringPiece() function
105 StringPiece(const std::u8string& str) in StringPiece() function
140 StringPiece(T str) in StringPiece() function
150 StringPiece(const char* offset, int32_t len) : ptr_(offset), length_(len) { } in StringPiece() function
158 StringPiece(const char8_t* str, int32_t len) : in StringPiece() function
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dstringpiece.h70 StringPiece() : ptr_(nullptr), length_(0) { } in StringPiece() function
84 StringPiece(const char8_t* str) : StringPiece(reinterpret_cast<const char*>(str)) {} in StringPiece() function
92 StringPiece(std::nullptr_t p) : ptr_(p), length_(0) {} in StringPiece() function
98 StringPiece(const std::string& str) in StringPiece() function
105 StringPiece(const std::u8string& str) in StringPiece() function
140 StringPiece(T str) in StringPiece() function
150 StringPiece(const char* offset, int32_t len) : ptr_(offset), length_(len) { } in StringPiece() function
158 StringPiece(const char8_t* str, int32_t len) : in StringPiece() function
/third_party/skia/third_party/externals/icu/source/common/
Dstringpiece.cpp18 StringPiece::StringPiece(const char* str) in StringPiece() function in StringPiece
21 StringPiece::StringPiece(const StringPiece& x, int32_t pos) { in StringPiece() function in StringPiece
31 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { in StringPiece() function in StringPiece
Dnormalizer2.cpp153 isNormalizedUTF8(StringPiece, UErrorCode &errorCode) const U_OVERRIDE { in isNormalizedUTF8() argument
/third_party/icu/icu4c/source/common/
Dstringpiece.cpp18 StringPiece::StringPiece(const char* str) in StringPiece() function in StringPiece
21 StringPiece::StringPiece(const StringPiece& x, int32_t pos) { in StringPiece() function in StringPiece
31 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { in StringPiece() function in StringPiece
Dnormalizer2.cpp153 isNormalizedUTF8(StringPiece, UErrorCode &errorCode) const U_OVERRIDE { in isNormalizedUTF8() argument
/third_party/skia/m133/third_party/externals/icu/source/common/
Dstringpiece.cpp18 StringPiece::StringPiece(const char* str) in StringPiece() function in StringPiece
21 StringPiece::StringPiece(const StringPiece& x, int32_t pos) { in StringPiece() function in StringPiece
31 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { in StringPiece() function in StringPiece
Dnormalizer2.cpp153 isNormalizedUTF8(StringPiece, UErrorCode &errorCode) const override { in isNormalizedUTF8() argument
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/
Dstring_piece.h49 StringPiece() : ptr_(NULL), length_(0) { } in StringPiece() function
50 StringPiece(const char* str) in StringPiece() function
52 StringPiece(const std::string& str) in StringPiece() function
54 StringPiece(const char* offset, size_type len) in StringPiece() function
/third_party/re2/re2/
Dstringpiece.h14 using StringPiece = absl::string_view; variable
/third_party/rust/crates/cxx/tests/ui/
Dwrong_type_id.rs4 type StringPiece; typedef
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dtest_bad_identifiers.proto108 message StringPiece {} message
/third_party/skia/m133/third_party/externals/zlib/google/
Dzip_internal.cc401 using StringPiece = base::FilePath::StringPieceType; in GetCompressionMethod() typedef
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/kernels/data/
Dparse_example_op.cc39 using StringPiece = std::string_view; typedef
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.pb.cs8950 [pbr::OriginalName("STRING_PIECE")] StringPiece = 2, enumerator