Searched defs:StringPiece (Results 1 - 1 of 1) sorted by relevance
/art/libartbase/base/ | ||
H A D | stringpiece.h | 29 // Functions or methods may use const StringPiece& parameters to accept either 31 // a StringPiece. The implicit conversion means that it is often appropriate 33 // StringPiece as would be appropriate for most other Google classes. 34 class StringPiece { class in namespace:art 50 // in a "const char*" or a "string" wherever a "StringPiece" is 52 StringPiece() : ptr_(nullptr), length_(0) { } function in class:art::StringPiece 53 StringPiece(const char* str) // NOLINT implicit constructor desired function in class:art::StringPiece 55 StringPiece(const std::string& str) // NOLINT implicit constructor desired function in class:art::StringPiece 57 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { } function in class:art::StringPiece 103 int compare(const StringPiece [all...] |
Completed in 37 milliseconds