• Home
  • Raw
  • Download

Lines Matching refs:ByteStringView

63   explicit ByteString(ByteStringView bstrc);
64 ByteString(ByteStringView str1, ByteStringView str2);
65 ByteString(const std::initializer_list<ByteStringView>& list);
87 ByteStringView AsStringView() const { in AsStringView()
88 return ByteStringView(raw_str(), GetLength()); in AsStringView()
123 int Compare(ByteStringView str) const;
124 bool EqualNoCase(ByteStringView str) const;
127 bool operator==(ByteStringView str) const;
131 bool operator!=(ByteStringView str) const { return !(*this == str); }
135 bool operator<(ByteStringView str) const;
139 ByteString& operator=(ByteStringView str);
148 ByteString& operator+=(ByteStringView str);
177 absl::optional<size_t> Find(ByteStringView subStr, size_t start = 0) const;
181 bool Contains(ByteStringView lpszSub, size_t start = 0) const {
194 void Trim(ByteStringView targets);
198 void TrimLeft(ByteStringView targets);
202 void TrimRight(ByteStringView targets);
204 size_t Replace(ByteStringView pOld, ByteStringView pNew);
230 inline bool operator==(ByteStringView lhs, const ByteString& rhs) {
236 inline bool operator!=(ByteStringView lhs, const ByteString& rhs) {
242 inline bool operator<(const ByteStringView& lhs, const ByteString& rhs) {
245 inline bool operator<(const ByteStringView& lhs, const char* rhs) {
246 return lhs < ByteStringView(rhs);
249 inline ByteString operator+(ByteStringView str1, ByteStringView str2) {
252 inline ByteString operator+(ByteStringView str1, const char* str2) {
255 inline ByteString operator+(const char* str1, ByteStringView str2) {
258 inline ByteString operator+(ByteStringView str1, char ch) {
259 return ByteString(str1, ByteStringView(ch));
261 inline ByteString operator+(char ch, ByteStringView str2) {
262 return ByteString(ByteStringView(ch), str2);
268 return ByteString(str1.AsStringView(), ByteStringView(ch));
271 return ByteString(ByteStringView(ch), str2.AsStringView());
279 inline ByteString operator+(const ByteString& str1, ByteStringView str2) {
282 inline ByteString operator+(ByteStringView str1, const ByteString& str2) {
287 std::ostream& operator<<(std::ostream& os, ByteStringView str);
293 uint32_t FX_HashCode_GetA(ByteStringView str);
294 uint32_t FX_HashCode_GetLoweredA(ByteStringView str);
295 uint32_t FX_HashCode_GetAsIfW(ByteStringView str);
296 uint32_t FX_HashCode_GetLoweredAsIfW(ByteStringView str);