Searched defs:StringPiece (Results 1 – 4 of 4) sorted by relevance
28 StringPiece() : mData(nullptr), mLength(0) {} in StringPiece() function29 StringPiece(const char* data) : mData(data), mLength(data == nullptr ? 0 : strlen(data)) {} in StringPiece() function30 StringPiece(const char* data, size_t length) : mData(data), mLength(length) {} in StringPiece() function31 StringPiece(const std::string& str) : mData(str.data()), mLength(str.size()) {} in StringPiece() function
87 using StringPiece = BasicStringPiece<char>; variable
209 const std::function<void(const StringPiece&, FileType)>& f) const { in ForEachFile() argument
58 const std::pair<StringPiece, Maybe<uint16_t>>& rhs) { in less_than_struct_with_name_and_id()340 static StringPiece SkipNameValidator(const StringPiece& /*name*/) { in SkipNameValidator()