Lines Matching defs:l2
312 size_t l2 = that.length();
313 if (l1 < l2)
315 /** @todo r=bird: If l2 is 0, then m_psz can be NULL and we will crash. See
316 * also handling of l2 == in startsWith. */
318 size_t l = l1 - l2;
327 size_t l2 = that.length();
328 if (l1 == 0 || l2 == 0) /** @todo r=bird: this differs from endsWith, and I think other IPRT code. If l2 == 0, it matches anything. */
331 if (l1 < l2)
335 return ::RTStrNCmp(m_psz, that.m_psz, l2) == 0;
336 return ::RTStrNICmp(m_psz, that.m_psz, l2) == 0;