• Home
  • Raw
  • Download

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()
143 if (From > Length) in find()
151 size_t Size = Length - From; in find()
191 if (N > Length) in rfind()
193 for (size_t i = Length - N + 1, e = 0; i != e;) { in rfind()
211 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
220 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
236 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
252 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_of()
261 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
277 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
345 if (N > Length) in count()
347 for (size_t i = 0, e = Length - N + 1; i != e; ++i) in count()