Lines Matching refs:Length

27 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {  in ascii_strncasecmp()  argument
28 for (size_t I = 0; I < Length; ++I) { in ascii_strncasecmp()
38 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length))) in compare_insensitive()
40 if (Length == RHS.Length) in compare_insensitive()
42 return Length < RHS.Length ? -1 : 1; in compare_insensitive()
46 return Length >= Prefix.Length && in starts_with_insensitive()
47 ascii_strncasecmp(Data, Prefix.Data, Prefix.Length) == 0; in starts_with_insensitive()
51 return Length >= Suffix.Length && in ends_with_insensitive()
52 ascii_strncasecmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in ends_with_insensitive()
62 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { in compare_numeric()
69 bool ld = J < Length && isDigit(Data[J]); in compare_numeric()
70 bool rd = J < RHS.Length && isDigit(RHS.Data[J]); in compare_numeric()
86 if (Length == RHS.Length) in compare_numeric()
88 return Length < RHS.Length ? -1 : 1; in compare_numeric()
131 if (From > Length) in find()
135 size_t Size = Length - From; in find()
203 From = std::min(From, Length); in rfind_insensitive()
223 if (N > Length) in rfind_insensitive()
225 for (size_t i = Length - N + 1, e = 0; i != e;) { in rfind_insensitive()
243 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
265 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
281 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_of()
290 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
306 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()