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 startswith_insensitive()
47 ascii_strncasecmp(Data, Prefix.Data, Prefix.Length) == 0; in startswith_insensitive()
51 return Length >= Suffix.Length && in endswith_insensitive()
52 ascii_strncasecmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith_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()
132 if (From > Length) in find()
136 size_t Size = Length - From; in find()
192 From = std::min(From, Length); in rfind_insensitive()
208 if (N > Length) in rfind()
210 for (size_t i = Length - N + 1, e = 0; i != e;) { in rfind()
220 if (N > Length) in rfind_insensitive()
222 for (size_t i = Length - N + 1, e = 0; i != e;) { in rfind_insensitive()
240 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
249 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_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()
374 if (!N || N > Length) in count()
376 for (size_t i = 0, e = Length - N + 1; i < e;) { in count()