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