Lines Matching refs:Length

41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {  in ascii_strncasecmp()  argument
42 for (size_t I = 0; I < Length; ++I) { in ascii_strncasecmp()
53 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length))) in compare_lower()
55 if (Length == RHS.Length) in compare_lower()
57 return Length < RHS.Length ? -1 : 1; in compare_lower()
62 return Length >= Prefix.Length && in startswith_lower()
63 ascii_strncasecmp(Data, Prefix.Data, Prefix.Length) == 0; in startswith_lower()
68 return Length >= Suffix.Length && in endswith_lower()
69 ascii_strncasecmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith_lower()
74 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) { in compare_numeric()
81 bool ld = J < Length && ascii_isdigit(Data[J]); in compare_numeric()
82 bool rd = J < RHS.Length && ascii_isdigit(RHS.Data[J]); in compare_numeric()
98 if (Length == RHS.Length) in compare_numeric()
100 return Length < RHS.Length ? -1 : 1; in compare_numeric()
144 if (N > Length) in find()
148 if (Length < 16 || N > 255 || N == 0) { in find()
149 for (size_t e = Length - N + 1, i = std::min(From, e); i != e; ++i) in find()
155 if (From >= Length) in find()
164 unsigned Len = Length-From, Pos = From; in find()
184 if (N > Length) in rfind()
186 for (size_t i = Length - N + 1, e = 0; i != e;) { in rfind()
204 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
213 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
229 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
245 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_of()
254 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
270 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
306 if (N > Length) in count()
308 for (size_t i = 0, e = Length - N + 1; i != e; ++i) in count()