Home
last modified time | relevance | path

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

/third_party/ninja/src/
Dstring_piece.h27 struct StringPiece { struct
30 StringPiece() : str_(NULL), len_(0) {} in StringPiece() argument
33 StringPiece(const string& str) : str_(str.data()), len_(str.size()) {} in StringPiece() function
34 StringPiece(const char* str) : str_(str), len_(strlen(str)) {} in StringPiece() function
36 StringPiece(const char* str, size_t len) : str_(str), len_(len) {} in StringPiece() argument
47 string AsString() const { in AsString()
51 const_iterator begin() const { in begin()
55 const_iterator end() const { in end()
63 size_t size() const { in size()
67 const char* str_;
[all …]
/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/node/deps/icu-small/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/protobuf/src/google/protobuf/stubs/
Dstringpiece_unittest.cc45 TEST(StringPiece, Ctor) { in TEST() argument
102 TEST(StringPiece, STLComparator) { in TEST() argument
145 TEST(StringPiece, ComparisonOperators) { in TEST() argument
237 TEST(StringPiece, STL1) { in TEST() argument
304 TEST(StringPiece, STL2) { in TEST() argument
578 TEST(StringPiece, Custom) { in TEST() argument
700 TEST(StringPiece, Contains) { in TEST() argument
710 TEST(StringPiece, NullInput) { in TEST() argument
725 TEST(StringPiece, Comparisons2) { in TEST() argument
Dstringpiece.h211 StringPiece() : ptr_(nullptr), length_(0) {} in StringPiece() function
213 StringPiece(const char* str) // NOLINT(runtime/explicit) in StringPiece() function
221 StringPiece( // NOLINT(runtime/explicit) in StringPiece() function
227 StringPiece(const char* offset, stringpiece_ssize_type len) in StringPiece() function
442 operator StringPiece() const { return StringPiece(data_, size_); } in StringPiece() function
Dcommon.h126 class StringPiece; variable
Dstringpiece.cc52 StringPiece::StringPiece(StringPiece x, stringpiece_ssize_type pos) in StringPiece() function in google::protobuf::StringPiece
58 StringPiece::StringPiece(StringPiece x, in StringPiece() function in google::protobuf::StringPiece
Dlogging.h66 class StringPiece; variable
/third_party/flutter/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/flutter/skia/third_party/externals/icu/source/common/unicode/
Dstringpiece.h64 StringPiece() : ptr_(NULL), length_(0) { } in StringPiece() function
75 StringPiece(const std::string& str) in StringPiece() function
83 StringPiece(const char* offset, int32_t len) : ptr_(offset), length_(len) { } in StringPiece() function
/third_party/re2/re2/
Dstringpiece.h58 StringPiece() in StringPiece() function
61 StringPiece(const std::string_view& str) in StringPiece() function
64 StringPiece(const std::string& str) in StringPiece() function
66 StringPiece(const char* str) in StringPiece() function
68 StringPiece(const char* str, size_type len) in StringPiece() function
/third_party/node/deps/icu-small/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/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/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/protobuf/src/google/protobuf/util/internal/
Dtype_info.cc132 static void DeleteCachedTypes(std::map<StringPiece, T>* cached_types) { in DeleteCachedTypes()
Ddatapiece.cc356 StatusOr<To> DataPiece::StringToNumber(bool (*func)(StringPiece, in StringToNumber()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_test_bad_identifiers.proto110 message StringPiece {} message
/third_party/re2/re2/testing/
Dregexp_benchmark.cc454 const StringPiece&)) { in Parse3Digits()
493 const StringPiece&)) { in Parse3DigitDs()
534 const StringPiece&)) { in Parse1Split()
571 const StringPiece&)) { in Parse1SplitHard()
606 const StringPiece&)) { in Parse1SplitBig1()
626 const StringPiece&)) { in Parse1SplitBig2()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs7042 [pbr::OriginalName("STRING_PIECE")] StringPiece = 2, enumerator