Lines Matching refs:Length
27 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {
28 for (size_t I = 0; I < Length; ++I) {
39 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
41 if (Length == RHS.Length)
43 return Length < RHS.Length ? -1 : 1;
48 return Length >= Prefix.Length &&
49 ascii_strncasecmp(Data, Prefix.Data, Prefix.Length) == 0;
54 return Length >= Suffix.Length &&
55 ascii_strncasecmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
65 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) {
72 bool ld = J < Length && isDigit(Data[J]);
73 bool rd = J < RHS.Length && isDigit(RHS.Data[J]);
89 if (Length == RHS.Length)
91 return Length < RHS.Length ? -1 : 1;
128 if (From > Length)
132 size_t Size = Length - From;
188 From = std::min(From, Length);
204 if (N > Length)
206 for (size_t i = Length - N + 1, e = 0; i != e;) {
216 if (N > Length)
218 for (size_t i = Length - N + 1, e = 0; i != e;) {
236 for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
245 for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
261 for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
277 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
286 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
302 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
370 if (!N || N > Length)
372 for (size_t i = 0, e = Length - N + 1; i < e;) {