Home | History | Annotate | Download | only in doio

Lines Matching refs:pat

40 int pattern_check(char *buf, int buflen, char *pat, int patlen, int patshift)
60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0);
62 if (memcmp(cp, pat + patshift, nb))
72 return (memcmp(cp, pat, nleft) ? -1 : 0);
74 if (memcmp(cp, pat, nb))
101 int pattern_fill(char *buf, int buflen, char *pat, int patlen, int patshift)
121 memcpy(cp, pat + patshift, nleft);
124 memcpy(cp, pat + patshift, trans);
132 memcpy(cp, pat, nleft);
135 memcpy(cp, pat, trans);