Searched refs:string_piece (Results 1 – 2 of 2) sorted by relevance
166 StringPiece RegTypeCache::AddString(const StringPiece& string_piece) { in AddString() argument167 char* ptr = arena_.AllocArray<char>(string_piece.length()); in AddString()168 memcpy(ptr, string_piece.data(), string_piece.length()); in AddString()169 return StringPiece(ptr, string_piece.length()); in AddString()
169 StringPiece AddString(const StringPiece& string_piece);