Searched refs:compareMemory (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/ |
| H A D | string_view.h | 33 LIBC_INLINE static int compareMemory(const char *Lhs, const char *Rhs, in compareMemory() function 49 compareMemory(Data, Other.Data, Other.Len) == 0); in equals() 106 if (int Res = compareMemory(Data, Other.Data, min(Len, Other.Len))) in compare() 145 compareMemory(Data, Prefix.Data, Prefix.Len) == 0; in starts_with() 161 compareMemory(end() - Suffix.Len, Suffix.Data, Suffix.Len) == 0; in ends_with()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | StringRef.h | 73 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { in compareMemory() function 188 compareMemory(data(), RHS.data(), std::min(size(), RHS.size()))) in compare() 269 compareMemory(data(), Prefix.data(), Prefix.size()) == 0; in starts_with() 281 compareMemory(end() - Suffix.size(), Suffix.data(), in ends_with()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | StringRef.cpp | 78 if (int Res = compareMemory(data() + I, RHS.data() + I, J - I)) in compare_numeric()
|