Home
last modified time | relevance | path

Searched refs:compareMemory (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libc/src/__support/CPP/
H A DStringView.h29 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { in compareMemory() function
85 if (int Res = compareMemory(Data, Other.Data, min(Len, Other.Len))) in compare()
96 compareMemory(Data, Other.Data, Other.Len) == 0); in equals()
132 compareMemory(Data, Prefix.Data, Prefix.Len) == 0; in starts_with()
148 compareMemory(end() - Suffix.Len, Suffix.Data, Suffix.Len) == 0; in ends_with()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringRef.h75 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { in compareMemory() function
189 compareMemory(Data, RHS.Data, RHS.Length) == 0); in equals()
203 if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length))) in compare()
292 compareMemory(Data, Prefix.Data, Prefix.Length) == 0; in startswith()
303 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith()
/llvm-project-15.0.7/llvm/lib/Support/
H A DStringRef.cpp77 if (int Res = compareMemory(Data + I, RHS.Data + I, J - I)) in compare_numeric()