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()
39 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length))) in compare_lower()
41 if (Length == RHS.Length) in compare_lower()
43 return Length < RHS.Length ? -1 : 1; in compare_lower()
48 return Length >= Prefix.Length && in startswith_lower()
49 ascii_strncasecmp(Data, Prefix.Data, Prefix.Length) == 0; in startswith_lower()
54 return Length >= Suffix.Length && in endswith_lower()
55 ascii_strncasecmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith_lower()
65 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { in compare_numeric()
72 bool ld = J < Length && isDigit(Data[J]); in compare_numeric()
73 bool rd = J < RHS.Length && isDigit(RHS.Data[J]); in compare_numeric()
89 if (Length == RHS.Length) in compare_numeric()
91 return Length < RHS.Length ? -1 : 1; in compare_numeric()
134 if (From > Length) in find()
138 size_t Size = Length - From; in find()
194 From = std::min(From, Length); in rfind_lower()
210 if (N > Length) in rfind()
212 for (size_t i = Length - N + 1, e = 0; i != e;) { in rfind()
222 if (N > Length) in rfind_lower()
224 for (size_t i = Length - N + 1, e = 0; i != e;) { in rfind_lower()
242 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
251 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
267 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
283 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_of()
292 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
308 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
376 if (N > Length) in count()
378 for (size_t i = 0, e = Length - N + 1; i != e; ++i) in count()