Lines Matching refs:lb
56 size_t la, lb, i;
61 lb = strlen(b);
80 if (lb != 0U && b[lb - 1] == '.') {
82 /* note this loop doesn't get executed if lb==1 */
83 for (i = lb - 1; i > 0; i--)
92 lb--;
95 /* lb == 0 means 'b' is the root domain, so 'a' must be in 'b'. */
96 if (lb == 0U)
100 if (lb > la)
104 if (lb == la)
105 return (strncasecmp(a, b, lb) == 0);
107 /* Ok, we know la > lb. */
109 diff = (int)(la - lb);
120 * If the character before the last 'lb' characters of 'b'
145 return (strncasecmp(cp, b, lb) == 0);