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

/art/runtime/base/
H A Dstringpiece.h27 // Functions or methods may use const StringPiece& parameters to accept either
29 // a StringPiece. The implicit conversion means that it is often appropriate
31 // StringPiece as would be appropriate for most other Google classes.
32 class StringPiece { class in namespace:art
48 // in a "const char*" or a "string" wherever a "StringPiece" is
50 StringPiece() : ptr_(nullptr), length_(0) { } function in class:art::StringPiece
51 StringPiece(const char* str) // NOLINT implicit constructor desired function in class:art::StringPiece
53 StringPiece(const std::string& str) // NOLINT implicit constructor desired function in class:art::StringPiece
55 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { } function in class:art::StringPiece
104 int compare(const StringPiece
[all...]

Completed in 71 milliseconds