Lines Matching refs:s2
173 int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags) in xdl_recmatch() argument
177 if (s1 == s2 && !memcmp(l1, l2, s1)) in xdl_recmatch()
195 while (i1 < s1 && i2 < s2) { in xdl_recmatch()
201 while (i2 < s2 && XDL_ISSPACE(l2[i2])) in xdl_recmatch()
205 while (i1 < s1 && i2 < s2) { in xdl_recmatch()
210 while (i2 < s2 && XDL_ISSPACE(l2[i2])) in xdl_recmatch()
218 while (i1 < s1 && i2 < s2 && l1[i1] == l2[i2]) { in xdl_recmatch()
224 while (i1 < s1 && i2 < s2 && l1[i1] == l2[i2]) { in xdl_recmatch()
229 ends_with_optional_cr(l2, s2, i2)); in xdl_recmatch()
244 if (i2 < s2) { in xdl_recmatch()
245 while (i2 < s2 && XDL_ISSPACE(l2[i2])) in xdl_recmatch()
247 return (s2 == i2); in xdl_recmatch()
343 static int xdl_format_hunk_hdr(long s1, long c1, long s2, long c2, in xdl_format_hunk_hdr() argument
365 nb += xdl_num_out(buf + nb, c2 ? s2: s2 - 1); in xdl_format_hunk_hdr()
392 int xdl_emit_hunk_hdr(long s1, long c1, long s2, long c2, in xdl_emit_hunk_hdr() argument
396 return xdl_format_hunk_hdr(s1, c1, s2, c2, func, funclen, ecb); in xdl_emit_hunk_hdr()
399 c2 ? s2 : s2 - 1, c2, in xdl_emit_hunk_hdr()