Home
last modified time | relevance | path

Searched refs:strnEQ (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.bin/patch/
H A Dpch.c318 if (!stars_last_line && strnEQ(s, "*** ", 4)) in intuit_diff_type()
321 else if (strnEQ(s, "--- ", 4)) { in intuit_diff_type()
324 strnEQ(s, "--- a/", 6)) in intuit_diff_type()
328 } else if (strnEQ(s, "+++ ", 4)) { in intuit_diff_type()
332 strnEQ(s, "+++ b/", 6)) in intuit_diff_type()
336 } else if (strnEQ(s, "Index:", 6)) in intuit_diff_type()
339 else if (strnEQ(s, "Prereq:", 7)) { in intuit_diff_type()
351 } else if (strnEQ(s, "diff --git a/", 13)) { in intuit_diff_type()
354 } else if (strnEQ(s, "==== ", 5)) { in intuit_diff_type()
369 if ((!diff_type || diff_type == UNI_DIFF) && strnEQ( in intuit_diff_type()
[all...]
H A Dcommon.h51 #define strnEQ(s1,s2,l) (strncmp(s1, s2, l) == 0) macro
H A Dinp.c423 if (strnEQ(string, revision, patlen) && isspace((unsigned char)string[patlen])) in rev_in_string()
426 if (isspace((unsigned char)*s) && strnEQ(s + 1, revision, patlen) && in rev_in_string()
H A Dutil.c368 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) { in fetchname()